summaryrefslogtreecommitdiffstats
path: root/main/openswan
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-11-19 07:17:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-11-19 07:43:25 +0000
commitfee7a639655080bccd7eb7e990e24a790919bd3c (patch)
tree7c32bb3d5dbe6a7761a66d733202659395330757 /main/openswan
parentc30f5d91c6f4d9f1472596332b66885f324e6b48 (diff)
downloadaports-fee7a639655080bccd7eb7e990e24a790919bd3c.tar.bz2
aports-fee7a639655080bccd7eb7e990e24a790919bd3c.tar.xz
main/openswan: remove execute permisions from /etc/ipsec.conf
Diffstat (limited to 'main/openswan')
-rw-r--r--main/openswan/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/openswan/APKBUILD b/main/openswan/APKBUILD
index 7d52d7f5d..28cc3c2ec 100644
--- a/main/openswan/APKBUILD
+++ b/main/openswan/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Borys Zhukov <mp5@mp5.im>
pkgname=openswan
pkgver=2.6.38
-pkgrel=0
+pkgrel=1
pkgdesc="IPsec Implementation which Allows Building of VPNs"
url="http://www.openswan.org/"
arch="all"
@@ -32,7 +32,12 @@ build() {
package() {
cd "$_builddir"
- make INC_MANDIR=share/man INC_RCDEFAULT=/etc/init.d INC_USRLOCAL=/usr DESTDIR="$pkgdir" install || return 1
+ make INC_MANDIR=share/man \
+ INC_RCDEFAULT=/etc/init.d \
+ INC_USRLOCAL=/usr \
+ DESTDIR="$pkgdir" \
+ INSTCONFFLAGS=-m644 \
+ install || return 1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING