summaryrefslogtreecommitdiff
path: root/community/pound
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-18 10:38:15 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-18 10:38:15 -0300
commit59d570b2f4d752b3cd4dfcdf2ce8c75993d9c2eb (patch)
tree452fb18314fb6d4393552d1ef1190a3168353f44 /community/pound
parentbb3524a1ba0370174d0c586ae94cd503b562a207 (diff)
parent9e3985ed7c9851da65023a0ab3d0739cce1858e2 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/gambas2/PKGBUILD community-staging/gambas3/PKGBUILD community-staging/libextractor/PKGBUILD community-staging/pdf2djvu/PKGBUILD community/dante/PKGBUILD community/gnunet/PKGBUILD community/luafilesystem/PKGBUILD community/luajit/PKGBUILD community/python-mpi4py/PKGBUILD community/python-psutil/PKGBUILD extra/gnome-python-desktop/PKGBUILD extra/pycrypto/PKGBUILD extra/pygobject/PKGBUILD extra/pygobject2/PKGBUILD extra/pyopenssl/PKGBUILD extra/python/PKGBUILD extra/vde2/PKGBUILD gnome-unstable/clutter-gtk/PKGBUILD gnome-unstable/clutter/PKGBUILD gnome-unstable/eog/PKGBUILD gnome-unstable/evolution-data-server/PKGBUILD gnome-unstable/gcr/PKGBUILD gnome-unstable/gnome-desktop/PKGBUILD gnome-unstable/gnome-keyring/PKGBUILD gnome-unstable/gnome-themes-standard/PKGBUILD gnome-unstable/gobject-introspection/PKGBUILD staging/kdebase-workspace/PKGBUILD testing/iputils/PKGBUILD testing/php/PKGBUILD testing/php/php-fpm.conf.in.patch testing/php/php-fpm.service testing/php/rc.d.php-fpm
Diffstat (limited to 'community/pound')
-rw-r--r--community/pound/PKGBUILD34
-rw-r--r--community/pound/pound.service10
2 files changed, 29 insertions, 15 deletions
diff --git a/community/pound/PKGBUILD b/community/pound/PKGBUILD
index ac4f13b38..ffa67316e 100644
--- a/community/pound/PKGBUILD
+++ b/community/pound/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 69456 2012-04-16 13:52:48Z spupykin $
+# $Id: PKGBUILD 78356 2012-10-17 15:19:00Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
# Contributor: Roberto Alsina <ralsina@kde.org>
pkgname=pound
pkgver=2.6
-pkgrel=2
+pkgrel=3
pkgdesc="A reverse proxy, load balancer, and SSL wrapper"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.apsis.ch/pound/index_html"
@@ -15,26 +15,30 @@ backup=(etc/pound/pound.cfg)
source=(http://www.apsis.ch/pound/Pound-$pkgver.tgz
pound.init
pound.runit
+ pound.service
pound.cfg)
md5sums=('8c913b527332694943c4c67c8f152071'
'bd3bddb6dc17fdcab824815a4705b055'
'4bd5e2a8d8e707eb900ae88929e00d4c'
+ '23c70776fcd1cf71572f90a8809f7408'
'8937808acd22c6391ebe4340af8df854')
build() {
- cd $srcdir/Pound-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc/pound
- make
+ cd $srcdir/Pound-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc/pound
+ make
}
+
package() {
- cd $srcdir/Pound-$pkgver
- install -d $pkgdir/usr/sbin
- make DESTDIR=$pkgdir install
- chown root.root -R $pkgdir/usr
- install -d $pkgdir/etc/rc.d
- install -m0755 $srcdir/pound.init $pkgdir/etc/rc.d/pound
- install -d $pkgdir/etc/sv
- install -d $pkgdir/etc/sv/pound
- install -m0755 $srcdir/pound.runit $pkgdir/etc/sv/pound/run
- install -D -m0644 $srcdir/pound.cfg $pkgdir/etc/pound/pound.cfg
+ cd $srcdir/Pound-$pkgver
+ install -d $pkgdir/usr/sbin
+ make DESTDIR=$pkgdir install
+ chown root.root -R $pkgdir/usr
+ install -d $pkgdir/etc/rc.d
+ install -m0755 $srcdir/pound.init $pkgdir/etc/rc.d/pound
+ install -d $pkgdir/etc/sv
+ install -d $pkgdir/etc/sv/pound
+ install -m0755 $srcdir/pound.runit $pkgdir/etc/sv/pound/run
+ install -D -m0644 $srcdir/pound.cfg $pkgdir/etc/pound/pound.cfg
+ install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
}
diff --git a/community/pound/pound.service b/community/pound/pound.service
new file mode 100644
index 000000000..0a91f3424
--- /dev/null
+++ b/community/pound/pound.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=A reverse proxy, load balancer, and SSL wrapper
+
+[Service]
+Type=forking
+PIDFile=/var/run/pound.pid
+ExecStart=/usr/sbin/pound -f /etc/pound/pound.cfg -p /var/run/pound.pid
+
+[Install]
+WantedBy=multi-user.target