diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-04-10 12:11:34 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-04-10 12:11:34 +0000 |
commit | d95087878446872bb6e7a94c8c7f74bfe05304b9 (patch) | |
tree | d2e1112801b21e0770ac971f7b477e7017498f1a /net-misc/minissdpd | |
parent | version bump (diff) | |
download | gentoo-2-d95087878446872bb6e7a94c8c7f74bfe05304b9.tar.gz gentoo-2-d95087878446872bb6e7a94c8c7f74bfe05304b9.tar.bz2 gentoo-2-d95087878446872bb6e7a94c8c7f74bfe05304b9.zip |
Version bump
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/minissdpd')
4 files changed, 72 insertions, 0 deletions
diff --git a/net-misc/minissdpd/ChangeLog b/net-misc/minissdpd/ChangeLog index bbadb37aa49c..e103f941ac0f 100644 --- a/net-misc/minissdpd/ChangeLog +++ b/net-misc/minissdpd/ChangeLog @@ -1,5 +1,13 @@ +*minissdpd-1.1.20120410 (10 Apr 2012) + + 10 Apr 2012; Anthony G. Basile <blueness@gentoo.org> + +minissdpd-1.1.20120410.ebuild, + +files/minissdpd-1.1.20120410-remove-initd.patch, + +files/minissdpd-1.1.20120410-respect-CFLAGS.patch: + Version bump + *minissdpd-1.1.20120121 (22 Jan 2012) 22 Jan 2012; Anthony G. Basile <blueness@gentoo.org> diff --git a/net-misc/minissdpd/files/minissdpd-1.1.20120410-remove-initd.patch b/net-misc/minissdpd/files/minissdpd-1.1.20120410-remove-initd.patch new file mode 100644 index 000000000000..9a5f5966e90f --- /dev/null +++ b/net-misc/minissdpd/files/minissdpd-1.1.20120410-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/files/minissdpd-1.1.20120410-respect-CFLAGS.patch b/net-misc/minissdpd/files/minissdpd-1.1.20120410-respect-CFLAGS.patch new file mode 100644 index 000000000000..6421bfb86552 --- /dev/null +++ b/net-misc/minissdpd/files/minissdpd-1.1.20120410-respect-CFLAGS.patch @@ -0,0 +1,14 @@ +diff -Naur minissdpd-1.1.20120410.orig//Makefile minissdpd-1.1.20120410/Makefile +--- minissdpd-1.1.20120410.orig//Makefile 2012-04-09 18:39:42.000000000 -0400 ++++ minissdpd-1.1.20120410/Makefile 2012-04-10 08:04:00.000000000 -0400 +@@ -12,8 +12,8 @@ + # + # install target is made for linux... sorry BSD users... + #CFLAGS = -Wall -g -D_GNU_SOURCE -Wstrict-prototypes -ansi +-CFLAGS = -Wall -Os -D_GNU_SOURCE -fno-strict-aliasing -Wstrict-prototypes -ansi +-CC = gcc ++CFLAGS := -Wall -Os -D_GNU_SOURCE -fno-strict-aliasing -Wstrict-prototypes -ansi $(CFLAGS) ++CC ?= gcc + RM = rm -f + INSTALL = install + OS = $(shell uname -s) diff --git a/net-misc/minissdpd/minissdpd-1.1.20120410.ebuild b/net-misc/minissdpd/minissdpd-1.1.20120410.ebuild new file mode 100644 index 000000000000..863cb86b3b16 --- /dev/null +++ b/net-misc/minissdpd/minissdpd-1.1.20120410.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.20120410.ebuild,v 1.1 2012/04/10 12:11:34 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}/${P}-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 +} |