diff options
author | Robert Piasek <dagger@gentoo.org> | 2011-03-24 09:42:30 +0000 |
---|---|---|
committer | Robert Piasek <dagger@gentoo.org> | 2011-03-24 09:42:30 +0000 |
commit | d6932a841cc9f9c6b6355c82386e8e74b6cf8175 (patch) | |
tree | 64becd2d128ea8d740c27ab52daf09fbdc1e1e08 /net-fs/smbtad | |
parent | x86 stable per bug 358455 (diff) | |
download | gentoo-2-d6932a841cc9f9c6b6355c82386e8e74b6cf8175.tar.gz gentoo-2-d6932a841cc9f9c6b6355c82386e8e74b6cf8175.tar.bz2 gentoo-2-d6932a841cc9f9c6b6355c82386e8e74b6cf8175.zip |
Initial ebuild for smbtad 1.2.3
(Portage version: 2.1.9.44/cvs/Linux x86_64)
Diffstat (limited to 'net-fs/smbtad')
-rw-r--r-- | net-fs/smbtad/ChangeLog | 10 | ||||
-rwxr-xr-x | net-fs/smbtad/files/smbtad.rc | 26 | ||||
-rw-r--r-- | net-fs/smbtad/metadata.xml | 10 | ||||
-rw-r--r-- | net-fs/smbtad/smbtad-1.2.3.ebuild | 36 |
4 files changed, 82 insertions, 0 deletions
diff --git a/net-fs/smbtad/ChangeLog b/net-fs/smbtad/ChangeLog new file mode 100644 index 000000000000..eaff0ca3a516 --- /dev/null +++ b/net-fs/smbtad/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-fs/smbtad +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/smbtad/ChangeLog,v 1.1 2011/03/24 09:42:30 dagger Exp $ + +*smbtad-1.2.3 (24 Mar 2011) + + 24 Mar 2011; Robert Piasek <dagger@gentoo.org> +smbtad-1.2.3.ebuild, + +files/smbtad.rc, +metadata.xml: + Initial ebuild for SMBTAD 1.2.3 + diff --git a/net-fs/smbtad/files/smbtad.rc b/net-fs/smbtad/files/smbtad.rc new file mode 100755 index 000000000000..41a7b4a4df04 --- /dev/null +++ b/net-fs/smbtad/files/smbtad.rc @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/smbtad/files/smbtad.rc,v 1.1 2011/03/24 09:42:30 dagger Exp $ + +CONFFILE=/etc/conf.d/${SVCNAME}.conf +PIDFILE=/var/run/${SVCNAME}.pid + +depend() { + before samba + use dns logger +} + +start() { + ebegin "Starting ${SVCNAME}" + start-stop-daemon --start --quiet \ + --exec /usr/bin/"${SVCNAME}" \ + -- -c "${CONFFILE}" + eend ${?} +} + +stop() { + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --quiet --name "${SVCNAME}" + eend ${?} +} diff --git a/net-fs/smbtad/metadata.xml b/net-fs/smbtad/metadata.xml new file mode 100644 index 000000000000..f10786af6e64 --- /dev/null +++ b/net-fs/smbtad/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>dagger@gentoo.org</email> + <name>Robert Piasek</name> + </maintainer> +</pkgmetadata> + diff --git a/net-fs/smbtad/smbtad-1.2.3.ebuild b/net-fs/smbtad/smbtad-1.2.3.ebuild new file mode 100644 index 000000000000..8aa3fb36130b --- /dev/null +++ b/net-fs/smbtad/smbtad-1.2.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/smbtad/smbtad-1.2.3.ebuild,v 1.1 2011/03/24 09:42:30 dagger Exp $ + +EAPI="4" +inherit cmake-utils + +DESCRIPTION="Data receiver of the SMB Traffic Analyzer project" +HOMEPAGE="http://github.com/hhetter/smbtad" +SRC_URI="http://morelias.org/smbta/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +DEPEND="dev-util/cmake + >=dev-db/sqlite-3.5" +RDEPEND="net-fs/samba[smbtav2]" + +DOCS="README AUTHORS" + +src_configure() { + mycmakeargs="${mycmakeargs} \ + $(cmake-utils_use debug DEBUG)" + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + newinitd "${FILESDIR}"/smbtad.rc smbtad + newconfd dist/smbtad.conf_example smbtad.conf + +} |