aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2015-09-16 09:39:12 +0059
committerStuart Shelton <stuart@shelton.me>2015-09-16 09:39:12 +0059
commita9f9a1278969cdcde2c8f5629e385df12bac7a0e (patch)
tree6c8622908723a0bed3d5c02471addf5e13ace775
parentAdd missing file clang-3.6-fbsd-gcc49.patch for sys-devel/llvm-3.6.1 (diff)
downloadsrcshelton-a9f9a1278969cdcde2c8f5629e385df12bac7a0e.tar.gz
srcshelton-a9f9a1278969cdcde2c8f5629e385df12bac7a0e.tar.bz2
srcshelton-a9f9a1278969cdcde2c8f5629e385df12bac7a0e.zip
Add net-misc/miniupnpd-1.10_pre20150721
-rw-r--r--net-misc/miniupnpd/Manifest2
-rw-r--r--net-misc/miniupnpd/miniupnpd-1.10_pre20150721.ebuild63
2 files changed, 65 insertions, 0 deletions
diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index d380c3e8..0b16b53e 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -11,8 +11,10 @@ DIST miniupnpd-1.8.20140523.tar.gz 190936 SHA256 e72cd1e515aa9e6281e519e1814fe74
DIST miniupnpd-1.8.tar.gz 146679 SHA256 e453a9225a2883e759d09e15c51bb0265b8a019d1132434131e6929fef0076bb SHA512 29103718dfecd49e5ff74187051054820f569b9d4a472a3f76898db5c74684b7af34d5f937b14692b5a4a27fd1efc851841c437bd153e37aa5879ecae36aa401 WHIRLPOOL a0240df1d9770e199c04c5d1c3f8400b498c4b25957e319806532200569171d948eafa76be6871d8366f10344b2b79da1f9686b746e5cb1d3d7c8e85bce84e06
DIST miniupnpd-1.9.20141128.tar.gz 192558 SHA256 6bd253881096639f6a767990f0b22c56c4b2d11ba3babec0bd5cc8edbc5a3eb3 SHA512 4559ca35a3c0ac9449fa8b4847dbbd173bc5afd457da8254ac1b63707a863c4d9eaf1f672ba6322dc8f8e66410dc5a52af09f1ab38a647de81c2e1358389f0cf WHIRLPOOL 47ad5e395d657d26f66d5e51f1cdb32868f2f0b6bd23305b0c9d0a32426c38608a6a4b0aec98c4650a012d9d5afd85b3033483e10755f11c114df729245b47c8
DIST miniupnpd-1.9.20141209.tar.gz 193183 SHA256 e2bc8040e912574af122cd295012b566b574032e39d76086c5ad1968bbc9aba3 SHA512 c2cd66a48401c735f6e36909c6d69cf55c13ff559bcd1324e971ec03e062591477499590019d122a483531d95df7255ec1cd552f6a512c581046f61118fbdbd2 WHIRLPOOL 7000b2aa67fbdcd869a2bfa1e2f7ac1430cf7cffd926cff37add5c5101c8b97d521ea23b2b0749885f73c6e97ff24cd8076b4eea5388de76f3df27d20b366f06
+DIST miniupnpd-1.9.20150721.tar.gz 207562 SHA256 9340224e5023ecb5d1b7f45e4d69734dcfbadbe41a80d1f0182347e6b8104470 SHA512 ed060a19bfb8f285c10d0c86ca54b646d8cad6baf29266bb395fe75ec23de63986a51362281213e9a14cd14225cc19a33cf404a139a55c7b0f72ced78581c660 WHIRLPOOL 9050b20f6118c63fe9d1cce8c8710e47e9e491ff28a1df29bf4b7a1e4e57fa537b06ce8ed667c1bc138e63dc23ba95a793980a32586c84a4728aa5977d10c6d4
EBUILD miniupnpd-1.10_pre20141128.ebuild 1466 SHA256 0fa42d86a8a50d2b4b893eb677eee118c748c1d07389ce6bf803f71c57b9cc72 SHA512 c43f968d7ae864fe0ec3718643d127a8afb06b6091ad3ac8986b713cf47d96bdf9f030c7fd219c4a87edc0600d4e88294632732ee1163fe228d6f0eddaf9e243 WHIRLPOOL 5d4872da2e4998fc3ce1e045788bf7a556124ee023c4ae5314fb9bb9bb28a5dd901a40f9c5011d241356dc3450316106fc50b7bd9defe0ef58b2ce0cba2fa5b6
EBUILD miniupnpd-1.10_pre20141209.ebuild 1385 SHA256 6f66378a69e1e941c7b3f34dc42ab64a4d2381e0915f14f09b5e26b834b6bd62 SHA512 5f56173bd1fb85e0bf491fb076c63514c6b37d8ef6502eb4879f8c38212c1afc6341a5028b6bbae49dbc57040dd5022c57e307950baccc1fe9267772c5432aeb WHIRLPOOL 82b9382567bff80811b9571f7a78377201193dbec5f45e114fdad02143abde4fbdb0f8593ec0fb41ae920eaf3a768622ab397dfbd306976974a9e22b79b4d8df
+EBUILD miniupnpd-1.10_pre20150721.ebuild 1385 SHA256 e8f978397ab290ecf3341cb76200e7a7bcb157b8977f0ff939b849fb1d5a6841 SHA512 4a7e8acd20a09021f2b3ddd342baf6b6f38c5f99f6be174f3d2fb4ad73b9c230a7039a437c8c2a5bc62b301ac74a7fcc75baa0d63374d8e06f8f5ebca6fb001c WHIRLPOOL 7108dee838dd1cbcaa023de8539d136d88cbc90f116c8a3eaae34ead0a2b9cdf7ae39d2d593157239a422b612b0235447e6133bd996388e624e4ceb1adcf712f
EBUILD miniupnpd-1.8-r1.ebuild 1385 SHA256 9f64f2291e336978c01be3e700922701f3efd12b4f69810013e6cc6b102e14f8 SHA512 501257636e47d221950ed1cf37f871b0b58daaecc55bef230fd64bd966ce3a08fe70480a56ae7abcdbc58672912e530d2632bc3ae7924289f9bfae3f415390af WHIRLPOOL 94a6900fa465ba5c51a67c733ae928bd5aa03eb29f3b87a30d59ebbf5d3bbb3baa8acec7340bc54c352dcff1892a454a5db4728d146cf736b39adf06492ab22d
EBUILD miniupnpd-1.8.ebuild 1660 SHA256 7d365d387fa95269fd12857c715eb3cde3b1f177097e732a70c28c1b5bcf38d6 SHA512 a980ad84342443cf6524153cf837870173a961cd26a9e85dbbbed4dc48bbf6ef8d80727610915e9ce0f6405f06f9c5f878e2ba279068942da712d2b71e95466c WHIRLPOOL d93f3952cbd69ba7c2309135218b2a9b7a58f086c10d9bb7bc7563edb8e68b5303fb5a590bb83f9f497cb023e28d4236cea50199850849b7455f345cd20cb76d
EBUILD miniupnpd-1.9_pre20140422.ebuild 1448 SHA256 18504d8a03997f8962ebcfb9b11142484f22f830d6c78fdac5fab79f00baa680 SHA512 fa887397b6b6cc1c8bbe02a00796dee001405c4069df15431c94ce16e136fa291a3876c63b526bb6e6aa3a0fcc4ba49481fc7cf6bf98e026ec357a155a7fc9a0 WHIRLPOOL 236df427ddcb8841b12c3dbdaaf14ccce7e2031cd542a067370754720d6c26a8dbace3fb4047e7240384ed1c3e165b483f57988e6a69d20b08c412ebd6cba172
diff --git a/net-misc/miniupnpd/miniupnpd-1.10_pre20150721.ebuild b/net-misc/miniupnpd/miniupnpd-1.10_pre20150721.ebuild
new file mode 100644
index 00000000..ef2d062a
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-1.10_pre20150721.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id: 52ecfc135537c08895b7d22b91415afd7e1b94f2 $
+
+EAPI="5"
+
+inherit eutils toolchain-funcs
+
+MY_PV=1.9.20150721
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/"
+SRC_URI="http://miniupnp.free.fr/files/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="|| ( >=net-firewall/iptables-1.4.6 net-firewall/iptables-nftables )
+ net-libs/libnfnetlink"
+DEPEND="${RDEPEND}
+ sys-apps/util-linux
+ sys-apps/lsb-release"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.10-build.patch
+ mv Makefile.linux Makefile || die
+}
+
+src_configure() {
+ tc-export CC
+ export STRIP=true
+
+ emake config.h
+ sed -i -r \
+ -e '/#define ENABLE_LEASEFILE/s:(/[*]|[*]/)::g' \
+ config.h || die
+
+ sed -i -r \
+ -e '/#define ENABLE_MANUFACTURER_INFO_CONFIGURATION/s:(/[*]|[*]/)::g' \
+ config.h || die
+}
+
+src_compile() {
+ # By default, it builds a bunch of unittests we don't run.
+ emake CC="$(tc-getCC)" miniupnpd
+}
+
+src_install() {
+ emake install PREFIX="${ED}"
+
+ newinitd "${FILESDIR}"/${PN}-init.d ${PN}
+ newconfd "${FILESDIR}"/${PN}-conf.d ${PN}
+}
+
+pkg_postinst() {
+ elog "Please correct the external interface in the top of the two"
+ elog "scripts in /etc/miniupnpd and edit the config file in there too"
+}