[arch-commits] Commit in miniupnpd/repos/community-x86_64 (4 files)
Levente Polyak
anthraxx at archlinux.org
Tue Apr 24 22:39:12 UTC 2018
Date: Tuesday, April 24, 2018 @ 22:39:11
Author: anthraxx
Revision: 317650
archrelease: copy trunk to community-x86_64
Added:
miniupnpd/repos/community-x86_64/PKGBUILD
(from rev 317649, miniupnpd/trunk/PKGBUILD)
miniupnpd/repos/community-x86_64/miniupnpd.service
(from rev 317649, miniupnpd/trunk/miniupnpd.service)
Deleted:
miniupnpd/repos/community-x86_64/PKGBUILD
miniupnpd/repos/community-x86_64/miniupnpd.service
-------------------+
PKGBUILD | 100 ++++++++++++++++++++++++++--------------------------
miniupnpd.service | 28 +++++++-------
2 files changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-24 22:39:05 UTC (rev 317649)
+++ PKGBUILD 2018-04-24 22:39:11 UTC (rev 317650)
@@ -1,50 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: fauno <fauno at parabola.nu>
-
-pkgname=miniupnpd
-pkgver=2.0.20180412
-pkgrel=1
-pkgdesc='Lightweight UPnP IGD daemon'
-url='https://miniupnp.tuxfamily.org/'
-arch=('x86_64')
-license=('BSD')
-backup=('etc/miniupnpd/miniupnpd.conf')
-depends=('iptables' 'net-tools' 'util-linux')
-makedepends=('lsb-release')
-source=(https://miniupnp.tuxfamily.org/files/${pkgname}-${pkgver}.tar.gz
- miniupnpd.service)
-sha256sums=('c8c02522002860acee7ceed388400debfb05943a5210f6b377be899a37869363'
- '66cd1ed0ae55c683910d46c2e486a8b52e48088b70248323cf894bc962ede48f')
-sha512sums=('23b32273912b0c2a19fba71212116c83d99c57f75b3e733aa6b5476e0977a6f0288e2366164d58ccc8d8b021f1bfbf69cb89e4cf13b7529ae8e0d6c896c0a454'
- '5075892c664c4d935da66436e3f45ee077ddf77e80c7553930929fe2b9d587aaeb5df5a4febdbac8fa6d5b22dae35662012ae22eabb87fe3472e25b91afd3466')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- sed '/gzip/d' -i Makefile.linux
-}
-
-
-build() {
- cd ${pkgname}-${pkgver}
- CONFIG_OPTIONS="--ipv6 --leasefile" make -f Makefile.linux config.h
- make -f Makefile.linux
-}
-
-package() {
- cd ${pkgname}-${pkgver}
-
- make DESTDIR="${pkgdir}" PREFIX=/ INSTALLPREFIX=/usr SBININSTALLDIR=/usr/bin -f Makefile.linux install
-
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -Dm 644 ../miniupnpd.service -t "${pkgdir}/usr/lib/systemd/system"
-
- 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"
-
- rm -r "${pkgdir}/etc/init.d"
-}
-
-# vim: ts=2 sw=2 et:
Copied: miniupnpd/repos/community-x86_64/PKGBUILD (from rev 317649, miniupnpd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-24 22:39:11 UTC (rev 317650)
@@ -0,0 +1,50 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: fauno <fauno at parabola.nu>
+
+pkgname=miniupnpd
+pkgver=2.0.20180422
+pkgrel=1
+pkgdesc='Lightweight UPnP IGD daemon'
+url='https://miniupnp.tuxfamily.org/'
+arch=('x86_64')
+license=('BSD')
+backup=('etc/miniupnpd/miniupnpd.conf')
+depends=('iptables' 'net-tools' 'util-linux')
+makedepends=('lsb-release')
+source=(https://miniupnp.tuxfamily.org/files/${pkgname}-${pkgver}.tar.gz
+ miniupnpd.service)
+sha256sums=('fe73dd48cbd2eeb30b1ae4f2b6ff46922f214019a50b9a8dd447849b42c9e90d'
+ '66cd1ed0ae55c683910d46c2e486a8b52e48088b70248323cf894bc962ede48f')
+sha512sums=('338ebb03edfd9448a91277c3cc47843a45c1ee9d9e43ba52cd5f897cca8ddc5cbb53dd291056d30a906c68a5dfe0e5eb50169f7ffefab003fcf440de46b83f42'
+ '5075892c664c4d935da66436e3f45ee077ddf77e80c7553930929fe2b9d587aaeb5df5a4febdbac8fa6d5b22dae35662012ae22eabb87fe3472e25b91afd3466')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ sed '/gzip/d' -i Makefile.linux
+}
+
+
+build() {
+ cd ${pkgname}-${pkgver}
+ CONFIG_OPTIONS="--ipv6 --leasefile" make -f Makefile.linux config.h
+ make -f Makefile.linux
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make DESTDIR="${pkgdir}" PREFIX=/ INSTALLPREFIX=/usr SBININSTALLDIR=/usr/bin -f Makefile.linux install
+
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 ../miniupnpd.service -t "${pkgdir}/usr/lib/systemd/system"
+
+ 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"
+
+ rm -r "${pkgdir}/etc/init.d"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: miniupnpd.service
===================================================================
--- miniupnpd.service 2018-04-24 22:39:05 UTC (rev 317649)
+++ miniupnpd.service 2018-04-24 22:39:11 UTC (rev 317650)
@@ -1,14 +0,0 @@
-[Unit]
-Description=Lightweight UPnP IGD daemon
-Documentation=man:miniupnpd(8)
-After=network.target
-
-[Service]
-Type=forking
-ExecStartPre=/etc/miniupnpd/iptables_init.sh
-ExecStart=/usr/bin/miniupnpd -f /etc/miniupnpd/miniupnpd.conf
-ExecStopPost=/etc/miniupnpd/iptables_removeall.sh
-PIDFile=/run/miniupnpd.pid
-
-[Install]
-WantedBy=network.target
Copied: miniupnpd/repos/community-x86_64/miniupnpd.service (from rev 317649, miniupnpd/trunk/miniupnpd.service)
===================================================================
--- miniupnpd.service (rev 0)
+++ miniupnpd.service 2018-04-24 22:39:11 UTC (rev 317650)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Lightweight UPnP IGD daemon
+Documentation=man:miniupnpd(8)
+After=network.target
+
+[Service]
+Type=forking
+ExecStartPre=/etc/miniupnpd/iptables_init.sh
+ExecStart=/usr/bin/miniupnpd -f /etc/miniupnpd/miniupnpd.conf
+ExecStopPost=/etc/miniupnpd/iptables_removeall.sh
+PIDFile=/run/miniupnpd.pid
+
+[Install]
+WantedBy=network.target
More information about the arch-commits
mailing list