summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-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