/[gentoo-x86]/net-misc/portspoof/portspoof-1.3.ebuild
Gentoo

Contents of /net-misc/portspoof/portspoof-1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Mar 10 15:14:04 2015 UTC (4 years, 6 months ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
version bump and add upstream init file as support script called portspoof-runner

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/portspoof/portspoof-1.1.ebuild,v 1.2 2014/03/26 14:21:15 zerochaos Exp $
4
5 EAPI=5
6
7 DESCRIPTION="return SYN+ACK for every port connection attempt"
8 HOMEPAGE="http://portspoof.org/"
9 LICENSE="GPL-2+"
10 SLOT="0"
11 IUSE=""
12
13 DEPEND=""
14 RDEPEND="${DEPEND}"
15
16 if [[ ${PV} == "9999" ]] ; then
17 inherit git-r3 autotools
18 EGIT_REPO_URI="https://github.com/drk1wi/${PN}.git"
19 KEYWORDS=""
20 else
21 SRC_URI="https://github.com/drk1wi/portspoof/archive/v${PV}.tar.gz -> ${P}.tar.gz"
22 KEYWORDS="~amd64 ~x86"
23 fi
24
25 src_prepare() {
26 if [[ ${PV} == "9999" ]] ; then
27 eautoreconf
28 fi
29 sed -i \
30 's#/usr/local/bin/portspoof -D -c /usr/local/etc/portspoof.conf -s /usr/local/etc/portspoof_signatures#/usr/bin/portspoof -D -c /etc/portspoof.conf -s /etc/portspoof_signatures#'\
31 system_files/init.d/portspoof.sh
32 }
33
34 src_install() {
35 default_src_install
36 newsbin system_files/init.d/portspoof.sh portspoof-runner
37 }

  ViewVC Help
Powered by ViewVC 1.1.20