diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2009-04-29 02:29:42 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2009-04-29 02:29:42 +0000 |
commit | c2a6d7f9afbb10c9acea6fd0529846879e15f3a7 (patch) | |
tree | d8a7bf5a4ebe3ae3be7e35d244176cf3538da617 /net-firewall/guarddog | |
parent | Version bump, fix bug 261278 (diff) | |
download | gentoo-2-c2a6d7f9afbb10c9acea6fd0529846879e15f3a7.tar.gz gentoo-2-c2a6d7f9afbb10c9acea6fd0529846879e15f3a7.tar.bz2 gentoo-2-c2a6d7f9afbb10c9acea6fd0529846879e15f3a7.zip |
add init script from bug 182373, remove kde from metadata
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'net-firewall/guarddog')
-rw-r--r-- | net-firewall/guarddog/ChangeLog | 10 | ||||
-rw-r--r-- | net-firewall/guarddog/files/guarddog.init | 15 | ||||
-rw-r--r-- | net-firewall/guarddog/guarddog-2.6.0-r1.ebuild | 28 | ||||
-rw-r--r-- | net-firewall/guarddog/metadata.xml | 3 |
4 files changed, 53 insertions, 3 deletions
diff --git a/net-firewall/guarddog/ChangeLog b/net-firewall/guarddog/ChangeLog index bed2ecd082e4..b7f20a98908a 100644 --- a/net-firewall/guarddog/ChangeLog +++ b/net-firewall/guarddog/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-firewall/guarddog -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/guarddog/ChangeLog,v 1.24 2007/05/14 13:45:31 carlo Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/guarddog/ChangeLog,v 1.25 2009/04/29 02:29:40 darkside Exp $ + +*guarddog-2.6.0-r1 (29 Apr 2009) + + 29 Apr 2009; Jeremy Olexa <darkside@gentoo.org> +files/guarddog.init, + metadata.xml, +guarddog-2.6.0-r1.ebuild: + add init script from bug 182373, remove kde from metadata *guarddog-2.6.0 (14 May 2007) diff --git a/net-firewall/guarddog/files/guarddog.init b/net-firewall/guarddog/files/guarddog.init new file mode 100644 index 000000000000..6774cb5f1f9a --- /dev/null +++ b/net-firewall/guarddog/files/guarddog.init @@ -0,0 +1,15 @@ +#!/sbin/runscript +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/guarddog/files/guarddog.init,v 1.1 2009/04/29 02:29:42 darkside Exp $ + +depend() { + after iptables + before ddclient +} + +start() { + ebegin "Applying firewall rules - Guarddog" + /etc/rc.firewall + eend $? "Firewall rules not set" +} diff --git a/net-firewall/guarddog/guarddog-2.6.0-r1.ebuild b/net-firewall/guarddog/guarddog-2.6.0-r1.ebuild new file mode 100644 index 000000000000..6cf6f392b1f1 --- /dev/null +++ b/net-firewall/guarddog/guarddog-2.6.0-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/guarddog/guarddog-2.6.0-r1.ebuild,v 1.1 2009/04/29 02:29:40 darkside Exp $ + +inherit kde + +DESCRIPTION="Firewall configuration utility for KDE 3" +HOMEPAGE="http://www.simonzone.com/software/guarddog/" +SRC_URI="http://www.simonzone.com/software/guarddog/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc ~ppc ~amd64" +IUSE="" + +RDEPEND=">=net-firewall/iptables-1.2.5 + sys-apps/gawk" +need-kde 3.5 + +pkg_preinst() { + echo "Encoding=UTF-8" >> ${D}/usr/share/applnk/System/guarddog.desktop + kde_pkg_preinst +} + +src_install() { + kde_src_install + newinitd "${FILESDIR}"/guarddog.init guarddog || die +} diff --git a/net-firewall/guarddog/metadata.xml b/net-firewall/guarddog/metadata.xml index 8d1e86a9cefb..8cd04ac55b86 100644 --- a/net-firewall/guarddog/metadata.xml +++ b/net-firewall/guarddog/metadata.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>kde</herd> +<herd>no-herd</herd> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> </pkgmetadata> |