summaryrefslogtreecommitdiff
path: root/social/strongswan/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-10-24 13:11:36 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-10-24 13:11:36 -0300
commit3c04d67149c3384682f6d5d097eabbfb73d67b53 (patch)
treea386dd797d4dcb64678bca8c84508333f795e210 /social/strongswan/PKGBUILD
parentdb83c17ba25c263db80a7999254a255b14ef0e37 (diff)
downloadabslibre-3c04d67149c3384682f6d5d097eabbfb73d67b53.tar.gz
abslibre-3c04d67149c3384682f6d5d097eabbfb73d67b53.tar.bz2
abslibre-3c04d67149c3384682f6d5d097eabbfb73d67b53.zip
social/strongswan-4.5.3-1
Diffstat (limited to 'social/strongswan/PKGBUILD')
-rw-r--r--social/strongswan/PKGBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/social/strongswan/PKGBUILD b/social/strongswan/PKGBUILD
new file mode 100644
index 000000000..8c5e42885
--- /dev/null
+++ b/social/strongswan/PKGBUILD
@@ -0,0 +1,50 @@
+# Contributor: Jason Begley <jayray at digitalgoat dot com>
+# Contributor: Ray Kohler <ataraxia937 at gmail dot com>
+# Maintainer: Daniel Riedemann <daniel.riedemann [at] googlemail [dot] com>
+# Maintainer: Dhruv Desai <svenskaparadox [at] gmail dot com>
+
+pkgname=strongswan
+pkgver=4.5.3
+pkgrel=1
+pkgdesc="open source IPsec implementation"
+url='http://www.strongswan.org'
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite3' 'networkmanager')
+conflicts=('openswan')
+options=(!libtool)
+backup=(etc/ipsec.conf etc/strongswan.conf)
+source=(http://download.strongswan.org/${pkgname}-${pkgver}.tar.bz2
+ strongswan.rc)
+md5sums=('ee7c50a90c91307b111e8085f2479890'
+ '667ea2367cbe07c57721696e6b7e39df')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
+ --with-ipsecdir=/usr/lib/strongswan \
+ --enable-sqlite --enable-smartcard --enable-cisco-quirks \
+ --enable-openssl --enable-nm --enable-curl \
+ --enable-sql --enable-attr-sql \
+ --enable-farp --enable-dhcp \
+ --enable-eap-sim --enable-eap-sim-file --enable-eap-simaka-pseudonym \
+ --enable-eap-simaka-reauth --enable-eap-identity --enable-eap-md5 \
+ --enable-eap-gtc --enable-eap-aka --enable-eap-aka-3gpp2 \
+ --enable-eap-mschapv2 --enable-eap-radius \
+ --enable-ha \
+ --disable-mysql --disable-ldap \
+ --disable-static --enable-shared
+
+ make
+}
+
+package(){
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
+ install -d ${pkgdir}/etc/rc.d
+ ln -s /usr/sbin/ipsec ${pkgdir}/etc/rc.d/ipsec
+ install -Dm755 ${srcdir}/strongswan.rc ${pkgdir}/etc/rc.d/strongswan
+}
+