diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-08 20:11:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-08 20:11:47 +0100 |
commit | f625b9919a60a30f1bd860f7d1b2eac183ced593 (patch) | |
tree | 7543f00925ff7277e31881de0a87801681f6f92f /net-firewall/psad/psad-2.4.4.ebuild | |
parent | e3872864be25f7421015bef2732fa57c0c9fb726 (diff) |
gentoo resync : 08.08.2018
Diffstat (limited to 'net-firewall/psad/psad-2.4.4.ebuild')
-rw-r--r-- | net-firewall/psad/psad-2.4.4.ebuild | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/net-firewall/psad/psad-2.4.4.ebuild b/net-firewall/psad/psad-2.4.4.ebuild deleted file mode 100644 index 2d76d8efc463..000000000000 --- a/net-firewall/psad/psad-2.4.4.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -#PERL_EXPORT_PHASE_FUNCTIONS=no -inherit perl-module toolchain-funcs - -DESCRIPTION="Port Scanning Attack Detection daemon" -SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2" -HOMEPAGE="https://www.cipherdyne.org/psad/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" - -DEPEND="virtual/perl-ExtUtils-MakeMaker" -RDEPEND=" - dev-perl/Bit-Vector - dev-perl/Date-Calc - dev-perl/NetAddr-IP - dev-perl/Unix-Syslog - net-firewall/iptables - net-misc/whois - virtual/logger - virtual/mailx - virtual/perl-Storable -" -PATCHES=( - "${FILESDIR}"/${PN}-2.2.4-var-run.patch -) - -src_prepare() { - default - - sed -i \ - -e 's|/usr/bin/gcc|$(CC)|g' \ - -e 's|-O|$(CFLAGS) $(LDFLAGS)|g' \ - Makefile || die - # Fix up default paths - sed -i \ - -e "s:/usr/bin/whois_psad:/usr/bin/whois:g" \ - psad.conf || die -} - -src_configure() { - default - - local deps_subdir - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do - cd "${S}"/deps/${deps_subdir} || die - SRC_PREP="no" perl-module_src_configure - done -} - -src_compile() { - tc-export CC - default - - local deps_subdir - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do - cd "${S}"/deps/${deps_subdir} || die - perl-module_src_compile - done -} - -src_install() { - newbin pscan psad-pscan - - insinto /usr - dosbin kmsgsd psad psadwatchd - newsbin fwcheck_psad.pl fwcheck_psad - - insinto /etc/psad - doins \ - *.conf auto_dl icmp{,6}_types ip_options psad_* pf.os posf \ - protocols signatures - - newinitd init-scripts/psad-init.gentoo psad - - doman *.8 - - dodoc BENCHMARK CREDITS Change* FW_EXAMPLE_RULES FW_HELP README \ - README.SYSLOG SCAN_LOG - - insinto /etc/psad/snort_rules - doins deps/snort_rules/* - - local deps_subdir - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do - cd "${S}"/deps/${deps_subdir} || die - perl-module_src_install - done -} |