diff options
author | Constanze Hausner <constanze@gentoo.org> | 2013-09-22 13:14:41 +0000 |
---|---|---|
committer | Constanze Hausner <constanze@gentoo.org> | 2013-09-22 13:14:41 +0000 |
commit | 5769fd9f027582a8d5ba2152b9f5faeba294f46e (patch) | |
tree | 5ed3efceeebd89b223fa6220ef6de53366193fc1 /net-firewall/shorewall-core | |
parent | version bump, remove old (diff) | |
download | gentoo-2-5769fd9f027582a8d5ba2152b9f5faeba294f46e.tar.gz gentoo-2-5769fd9f027582a8d5ba2152b9f5faeba294f46e.tar.bz2 gentoo-2-5769fd9f027582a8d5ba2152b9f5faeba294f46e.zip |
Bugfix 459316 for 4.5.18; Thanks to Thomas D.
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key BB80F419010E3EC3)
Diffstat (limited to 'net-firewall/shorewall-core')
-rw-r--r-- | net-firewall/shorewall-core/ChangeLog | 8 | ||||
-rw-r--r-- | net-firewall/shorewall-core/files/4.5.18-r1/shorewallrc_new | 22 | ||||
-rw-r--r-- | net-firewall/shorewall-core/shorewall-core-4.5.18-r1.ebuild | 46 |
3 files changed, 75 insertions, 1 deletions
diff --git a/net-firewall/shorewall-core/ChangeLog b/net-firewall/shorewall-core/ChangeLog index ed333900d596..7a0745aec022 100644 --- a/net-firewall/shorewall-core/ChangeLog +++ b/net-firewall/shorewall-core/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-firewall/shorewall-core # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-core/ChangeLog,v 1.43 2013/08/29 19:00:45 constanze Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-core/ChangeLog,v 1.44 2013/09/22 13:14:41 constanze Exp $ + +*shorewall-core-4.5.18-r1 (22 Sep 2013) + + 22 Sep 2013; Constanze Hausner <constanze@gentoo.org> + +files/4.5.18-r1/shorewallrc_new, +shorewall-core-4.5.18-r1.ebuild: + Bugfix 459316 for 4.5.18; Thanks to Thomas D. 29 Aug 2013; Constanze Hausner <constanze@gentoo.org> metadata.xml: Added Thomas D. as new maintainer diff --git a/net-firewall/shorewall-core/files/4.5.18-r1/shorewallrc_new b/net-firewall/shorewall-core/files/4.5.18-r1/shorewallrc_new new file mode 100644 index 000000000000..0f9301cfeb49 --- /dev/null +++ b/net-firewall/shorewall-core/files/4.5.18-r1/shorewallrc_new @@ -0,0 +1,22 @@ +# +# Gentoo Shorewall 4.5 rc file +# +BUILD= #Default is to detect the build system +HOST=linux #Generic Linux +PREFIX=@GENTOO_PORTAGE_EPREFIX@/usr #Top-level directory for shared files, libraries, etc. +SHAREDIR=${PREFIX}/share #Directory for arch-neutral files. +LIBEXECDIR=${PREFIX}/share #Directory for executable scripts. +PERLLIBDIR=${PREFIX}/share/shorewall #Directory to install Shorewall Perl module directory +CONFDIR=@GENTOO_PORTAGE_EPREFIX@/etc #Directory where subsystem configurations are installed +SBINDIR=@GENTOO_PORTAGE_EPREFIX@/sbin #Directory where system administration programs are installed +MANDIR=${PREFIX}/share/man #Directory where manpages are installed. +INITDIR=${CONFDIR}/init.d #Directory where SysV init scripts are installed. +INITFILE=${PRODUCT} #Name of the product's installed SysV init script +INITSOURCE=init.gentoo.sh #Name of the distributed file to be installed as the SysV init script +ANNOTATED= #If non-zero, annotated configuration files are installed +SYSTEMD=@GENTOO_PORTAGE_EPREFIX@/usr/lib/systemd/system #Directory where .service files are installed (systems running systemd only) +SYSCONFFILE= #Name of the distributed file to be installed in $SYSCONFDIR +SYSCONFDIR=${CONFDIR}/conf.d #Directory where SysV init parameter files are installed +SPARSE= #If non-empty, only install $PRODUCT/$PRODUCT.conf in $CONFDIR +VARLIB=@GENTOO_PORTAGE_EPREFIX@/var/lib #Directory where product variable data is stored. +VARDIR=${VARLIB}/${PRODUCT} #Directory where product variable data is stored. diff --git a/net-firewall/shorewall-core/shorewall-core-4.5.18-r1.ebuild b/net-firewall/shorewall-core/shorewall-core-4.5.18-r1.ebuild new file mode 100644 index 000000000000..15fa82c83aad --- /dev/null +++ b/net-firewall/shorewall-core/shorewall-core-4.5.18-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-core/shorewall-core-4.5.18-r1.ebuild,v 1.1 2013/09/22 13:14:41 constanze Exp $ + +EAPI="5" + +inherit eutils prefix versionator + +# Select version (stable, RC, Beta): +MY_PV_TREE=$(get_version_component_range 1-2) # for devel versions use "development/$(get_version_component_range 1-2)" +MY_PV_BASE=$(get_version_component_range 1-3) + +MY_P="shorewall-${MY_PV_BASE}" + +DESCRIPTION="Core libraries of shorewall / shorewall(6)-lite" +HOMEPAGE="http://www.shorewall.net/" +SRC_URI="http://www1.shorewall.net/pub/shorewall/${MY_PV_TREE}/${MY_P}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="selinux" + +DEPEND=">=net-firewall/iptables-1.2.4 + sys-apps/iproute2[-minimal] + dev-lang/perl + dev-perl/Digest-SHA1 + !<net-firewall/shorewall-4.5.0.1 + selinux? ( sec-policy/selinux-shorewall )" +RDEPEND="${DEPEND}" + +DOCS=( changelog.txt releasenotes.txt ) + +src_prepare() { + cp "${FILESDIR}"/${PVR}/shorewallrc_new "${S}"/shorewallrc.gentoo || die "Copying shorewallrc_new failed" + eprefixify "${S}"/shorewallrc.gentoo +} + +src_configure() { + :; +} + +src_install() { + DESTDIR="${D}" ./install.sh shorewallrc.gentoo || die "install.sh failed" + default +} |