diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-07-18 12:59:47 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-07-18 12:59:47 -0300 |
commit | 12c074375919d2de177eb9456352866902118a03 (patch) | |
tree | 3f6b2e5baadedbc7901bf3e614fd017ca8aaee52 /community-testing/stunnel/PKGBUILD | |
parent | 598db82f25ffe3557e395a11f379de65af9e1ac1 (diff) | |
parent | ddddf9c453076a407bfdbf3e030e606f31ee2b86 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/dopewars/PKGBUILD
community/virtualbox/PKGBUILD
core/lvm2/PKGBUILD
extra/aspell/PKGBUILD
extra/gnome-python-extras/PKGBUILD
extra/libproxy/PKGBUILD
extra/live-media/PKGBUILD
extra/ocaml/PKGBUILD
extra/putty/PKGBUILD
extra/python/PKGBUILD
extra/ruby/PKGBUILD
kde-unstable/calligra/PKGBUILD
multilib-testing/lib32-mesa/PKGBUILD
testing/mesa/PKGBUILD
Diffstat (limited to 'community-testing/stunnel/PKGBUILD')
-rw-r--r-- | community-testing/stunnel/PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/community-testing/stunnel/PKGBUILD b/community-testing/stunnel/PKGBUILD new file mode 100644 index 000000000..eb2a50995 --- /dev/null +++ b/community-testing/stunnel/PKGBUILD @@ -0,0 +1,48 @@ +# $Id: PKGBUILD 51826 2011-07-16 00:11:50Z dreisner $ +# Maintainer: Kaiting Chen <kaitocracy@gmail.com> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Kevin Piche <kevin@archlinux.org> + +pkgname=stunnel +pkgver=4.39 +pkgrel=1 +pkgdesc="A program that allows you to encrypt arbitrary TCP connections inside SSL" +arch=('i686' 'x86_64') +url="http://www.stunnel.org" +license=('GPL') +depends=('openssl') +install=stunnel.install +options=('!libtool') +source=("ftp://ftp.stunnel.org/stunnel/$pkgname-$pkgver.tar.gz" + 'Makefile.patch' 'stunnel.rc.d') +md5sums=('853739119a8364daea750154af6d7e79' + 'f15398497e10e080c2406d2fc541660c' + 'cb647c71ff4cb1e035b6e515d5f13ebf') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + # don't create a certificate... + patch -p0 < $srcdir/Makefile.patch + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-ipv6 \ + --disable-libwrap + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=$pkgdir install + + for i in ca.pl importCA.sh; do + install -Dm755 tools/$i $pkgdir/usr/share/stunnel/$i + done + install -Dm755 $srcdir/stunnel.rc.d $pkgdir/etc/rc.d/stunnel + sed -e "s:/usr/var/lib/stunnel/:/var/run/stunnel:g" \ + -e "s:/usr/etc/stunnel/:/etc/stunnel/:g" \ + -e "s:nobody:stunnel:g" -e "s:nogroup:stunnel:g" \ + -i ${pkgdir}/etc/stunnel/stunnel.conf-sample + install -Dm644 tools/stunnel.cnf $pkgdir/etc/stunnel/stunnel.cnf +} |