summaryrefslogtreecommitdiff
path: root/pcr/miniupnpd
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-12-18 11:58:30 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-12-18 11:58:30 -0200
commite28c22b3aa33f1243d096dfd3b7da6ce7760a144 (patch)
tree3306d7a3261092a14fadaa5eebe1254069ed7f5b /pcr/miniupnpd
parent3605270bdc98b3d4ac973eead454c2dcd6d24072 (diff)
remove packages that has been released as Arch official package
Diffstat (limited to 'pcr/miniupnpd')
-rw-r--r--pcr/miniupnpd/PKGBUILD45
-rw-r--r--pcr/miniupnpd/miniupnpd.systemd12
2 files changed, 0 insertions, 57 deletions
diff --git a/pcr/miniupnpd/PKGBUILD b/pcr/miniupnpd/PKGBUILD
deleted file mode 100644
index 5e8e59fd9..000000000
--- a/pcr/miniupnpd/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: fauno <fauno@parabola.nu>
-pkgname=miniupnpd
-pkgver=1.8.20130730
-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' 'iptables>=1.4.3' 'net-tools')
-makedepends=('lsb-release')
-source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz"
- miniupnpd.systemd)
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- 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 -Dm644 "${srcdir}/miniupnpd.systemd" "${pkgdir}/usr/lib/systemd/system/miniupnpd.service"
-
- sed -i 's:/s\?bin/iptables:/usr/bin/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"
- # usrmove
- cd "$pkgdir"
- mv usr/sbin usr/bin
-}
-sha1sums=('32eed969a6c653d6d5ccd236ee50275c933d020e'
- '64bf27526bc830d7be98a9bb48e58911afdbe735')
-sha256sums=('919ab6ec719959fff9bdae3f1d83f6a39c43fa4a6d3f2c48077f43729d3d7d43'
- '2707d028f28fbb28c3a9d13605c9c738e9628f828e22288a8a1492ac93f9ad7c')
diff --git a/pcr/miniupnpd/miniupnpd.systemd b/pcr/miniupnpd/miniupnpd.systemd
deleted file mode 100644
index 88973535c..000000000
--- a/pcr/miniupnpd/miniupnpd.systemd
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Lightweight UPnP IGD daemon
-
-[Service]
-ExecStartPre=/etc/miniupnpd/iptables_init.sh
-ExecStart=/usr/bin/miniupnpd -f /etc/miniupnpd/miniupnpd.conf -d
-ExecStopPost=/etc/miniupnpd/iptables_removeall.sh
-PIDFile=/run/miniupnpd.pid
-StandardOutput=null
-
-[Install]
-WantedBy=network.target