diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2014-03-15 22:53:52 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2014-03-15 22:53:52 +0000 |
commit | c331b8a0f403828ce56087b2c2b468a81ff2b794 (patch) | |
tree | ac5c8e40492644263ae0528e7840a7b0481a7e16 /net-firewall | |
parent | changelog typo (diff) | |
download | gentoo-2-c331b8a0f403828ce56087b2c2b468a81ff2b794.tar.gz gentoo-2-c331b8a0f403828ce56087b2c2b468a81ff2b794.tar.bz2 gentoo-2-c331b8a0f403828ce56087b2c2b468a81ff2b794.zip |
Version bump. Bug #499174 thanks to Thomas D.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
Diffstat (limited to 'net-firewall')
5 files changed, 126 insertions, 6 deletions
diff --git a/net-firewall/shorewall-core/ChangeLog b/net-firewall/shorewall-core/ChangeLog index 3ff933fc0d76..3add0e88479f 100644 --- a/net-firewall/shorewall-core/ChangeLog +++ b/net-firewall/shorewall-core/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-firewall/shorewall-core # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-core/ChangeLog,v 1.51 2014/01/26 11:37:39 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-core/ChangeLog,v 1.52 2014/03/15 22:53:52 hwoarang Exp $ + +*shorewall-core-4.5.21.7 (15 Mar 2014) + + 15 Mar 2014; Markos Chandras <hwoarang@gentoo.org> + +files/4.5.21.7/10-releasenotes.patch, +files/4.5.21.7/shorewallrc, + +shorewall-core-4.5.21.7.ebuild, metadata.xml: + Version bump. Bug #499174 thanks to Thomas D. 26 Jan 2014; Agostino Sarubbo <ago@gentoo.org> shorewall-core-4.5.18-r1.ebuild: diff --git a/net-firewall/shorewall-core/files/4.5.21.7/10-releasenotes.patch b/net-firewall/shorewall-core/files/4.5.21.7/10-releasenotes.patch new file mode 100644 index 000000000000..9cc5d98d2af1 --- /dev/null +++ b/net-firewall/shorewall-core/files/4.5.21.7/10-releasenotes.patch @@ -0,0 +1,13 @@ +This patch will update the version number in the release notes. + +See http://thread.gmane.org/gmane.comp.security.shorewall/30808 + +--- shorewall-core-4.5.21.7.old/releasenotes.txt 2014-03-08 16:35:39.000000000 +0100 ++++ shorewall-core-4.5.21.7/releasenotes.txt 2014-03-09 14:38:19.503337459 +0100 +@@ -1,5 +1,5 @@ + ---------------------------------------------------------------------------- +- S H O R E W A L L 4 . 5 . 2 1 . 6 ++ S H O R E W A L L 4 . 5 . 2 1 . 7 + ------------------------------------ + M a r c h 0 8 , 2 0 1 4 + ---------------------------------------------------------------------------- diff --git a/net-firewall/shorewall-core/files/4.5.21.7/shorewallrc b/net-firewall/shorewall-core/files/4.5.21.7/shorewallrc new file mode 100644 index 000000000000..46f5eb9a3603 --- /dev/null +++ b/net-firewall/shorewall-core/files/4.5.21.7/shorewallrc @@ -0,0 +1,23 @@ +# +# Gentoo Shorewall 4.5 rc file +# +BUILD= #Default is to detect the build system +HOST=gentoo #Gentoo GNU 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) +SERVICEFILE=gentoo.service #Name of the distributed file to be installed as systemd service file +SYSCONFFILE=default.gentoo #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/metadata.xml b/net-firewall/shorewall-core/metadata.xml index 70e9b1f6cc9a..52ffdde3f9be 100644 --- a/net-firewall/shorewall-core/metadata.xml +++ b/net-firewall/shorewall-core/metadata.xml @@ -1,9 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>netmon</herd> -<maintainer> - <email>whissi@whissi.de</email> - <name>Thomas D.</name> -</maintainer> + <herd>netmon</herd> + <herd>proxy-maintainers</herd> + <maintainer> + <email>whissi@whissi.de</email> + <name>Thomas D. (Whissi)</name> + </maintainer> </pkgmetadata> diff --git a/net-firewall/shorewall-core/shorewall-core-4.5.21.7.ebuild b/net-firewall/shorewall-core/shorewall-core-4.5.21.7.ebuild new file mode 100644 index 000000000000..7fa32ec7ed1f --- /dev/null +++ b/net-firewall/shorewall-core/shorewall-core-4.5.21.7.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2014 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.21.7.ebuild,v 1.1 2014/03/15 22:53:52 hwoarang Exp $ + +EAPI="5" + +inherit eutils prefix versionator + +MY_URL_PREFIX= +case ${P} in + *_beta* | \ + *_rc*) + MY_URL_PREFIX='development/' + ;; +esac + +MY_PV=${PV/_rc/-RC} +MY_PV=${MY_PV/_beta/-Beta} +MY_P=${PN}-${MY_PV} + +MY_MAJOR_RELEASE_NUMBER=$(get_version_component_range 1-2) +MY_MAJORMINOR_RELEASE_NUMBER=$(get_version_component_range 1-3) + +DESCRIPTION="Core libraries of shorewall / shorewall(6)-lite" +HOMEPAGE="http://www.shorewall.net/" +SRC_URI="http://www1.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="selinux" + +DEPEND=" + >=dev-lang/perl-5.10 + virtual/perl-Digest-SHA + !<net-firewall/shorewall-4.5.0.1 + selinux? ( >=sec-policy/selinux-shorewall-2.20130424-r2 ) +" +RDEPEND=" + ${DEPEND} + >=net-firewall/iptables-1.4.20 + >=sys-apps/iproute2-3.8.0[-minimal] + >=sys-devel/bc-1.06.95 + >=sys-apps/coreutils-8.20 +" + +DOCS=( changelog.txt releasenotes.txt ) + +S=${WORKDIR}/${PN}-${MY_PV} + +src_prepare() { + epatch "${FILESDIR}"/${PVR}/10-releasenotes.patch + + cp "${FILESDIR}"/${PVR}/shorewallrc "${S}"/shorewallrc.gentoo || die "Copying shorewallrc failed" + eprefixify "${S}"/shorewallrc.gentoo + + epatch_user +} + +src_configure() { + :; +} + +src_install() { + DESTDIR="${D}" ./install.sh shorewallrc.gentoo || die "install.sh failed" + default +} + +pkg_postinst() { + if ! has_version sys-apps/net-tools; then + elog "It is recommended to install sys-apps/net-tools which will provide the" + elog "the 'arp' utility which will give you a better 'shorewall-lite dump' output:" + elog "" + elog " # emerge sys-apps/net-tools" + fi +} |