| Server IP : 82.208.35.60 / Your IP : 216.73.216.168 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/net/libnss-pgsql/files/ |
Upload File : |
--- src/nss-pgsql.h.orig 2015-12-21 07:47:28 UTC
+++ src/nss-pgsql.h
@@ -15,9 +15,30 @@
# include <pwd.h>
# include <grp.h>
+#ifdef HAVE_SHADOW_H
# include <shadow.h>
+#endif
# include <sys/types.h>
+#ifndef HAVE_SHADOW_H
+/* Structure of the password file. */
+struct spwd
+ {
+ char *sp_namp; /* Login name. */
+ char *sp_pwdp; /* Encrypted password. */
+ long int sp_lstchg; /* Date of last change. */
+ long int sp_min; /* Minimum number of days between changes. */
+ long int sp_max; /* Maximum number of days between changes. */
+ long int sp_warn; /* Number of days to warn user to change
+ the password. */
+ long int sp_inact; /* Number of days the account may be
+ inactive. */
+ long int sp_expire; /* Number of days since 1970-01-01 until
+ account expires. */
+ unsigned long int sp_flag; /* Reserved. */
+ };
+#endif
+
#define CFGFILE SYSCONFDIR"/nss-pgsql.conf"
#define CFGROOTFILE SYSCONFDIR"/nss-pgsql-root.conf"