ports/59133: Update port: security/srp to 2.0.0
KATO Tsuguru
tkato at prontomail.com
Mon Nov 10 15:11:48 UTC 2003
>Number: 59133
>Category: ports
>Synopsis: Update port: security/srp to 2.0.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 10 07:10:22 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 2.0.0
Remove file:
files/patch-base::pam_eps::pam_eps_passwd.c
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/security/srp/Makefile security/srp/Makefile
--- /usr/ports/security/srp/Makefile Fri Nov 7 20:06:29 2003
+++ security/srp/Makefile Fri Nov 7 21:54:46 2003
@@ -6,41 +6,29 @@
#
PORTNAME= srp
-PORTVERSION= 1.7.5
+PORTVERSION= 2.0.0
CATEGORIES= security net
-MASTER_SITES= http://www-cs-students.stanford.edu/~tjw/srp/source/ \
- http://srp.stanford.edu/source/
+MASTER_SITES= http://srp.stanford.edu/source/
MAINTAINER= ports at FreeBSD.org
COMMENT= Secure Remote Password protocol library, TELNET, and FTP
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CC="${CC}" CFLAGS="${CFLAGS}" INSTALL="/usr/bin/install -C"
+CONFIGURE_ENV= INSTALL="/usr/bin/install -C"
CONFIGURE_ARGS= --with-openssl=/usr \
--with-zlib \
--enable-loginf
-MYPORTDOCS= Acknowledgements Copyrights LICENSE copyright.c \
- draft-altman-rfc2942bis-00.txt draft-altman-rfc2944bis-01.txt \
- draft-altman-telnet-fwdx-02.txt \
- draft-ietf-tn3270e-telnet-tls-05.txt rfc2941.txt rfc2942.txt \
- rfc2944.txt rfc2945.txt rfc2946.txt rfc2947.txt rfc2948.txt \
- rfc2949.txt rfc2950.txt rfc2952.txt rfc2953.txt srp.ps
+post-patch:
+ @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|malloc\.h|stdlib.h|g'
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
-.if !defined(NOPORTDOCS)
post-install:
-.for f in ${MYPORTDOCS}
- ${MKDIR} ${PREFIX}/share/doc/srp
- ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${PREFIX}/share/doc/srp/${f}
- @${ECHO_CMD} share/doc/srp/${f} >> ${TMPPLIST}
-.endfor
- @${ECHO_CMD} @dirrm share/doc/srp >> ${TMPPLIST}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC}/docs && ${FIND} . | \
+ cpio -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/security/srp/distinfo security/srp/distinfo
--- /usr/ports/security/srp/distinfo Sat Apr 12 23:26:07 2003
+++ security/srp/distinfo Fri Nov 7 21:17:36 2003
@@ -1 +1 @@
-MD5 (srp-1.7.5.tar.gz) = 32c3a06b9aaf2326afd18d6e64572368
+MD5 (srp-2.0.0.tar.gz) = d8f6d0bbb8e2214580d2ab25b53529fe
diff -urN /usr/ports/security/srp/files/patch-base::pam_eps::pam_eps_passwd.c security/srp/files/patch-base::pam_eps::pam_eps_passwd.c
--- /usr/ports/security/srp/files/patch-base::pam_eps::pam_eps_passwd.c Wed Jan 23 07:40:36 2002
+++ security/srp/files/patch-base::pam_eps::pam_eps_passwd.c Thu Jan 1 09:00:00 1970
@@ -1,10 +0,0 @@
---- 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 -urN /usr/ports/security/srp/files/patch-telnet::telnetd::sys_term.c security/srp/files/patch-telnet::telnetd::sys_term.c
--- /usr/ports/security/srp/files/patch-telnet::telnetd::sys_term.c Wed Jan 23 07:40:36 2002
+++ security/srp/files/patch-telnet::telnetd::sys_term.c Fri Nov 7 21:46:33 2003
@@ -10,12 +10,3 @@
# 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 -urN /usr/ports/security/srp/pkg-plist security/srp/pkg-plist
--- /usr/ports/security/srp/pkg-plist Wed Jan 23 07:40:35 2002
+++ security/srp/pkg-plist Fri Nov 7 22:04:58 2003
@@ -7,6 +7,7 @@
include/cstr.h
include/krypto.h
include/srp.h
+include/srp_aux.h
include/t_client.h
include/t_pwd.h
include/t_server.h
@@ -18,3 +19,25 @@
sbin/eps_chkpwd
sbin/ftpd
sbin/telnetd
+%%PORTDOCS%%%%DOCSDIR%%/Acknowledgements
+%%PORTDOCS%%%%DOCSDIR%%/Copyrights
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/copyright.c
+%%PORTDOCS%%%%DOCSDIR%%/draft-altman-rfc2942bis-00.txt
+%%PORTDOCS%%%%DOCSDIR%%/draft-altman-rfc2944bis-01.txt
+%%PORTDOCS%%%%DOCSDIR%%/draft-altman-telnet-fwdx-02.txt
+%%PORTDOCS%%%%DOCSDIR%%/draft-ietf-tls-srp-05.txt
+%%PORTDOCS%%%%DOCSDIR%%/draft-ietf-tn3270e-telnet-tls-05.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc2941.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc2942.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc2944.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc2945.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc2946.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc2947.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc2948.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc2949.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc2950.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc2952.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc2953.txt
+%%PORTDOCS%%%%DOCSDIR%%/srp.ps
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list