public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/miniupnpd: ChangeLog miniupnpd-1.8.ebuild miniupnpd-1.8_pre20121005.ebuild miniupnpd-1.7.ebuild
@ 2013-02-08 19:00 Bjarke Istrup Pedersen (gurligebis)
  0 siblings, 0 replies; only message in thread
From: Bjarke Istrup Pedersen (gurligebis) @ 2013-02-08 19:00 UTC (permalink / raw
  To: gentoo-commits

gurligebis    13/02/08 19:00:04

  Modified:             ChangeLog
  Added:                miniupnpd-1.8.ebuild
  Removed:              miniupnpd-1.8_pre20121005.ebuild
                        miniupnpd-1.7.ebuild
  Log:
  Bumping to 1.8 and removing old versions and left over files
  
  (Portage version: 2.2.0_alpha161/cvs/Linux i686, signed Manifest commit with key 15AE484C)

Revision  Changes    Path
1.31                 net-misc/miniupnpd/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.31&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.31&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?r1=1.30&r2=1.31

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ChangeLog	31 Dec 2012 11:04:21 -0000	1.30
+++ ChangeLog	8 Feb 2013 19:00:04 -0000	1.31
@@ -1,6 +1,13 @@
 # ChangeLog for net-misc/miniupnpd
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.30 2012/12/31 11:04:21 gurligebis Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.31 2013/02/08 19:00:04 gurligebis Exp $
+
+*miniupnpd-1.8 (08 Feb 2013)
+
+  08 Feb 2013; <gurligebis@gentoo.org> -files/miniupnpd-1.3-Makefile_fix.diff,
+  -miniupnpd-1.7.ebuild, -miniupnpd-1.8_pre20121005.ebuild,
+  +miniupnpd-1.8.ebuild, -files/miniupnpd-nf_nat-fix.diff:
+  Bumping to 1.8 and removing old versions and left over files
 
 *miniupnpd-1.8_pre20121005 (31 Dec 2012)
 



1.1                  net-misc/miniupnpd/miniupnpd-1.8.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.8.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.8.ebuild?rev=1.1&content-type=text/plain

Index: miniupnpd-1.8.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.8.ebuild,v 1.1 2013/02/08 19:00:04 gurligebis Exp $

EAPI=2
inherit eutils toolchain-funcs

MY_PV=1.8
S="${WORKDIR}/${PN}-${MY_PV}"

DESCRIPTION="MiniUPnP IGD Daemon"
SRC_URI="http://miniupnp.free.fr/files/${PN}-${MY_PV}.tar.gz"
HOMEPAGE="http://miniupnp.free.fr/"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=net-firewall/iptables-1.4.6
	net-libs/libnfnetlink"
DEPEND="${RDEPEND}
	sys-apps/util-linux
	sys-apps/lsb-release"

src_prepare() {
	mv Makefile.linux Makefile
	sed -i \
		-e "s#^CFLAGS = .*-D#CPPFLAGS += -I/usr/include -D#" \
		-e '/^CFLAGS :=/s/CFLAGS/CPPFLAGS/g' \
		-e "s/CFLAGS += -ansi/#CFLAGS += -ansi/g" \
		-e "s/LIBS = -liptc/LIBS = -lip4tc/g" \
		-e 's/genuuid||//' \
		Makefile || die
	sed -i \
		-e 's/\(strncpy(\([->a-z.]\+\), "[a-zA-Z]\+", \)IPT_FUNCTION_MAXNAMELEN);/\1sizeof(\2));/' \
		netfilter/iptcrdr.c || die

	emake config.h

	sed -i \
		-e 's/\/\*#define ENABLE_LEASEFILE\*\//#define ENABLE_LEASEFILE/g' \
		config.h || die
}

src_compile() {
	emake CC="$(tc-getCC)" || die "emake failed"
}

src_install () {
	dodir /usr/share/man/man8

	einstall PREFIX="${D}" STRIP="true" || die "einstall failed"

	newinitd "${FILESDIR}"/${PN}-init.d ${PN}
	newconfd "${FILESDIR}"/${PN}-conf.d ${PN}
}

pkg_postinst() {
	elog "Please correct the external interface in the top of the two"
	elog "scripts in /etc/miniupnpd and edit the config file in there too"
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-08 19:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-08 19:00 [gentoo-commits] gentoo-x86 commit in net-misc/miniupnpd: ChangeLog miniupnpd-1.8.ebuild miniupnpd-1.8_pre20121005.ebuild miniupnpd-1.7.ebuild Bjarke Istrup Pedersen (gurligebis)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox