diff options
-rw-r--r-- | net-analyzer/sarg/sarg-1.2.2.ebuild | 32 | ||||
-rw-r--r-- | net-analyzer/scanlogd/scanlogd-2.2.ebuild | 17 | ||||
-rw-r--r-- | net-im/jabber-server/jabber-server-1.4.2-r1.ebuild | 26 |
3 files changed, 28 insertions, 47 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" diff --git a/net-im/jabber-server/jabber-server-1.4.2-r1.ebuild b/net-im/jabber-server/jabber-server-1.4.2-r1.ebuild index 27eb50b7bb74..275e13c614f5 100644 --- a/net-im/jabber-server/jabber-server-1.4.2-r1.ebuild +++ b/net-im/jabber-server/jabber-server-1.4.2-r1.ebuild @@ -1,12 +1,10 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-server/jabber-server-1.4.2-r1.ebuild,v 1.4 2002/10/05 05:39:21 drobbins Exp $ - -IUSE="ssl" +# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-server/jabber-server-1.4.2-r1.ebuild,v 1.5 2002/11/30 02:06:30 vapier Exp $ S="${WORKDIR}/jabber-${PV}" DESCRIPTION="Open Source Jabber Server & JUD,AIM,MSN,ICQ,Yahoo and Conference transports" -HOMEPAGE="http://www.jabber.org" +HOMEPAGE="http://www.jabber.org/" SRC_URI="http://jabberd.jabberstudio.org/downloads/jabber-${PV}.tar.gz http://jabberd.jabberstudio.org/downloads/conference-0.4.tar.gz http://jabberd.jabberstudio.org/downloads/jud-0.4.tar.gz @@ -15,15 +13,15 @@ SRC_URI="http://jabberd.jabberstudio.org/downloads/jabber-${PV}.tar.gz http://www.ibiblio.org/gentoo/distfiles/yahoo-transport-0.8.4.6.tar.gz http://www.ibiblio.org/gentoo/distfiles/Install_AIM_3.5.1670.exe" -DEPEND=">=dev-libs/pth-1.4.0 - ssl? ( >=dev-libs/openssl-0.9.6c )" - SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" +IUSE="ssl" -src_unpack() { +DEPEND=">=dev-libs/pth-1.4.0 + ssl? ( >=dev-libs/openssl-0.9.6c )" +src_unpack() { unpack jabber-${PV}.tar.gz cd ${S} tar -xjf ${FILESDIR}/config-1.4.2.tar.bz2 @@ -34,13 +32,10 @@ src_unpack() { unpack yahoo-transport-0.8.4.6.tar.gz cd ${S}/aim-transport cp ${DISTDIR}/Install_AIM_3.5.1670.exe . - } src_compile() { - local myconf - cd ${S} use ssl && myconf="--enable-ssl" mv jabberd/jabberd.c jabberd/jabberd.c.orig @@ -67,24 +62,20 @@ src_compile() { cd ${S}/yahoo-transport CPPFLAGS="$CPPFLAGS -I../jabberd -I../../jabberd" ./autogen.sh || die make || die - } src_install() { - cd ${S} touch error.log touch record.log exeinto /etc/init.d ; newexe ${FILESDIR}/jabber.rc6 jabber - mkdir -p ${D}/usr/jabber-${PV} + dodir/usr/jabber-${PV} cp -rf * ${D}/usr/jabber-${PV}/ cd ${D}/usr/jabber-${PV}/jabberd - } pkg_postinst() { - cd /usr/jabber-${PV} groupadd jabber useradd jabber -s /bin/false -d /usr/jabber-${PV} -g jabber -m @@ -98,12 +89,9 @@ pkg_postinst() { einfo "To enable SSL connections, execute ./self-cert.sh in the server's dir" einfo "(Only if compiled with SSL support (ssl in USE)" einfo "Server admins should be added to the "jabber" group" - } pkg_postrm() { - userdel jabber groupdel jabber - } |