]> Pileus Git - ~andy/sunrise/commitdiff
net-misc/autoupnp: Version bump to the C-written branch.
authorMichał Górny <mgorny@gentoo.org>
Tue, 17 Aug 2010 16:32:12 +0000 (16:32 +0000)
committerMichał Górny <mgorny@gentoo.org>
Tue, 17 Aug 2010 16:32:12 +0000 (16:32 +0000)
(Portage version: 2.2_rc67_p380/svn/Linux x86_64)

svn path=/sunrise/; revision=11181

net-misc/autoupnp/ChangeLog
net-misc/autoupnp/Manifest
net-misc/autoupnp/autoupnp-0.3.ebuild [deleted file]
net-misc/autoupnp/autoupnp-0.4.1.ebuild [new file with mode: 0644]

index 559615c2b7f924844010a07955c21fcb18a99a07..51a6c69bdd2fceb0bc08e24df782cced04c234d9 100644 (file)
@@ -2,6 +2,12 @@
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*autoupnp-0.4.1 (17 Aug 2010)
+
+  17 Aug 2010; Michał Górny (sedzimir) <gentoo@mgorny.alt.pl>
+  -autoupnp-0.3.ebuild, +autoupnp-0.4.1.ebuild:
+  Version bump to the C-written branch.
+
   09 Aug 2010; Michał Górny (sedzimir) <gentoo@mgorny.alt.pl>
   autoupnp-0.3.ebuild:
   Update HOMEPAGE & SRC_URI (once again).
index f444ef42c5d1a0fc1aee53896158ee08220b77a6..e34bb62a038996203874a02b6561d44f7ae094fb 100644 (file)
@@ -1,4 +1,4 @@
-DIST autoupnp-0.3.sh.bz2 2087 RMD160 dab909a81a35220e6e7c75a32f0b19a9ab095f17 SHA1 4055037fd030140e83cec87ad801c8d1fc82600e SHA256 ba4090cde1fc4adb409141d06f50cbcbe929e4b6282ad9778531d9872cb5c8ef
-EBUILD autoupnp-0.3.ebuild 468 RMD160 20f350bc639621d910d741c330ca049a9715e19c SHA1 2b890b1629a72c239d2a41f4f25e455f9536cd70 SHA256 27cd2a4d71789ae20e5930ed2c5969f168aba9f0612022073c360ad2397f2fe2
-MISC ChangeLog 506 RMD160 0d3a7389b33929f5fd88b4e665fdd10610da972c SHA1 cb87cedc2de0ac29fa867e526c35fb9184ea30df SHA256 37e4ad1169b72c37fdd0775a5648c846bc53bede3e0315ae78b47a5326f7adb7
+DIST autoupnp-0.4.1.tar.bz2 6308 RMD160 ccc414a6e104c54affccfb653a80b79e8efd3b13 SHA1 aa1d5d7e1dbbc077bdf27ae659b944475b1b481d SHA256 e7368c719a8d1b31b0319ea5f1aee4fe8f1730f9ba9a1d0fa936aa425674ae4d
+EBUILD autoupnp-0.4.1.ebuild 917 RMD160 15356675131d9ca985fbc4c9a7fa35f8adc344c2 SHA1 0116db2ad8644736714d71af7d79017f50189cb0 SHA256 77bef5b8867eb70702f4f58d4ebc32f477de5bab2ca90b7f16295cdc6c4f40df
+MISC ChangeLog 690 RMD160 625c5ac9d3608e509bab8749707d634446270ecd SHA1 fde11d556cf87c52f482a39659407811916f0698 SHA256 51daf1eb6f23311774595183dbb8aa1cefd32f72bb796d8415b06771cd55e31f
 MISC metadata.xml 231 RMD160 6aebfea93d789d2b96ea6d8259dc842dd1fdacd3 SHA1 e10a04c4c18a66af326abc1f40c61b28cc610fae SHA256 48054ea190d00518c1e035fc6663b2368854cdea5ff69a94830e4f9a38260987
diff --git a/net-misc/autoupnp/autoupnp-0.3.ebuild b/net-misc/autoupnp/autoupnp-0.3.ebuild
deleted file mode 100644 (file)
index f901cc9..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-DESCRIPTION="Automatic open port forwarder using UPnP"
-HOMEPAGE="http://github.com/mgorny/autoupnp/"
-SRC_URI="http://github.com/downloads/mgorny/${PN}/${P}.sh.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="net-misc/miniupnpc
-       sys-apps/diffutils
-       sys-apps/net-tools"
-
-src_install() {
-       newbin ${P}.sh ${PN} || die
-}
diff --git a/net-misc/autoupnp/autoupnp-0.4.1.ebuild b/net-misc/autoupnp/autoupnp-0.4.1.ebuild
new file mode 100644 (file)
index 0000000..09a27e7
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit toolchain-funcs
+
+DESCRIPTION="Automatic open port forwarder using UPnP"
+HOMEPAGE="http://github.com/mgorny/autoupnp/"
+SRC_URI="http://github.com/downloads/mgorny/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="libnotify"
+
+RDEPEND="net-misc/miniupnpc
+       libnotify? ( x11-libs/libnotify )"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+       tc-export CC
+       emake WANT_LIBNOTIFY=$(use libnotify && echo true || echo false) || die
+}
+
+src_install() {
+       dolib ${PN}.so || die
+       dobin ${PN} || die
+
+       dodoc README || die
+}
+
+pkg_postinst() {
+       elog "Please notice that AutoUPnP was rewritten in the form of a C LD_PRELOAD"
+       elog "library, and thus it has to be enabled for a particular program to have"
+       elog "its ports redirected. For more information, please call:"
+       elog "  $ autoupnp --help"
+}