diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-11-25 13:16:58 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-11-25 13:16:58 +0000 |
commit | 91dd0e13144e7e2ecd9b561e938cc34b44b2cbb3 (patch) | |
tree | 2deea98fe73c6418fd524d379b253bbdd866ee43 /net-firewall | |
parent | Fix bug 441928 (diff) | |
download | historical-91dd0e13144e7e2ecd9b561e938cc34b44b2cbb3.tar.gz historical-91dd0e13144e7e2ecd9b561e938cc34b44b2cbb3.tar.bz2 historical-91dd0e13144e7e2ecd9b561e938cc34b44b2cbb3.zip |
version bump
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'net-firewall')
-rw-r--r-- | net-firewall/pglinux/ChangeLog | 8 | ||||
-rw-r--r-- | net-firewall/pglinux/Manifest | 15 | ||||
-rw-r--r-- | net-firewall/pglinux/files/pgl.gentoo.in | 55 | ||||
-rw-r--r-- | net-firewall/pglinux/pglinux-2.2.2.ebuild | 95 |
4 files changed, 168 insertions, 5 deletions
diff --git a/net-firewall/pglinux/ChangeLog b/net-firewall/pglinux/ChangeLog index dc9642c74033..493c4c9b850e 100644 --- a/net-firewall/pglinux/ChangeLog +++ b/net-firewall/pglinux/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-firewall/pglinux # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/pglinux/ChangeLog,v 1.9 2012/09/23 07:56:00 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/pglinux/ChangeLog,v 1.10 2012/11/25 13:16:54 hasufell Exp $ + +*pglinux-2.2.2 (25 Nov 2012) + + 25 Nov 2012; Julian Ospald <hasufell@gentoo.org> +pglinux-2.2.2.ebuild, + +files/pgl.gentoo.in: + version bump 23 Sep 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> pglinux-2.2.1_p20120711.ebuild: diff --git a/net-firewall/pglinux/Manifest b/net-firewall/pglinux/Manifest index aa8b63426a13..855b009c38ff 100644 --- a/net-firewall/pglinux/Manifest +++ b/net-firewall/pglinux/Manifest @@ -1,14 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +AUX pgl.gentoo.in 779 SHA256 f55b5f99662e36ac3f0eac21fcbc2673ca6ba485d9da1748f20ec3c8c371f512 SHA512 3e0a03b8b066faef0d64e61dafd51cb57561e56d5c8fd41bb62cc97d1248f664865c024cb18d8270205dac33a909ab41f85b9f0af1f8acd1fdd2af90da09e395 WHIRLPOOL 010f49bc08747092c9a8146039a62e7d9fef78648fded6de36bc634bdc8763f1bc3bb8251bcb2979256a882120b61fb8a7954d90737596fd1afe6de22cedd70f DIST pgl-2.2.1_p20120711.tar.xz 412840 SHA256 cc32046e4ae6b4441b5135a951091c5dc9603a6b89f8f16721f60200a600a434 SHA512 bbde8d990253db97093969aeddc0466e3c0a0c3b008a67f9779ae2a47436be939751522710a69bd7a7d7c299235a60c886f8a36e99ea8bffcfa319d697e0c20f WHIRLPOOL 6abe0f35b647890ea6cff8368060954b2e6fa52ff7d58e5976eecbde495c4e5e7695fe3a025ce357e7b4b68b437a37949046293e50f60e610b9265dca8b6db0f +DIST pgl-2.2.2.tar.gz 590472 SHA256 4794ec5b16f5f901866811826d56091df7b5f6d9703cf97f95d3b15075aadb8e SHA512 bc59276b651d5998f2c4c752fc0575ad482455eb3f98d42bd66d9035f68d26d04273f63287b0ba52d8a5f678ee28f8ac7a2fa3e1b956252edc8318563b85043d WHIRLPOOL 22fa7e498ae0e0ac37bebb9ce5ebac0a6f8209f42f010660586b320f7b23cb310b64749a61b77657b63a69f6755e9eec957bb27cf519e3cde4cbafa15a58e88c EBUILD pglinux-2.2.1_p20120711.ebuild 2220 SHA256 d7b97866f2fca655b8d565ca75e6db8ee08371267cbba73efa989da3bb0fd974 SHA512 d5c839fa80dd8e9df059c3da48a6df89c3831a5a80e64f0197b4e10f8bb92fedd49fe7f5ada16b14ac6944ef870c271c86ae8f6abb0982206257207139ecf382 WHIRLPOOL d74ab6bc9d32a5f1ba3133ac8a00b24de77b4320dc9b68bc746fc2e24f781009ffc530f6e9516bc78a670063d3556c2b70dc5e75274d851e357848994e8fd9fa -MISC ChangeLog 1576 SHA256 b7df529f92613abde54981ae7383cc14786489120f47d25d7212f7e9076bb540 SHA512 90ea9f85d6383e3c0b246dd22a0f13af7bacca34a838083dad8a7455da7d267ce0da9c18a49ee009c6702c09fb545704518c4610e000a4031cdb11b8c311c412 WHIRLPOOL 40345fb2801094b3b99d85eae828c6daecf566f6f9dc798651c257c76c369c95ee20e42d072e3e450cda65fc9d692711b521fcaf3da52555112dff013993cf8e +EBUILD pglinux-2.2.2.ebuild 2291 SHA256 16b97b1ffcfc2e9ff3942ac0ed775ab5bb1dc260911c3b76d4aae20452d06ff4 SHA512 9d9b5d0cc95770e8ecfb705828b4105effac2458fd1cf400412a8091acd94b87c9e80f221365897ab6fb14461586a76a7a2c0dc95340d1754eb47708c4cdce64 WHIRLPOOL 227277a4c653272363bcd83c7a87002190d02fd395393184bf8ef25ec8e3701ee6d8e8aaae72d52e886b18db639c84a697c0a76d415a7221933541b70ab419d8 +MISC ChangeLog 1719 SHA256 04fa938045ca4224d560bea11f134e90817dc3ae3e5dde8a165928767c307694 SHA512 5c65086ad1967445f85829107af80b92b9a5c1d914b3de222f0039961e9a62f94f26082ffb3c338980028b9086e5d0d8e2b07f36274f0b5c6f96ada61a71117d WHIRLPOOL f7561efd233e2dcdc8501beb7fed9804a04567bd8b8466d57b6c08732d874387033d1ff90a516a2bd22f48b5ed5c5b0b950a6237effa2c62ece902059ec97121 MISC metadata.xml 915 SHA256 0ef1b7936761cd46bb7ee814cf32008f027e70dde530864381406ab53622c038 SHA512 ae6f613e286cb8df3bdfff0657849a449ba97740155bd956894f436bb459293163f59414c76ad17e2d118a8cd929701c1e5f7ad946f63d5b13c6d6fd99c47936 WHIRLPOOL 69abacd370b80648b2cf320a107bb0804a2e6c0d6a041ae5eb0502bb5267e1db79f0b7efbeea48105ca04b19f9c401ce9e78e8e8ff6059fb90776b383bc611e7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlBewJoACgkQuUQtlDBCeQLOSgCggUQRjQht2dKwJvrju4y2P+hZ -aW8An3AtkShlZ3sZi41jumskUbgDpYky -=Y2RG +iQEcBAEBCAAGBQJQshpKAAoJEFpvPKfnPDWzfKEIAJr20FV0ia/bh5UcXOlVOZOq +ArQrf3+V7W85BqLbt1kLKwQ5BQCJzOLcNAku+yNIFRZ1rYQr9IBPd/Tn9RcyZn8n +VQ/Sf6NL03Xjjrfn8ayI0t7MuoCv3/c+rKTTU6v+AOWCGWOLJf2WnUJ5/n5omeqe +m81Y9w6uMyNWUGXKCWzVEis9z0UGo47g5tDHTiF6pPnKtcu+RSiSuHaS5SiSHl8+ +LdMvnlBnf648Dh6dKC2EKuMwbvqg0VwLvwQJTIjRdD8xA0eX+5gpeJ4DxbXw80RX +tJO6Ky3ckSUMsNk8b6dTAWzgVoPFSuTV8CU/ZVTRuVYtvA0HJsXc9PktoQ1hrMY= +=tE5w -----END PGP SIGNATURE----- diff --git a/net-firewall/pglinux/files/pgl.gentoo.in b/net-firewall/pglinux/files/pgl.gentoo.in new file mode 100644 index 000000000000..c94d9784096e --- /dev/null +++ b/net-firewall/pglinux/files/pgl.gentoo.in @@ -0,0 +1,55 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="Daemon script for pglinux" +extra_commands="reload forcereload update" + +depend() { + need net +} + +PIDFILE=@PID_DIR@/pgld.pid +PGLCMD=@PGLCMDPATH@ + +start() { + ebegin "Starting pglinux daemon" + + if [ "${RC_CMD}" = "restart" ]; then + sleep 3 + fi + + $PGLCMD start + eend $? +} + +stop() { + ebegin "Stopping pglinux daemon" + $PGLCMD stop_quick + eend $? +} + +status() { + ebegin "Checking status of pglinux daemon" + $PGLCMD status + eend $? +} + +reload() { + ebegin "reload config" + $PGLCMD reload + eend $? +} + +forcereload() { + ebegin "force config reload" + $PGLCMD force-reload + eend $? +} + +update() { + ebegin "Force update of lists" + $PGLCMD update + eend $? +} + diff --git a/net-firewall/pglinux/pglinux-2.2.2.ebuild b/net-firewall/pglinux/pglinux-2.2.2.ebuild new file mode 100644 index 000000000000..1a5f3452de31 --- /dev/null +++ b/net-firewall/pglinux/pglinux-2.2.2.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/pglinux/pglinux-2.2.2.ebuild,v 1.1 2012/11/25 13:16:54 hasufell Exp $ + +EAPI=4 + +inherit gnome2-utils linux-info + +MY_P="pgl-${PV}" + +DESCRIPTION="Privacy oriented firewall application" +HOMEPAGE="https://sourceforge.net/projects/peerguardian/" +SRC_URI="mirror://sourceforge/peerguardian/${MY_P}.tar.gz" + +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="cron dbus logrotate networkmanager qt4 zlib" + +COMMON_DEPEND=" + net-libs/libnetfilter_queue + net-libs/libnfnetlink + dbus? ( sys-apps/dbus ) + zlib? ( sys-libs/zlib ) + qt4? ( sys-auth/polkit-qt + x11-libs/qt-core:4 + x11-libs/qt-dbus:4 + x11-libs/qt-gui:4 + || ( kde-base/kdesu x11-libs/gksu x11-misc/ktsuss ) + )" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + sys-devel/libtool:2" +RDEPEND="${COMMON_DEPEND} + net-firewall/iptables + sys-apps/sysvinit + cron? ( virtual/cron ) + logrotate? ( app-admin/logrotate ) + networkmanager? ( net-misc/networkmanager )" + +REQUIRED_USE="qt4? ( dbus )" + +CONFIG_CHECK="~NETFILTER_NETLINK + ~NETFILTER_NETLINK_QUEUE + ~NETFILTER_XTABLES + ~NETFILTER_XT_TARGET_NFQUEUE + ~NETFILTER_XT_MATCH_IPRANGE + ~NETFILTER_XT_MARK + ~NETFILTER_XT_MATCH_MULTIPORT + ~NETFILTER_XT_MATCH_STATE + ~NF_CONNTRACK + ~NF_CONNTRACK_IPV4 + ~NF_DEFRAG_IPV4 + ~IP_NF_FILTER + ~IP_NF_IPTABLES + ~IP_NF_TARGET_REJECT" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + cp "${FILESDIR}"/pgl.gentoo.in "${S}"/pglcmd/init || die "cp failed" +} + +src_configure() { + econf \ + --localstatedir=/var \ + --docdir=/usr/share/doc/${PF} \ + $(use_enable logrotate) \ + $(use_enable cron) \ + $(use_enable networkmanager) \ + $(use_enable zlib) \ + $(use_enable dbus) \ + --disable-lowmem \ + --with-iconsdir=/usr/share/icons/hicolor/128x128/apps \ + --with-gentoo-init \ + $(use_with qt4) +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + elog "optional dependencies:" + elog " app-arch/p7zip (needed for blocklists packed as .7z)" + elog " app-arch/unzip (needed for blocklists packed as .zip)" + elog " virtual/mta (needed to send informational (blocklist updates) and" + elog " warning mails (if pglcmd.wd detects a problem.))" + + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |