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

(-)/usr/home/emma/ports/security/openvpn/Makefile (-5 / +6 lines)
Lines 13-19 Link Here
13
# WILL BE DROPPED.       -- Matthias Andree, 2006-09-13
13
# WILL BE DROPPED.       -- Matthias Andree, 2006-09-13
14
# -----------------------------------------------------
14
# -----------------------------------------------------
15
PORTVERSION=	2.0.6
15
PORTVERSION=	2.0.6
16
PORTREVISION=	2
16
PORTREVISION=	3
17
CATEGORIES=	security net
17
CATEGORIES=	security net
18
# MASTER_SITES points to hosts in distinct data centers,
18
# MASTER_SITES points to hosts in distinct data centers,
19
# so just one MASTER_SITES entry should be OK.
19
# so just one MASTER_SITES entry should be OK.
Lines 65-70 Link Here
65
65
66
post-build:
66
post-build:
67
	cd ${WRKSRC}/plugin/down-root && ${MAKE}
67
	cd ${WRKSRC}/plugin/down-root && ${MAKE}
68
	cd ${WRKSRC}/plugin/auth-pam && ${CC} ${CFLAGS} ${CPPFLAGS} -I../.. -DDLOPEN_PAM=0 -shared -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.c pamdl.c -lc -lpam
68
	@# self-tests here
69
	@# self-tests here
69
.if !defined(WITHOUT_CHECK)
70
.if !defined(WITHOUT_CHECK)
70
	cd ${WRKSRC} && ${MAKE} check
71
	cd ${WRKSRC} && ${MAKE} check
Lines 75-86 Link Here
75
76
76
post-install:
77
post-install:
77
	${MKDIR} ${PREFIX}/lib
78
	${MKDIR} ${PREFIX}/lib
78
	${INSTALL_PROGRAM} ${WRKSRC}/plugin/down-root/openvpn-down-root.so \
79
	${INSTALL_PROGRAM} ${WRKSRC}/plugin/down-root/openvpn-down-root.so ${PREFIX}/lib
79
		${PREFIX}/lib
80
	${INSTALL_PROGRAM} ${WRKSRC}/plugin/auth-pam/openvpn-auth-pam.so ${PREFIX}/lib
80
.if !defined(NOPORTDOCS)
81
.if !defined(NOPORTDOCS)
81
	${MKDIR} ${DOCSDIR}
82
	${MKDIR} ${DOCSDIR}
82
	${INSTALL_DATA} ${WRKSRC}/plugin/down-root/README \
83
	${INSTALL_DATA} ${WRKSRC}/plugin/down-root/README ${DOCSDIR}/README.openvpn-down-root
83
		${DOCSDIR}/README.openvpn-down-root
84
	${INSTALL_DATA} ${WRKSRC}/plugin/auth-pam/README ${DOCSDIR}/README.openvpn-auth-pam
84
.for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL NEWS \
85
.for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL NEWS \
85
	PORTS README
86
	PORTS README
86
	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
87
	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
(-)/usr/home/emma/ports/security/openvpn/pkg-plist (+2 lines)
Lines 1-4 Link Here
1
sbin/openvpn
1
sbin/openvpn
2
lib/openvpn-auth-pam.so
2
lib/openvpn-down-root.so
3
lib/openvpn-down-root.so
3
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
4
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
4
%%PORTDOCS%%%%DOCSDIR%%/COPYING
5
%%PORTDOCS%%%%DOCSDIR%%/COPYING
Lines 8-13 Link Here
8
%%PORTDOCS%%%%DOCSDIR%%/NEWS
9
%%PORTDOCS%%%%DOCSDIR%%/NEWS
9
%%PORTDOCS%%%%DOCSDIR%%/PORTS
10
%%PORTDOCS%%%%DOCSDIR%%/PORTS
10
%%PORTDOCS%%%%DOCSDIR%%/README
11
%%PORTDOCS%%%%DOCSDIR%%/README
12
%%PORTDOCS%%%%DOCSDIR%%/README.openvpn-auth-pam
11
%%PORTDOCS%%%%DOCSDIR%%/README.openvpn-down-root
13
%%PORTDOCS%%%%DOCSDIR%%/README.openvpn-down-root
12
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/README
14
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/README
13
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-ca
15
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-ca

Return to bug 103833