diff options
author | nectar <nectar@FreeBSD.org> | 2002-01-23 06:40:36 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2002-01-23 06:40:36 +0800 |
commit | aae6fe25f508d97aa989d6ab0de09077d9311b7d (patch) | |
tree | a929ccdb4d25f7c74e32bc0fb6e0ff5cdfcc3ab0 /security/srp | |
parent | f1d2516f39e1322f80021e8cd591506e736f65db (diff) | |
download | freebsd-ports-gnome-aae6fe25f508d97aa989d6ab0de09077d9311b7d.tar.gz freebsd-ports-gnome-aae6fe25f508d97aa989d6ab0de09077d9311b7d.tar.zst freebsd-ports-gnome-aae6fe25f508d97aa989d6ab0de09077d9311b7d.zip |
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>
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 |