diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-05-09 16:24:38 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-05-09 16:24:38 +0200 |
commit | cdbd7308d16cb249715cce9bedf8b809f2576804 (patch) | |
tree | bfdb3a816cf96988dc788e2678acdb294b032811 /pcr/miniupnpd/PKGBUILD | |
parent | a86ff663185661ee304bb1f6d00d982102dd706d (diff) | |
parent | 648599b08776ea788a3ddb0365eb30fda03efe7b (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/bwbar/PKGBUILD
community/dosbox/PKGBUILD
community/extremetuxracer/PKGBUILD
community/fbgrab/PKGBUILD
community/fbv/PKGBUILD
community/flam3/PKGBUILD
community/freedroidrpg/PKGBUILD
community/gdk-pixbuf/PKGBUILD
community/ghemical/PKGBUILD
community/gmic/PKGBUILD
community/gnash/PKGBUILD
community/gnustep-base/PKGBUILD
community/guvcview/PKGBUILD
community/keepassx/PKGBUILD
community/kvpnc/PKGBUILD
community/libghemical/PKGBUILD
community/liboglappth/PKGBUILD
community/png2ico/PKGBUILD
community/shapelib/PKGBUILD
community/sloccount/PKGBUILD
community/tmw/PKGBUILD
community/xmoto/PKGBUILD
core/links/PKGBUILD
extra/amule/PKGBUILD
extra/cairomm/PKGBUILD
extra/calligra/PKGBUILD
extra/evas/PKGBUILD
extra/fltk/PKGBUILD
extra/gd/PKGBUILD
extra/gif2png/PKGBUILD
extra/glhack/PKGBUILD
extra/graphviz/PKGBUILD
extra/gstreamer0.10-good/PKGBUILD
extra/imlib/PKGBUILD
extra/imlib2/PKGBUILD
extra/lbreakout2/PKGBUILD
extra/libgdiplus/PKGBUILD
extra/libkate/PKGBUILD
extra/libpano13/PKGBUILD
extra/libwebp/PKGBUILD
extra/libwmf/PKGBUILD
extra/libxslt/PKGBUILD
extra/mjpegtools/PKGBUILD
extra/ntp/PKGBUILD
extra/nx/PKGBUILD
extra/openjpeg/PKGBUILD
extra/php/PKGBUILD
extra/plotutils/PKGBUILD
extra/poppler/PKGBUILD
extra/qrencode/PKGBUILD
extra/qt4/PKGBUILD
extra/qt5/PKGBUILD
extra/qtiplot/PKGBUILD
extra/qtwebkit/PKGBUILD
extra/samba/PKGBUILD
extra/sdl_image/PKGBUILD
extra/vice/PKGBUILD
extra/vigra/PKGBUILD
extra/vlc/PKGBUILD
extra/webkitgtk/PKGBUILD
extra/webkitgtk2/PKGBUILD
extra/wv/PKGBUILD
extra/wxgtk/PKGBUILD
extra/xaos/PKGBUILD
extra/xsane/PKGBUILD
extra/zvbi/PKGBUILD
Diffstat (limited to 'pcr/miniupnpd/PKGBUILD')
-rw-r--r-- | pcr/miniupnpd/PKGBUILD | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/pcr/miniupnpd/PKGBUILD b/pcr/miniupnpd/PKGBUILD index 30108d4d5..543002e04 100644 --- a/pcr/miniupnpd/PKGBUILD +++ b/pcr/miniupnpd/PKGBUILD @@ -1,49 +1,41 @@ # $Id$ # Maintainer: None pkgname=miniupnpd -pkgver=1.7.20121005 -pkgrel=4 +pkgver=1.8.20130503 +pkgrel=1 pkgdesc="Lightweight UPnP IGD daemon" arch=('i686' 'x86_64' 'mips64el') url="http://miniupnp.free.fr" license=('BSD') backup=(etc/miniupnpd/miniupnpd.conf) -depends=('libnfnetlink') -source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz" miniupnpd.init miniupnpd.systemd) -sha1sums=('4579c4711a8455bf455f3757ac9ce0dc40088901' - 'c84031d7af122c5bede8609bcfa80bc31f2a5e61' - '9cf48feb98dadee8a566b2dc7811a95020ad3895') - -_ipt_arch_ver=$(pacman -Ss iptables | awk '/\/iptables/ { print $2 }') -depends+=("iptables=$_ipt_arch_ver") +depends=('libnfnetlink' 'iptables>=1.4.3') +makedepends=('lsb-release') +source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz" + miniupnpd.systemd) +md5sums=('484dbda7c428b2d5f3768500a48d3375' + 'f862f79b673359adc80faf0be914394f' + '2cc73f661cacb2fa374eee3d1030f428') build() { - ipt_upstream_ver=iptables-${_ipt_arch_ver%%-*} - if [ ! -d $ipt_upstream_ver ]; then - curl -O "http://www.iptables.org/projects/iptables/files/${ipt_upstream_ver}.tar.bz2" - bsdtar -jxvf $ipt_upstream_ver.tar.bz2 - fi - - cd "$srcdir/$ipt_upstream_ver" - ./configure --enable-static - make - cd "$srcdir/$pkgname-$pkgver" - make -f Makefile.linux config.h - IPTABLESPATH="$srcdir/$ipt_upstream_ver" make -f Makefile.linux + + CONFIG_OPTIONS="--strict --ipv6" make -f Makefile.linux config.h + make -f Makefile.linux } package() { cd "$srcdir/$pkgname-$pkgver" mkdir -p "$pkgdir/usr/share/man/man8" + make PREFIX="$pkgdir/" -f Makefile.linux install + rm -r "${pkgdir}/etc/init.d" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm755 "${srcdir}/miniupnpd.init" "${pkgdir}/etc/rc.d/miniupnpd" install -Dm644 "${srcdir}/miniupnpd.systemd" "${pkgdir}/usr/lib/systemd/system/miniupnpd.service" + sed -i 's:/sbin/iptables:/usr/sbin/iptables: s:eth0:"`cat /etc/miniupnpd/miniupnpd.conf | '"awk -F= '/^ext_ifname/ { print \$2 }'"'`":' "${pkgdir}"/etc/miniupnpd/*.sh sed -i -e "s/^uuid=[-0-9a-f]*/uuid=00000000-0000-0000-0000-000000000000/ s/make genuuid/uuidgen/" "${pkgdir}/etc/miniupnpd/miniupnpd.conf" } - |