summaryrefslogtreecommitdiff
path: root/community/ucarp/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-05-16 16:49:47 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-05-16 16:49:47 +0200
commitbc864260b40f40e8f689788c54f6138007764077 (patch)
tree9c9be0d9a53d7e3a03d76276fc4b02dd08b552bf /community/ucarp/PKGBUILD
parentb90f83b99150003a2022c3a4bbad90b12eb56b7e (diff)
parent453f3b8b2c568e9babcdc4852772278a39f130c0 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/bird/PKGBUILD community/drbd/PKGBUILD community/etherape/PKGBUILD community/ext4magic/PKGBUILD community/fcron/PKGBUILD community/fcron/systab.orig community/gnome-panel/PKGBUILD community/libident/PKGBUILD community/libtorrent/PKGBUILD community/linux-tools/PKGBUILD community/linux-tools/usbipd.service community/makedev/PKGBUILD community/minbif/PKGBUILD community/noip/PKGBUILD community/notmuch/PKGBUILD community/pam_pwcheck/PKGBUILD community/pound/PKGBUILD community/preload/PKGBUILD community/python-cchardet/PKGBUILD community/rtorrent/PKGBUILD community/tor/PKGBUILD community/ude/PKGBUILD core/openldap/PKGBUILD core/sysvinit/PKGBUILD extra/cd-discid/PKGBUILD extra/cvs/PKGBUILD extra/epiphany-extensions/PKGBUILD extra/fbset/PKGBUILD extra/fluidsynth/PKGBUILD extra/gtkmm/PKGBUILD extra/gvfs/PKGBUILD extra/kdepim/PKGBUILD extra/libical/PKGBUILD extra/mutt/PKGBUILD extra/netkit-bsd-finger/PKGBUILD extra/ossp/PKGBUILD extra/php/PKGBUILD extra/pidgin/PKGBUILD extra/rtkit/PKGBUILD extra/samba/PKGBUILD extra/totem/PKGBUILD extra/webkitgtk/PKGBUILD libre/liferea-libre/PKGBUILD libre/mplayer-vaapi-libre/PKGBUILD
Diffstat (limited to 'community/ucarp/PKGBUILD')
-rw-r--r--community/ucarp/PKGBUILD28
1 files changed, 14 insertions, 14 deletions
diff --git a/community/ucarp/PKGBUILD b/community/ucarp/PKGBUILD
index 17a8bc881..84bdb16b1 100644
--- a/community/ucarp/PKGBUILD
+++ b/community/ucarp/PKGBUILD
@@ -1,37 +1,37 @@
-# $Id: PKGBUILD 83576 2013-02-03 13:21:29Z seblu $
-# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
+# $Id: PKGBUILD 90534 2013-05-13 00:32:20Z seblu $
+# Maintainer: Sébastien Luttringer
pkgname=ucarp
pkgver=1.5.2
-pkgrel=4
+pkgrel=5
pkgdesc='Userspace implementation of the CARP protocol'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.ucarp.org/project/ucarp'
license=('GPL2')
depends=('libpcap')
optdepends=('iproute2')
-source=("http://download.pureftpd.org/pub/ucarp/ucarp-$pkgver.tar.gz"
- 'ucarp.service'
- 'ucarp.8'
+source=("http://download.pureftpd.org/pub/$pkgname/$pkgname-$pkgver.tar.gz"
+ "$pkgname.service"
+ "$pkgname.8"
'01-fix-getopt.patch'
'02-fix-downscript-on-error.c')
md5sums=('e3caa733316a32c09e5d3817617e9145'
- '40fdef66560e3c98eb7c04adf7c31739'
+ 'fdc72a8d6f89224b40c78705df1f46f9'
'2ccfdc464b88c437b38bd0324cf1fef3'
'3f20699aaf2ef8139dcd337f1e7f06ab'
'09d26233c37956cf08e629554a91b8cd')
+prepare() {
+ # Apply patches
+ patch -N -p1 -d $pkgname-$pkgver < 01-fix-getopt.patch
+ patch -N -p1 -d $pkgname-$pkgver < 02-fix-downscript-on-error.c
+}
+
build() {
cd $pkgname-$pkgver
- patch -N -p1 -i ../01-fix-getopt.patch
- patch -N -p1 -i ../02-fix-downscript-on-error.c
-
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --sbindir=/usr/bin
make
- # fix iproute2 path
- sed -i 's|/sbin|/usr/sbin|g' examples/linux/vip-down.sh
- sed -i 's|/sbin|/usr/sbin|g' examples/linux/vip-up.sh
}
package() {