diff options
-rw-r--r-- | net-libs/openslp/ChangeLog | 10 | ||||
-rw-r--r-- | net-libs/openslp/files/openslp-2.0.0-cflags.patch | 25 | ||||
-rw-r--r-- | net-libs/openslp/openslp-2.0.0.ebuild | 35 |
3 files changed, 68 insertions, 2 deletions
diff --git a/net-libs/openslp/ChangeLog b/net-libs/openslp/ChangeLog index 2964621518c4..70ebc250b085 100644 --- a/net-libs/openslp/ChangeLog +++ b/net-libs/openslp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-libs/openslp -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/ChangeLog,v 1.58 2012/07/08 15:34:38 armin76 Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/ChangeLog,v 1.59 2013/07/12 20:27:49 dilfridge Exp $ + +*openslp-2.0.0 (12 Jul 2013) + + 12 Jul 2013; Andreas K. Huettel <dilfridge@gentoo.org> +openslp-2.0.0.ebuild, + +files/openslp-2.0.0-cflags.patch: + Untested version bump. Builds. 08 Jul 2012; Raúl Porcel <armin76@gentoo.org> openslp-1.2.1-r2.ebuild: alpha/ia64/m68k/s390/sh/sparc wrt #419277 diff --git a/net-libs/openslp/files/openslp-2.0.0-cflags.patch b/net-libs/openslp/files/openslp-2.0.0-cflags.patch new file mode 100644 index 000000000000..b77261ee1f6d --- /dev/null +++ b/net-libs/openslp/files/openslp-2.0.0-cflags.patch @@ -0,0 +1,25 @@ +diff -ruN openslp-2.0.0.orig/configure.ac openslp-2.0.0/configure.ac +--- openslp-2.0.0.orig/configure.ac 2013-06-08 06:58:54.000000000 +0200 ++++ openslp-2.0.0/configure.ac 2013-07-12 22:17:15.000000000 +0200 +@@ -240,7 +240,6 @@ + OPTFLAGS="-O" + fi + fi +-CFLAGS="$CFLAGS $OPTFLAGS" + + # + # Configuration and output +diff -ruN openslp-2.0.0.orig/etc/Makefile.am openslp-2.0.0/etc/Makefile.am +--- openslp-2.0.0.orig/etc/Makefile.am 2012-11-28 18:07:04.000000000 +0100 ++++ openslp-2.0.0/etc/Makefile.am 2013-07-12 22:28:20.000000000 +0200 +@@ -3,8 +3,8 @@ + dist_sysconf_DATA = slp.conf slp.reg slp.spi + + #make sure the slpd log directory is there +-install-data-hook: +- mkdir -p $(localstatedir)/log ++#install-data-hook: ++# mkdir -p $(localstatedir)/log + + ##install-data-local: + ## mkdir -p $(DESTDIR)$(sysconfdir) diff --git a/net-libs/openslp/openslp-2.0.0.ebuild b/net-libs/openslp/openslp-2.0.0.ebuild new file mode 100644 index 000000000000..a0d7e2733b4d --- /dev/null +++ b/net-libs/openslp/openslp-2.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/openslp-2.0.0.ebuild,v 1.1 2013/07/12 20:27:49 dilfridge Exp $ + +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="An open-source implementation of Service Location Protocol" +HOMEPAGE="http://www.openslp.org/" +SRC_URI="mirror://sourceforge/openslp/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="" +RESTRICT="test" + +DEPEND="dev-libs/openssl" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-2.0.0-cflags.patch + eautoreconf +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS FAQ ChangeLog NEWS README* THANKS + rm -rfv "${D}"/usr/doc + dohtml -r . + newinitd "${FILESDIR}"/slpd-init slpd +} |