View | Details | Raw Unified | Return to bug 59133
Collapse All | Expand All

(-)security/srp/Makefile (-24 / +12 lines)
Lines 6-46 Link Here
6
#
6
#
7
7
8
PORTNAME=	srp
8
PORTNAME=	srp
9
PORTVERSION=	1.7.5
9
PORTVERSION=	2.0.0
10
CATEGORIES=	security net
10
CATEGORIES=	security net
11
MASTER_SITES=	http://www-cs-students.stanford.edu/~tjw/srp/source/ \
11
MASTER_SITES=	http://srp.stanford.edu/source/
12
		http://srp.stanford.edu/source/
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Secure Remote Password protocol library, TELNET, and FTP
14
COMMENT=	Secure Remote Password protocol library, TELNET, and FTP
16
15
16
USE_REINPLACE=	yes
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
CONFIGURE_ENV=	CC="${CC}" CFLAGS="${CFLAGS}" INSTALL="/usr/bin/install -C"
18
CONFIGURE_ENV=	INSTALL="/usr/bin/install -C"
19
CONFIGURE_ARGS=	--with-openssl=/usr				\
19
CONFIGURE_ARGS=	--with-openssl=/usr				\
20
		--with-zlib					\
20
		--with-zlib					\
21
		--enable-loginf
21
		--enable-loginf
22
22
23
MYPORTDOCS=	Acknowledgements Copyrights LICENSE copyright.c \
23
post-patch:
24
		draft-altman-rfc2942bis-00.txt draft-altman-rfc2944bis-01.txt \
24
	@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
25
		draft-altman-telnet-fwdx-02.txt \
25
		's|malloc\.h|stdlib.h|g'
26
		draft-ietf-tn3270e-telnet-tls-05.txt rfc2941.txt rfc2942.txt \
27
		rfc2944.txt rfc2945.txt rfc2946.txt rfc2947.txt rfc2948.txt \
28
		rfc2949.txt rfc2950.txt rfc2952.txt rfc2953.txt srp.ps
29
26
30
.include <bsd.port.pre.mk>
31
32
.if ${OSVERSION} >= 501000
33
BROKEN=		"Does not compile"
34
.endif
35
36
.if !defined(NOPORTDOCS)
37
post-install:
27
post-install:
38
.for f in ${MYPORTDOCS}
28
.if !defined(NOPORTDOCS)
39
	${MKDIR} ${PREFIX}/share/doc/srp
29
	@${MKDIR} ${DOCSDIR}
40
	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${PREFIX}/share/doc/srp/${f}
30
	cd ${WRKSRC}/docs && ${FIND} . | \
41
	@${ECHO_CMD} share/doc/srp/${f} >> ${TMPPLIST}
31
		cpio -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
42
.endfor
43
	@${ECHO_CMD} @dirrm share/doc/srp >> ${TMPPLIST}
44
.endif
32
.endif
45
33
46
.include <bsd.port.post.mk>
34
.include <bsd.port.mk>
(-)security/srp/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (srp-1.7.5.tar.gz) = 32c3a06b9aaf2326afd18d6e64572368
1
MD5 (srp-2.0.0.tar.gz) = d8f6d0bbb8e2214580d2ab25b53529fe
(-)security/srp/files/patch-base::pam_eps::pam_eps_passwd.c (-10 lines)
Lines 1-10 Link Here
1
--- base/pam_eps/pam_eps_passwd.c.orig	Tue Jan 22 16:26:28 2002
2
+++ base/pam_eps/pam_eps_passwd.c	Tue Jan 22 16:26:42 2002
3
@@ -75,7 +75,6 @@
4
 #include <syslog.h>
5
 #include <string.h>
6
 #include <stdarg.h>
7
-#include <malloc.h>
8
 #include <t_pwd.h>
9
 
10
 #ifndef LINUX    /* AGM added this as of 0.2 */
(-)security/srp/files/patch-telnet::telnetd::sys_term.c (-9 lines)
Lines 10-21 Link Here
10
 #  ifdef UTMP_FILE
10
 #  ifdef UTMP_FILE
11
 char	utmpf[] = UTMP_FILE;
11
 char	utmpf[] = UTMP_FILE;
12
 #  else
12
 #  else
13
@@ -1473,7 +1476,7 @@
14
 {
15
 	register int i;
16
 	int syncpipe[2];
17
-#if defined(OSF) || defined(ultrix) || defined(__hpux)
18
+#if defined(OSF) || defined(ultrix) || defined(__hpux) || defined(__FreeBSD__)
19
 	time_t time();
20
 #else
21
 	long time();
(-)security/srp/pkg-plist (+23 lines)
Lines 7-12 Link Here
7
include/cstr.h
7
include/cstr.h
8
include/krypto.h
8
include/krypto.h
9
include/srp.h
9
include/srp.h
10
include/srp_aux.h
10
include/t_client.h
11
include/t_client.h
11
include/t_pwd.h
12
include/t_pwd.h
12
include/t_server.h
13
include/t_server.h
Lines 18-20 Link Here
18
sbin/eps_chkpwd
19
sbin/eps_chkpwd
19
sbin/ftpd
20
sbin/ftpd
20
sbin/telnetd
21
sbin/telnetd
22
%%PORTDOCS%%%%DOCSDIR%%/Acknowledgements
23
%%PORTDOCS%%%%DOCSDIR%%/Copyrights
24
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
25
%%PORTDOCS%%%%DOCSDIR%%/copyright.c
26
%%PORTDOCS%%%%DOCSDIR%%/draft-altman-rfc2942bis-00.txt
27
%%PORTDOCS%%%%DOCSDIR%%/draft-altman-rfc2944bis-01.txt
28
%%PORTDOCS%%%%DOCSDIR%%/draft-altman-telnet-fwdx-02.txt
29
%%PORTDOCS%%%%DOCSDIR%%/draft-ietf-tls-srp-05.txt
30
%%PORTDOCS%%%%DOCSDIR%%/draft-ietf-tn3270e-telnet-tls-05.txt
31
%%PORTDOCS%%%%DOCSDIR%%/rfc2941.txt
32
%%PORTDOCS%%%%DOCSDIR%%/rfc2942.txt
33
%%PORTDOCS%%%%DOCSDIR%%/rfc2944.txt
34
%%PORTDOCS%%%%DOCSDIR%%/rfc2945.txt
35
%%PORTDOCS%%%%DOCSDIR%%/rfc2946.txt
36
%%PORTDOCS%%%%DOCSDIR%%/rfc2947.txt
37
%%PORTDOCS%%%%DOCSDIR%%/rfc2948.txt
38
%%PORTDOCS%%%%DOCSDIR%%/rfc2949.txt
39
%%PORTDOCS%%%%DOCSDIR%%/rfc2950.txt
40
%%PORTDOCS%%%%DOCSDIR%%/rfc2952.txt
41
%%PORTDOCS%%%%DOCSDIR%%/rfc2953.txt
42
%%PORTDOCS%%%%DOCSDIR%%/srp.ps
43
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 59133