diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-11-30 02:06:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-11-30 02:06:30 +0000 |
commit | 8eb0e647d7b845521c8b39e3e2e3f59d759132b7 (patch) | |
tree | 06f2b2c321dff4f96685c3d3e48738aa67225a6a /net-analyzer | |
parent | Changed econf||die to econf (diff) | |
download | gentoo-2-8eb0e647d7b845521c8b39e3e2e3f59d759132b7.tar.gz gentoo-2-8eb0e647d7b845521c8b39e3e2e3f59d759132b7.tar.bz2 gentoo-2-8eb0e647d7b845521c8b39e3e2e3f59d759132b7.zip |
Changed mkdir ${D} to dodir ${D}
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/sarg/sarg-1.2.2.ebuild | 32 | ||||
-rw-r--r-- | net-analyzer/scanlogd/scanlogd-2.2.ebuild | 17 |
2 files changed, 21 insertions, 28 deletions
diff --git a/net-analyzer/sarg/sarg-1.2.2.ebuild b/net-analyzer/sarg/sarg-1.2.2.ebuild index 5e653016dbe0..f90d5505f061 100644 --- a/net-analyzer/sarg/sarg-1.2.2.ebuild +++ b/net-analyzer/sarg/sarg-1.2.2.ebuild @@ -1,34 +1,30 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/sarg-1.2.2.ebuild,v 1.2 2002/11/14 10:15:25 jhhudso Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/sarg-1.2.2.ebuild,v 1.3 2002/11/30 02:03:49 vapier Exp $ DESCRIPTION="Sarg (Squid Analysis Report Generator) is a tool that allows you to view where your users are going to on the Internet." HOMEPAGE="http://web.onda.com.br/orso/sarg.html" SRC_URI="http://web.onda.com.br/orso/${P}.tar.gz" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" -IUSE="" + DEPEND="" RDEPEND=">=net-www/squid-2.4.7" -S="${WORKDIR}/${P}" src_compile() { - rm -rf config.cache - ./configure \ - --enable-bindir=/usr/bin \ - --enable-sysconfdir=/etc/sarg || die "./configure failed" - emake || die + rm -rf config.cache + ./configure \ + --enable-bindir=/usr/bin \ + --enable-sysconfdir=/etc/sarg || die "./configure failed" + emake || die } -src_install () { - mkdir ${D}/etc - mkdir ${D}/etc/sarg - mkdir ${D}/usr - mkdir ${D}/usr/bin - make \ - BINDIR=${D}/usr/bin \ - SYSCONFDIR=${D}/etc/sarg \ - install || die +src_install() { + dodir /etc/sarg /usr/bin + make \ + BINDIR=${D}/usr/bin \ + SYSCONFDIR=${D}/etc/sarg \ + install || die } - diff --git a/net-analyzer/scanlogd/scanlogd-2.2.ebuild b/net-analyzer/scanlogd/scanlogd-2.2.ebuild index 4ddc870baad0..85c01e18c543 100644 --- a/net-analyzer/scanlogd/scanlogd-2.2.ebuild +++ b/net-analyzer/scanlogd/scanlogd-2.2.ebuild @@ -1,32 +1,29 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/scanlogd/scanlogd-2.2.ebuild,v 1.6 2002/10/04 05:59:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/scanlogd/scanlogd-2.2.ebuild,v 1.7 2002/11/30 02:01:44 vapier Exp $ -S=${WORKDIR}/${P} DESCRIPTION="Scanlogd- detects and logs TCP port scans" SRC_URI="http://www.openwall.com/scanlogd/${P}.tar.gz" -HOMEPAGE="http://www.openwall.com/scanlogd" - -DEPEND="virtual/glibc" +HOMEPAGE="http://www.openwall.com/scanlogd/" SLOT="0" LICENSE="as-is" KEYWORDS="x86 sparc sparc64" +DEPEND="virtual/glibc" + src_compile() { make linux || die } -src_install() { - mkdir -p ${D}usr/sbin - cp scanlogd ${D}usr/sbin || die - +src_install() { + dosbin scanlogd doman scanlogd.8 exeinto /etc/init.d ; newexe ${FILESDIR}/scanlogd.rc scanlogd } -pkg_postinst () { +pkg_postinst() { einfo "Before you can run scanlogd you need to create the user " einfo "scanlog by running the following command" einfo "adduser -s /bin/false scanlogd" |