Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 366151 | Differences between
and this patch

Collapse All | Expand All

(-)hping-3_pre20051105-r3.ebuild (-1 / +10 lines)
Lines 14-20 Link Here
14
LICENSE="GPL-2"
14
LICENSE="GPL-2"
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
16
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
17
IUSE="tcl"
17
IUSE="tcl suid"
18
18
19
S="${WORKDIR}/${MY_P}"
19
S="${WORKDIR}/${MY_P}"
20
20
Lines 31-36 Link Here
31
		"${FILESDIR}"/${P}-libtcl.patch \
31
		"${FILESDIR}"/${P}-libtcl.patch \
32
		"${FILESDIR}"/${P}-scan-overflow.patch
32
		"${FILESDIR}"/${P}-scan-overflow.patch
33
33
34
	if use suid ; then
35
		epatch "${FILESDIR}"/${P}-allow-when-suid.patch
36
	fi
37
34
	# Correct hard coded values
38
	# Correct hard coded values
35
	sed -i Makefile.in \
39
	sed -i Makefile.in \
36
		-e '/^CC=/d' \
40
		-e '/^CC=/d' \
Lines 69-74 Link Here
69
	dosym /usr/sbin/hping3 /usr/sbin/hping
73
	dosym /usr/sbin/hping3 /usr/sbin/hping
70
	dosym /usr/sbin/hping3 /usr/sbin/hping2
74
	dosym /usr/sbin/hping3 /usr/sbin/hping2
71
75
76
	if use suid ; then
77
		fowners root:wheel /usr/sbin/hping3
78
		fperms 4110 /usr/sbin/hping3
79
	fi
80
72
	newman docs/hping3.8 hping.8
81
	newman docs/hping3.8 hping.8
73
82
74
	dodoc INSTALL NEWS README TODO AUTHORS BUGS CHANGES
83
	dodoc INSTALL NEWS README TODO AUTHORS BUGS CHANGES

Return to bug 366151