ports/103863: [MAINTAINER] security/openvpn: fix build faiulures
Matthias Andree
matthias.andree at gmx.de
Sun Oct 1 09:50:16 UTC 2006
>Number: 103863
>Category: ports
>Synopsis: [MAINTAINER] security/openvpn: fix build faiulures
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 01 09:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Matthias Andree
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD rho.emma.line.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #25: Thu Sep 14 11:57:59 CEST 2006
>Description:
fix build failures that arose from an accidentally omitted -fPIC
(found on pointyhat's amd64 builders)
portrevision bumped since the change affects all architectures,
not just those that were failing.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- openvpn-2.0.6_4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/openvpn/Makefile /usr/home/emma/ports/security/openvpn/Makefile
--- /usr/ports/security/openvpn/Makefile Sat Sep 30 09:48:24 2006
+++ /usr/home/emma/ports/security/openvpn/Makefile Sun Oct 1 11:06:02 2006
@@ -10,10 +10,10 @@
# DO NOT BOTHER TO SEND NOTICES ABOUT 2.0.8 AS IT FIXES
# WINDOWS-ONLY BUGS THAT DON'T AFFECT *BSD AND THUS
# DOES NOT WARRANT A PORT UPGRADE! AND UPGRADE REQUESTS
-# WILL BE DROPPED. -- Matthias Andree, 2006-09-13
+# WILL BE DROPPED. -- Matthias Andree, 2006-10-01
# -----------------------------------------------------
PORTVERSION= 2.0.6
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security net
# MASTER_SITES points to hosts in distinct data centers,
# so just one MASTER_SITES entry should be OK.
@@ -65,7 +65,7 @@
post-build:
cd ${WRKSRC}/plugin/down-root && ${MAKE}
- 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
+ cd ${WRKSRC}/plugin/auth-pam && ${CC} ${CPPFLAGS} -I../.. -DDLOPEN_PAM=0 ${CFLAGS} -fPIC -shared -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.c pamdl.c -lc -lpam
@# self-tests here
.if !defined(WITHOUT_CHECK)
cd ${WRKSRC} && ${MAKE} check
--- openvpn-2.0.6_4.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list