diff options
author | Jukka Ruohonen <drear@iki.fi> | 2007-11-09 13:59:44 +0000 |
---|---|---|
committer | Jukka Ruohonen <drear@iki.fi> | 2007-11-09 13:59:44 +0000 |
commit | 42ce6de0c3d14388515d85dd766ed8bd3452179f (patch) | |
tree | 4b01eff2edf61b660ebb16df4817a5c00fce3abb /net-analyzer/daemonlogger/daemonlogger-1.0-r1.ebuild | |
parent | Fix typo in sci-libs/openfoam mask entry (diff) | |
download | sunrise-42ce6de0c3d14388515d85dd766ed8bd3452179f.tar.gz sunrise-42ce6de0c3d14388515d85dd766ed8bd3452179f.tar.bz2 sunrise-42ce6de0c3d14388515d85dd766ed8bd3452179f.zip |
net-analyzer/daemonlogger: Added init scripts and modified the ebuild accordingly.
svn path=/sunrise/; revision=5034
Diffstat (limited to 'net-analyzer/daemonlogger/daemonlogger-1.0-r1.ebuild')
-rw-r--r-- | net-analyzer/daemonlogger/daemonlogger-1.0-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-analyzer/daemonlogger/daemonlogger-1.0-r1.ebuild b/net-analyzer/daemonlogger/daemonlogger-1.0-r1.ebuild new file mode 100644 index 000000000..0af19d4af --- /dev/null +++ b/net-analyzer/daemonlogger/daemonlogger-1.0-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Simple packet logger & soft tap" +HOMEPAGE="http://www.snort.org/users/roesch/Site/Daemonlogger/Daemonlogger.html" +SRC_URI="http://www.snort.org/dl/${PN}/${P}.tar.gz + http://www.snort.org/users/roesch/code/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-libs/libdnet + net-libs/libpcap" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewgroup daemonlogger + enewuser daemonlogger -1 -1 /sbin/nologin daemonlogger +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-version.patch" +} + +src_install() { + dosbin daemonlogger + dodoc AUTHORS ChangeLog NEWS README + + keepdir /var/log/daemonlogger + + newinitd "${FILESDIR}"/daemonlogger-initd daemonlogger + newconfd "${FILESDIR}"/daemonlogger-confd daemonlogger + + fowners daemonlogger:daemonlogger /var/log/daemonlogger + fperms 0700 /var/log/daemonlogger +} |