mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
31d208c0bd
- Rename :: patchfiles [1] - Merge pkg-req and scripts/pre-install into pkg-install [1] - Replace tab by space in WWW: line [1] - Clean up rc script [1] - Add USE_GCC because clang does not like -freg-struct-return (yet) - Use USERS and GROUPS [1] - Drop empty QPOPAUTH_SETUID option - Fix USE_OPENSSL usage [1] - Replace knobs by options [1] - Merge install-conf-file target into post-install target PR: ports/185285 [1] Submitted by: Takefu <takefu@airport.fm> Approved by: portmgr (mostly infastructure fixes)
22 lines
514 B
C
22 lines
514 B
C
--- popper/pop_pass.c.orig Sat Jun 2 02:24:13 2001
|
|
+++ popper/pop_pass.c Sat Sep 8 00:26:27 2001
|
|
@@ -1226,6 +1226,18 @@
|
|
return ( pop_msg ( p, POP_FAILURE, HERE, ERRMSG_PW, p->user ) );
|
|
}
|
|
|
|
+# ifdef FREEBSD
|
|
+
|
|
+ /*
|
|
+ * Nor from expired accounts
|
|
+ */
|
|
+ if (pw->pw_expire != 0 && pw->pw_expire <= time(NULL)) {
|
|
+ sleep ( SLEEP_SECONDS );
|
|
+ return ( pop_msg ( p, POP_FAILURE, HERE, ERRMSG_ACEXP, p->user ) );
|
|
+ }
|
|
+
|
|
+# endif /* FreeBSD */
|
|
+
|
|
return ( POP_SUCCESS );
|
|
}
|
|
|