summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-01-15 07:48:15 +0000
committerJeroen Roovers <jer@gentoo.org>2009-01-15 07:48:15 +0000
commit9e8a707aa35f86fc18553499036786eae073e08b (patch)
treea6b6190f6c425cfb7916c4fc4a66bcb45869c43f /net-analyzer/upnpscan
parentmake sure version.h gets created, bug #252269 (diff)
downloadhistorical-9e8a707aa35f86fc18553499036786eae073e08b.tar.gz
historical-9e8a707aa35f86fc18553499036786eae073e08b.tar.bz2
historical-9e8a707aa35f86fc18553499036786eae073e08b.zip
Respect CFLAGS (bug #240868).
Package-Manager: portage-2.2_rc22/cvs/Linux 2.6.25-gentoo-r7-JeR i686
Diffstat (limited to 'net-analyzer/upnpscan')
-rw-r--r--net-analyzer/upnpscan/ChangeLog8
-rw-r--r--net-analyzer/upnpscan/Manifest5
-rw-r--r--net-analyzer/upnpscan/files/upnpscan-0.4-cflags.patch20
-rw-r--r--net-analyzer/upnpscan/upnpscan-0.4.ebuild15
4 files changed, 41 insertions, 7 deletions
diff --git a/net-analyzer/upnpscan/ChangeLog b/net-analyzer/upnpscan/ChangeLog
index e59c9f2eee96..fed29e10b624 100644
--- a/net-analyzer/upnpscan/ChangeLog
+++ b/net-analyzer/upnpscan/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/upnpscan
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/upnpscan/ChangeLog,v 1.4 2006/12/23 23:03:00 peper Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/upnpscan/ChangeLog,v 1.5 2009/01/15 07:48:14 jer Exp $
+
+ 15 Jan 2009; Jeroen Roovers <jer@gentoo.org>
+ +files/upnpscan-0.4-cflags.patch, upnpscan-0.4.ebuild:
+ Respect CFLAGS (bug #240868).
23 Dec 2006; Piotr Jaroszyński <peper@gentoo.org> upnpscan-0.4.ebuild:
Add ~amd64 wrt bug #156251.
diff --git a/net-analyzer/upnpscan/Manifest b/net-analyzer/upnpscan/Manifest
index e271d7452f40..819b40f257d0 100644
--- a/net-analyzer/upnpscan/Manifest
+++ b/net-analyzer/upnpscan/Manifest
@@ -1,4 +1,5 @@
+AUX upnpscan-0.4-cflags.patch 386 RMD160 eb31d813c76f83355d1c70e175f12ccbb3263673 SHA1 655fc54a5b71c00c3e908fd821f14ddd38a34ef0 SHA256 391a60882b814a105d05073502082422eab9c81253294579318982d70fe199bc
DIST upnpscan-v0.4-src.tgz 309011 RMD160 ed32678ec25f2627a36d622cba8548bec87faf9e SHA1 d15125d147ef962107fc3f01b52160d50f0d8710 SHA256 0d41d63efcc9ed15133306d9996ec72a07ddb047552fca0ac417eeb412db045b
-EBUILD upnpscan-0.4.ebuild 648 RMD160 5beb15801ad329df65ccbf18a2d00dbf9e64bfac SHA1 754cfc2c95b7643ba3bdb4e28abcba1ba1d1e2c8 SHA256 81a01508901515b3697605ddfb1dd5048dc617a149c08becac8ecf1228da76d5
-MISC ChangeLog 735 RMD160 6314487529f217c29af28ad4204cfd1ed12edb25 SHA1 aa69cbbb92202b823178e64b30ccdd5ab222ebfc SHA256 b5845cedff94a6a7096dfb2b1f6fbf7da8fb817807876818b5569538437b10bd
+EBUILD upnpscan-0.4.ebuild 764 RMD160 b61d7d980a50967b02ebb64d32a0b448a96fab46 SHA1 75110642d863bcf42e25f52449feee224131d9c9 SHA256 06dacc63313662c07611737921f783f5d52505eb8a51cd4c648b6d3844e74e94
+MISC ChangeLog 870 RMD160 2bcba5804555fc5b0104574c9e2f68a86bca3dbc SHA1 69fe327ee36e039df051f6e5186c4fe47663c84d SHA256 02ead3c20e58982ac37de484c0eae027a06cd36637f62fa2880b500ae52e7b7a
MISC metadata.xml 489 RMD160 3021d509b72966bf53221089aea8da93effb6423 SHA1 cec17e96962b80c5f7d5558923a34f58ec2efc7d SHA256 2ce01dcdcb4b0fa86d918da81c5c3251d038da3b287d7101690838dc25788a0c
diff --git a/net-analyzer/upnpscan/files/upnpscan-0.4-cflags.patch b/net-analyzer/upnpscan/files/upnpscan-0.4-cflags.patch
new file mode 100644
index 000000000000..f7632d7f005b
--- /dev/null
+++ b/net-analyzer/upnpscan/files/upnpscan-0.4-cflags.patch
@@ -0,0 +1,20 @@
+--- upnpscan/src/Makefile.in.orig 2005-06-23 17:03:51.000000000 +0200
++++ upnpscan/src/Makefile.in 2009-01-15 08:42:52.000000000 +0100
+@@ -82,7 +82,6 @@
+ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+-CFLAGS = @CFLAGS@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CXX = @CXX@
+@@ -181,8 +180,7 @@
+ -I../include
+
+ AM_CFLAGS = \
+- -Wall\
+- -g
++ -Wall
+
+ upnpscan_SOURCES = \
+ upnpscan.c\
diff --git a/net-analyzer/upnpscan/upnpscan-0.4.ebuild b/net-analyzer/upnpscan/upnpscan-0.4.ebuild
index d6c5fbd621c0..982e87dc807d 100644
--- a/net-analyzer/upnpscan/upnpscan-0.4.ebuild
+++ b/net-analyzer/upnpscan/upnpscan-0.4.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/upnpscan/upnpscan-0.4.ebuild,v 1.3 2006/12/23 23:03:00 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/upnpscan/upnpscan-0.4.ebuild,v 1.4 2009/01/15 07:48:14 jer Exp $
+
+inherit eutils
DESCRIPTION="Scans the network for UPNP capable devices"
HOMEPAGE="http://www.cqure.net/tools.jsp?id=23"
@@ -15,13 +17,20 @@ DEPEND=""
S="${WORKDIR}/${PN}"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-cflags.patch
+}
+
src_compile() {
if use static ; then
econf || die
else
econf --enable-static=no || die
fi
- emake || die
+ emake CFLAGS="${CFLAGS}" || die
}
src_install() {