summaryrefslogtreecommitdiff
path: root/security/isakmpd/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-10-10 12:56:18 +0000
committeragc <agc@pkgsrc.org>2003-10-10 12:56:18 +0000
commitfc477cc5c6c986addbbe0ace22ea558df7eed337 (patch)
tree2310cf23a3de4257c775f733fc9aebedfd7d393b /security/isakmpd/Makefile
parent76821fdd169226f6d1b1a7144544f78acbcf7555 (diff)
downloadpkgsrc-fc477cc5c6c986addbbe0ace22ea558df7eed337.tar.gz
Update to isakmpd version 20030903.
No changelog available, but many bugs fixed, and these sources will compile with gcc-3.3.1 (well, after I tweaked them). With thanks to Christoph Badura for most of this work, I merely did the gcc-3.3.1 patching.
Diffstat (limited to 'security/isakmpd/Makefile')
-rw-r--r--security/isakmpd/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile
index 7bca2e2a63b..ee00493cfd8 100644
--- a/security/isakmpd/Makefile
+++ b/security/isakmpd/Makefile
@@ -1,9 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2003/09/21 08:02:59 jmc Exp $
+# $NetBSD: Makefile,v 1.30 2003/10/10 12:56:18 agc Exp $
#
-DISTNAME= isakmpd-20021118
-PKGREVISION= 2
-WRKSRC= ${WRKDIR}/isakmpd
+DISTNAME= isakmpd-20030903
CATEGORIES= security net
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/packages/distfiles/LOCAL_PORTS/
@@ -15,6 +13,8 @@ COMMENT= OpenBSD IKE daemon
PKG_FAIL_REASON+= "${PKGNAME} requires ipsec-ready ${OPSYS}"
.endif
+WRKSRC= ${WRKDIR}/isakmpd
+
ALL_TARGET= depend all
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
@@ -29,22 +29,22 @@ RCD_SCRIPT_WRK.isakmpd= ${WRKDIR}/isakmpd.sh
pre-configure:
@${ECHO_MSG} "Fixing references to buildlink directories"
@for i in ${WRKSRC}/sysdep/netbsd/Makefile.sysdep; do \
- ${MV} $${i} $${i}.orig; \
+ ${MV} $${i} $${i}.unfixed; \
${SED} "s+@BUILDLINK_PREFIX.openssl@+${BUILDLINK_PREFIX.openssl}+g" \
- < $${i}.orig > $${i}; \
+ < $${i}.unfixed > $${i}; \
done
@${ECHO_MSG} "Fixing references to configuration directory"
@for i in conf.h policy.h ike_auth.h; do \
- ${MV} ${WRKSRC}/$${i} ${WRKSRC}/$${i}.orig; \
+ ${MV} ${WRKSRC}/$${i} ${WRKSRC}/$${i}.unfixed; \
${SED} "s+/etc/isakmpd+${PKG_SYSCONFDIR}+g" \
- < ${WRKSRC}/$${i}.orig > ${WRKSRC}/$${i}; \
+ < ${WRKSRC}/$${i}.unfixed > ${WRKSRC}/$${i}; \
done
@${ECHO_MSG} "Fixing manual page references"
@for i in isakmpd.8 isakmpd.conf.5 isakmpd.policy.5; do \
- ${MV} ${WRKSRC}/$${i} ${WRKSRC}/$${i}.orig; \
+ ${MV} ${WRKSRC}/$${i} ${WRKSRC}/$${i}.unfixed; \
${SED} -e "s+/usr/share/ipsec+${PREFIX}/share/examples+g" \
-e "s+/etc/isakmpd+${PKG_SYSCONFDIR}+g" \
- < ${WRKSRC}/$${i}.orig > ${WRKSRC}/$${i}; \
+ < ${WRKSRC}/$${i}.unfixed > ${WRKSRC}/$${i}; \
done
.include "../../security/openssl/buildlink2.mk"