diff options
author | Jason Wallace <jason.r.wallace@gmail.com> | 2011-02-15 17:52:51 +0000 |
---|---|---|
committer | Jason Wallace <jason.r.wallace@gmail.com> | 2011-02-15 17:52:51 +0000 |
commit | e3497782090c060efdc91a107329fb6a08c028a3 (patch) | |
tree | 134ec5b7a0ce5db43a0f60361d2d7964b9f428a5 /net-analyzer/daemonlogger/daemonlogger-1.2.1.ebuild | |
parent | net-misc/flexget: Drop pygooglechart dependency (diff) | |
download | sunrise-e3497782090c060efdc91a107329fb6a08c028a3.tar.gz sunrise-e3497782090c060efdc91a107329fb6a08c028a3.tar.bz2 sunrise-e3497782090c060efdc91a107329fb6a08c028a3.zip |
net-analyzer/daemonlogger: Version Bump for daemonlogger. Bug 174128
svn path=/sunrise/; revision=11768
Diffstat (limited to 'net-analyzer/daemonlogger/daemonlogger-1.2.1.ebuild')
-rw-r--r-- | net-analyzer/daemonlogger/daemonlogger-1.2.1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-analyzer/daemonlogger/daemonlogger-1.2.1.ebuild b/net-analyzer/daemonlogger/daemonlogger-1.2.1.ebuild new file mode 100644 index 000000000..d3b3b3546 --- /dev/null +++ b/net-analyzer/daemonlogger/daemonlogger-1.2.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Libpcap-based packet logger and soft tap" +HOMEPAGE="http://www.snort.org/users/roesch/Site/Daemonlogger/Daemonlogger.html" +SRC_URI="http://www.snort.org/users/roesch/code/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-libs/libdnet + net-libs/libpcap" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewgroup daemonlogger + enewuser daemonlogger -1 /dev/null -1 daemonlogger +} + +src_install () { + emake DESTDIR="${D}" install || die + dodir /etc/daemonlogger/ /var/log/daemonlogger/ || die + touch "${D}"/etc/daemonlogger/daemonlogger.bpf || die + fowners daemonlogger:daemonlogger /etc/daemonlogger/ \ + /etc/daemonlogger/daemonlogger.bpf \ + /var/log/daemonlogger/ || die + dodoc AUTHORS ChangeLog README || die + newconfd "${FILESDIR}/daemonlogger.confd.1" daemonlogger || die + newinitd "${FILESDIR}/daemonlogger.rc.1" daemonlogger || die +} + +pkg_postinst() { + elog "Configuration options can be set in /etc/conf.d/daemonlogger." +} |