diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-08 13:16:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-08 13:16:43 +0000 |
commit | b9df3004d7d87e527523028a02f0133e66029b52 (patch) | |
tree | fb04322083903e2639d5272e9222b96ee89352f1 /main/ipsec-tools | |
parent | 580b1e991fe7b5c58be1c045379bae23e190fc7d (diff) | |
download | aports-b9df3004d7d87e527523028a02f0133e66029b52.tar.bz2 aports-b9df3004d7d87e527523028a02f0133e66029b52.tar.xz |
main/ipsec-tools: start after ntp-client
fixes #261
Diffstat (limited to 'main/ipsec-tools')
-rw-r--r-- | main/ipsec-tools/APKBUILD | 16 | ||||
-rw-r--r-- | main/ipsec-tools/racoon.initd | 2 |
2 files changed, 13 insertions, 5 deletions
diff --git a/main/ipsec-tools/APKBUILD b/main/ipsec-tools/APKBUILD index 0f1e4a2fe2..b01973470a 100644 --- a/main/ipsec-tools/APKBUILD +++ b/main/ipsec-tools/APKBUILD @@ -2,7 +2,7 @@ pkgname=ipsec-tools pkgver=0.8_alpha20090903 _myver=0.8-alpha20090903 -pkgrel=4 +pkgrel=5 pkgdesc="User-space IPsec tools for various IPsec implementations" url="http://ipsec-tools.sourceforge.net/" license="BSD" @@ -17,8 +17,9 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$_myver.tar.gz initial-contact-fix.diff " -build() { - cd "$srcdir/$pkgname-$_myver" +_builddir="$srcdir"/$pkgname-$_myver +prepare() { + cd "$_builddir" for i in ../*.patch; do msg "Applying $i..." patch -p1 -i $i || return 1 @@ -26,7 +27,10 @@ build() { patch -p0 -i "$srcdir"/initial-contact-fix.diff || return 1 sed -i 's:-Werror::g' configure +} +build() { + cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -41,6 +45,10 @@ build() { --enable-ipv6 \ --enable-natt make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR="$pkgdir" install install -D -m755 ../racoon.initd "$pkgdir"/etc/init.d/racoon @@ -48,7 +56,7 @@ build() { } md5sums="8ec28d4e89c0f5e49ae2caa7463fbcfd ipsec-tools-0.8-alpha20090903.tar.gz -860e8ca1d8c793dc3055b94fd88f02a3 racoon.initd +74f12ed04ed273a738229c0bfbf829cc racoon.initd 2d00250cf72da7f2f559c91b65a48747 racoon.confd 13bda94a598aabf593280e04ea16065d 50-reverse-connect.patch baa13d7f0f48955c792f7fcd42a8587a 60-debug-quick.patch diff --git a/main/ipsec-tools/racoon.initd b/main/ipsec-tools/racoon.initd index c5f88d4931..724eee0237 100644 --- a/main/ipsec-tools/racoon.initd +++ b/main/ipsec-tools/racoon.initd @@ -5,7 +5,7 @@ depend() { before netmount use net - after firewall + after firewall ntp-client provide ipsec } |