summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-01-22 12:07:52 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-01-22 12:07:52 +0000
commited3acc27624beb261d6475a539ced8d75cacd0a8 (patch)
treed6e1a8d15f4ad6cc9d03b65243a4bc7636b0443b /net-misc/minissdpd
parentStable for amd64, wrt bug #396869 (diff)
downloadgentoo-2-ed3acc27624beb261d6475a539ced8d75cacd0a8.tar.gz
gentoo-2-ed3acc27624beb261d6475a539ced8d75cacd0a8.tar.bz2
gentoo-2-ed3acc27624beb261d6475a539ced8d75cacd0a8.zip
Version bump
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/minissdpd')
-rw-r--r--net-misc/minissdpd/ChangeLog7
-rw-r--r--net-misc/minissdpd/files/minissdpd-1.1.20120121-remove-initd.patch14
-rw-r--r--net-misc/minissdpd/minissdpd-1.1.20120121.ebuild36
3 files changed, 57 insertions, 0 deletions
diff --git a/net-misc/minissdpd/ChangeLog b/net-misc/minissdpd/ChangeLog
index a334c0dc2091..bbadb37aa49c 100644
--- a/net-misc/minissdpd/ChangeLog
+++ b/net-misc/minissdpd/ChangeLog
@@ -1,5 +1,12 @@
+*minissdpd-1.1.20120121 (22 Jan 2012)
+
+ 22 Jan 2012; Anthony G. Basile <blueness@gentoo.org>
+ +minissdpd-1.1.20120121.ebuild,
+ +files/minissdpd-1.1.20120121-remove-initd.patch:
+ Version bump
+
08 Nov 2011; Anthony G. Basile <blueness@gentoo.org>
files/minissdpd.initd-r1:
Fixed confusion between two variable names
diff --git a/net-misc/minissdpd/files/minissdpd-1.1.20120121-remove-initd.patch b/net-misc/minissdpd/files/minissdpd-1.1.20120121-remove-initd.patch
new file mode 100644
index 000000000000..9a5f5966e90f
--- /dev/null
+++ b/net-misc/minissdpd/files/minissdpd-1.1.20120121-remove-initd.patch
@@ -0,0 +1,14 @@
+diff -Naur minissdpd-1.1.20120121.orig//Makefile minissdpd-1.1.20120121/Makefile
+--- minissdpd-1.1.20120121.orig//Makefile 2012-01-02 05:46:24.000000000 -0500
++++ minissdpd-1.1.20120121/Makefile 2012-01-22 07:01:54.000000000 -0500
+@@ -42,10 +42,6 @@
+ $(INSTALL) minissdpd $(SBININSTALLDIR)
+ $(INSTALL) -d $(MANINSTALLDIR)/man1
+ $(INSTALL) minissdpd.1 $(MANINSTALLDIR)/man1/minissdpd.1
+-ifneq ($(OS), Darwin)
+- $(INSTALL) -d $(PREFIX)/etc/init.d
+- $(INSTALL) minissdpd.init.d.script $(PREFIX)/etc/init.d/minissdpd
+-endif
+
+ minissdpd: $(MINISSDPDOBJS)
+ $(CC) $(CFLAGS) -o $@ $(MINISSDPDOBJS)
diff --git a/net-misc/minissdpd/minissdpd-1.1.20120121.ebuild b/net-misc/minissdpd/minissdpd-1.1.20120121.ebuild
new file mode 100644
index 000000000000..80a7f28cd50d
--- /dev/null
+++ b/net-misc/minissdpd/minissdpd-1.1.20120121.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/minissdpd/minissdpd-1.1.20120121.ebuild,v 1.1 2012/01/22 12:07:52 blueness Exp $
+
+EAPI="4"
+inherit eutils toolchain-funcs
+
+DESCRIPTION="MiniSSDP Daemon"
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
+HOMEPAGE="http://miniupnp.free.fr/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="sys-apps/net-tools
+ || ( net-misc/miniupnpd net-libs/miniupnpc )"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-respect-CFLAGS.patch"
+ epatch "${FILESDIR}/${P}-remove-initd.patch"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install () {
+ einstall PREFIX="${D}"
+ newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
+ newconfd "${FILESDIR}/${PN}.confd" ${PN}
+ dodoc Changelog.txt README
+ doman minissdpd.1
+}