diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2002-01-22 22:40:36 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2002-01-22 22:40:36 +0000 |
commit | c49659f44d12b180ad82e1335ab53afcdede08fb (patch) | |
tree | 5296d6422d081fbe43d66a66d937d6ee079cb504 /security/srp | |
parent | use xargs -0 to avoid 'unterminated quote' error at ${PREFIX}/share/doc. (diff) |
Fix broken pkg-plist: the docs snuck in there, but they are also added
by the port at build-time.
Fix for FreeBSD-CURRENT:
= Remove use of malloc.h
= A fragment of this port actually provides its own prototype for time(), and
probably only gets it right on DEC and HP systems.
PR: ports/34183
Reported by: Trish Lynch <trish@bsdunix.net>
Notes
Notes:
svn path=/head/; revision=53611
Diffstat (limited to 'security/srp')
-rw-r--r-- | security/srp/files/patch-base::pam_eps::pam_eps_passwd.c | 10 | ||||
-rw-r--r-- | security/srp/files/patch-telnet::telnetd::sys_term.c | 13 | ||||
-rw-r--r-- | security/srp/pkg-plist | 21 |
3 files changed, 21 insertions, 23 deletions
diff --git a/security/srp/files/patch-base::pam_eps::pam_eps_passwd.c b/security/srp/files/patch-base::pam_eps::pam_eps_passwd.c new file mode 100644 index 000000000000..dade65c43594 --- /dev/null +++ b/security/srp/files/patch-base::pam_eps::pam_eps_passwd.c @@ -0,0 +1,10 @@ +--- base/pam_eps/pam_eps_passwd.c.orig Tue Jan 22 16:26:28 2002 ++++ base/pam_eps/pam_eps_passwd.c Tue Jan 22 16:26:42 2002 +@@ -75,7 +75,6 @@ + #include <syslog.h> + #include <string.h> + #include <stdarg.h> +-#include <malloc.h> + #include <t_pwd.h> + + #ifndef LINUX /* AGM added this as of 0.2 */ diff --git a/security/srp/files/patch-telnet::telnetd::sys_term.c b/security/srp/files/patch-telnet::telnetd::sys_term.c index 3c83e23f68c9..60fc3b88348b 100644 --- a/security/srp/files/patch-telnet::telnetd::sys_term.c +++ b/security/srp/files/patch-telnet::telnetd::sys_term.c @@ -1,5 +1,5 @@ ---- telnet/telnetd/sys_term.c.orig Tue Aug 21 09:02:37 2001 -+++ telnet/telnetd/sys_term.c Tue Aug 21 09:03:33 2001 +--- telnet/telnetd/sys_term.c.orig Tue Jul 31 01:27:05 2001 ++++ telnet/telnetd/sys_term.c Tue Jan 22 16:31:27 2002 @@ -111,6 +111,9 @@ # else char wtmpf[] = "/usr/adm/wtmp"; @@ -10,3 +10,12 @@ # ifdef UTMP_FILE char utmpf[] = UTMP_FILE; # else +@@ -1473,7 +1476,7 @@ + { + register int i; + int syncpipe[2]; +-#if defined(OSF) || defined(ultrix) || defined(__hpux) ++#if defined(OSF) || defined(ultrix) || defined(__hpux) || defined(__FreeBSD__) + time_t time(); + #else + long time(); diff --git a/security/srp/pkg-plist b/security/srp/pkg-plist index 1500f201948a..bbe39ec1ae8a 100644 --- a/security/srp/pkg-plist +++ b/security/srp/pkg-plist @@ -18,24 +18,3 @@ lib/pam_eps_passwd.so sbin/eps_chkpwd sbin/ftpd sbin/telnetd -share/doc/srp/Acknowledgements -share/doc/srp/Copyrights -share/doc/srp/LICENSE -share/doc/srp/copyright.c -share/doc/srp/draft-altman-rfc2942bis-00.txt -share/doc/srp/draft-altman-rfc2944bis-01.txt -share/doc/srp/draft-altman-telnet-fwdx-02.txt -share/doc/srp/draft-ietf-tn3270e-telnet-tls-05.txt -share/doc/srp/rfc2941.txt -share/doc/srp/rfc2942.txt -share/doc/srp/rfc2944.txt -share/doc/srp/rfc2945.txt -share/doc/srp/rfc2946.txt -share/doc/srp/rfc2947.txt -share/doc/srp/rfc2948.txt -share/doc/srp/rfc2949.txt -share/doc/srp/rfc2950.txt -share/doc/srp/rfc2952.txt -share/doc/srp/rfc2953.txt -share/doc/srp/srp.ps -@dirrm share/doc/srp |