summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-13 07:51:43 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-13 07:51:43 +0000
commit9b824a2c9374ad1ccf8c911eefefa363284093f6 (patch)
tree60a4e9cf63261edb62e76834f1bdc748498f9b60 /net-misc/miniupnpd
parentStable on x86 (#269589). Fix LICENSE (diff)
downloadhistorical-9b824a2c9374ad1ccf8c911eefefa363284093f6.tar.gz
historical-9b824a2c9374ad1ccf8c911eefefa363284093f6.tar.bz2
historical-9b824a2c9374ad1ccf8c911eefefa363284093f6.zip
Keyword ~amd64, stop prestripping and use correct CC target.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'net-misc/miniupnpd')
-rw-r--r--net-misc/miniupnpd/ChangeLog5
-rw-r--r--net-misc/miniupnpd/Manifest4
-rw-r--r--net-misc/miniupnpd/miniupnpd-1.3.ebuild28
3 files changed, 21 insertions, 16 deletions
diff --git a/net-misc/miniupnpd/ChangeLog b/net-misc/miniupnpd/ChangeLog
index 7f6da9dc5769..b390b132090f 100644
--- a/net-misc/miniupnpd/ChangeLog
+++ b/net-misc/miniupnpd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/miniupnpd
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.7 2009/04/24 23:43:24 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.8 2009/05/13 07:51:43 ssuominen Exp $
+
+ 13 May 2009; Samuli Suominen <ssuominen@gentoo.org> miniupnpd-1.3.ebuild:
+ Keyword ~amd64, stop prestripping and use correct CC target.
*miniupnpd-1.3 (24 Apr 2009)
diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index d39f4ab162ad..da4da31910d2 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -3,6 +3,6 @@ AUX miniupnpd-1.3-conf.d 41 RMD160 6ce4c17365bbb0b993613c9bd7392fa97545cd21 SHA1
AUX miniupnpd-1.3-init.d 621 RMD160 2834661061bd2d7c0d4ad26779dc02eb6985e8ee SHA1 c0826044b2868ce13beadc937d11972722e95cdf SHA256 b2e5908231ad494c3eb408aed54536c897729b9f5c973244206f03b7dc8b8288
AUX miniupnpd-1.3-iptables_path.diff 2309 RMD160 e244817a4f7f4f7dc4abfaef44df017734f3c21a SHA1 23b92910e58238cf31ad77cb746f28bb36bcb608 SHA256 6fecac3acd2f773110a8f22db931d2b77dd75ec1894e15b33e0747f0aa66154c
DIST miniupnpd-1.3.tar.gz 83464 RMD160 ae3dd9f7012adc47d65da73af19f989b0f3a9441 SHA1 f9de317b6cf69506a33ad771198802a5fabe2c5c SHA256 b4585c77ac5a7fb00a687772db95996dd2e8854db9d628c9bb85e5ecfd67f2ff
-EBUILD miniupnpd-1.3.ebuild 1081 RMD160 b6eeb9da778f749abd6f710c8d8ab3baf3ae517a SHA1 54124d76d755758a31c0cd9e067d86dfbf92def5 SHA256 a3d3ae9551c5154b4d2e7c9637d27096362f49b094de4c7cf227765a67151c72
-MISC ChangeLog 2561 RMD160 3f7597aa31d80ea3b83e23734863a92c2595c452 SHA1 bee84410a3a9e738f4967c60f2b06c52a733d29d SHA256 521a4431469dcb2dc545c1f34c5eb6c68b23a59e787e6c8e9b4b9c3cc1f9b2c6
+EBUILD miniupnpd-1.3.ebuild 1157 RMD160 0baa087f8db838ee2c0dd18028a7019c52d9d485 SHA1 122fd3d754ef32e29c93d23a9a9856736fb4a2ab SHA256 dcbcaeca8c2c731d90569ff5ea14a3fd921b14365642c8a28856e5a37fcb52ee
+MISC ChangeLog 2700 RMD160 f8a251b8b83d9631f3da8c3ece2b67eec553c0d0 SHA1 c4d91b68612d51a1e66d840c7673ae76b00bf9dd SHA256 fa2f143ffe1604a50d9cd04a1152838b7424fe11fe0d06e8915c2c4661442aba
MISC metadata.xml 401 RMD160 b4f2959a8b2aa1f97df19bbc675decd518ae1457 SHA1 aded6feda295e161854ba5c305bd0711d0f1ca13 SHA256 18377435ab021c2ab7967a14249da4a0c1c89a027b38e3ade7f73ae430448380
diff --git a/net-misc/miniupnpd/miniupnpd-1.3.ebuild b/net-misc/miniupnpd/miniupnpd-1.3.ebuild
index a1943d4c596d..b18eed6fb751 100644
--- a/net-misc/miniupnpd/miniupnpd-1.3.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-1.3.ebuild
@@ -1,38 +1,40 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.3.ebuild,v 1.1 2009/04/24 23:43:24 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.3.ebuild,v 1.2 2009/05/13 07:51:43 ssuominen Exp $
-EAPI="2"
-
-inherit eutils linux-info
+EAPI=2
+inherit eutils linux-info toolchain-funcs
DESCRIPTION="MiniUPnP IGD Daemon"
SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
HOMEPAGE="http://miniupnp.free.fr/"
-LICENSE="miniupnpd"
-KEYWORDS="~x86"
+LICENSE="miniupnpd"
SLOT="0"
+KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=">=net-firewall/iptables-1.4.3
+RDEPEND=">=net-firewall/iptables-1.4.3
sys-apps/lsb-release"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
src_prepare() {
mv Makefile.linux Makefile
epatch "${FILESDIR}/${P}-iptables_path.diff"
epatch "${FILESDIR}/${P}-Makefile_fix.diff"
sed -i -e "s#^CFLAGS = #CFLAGS = -I${KV_OUT_DIR}/include #" Makefile
- # we don't use netfilter/Makefile
- gmake config.h
+ emake config.h
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "emake failed"
}
src_install () {
- PREFIX="${D}" einstall || die
+ einstall PREFIX="${D}" STRIP="true" || die "einstall failed"
- newinitd "${FILESDIR}/${P}-init.d" "${PN}"
- newconfd "${FILESDIR}/${P}-conf.d" "${PN}"
+ newinitd "${FILESDIR}"/${P}-init.d ${PN}
+ newconfd "${FILESDIR}"/${P}-conf.d ${PN}
}
pkg_postinst() {