mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 22:01:11 +02:00
* Adding latest fwbuilder
This commit is contained in:
parent
75c196422f
commit
cf740b0207
4 changed files with 121 additions and 0 deletions
2
net-firewall/fwbuilder/Manifest
Normal file
2
net-firewall/fwbuilder/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST fwbuilder-3.0.3.tar.gz 2342286 RMD160 aeca268daa0bc1d47a05add6590910ae3da15b0e SHA1 04df912936aecd5e6de8b2cde07077565191ab74 SHA256 95d31f53752b12530c29fc349a7dd827016337441769a799557406cc832cd5fc
|
||||
EBUILD fwbuilder-3.0.3.ebuild 1938 RMD160 3f2d2c095e127c726a86cdc4a1823b00f4cbe71a SHA1 98283ca300fff92071b83116a39755d044a814f1 SHA256 b2da88faf6055ef43b53702073aab7d2e173b0068220cebd8a56594714830916
|
||||
64
net-firewall/fwbuilder/fwbuilder-3.0.3.ebuild
Normal file
64
net-firewall/fwbuilder/fwbuilder-3.0.3.ebuild
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils qt4 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 ppc ppc64 x86"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="~net-libs/libfwbuilder-${PV}
|
||||
nls? ( >=sys-devel/gettext-0.11.4 )
|
||||
~dev-java/antlr-2.7.7[cxx]
|
||||
>=dev-libs/libxslt-1.0.7"
|
||||
|
||||
src_configure() {
|
||||
# we'll use our eqmake instead of bundled script to process qmake files
|
||||
sed -i -e 's:^.* ./runqmake.sh$:echo:' configure \
|
||||
|| die "sed configure failed"
|
||||
# prevent install script from automatically stripping binaries - let portage do that
|
||||
sed -i -e 's/ -m 0755 -s/ -m 0755/' $(find . -name '*.pro') \
|
||||
|| die "sed for strip failed"
|
||||
# documentation will be installed manually using dodoc & doman
|
||||
rm -f doc/doc.pro
|
||||
sed -i -e '/^SUBDIRS = src doc/s/ doc//' fwbuilder3.pro \
|
||||
|| die "sed fwbuilder3.pro failed"
|
||||
|
||||
econf $(use_enable nls) || die "configure failed"
|
||||
|
||||
# use eqmake to generate Makefiles
|
||||
eqmake4 fwbuilder3.pro
|
||||
for subdir in src src/res src/fwbedit src/gui src/ipt \
|
||||
src/pflib src/pf src/ipf src/ipfw src/tools \
|
||||
src/cisco_lib src/iosacl src/pix src/parsers; do
|
||||
# avoid prestrip binaries in generated Makefiles - let portage do that
|
||||
echo -e "\nQMAKE_STRIP =" >> "${subdir}/${subdir##*/}.pro"
|
||||
eqmake4 "${subdir}/${subdir##*/}.pro" -o ${subdir}/Makefile
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" INSTALL_ROOT="${D}" install || die "Install failed"
|
||||
|
||||
cd doc
|
||||
dodoc AUTHORS ChangeLog Credits README* \
|
||||
FWBuilder-Routing-LICENSE.txt PatchAcceptancePolicy.txt
|
||||
# release notes for 3.0.1 not found in doc dir :/
|
||||
#newdoc ReleaseNotes_${PV}.txt ReleaseNotes
|
||||
doman fwb*.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "You need to emerge sys-apps/iproute2 on the machine"
|
||||
elog "that will run the firewall script."
|
||||
echo
|
||||
}
|
||||
2
net-libs/libfwbuilder/Manifest
Normal file
2
net-libs/libfwbuilder/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST libfwbuilder-3.0.3.tar.gz 532994 RMD160 e522e9a726d8d159bda03b33bd6364243183dc3a SHA1 d49ec3650c2d54842b370bbaf24225bbfc69b1fc SHA256 71d5fef1e4a3668c6da6a3640bc1a55de30f8ee5a4d2c86fbc2af099df66d76c
|
||||
EBUILD libfwbuilder-3.0.3.ebuild 1428 RMD160 83f41b4aad86a7e40b904f418e2daf0c81516bf3 SHA1 b82768fba3fda101221c553d2cb2796ba54c16be SHA256 ac434d6fa173a54e23e4eb8441e459a62af0f8d25442574f7176403af5595d3d
|
||||
53
net-libs/libfwbuilder/libfwbuilder-3.0.3.ebuild
Normal file
53
net-libs/libfwbuilder/libfwbuilder-3.0.3.ebuild
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils qt4
|
||||
|
||||
DESCRIPTION="Firewall Builder 2.1 API library and compiler framework"
|
||||
HOMEPAGE="http://www.fwbuilder.org/"
|
||||
SRC_URI="mirror://sourceforge/fwbuilder/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE="snmp ssl stlport"
|
||||
|
||||
DEPEND=">=dev-libs/libxml2-2.4.10
|
||||
>=dev-libs/libxslt-1.0.7
|
||||
snmp? ( net-analyzer/net-snmp )
|
||||
ssl? ( dev-libs/openssl )
|
||||
stlport? ( dev-libs/STLport )
|
||||
|| ( ( x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4 )
|
||||
x11-libs/qt:4 )"
|
||||
|
||||
src_configure() {
|
||||
# we'll use our eqmake instead of bundled script to process qmake files
|
||||
sed -i -e 's:^.* ./runqmake.sh$:echo:' configure \
|
||||
|| die "sed configure failed"
|
||||
|
||||
econf $(use_with ssl openssl) \
|
||||
$(use_with snmp ucdsnmp) \
|
||||
$(use_with stlport stlport) \
|
||||
|| die "configure failed"
|
||||
|
||||
# use eqmake to generate Makefiles
|
||||
eqmake4 ${PN}.pro
|
||||
for subdir in src src/fwbuilder src/fwcompiler src/test src/confscript \
|
||||
etc doc migration; do
|
||||
# avoid prestrip binaries in generated Makefiles - let portage do that
|
||||
echo -e "\nQMAKE_STRIP =" >> "${subdir}/${subdir##*/}.pro"
|
||||
eqmake4 "${subdir}/${subdir##*/}.pro" -o ${subdir}/Makefile
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" INSTALL_ROOT="${D}" install || die "Install failed"
|
||||
|
||||
cd "${D}"/usr/share/doc/${PF}
|
||||
rm COPYING INSTALL
|
||||
prepalldocs
|
||||
}
|
||||
Loading…
Reference in a new issue