summaryrefslogtreecommitdiff
path: root/community/miredo/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-06-25 14:01:11 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-06-25 14:01:11 +0200
commitc94bf77ede06fa67fd3222ffa3fcad8898e1fd59 (patch)
tree3e4cc7f273a07c12fd69c589da434717e523664f /community/miredo/PKGBUILD
parent0f89996e6f908cc405cd44478860b864dcb189f1 (diff)
parent3b99c42eb8ca744e86e4e17197b1bf10642c6785 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/nginx/PKGBUILD community-testing/nginx/nginx.install community/chrony/PKGBUILD community/lxdm/PKGBUILD community/oidentd/PKGBUILD community/oss/PKGBUILD community/pdnsd/PKGBUILD community/ruby-cairo/PKGBUILD community/subtle/PKGBUILD core/kmod/PKGBUILD core/lvm2/PKGBUILD core/openldap/PKGBUILD core/systemd/PKGBUILD extra/smartmontools/PKGBUILD multilib/wine/PKGBUILD
Diffstat (limited to 'community/miredo/PKGBUILD')
-rw-r--r--community/miredo/PKGBUILD29
1 files changed, 19 insertions, 10 deletions
diff --git a/community/miredo/PKGBUILD b/community/miredo/PKGBUILD
index eb5d3c4a1..1ff3f4d5b 100644
--- a/community/miredo/PKGBUILD
+++ b/community/miredo/PKGBUILD
@@ -1,31 +1,39 @@
-# $Id: PKGBUILD 72149 2012-06-09 06:02:05Z spupykin $
+# $Id: PKGBUILD 72790 2012-06-22 12:50:59Z dreisner $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=miredo
-pkgver=1.2.4
+pkgver=1.2.5
pkgrel=2
pkgdesc="Teredo client and server."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.remlab.net/miredo/"
license=('GPL')
-depends=(judy iproute2)
+depends=('judy' 'iproute2' 'libcap')
backup=('etc/miredo/miredo.conf'
'etc/miredo/client-hook')
-source=(http://www.remlab.net/files/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+options=('!libtool')
+source=(http://www.remlab.net/files/${pkgname}/${pkgname}-${pkgver}.tar.xz
isatapd.rc.d
miredo.install
miredo.rc.d
- miredo-server.rc.d)
-md5sums=('1281e7e75bddbde244cd778d99fa22d4'
+ miredo-server.rc.d
+ miredo.service)
+md5sums=('5114debbf9fcab5d292176e4548f8cd1'
'51ab6d091192605ee9206944869cb2ab'
'd1b655d7a851cdb46c91c3418ed1962f'
'c5a9be5c3175fecec387f1710bfd2788'
- '319aba1ae06349b76cb25fda0dba60a9')
+ '319aba1ae06349b76cb25fda0dba60a9'
+ '3216d47d5aa979706b17b72d8b6e19b0')
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-Judy
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib \
+ --with-Judy
make
make DESTDIR="$pkgdir" install
@@ -35,6 +43,7 @@ build() {
sed -i 's#/sbin/ip#/usr/sbin/ip#' $pkgdir/etc/miredo/client-hook
# avoid conflict with filesystem>=2012.06
- rmdir "$pkgdir/var/run"
-}
+ rmdir "$pkgdir/var/run" "$pkgdir/var"
+ install -Dm644 "$srcdir/miredo.service" "$pkgdir/usr/lib/systemd/system/miredo.service"
+}