View | Details | Raw Unified
Collapse All | Expand All

(-) snort-2.3.3-r1.ebuild.orig (-9 / +6 lines)
 Lines 35-40    Link Here 
	selinux? ( sec-policy/selinux-snort )
	selinux? ( sec-policy/selinux-snort )
	snortsam? ( net-analyzer/snortsam )"
	snortsam? ( net-analyzer/snortsam )"
pkg_setup() {
	enewgroup snort
	enewuser snort -1 /bin/false /dev/null snort
	echo "ignore any message about CREATE_HOME above..."
}
src_unpack() {
src_unpack() {
	unpack ${A}
	unpack ${A}
	cd ${S}
	cd ${S}
 Lines 93-107    Link Here 
	emake || die "compile problem"
	emake || die "compile problem"
}
}
pkg_preinst() {
	enewgroup snort
	enewuser snort -1 /bin/false /var/log/snort snort
	usermod -d "/var/log/snort" snort || die "usermod problem"
	usermod -g "snort" snort || die "usermod problem"
	usermod -s "/bin/false" snort || die "usermod problem"
	echo "ignore any message about CREATE_HOME above..."
}
src_install() {
src_install() {
	make DESTDIR="${D}" install || die "make install failed"
	make DESTDIR="${D}" install || die "make install failed"