summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2010-06-05 22:42:20 +0000
committerJoshua Kinard <kumba@gentoo.org>2010-06-05 22:42:20 +0000
commit007003f9e6dda4dfdc4a39377951fec10799c808 (patch)
treede385f21e5fc3fc6e3222c6c4ceeffd11c849cf9 /net-firewall/fwbuilder
parentImport ebuild for libfwbuilder-4.0.1. Addresses #318689. Marked ~ on x86, a... (diff)
downloadhistorical-007003f9e6dda4dfdc4a39377951fec10799c808.tar.gz
historical-007003f9e6dda4dfdc4a39377951fec10799c808.tar.bz2
historical-007003f9e6dda4dfdc4a39377951fec10799c808.zip
Import ebuild for fwbuilder-4.0.1. Addresses #318689. Marked ~ on x86, amd64, ppc, and ppc64, per older ebuilds.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-firewall/fwbuilder')
-rw-r--r--net-firewall/fwbuilder/ChangeLog9
-rw-r--r--net-firewall/fwbuilder/Manifest15
-rw-r--r--net-firewall/fwbuilder/files/4.0.1-secure-mktemp.patch15
-rw-r--r--net-firewall/fwbuilder/fwbuilder-4.0.1.ebuild50
4 files changed, 77 insertions, 12 deletions
diff --git a/net-firewall/fwbuilder/ChangeLog b/net-firewall/fwbuilder/ChangeLog
index 635db0487c4e..cc0ceced9051 100644
--- a/net-firewall/fwbuilder/ChangeLog
+++ b/net-firewall/fwbuilder/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-firewall/fwbuilder
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/ChangeLog,v 1.94 2010/03/09 21:57:01 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/ChangeLog,v 1.95 2010/06/05 22:42:19 kumba Exp $
+
+*fwbuilder-4.0.1 (05 Jun 2010)
+
+ 05 Jun 2010; Joshua Kinard <kumba@gentoo.org>
+ +files/4.0.1-secure-mktemp.patch, +fwbuilder-4.0.1.ebuild:
+ Import ebuild for fwbuilder-4.0.1. Addresses #318689. Marked ~ on x86,
+ amd64, ppc, and ppc64, per older ebuilds.
09 Mar 2010; Joseph Jezak <josejx@gentoo.org> fwbuilder-3.0.7.ebuild:
Marked ppc stable for bug #285861.
diff --git a/net-firewall/fwbuilder/Manifest b/net-firewall/fwbuilder/Manifest
index 8c6a688e6754..a928d96a25ae 100644
--- a/net-firewall/fwbuilder/Manifest
+++ b/net-firewall/fwbuilder/Manifest
@@ -1,19 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 3.0.7-secure-mktemp.patch 987 RMD160 612e42ee68253b7d248afd8b039d97e25db0713d SHA1 cb68c5339e28fd13aa3f1b8ca11a2ca76ebf0162 SHA256 02c0811786b268d609b9ecac5b78135c53d32752c1846c63f23716b5de2617a8
+AUX 4.0.1-secure-mktemp.patch 701 RMD160 18fcbe371922d545563980ff644e35172433a798 SHA1 c5aab2e1d60ca4df5da9b6e040179fb972f760ad SHA256 3a8d9a5c0daa5c6c3646c11add91b10f3a5074eb41e0bf6bc39b5332009de6ea
DIST fwbuilder-3.0.3.tar.gz 2342286 RMD160 aeca268daa0bc1d47a05add6590910ae3da15b0e SHA1 04df912936aecd5e6de8b2cde07077565191ab74 SHA256 95d31f53752b12530c29fc349a7dd827016337441769a799557406cc832cd5fc
DIST fwbuilder-3.0.6.tar.gz 2477171 RMD160 685e1468deddaeb8ff2f0d5e02107f6c98a78eba SHA1 c1c4cf069ba35cbc1a377ba1b3572fab7e53ab97 SHA256 a01fce8c8bd46f8be8dfa7e66ecf8f2aa0795d9454c398ea271b93c4daa346d1
DIST fwbuilder-3.0.7.tar.gz 2486382 RMD160 c57150a3de136add28a48fbc3b79aa1006b46963 SHA1 c08411bcf5b686ef86e1da6f0954d8685bf49d61 SHA256 bb827f54a77c0f8a9b471200eda3801c9ff3f2a576647ca6a576e546e20ac254
+DIST fwbuilder-4.0.1.tar.gz 5532239 RMD160 a7dd540ac46ccdf0ee9fc75fa786a3cfab6b8484 SHA1 6b4cedd225637da8ebda6cdb9fe50111b6dd2f61 SHA256 d8bb7867df703b30a5d74728a8497a2fa1b1089184bd6d01e974705e5aad766c
EBUILD fwbuilder-3.0.3.ebuild 1810 RMD160 83755f5a50c24e489440ea4d767d850832e434cd SHA1 e5067e342979d5ef978c4037c6b0297b1dce0ac2 SHA256 8ee4841d160bede8f59f153b29f79b9cdce3e3111997861cb10b05e717806ba6
EBUILD fwbuilder-3.0.6.ebuild 1832 RMD160 d73172910b12a6790ef813abc17bd9c7edc78143 SHA1 a3abbca236a10420f58b551121cbdcdf93c29875 SHA256 590fe364783820d2108b2ab68387ee3e6bc9767869f4acb7d54a072b3348781c
EBUILD fwbuilder-3.0.7.ebuild 1883 RMD160 154751bb0e2655e05648a964e94ce56198c4e32e SHA1 fcf60d8b8ff40647ea99157bd64196b3ab538ba0 SHA256 28d2b9b01e4c8443a1df7a69b0a72aa51b365f5b95fa94dd85572802a557e67e
-MISC ChangeLog 14970 RMD160 6acab6aadd0d8e2957ba53aef7f671a8aa51747e SHA1 bd3eb15e5d25d72ef065daf6e5323b2eb406c763 SHA256 49e8fb37e3b12ebfca068e11c3c343e4ca5659f78053fafde82ead4da54a541f
+EBUILD fwbuilder-4.0.1.ebuild 1270 RMD160 416e18fc303a33e67c44d1a359502daf4e80b6b1 SHA1 d008ca13cdfb22c76ee4d4627d4f781723d94b63 SHA256 af58303ccbc09d1c8d1971058004f7b6e0e6a393e841af67646a901de052bda8
+MISC ChangeLog 15228 RMD160 417ff297cdc394ded5573031e373cb210a3ae8ac SHA1 0538d99ea4a2c85eb4ec9637794e347f74585c81 SHA256 dff6ed5c2bd2074bca5919b78a8aeb2e9f4a990dfec495442575231454a0673b
MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkuWxBoACgkQcsIHjyDViGQPXQCgsSHoO8wnruwo+dxU59pVzrSt
-46cAnAxVcUx1Kcm/qmFL2NWoGAOvUR9z
-=CccJ
------END PGP SIGNATURE-----
diff --git a/net-firewall/fwbuilder/files/4.0.1-secure-mktemp.patch b/net-firewall/fwbuilder/files/4.0.1-secure-mktemp.patch
new file mode 100644
index 000000000000..952d40d53f06
--- /dev/null
+++ b/net-firewall/fwbuilder/files/4.0.1-secure-mktemp.patch
@@ -0,0 +1,15 @@
+diff -Naurp fwbuilder-4.0.1.orig//src/res/configlets/linux24/routing_functions fwbuilder-4.0.1//src/res/configlets/linux24/routing_functions
+--- fwbuilder-4.0.1.orig//src/res/configlets/linux24/routing_functions 2009-12-17 23:12:01.000000000 -0500
++++ fwbuilder-4.0.1//src/res/configlets/linux24/routing_functions 2010-06-05 14:04:15.735061939 -0400
+@@ -14,9 +14,9 @@
+
+ # ============== ROUTING RULES ==============
+
+-TMPDIRNAME="/tmp/.fwbuilder.tempdir.$$"
++TMPDIRNAME="$(umask 077 && mktemp --tmpdir=/tmp -d .fwbuilder.tempdir.XXXXXXXXXX)"
++[ $? != 0 ] && exit 1
+ TMPFILENAME="$TMPDIRNAME/.fwbuilder.out"
+-(umask 077 && mkdir $TMPDIRNAME) || exit 1
+
+ #
+ # This function stops stdout redirection
diff --git a/net-firewall/fwbuilder/fwbuilder-4.0.1.ebuild b/net-firewall/fwbuilder/fwbuilder-4.0.1.ebuild
new file mode 100644
index 000000000000..c4051263aefe
--- /dev/null
+++ b/net-firewall/fwbuilder/fwbuilder-4.0.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/fwbuilder-4.0.1.ebuild,v 1.1 2010/06/05 22:42:19 kumba Exp $
+
+EAPI="2"
+
+inherit eutils qt4 multilib autotools
+
+DESCRIPTION="A firewall GUI"
+HOMEPAGE="http://www.fwbuilder.org/"
+SRC_URI="mirror://sourceforge/fwbuilder/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc ~ppc64"
+IUSE=""
+#IUSE="+pch"
+
+DEPEND="~net-libs/libfwbuilder-${PV}
+ >=x11-libs/qt-gui-4.3
+ dev-libs/openssl
+ dev-libs/elfutils
+ sys-devel/gnuconfig
+ "
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ qt4_src_prepare
+ epatch "${FILESDIR}/${PV}-secure-mktemp.patch"
+ eautoreconf || die "eautoreconf failed"
+
+ # This package fundamentally changed its build system. We have to
+ # manually copy config.{sub,guess} from /usr/share/gnuconfig/.
+ cp /usr/share/gnuconfig/config.{sub,guess} "${WORKDIR}/${P}/" \
+ || die "failed to copy config.{sub,guess}"
+}
+
+src_configure() {
+ econf || die "econf failed"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install || die "emake install failed"
+}
+
+pkg_postinst() {
+ validate_desktop_entries
+
+ elog "You need to emerge sys-apps/iproute2 on the machine"
+ elog "that will run the firewall script."
+}