summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2005-06-24 13:52:18 +0000
committerAlastair Tse <liquidx@gentoo.org>2005-06-24 13:52:18 +0000
commit6d3fd565b286e637b7d59f2a11d65311c6d752f4 (patch)
treeb26ca61636315909ea7cf9be24214adac9d2daac /app-admin
parentmake more respectful of CFLAGS (#79072). thanks Stefan Briesenick (diff)
downloadhistorical-6d3fd565b286e637b7d59f2a11d65311c6d752f4.tar.gz
historical-6d3fd565b286e637b7d59f2a11d65311c6d752f4.tar.bz2
historical-6d3fd565b286e637b7d59f2a11d65311c6d752f4.zip
added init script. thanks to Radek Podgorny (#79034)
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/ulog-acctd/ChangeLog6
-rw-r--r--app-admin/ulog-acctd/Manifest17
-rw-r--r--app-admin/ulog-acctd/files/init.d/ulog-acctd25
-rw-r--r--app-admin/ulog-acctd/ulog-acctd-0.4.2.ebuild3
4 files changed, 46 insertions, 5 deletions
diff --git a/app-admin/ulog-acctd/ChangeLog b/app-admin/ulog-acctd/ChangeLog
index 2ed7e1923385..7a8e77cadb93 100644
--- a/app-admin/ulog-acctd/ChangeLog
+++ b/app-admin/ulog-acctd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/ulog-acctd
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulog-acctd/ChangeLog,v 1.4 2005/06/05 11:28:26 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulog-acctd/ChangeLog,v 1.5 2005/06/24 13:52:18 liquidx Exp $
+
+ 24 Jun 2005; Alastair Tse <liquidx@gentoo.org> +files/init.d/ulog-acctd,
+ ulog-acctd-0.4.2.ebuild:
+ added init script. thanks to Radek Podgorny (#79034)
05 Jun 2005; Michael Hanselmann <hansmi@gentoo.org>
ulog-acctd-0.4.2.ebuild:
diff --git a/app-admin/ulog-acctd/Manifest b/app-admin/ulog-acctd/Manifest
index 362b786cf808..2870a283e256 100644
--- a/app-admin/ulog-acctd/Manifest
+++ b/app-admin/ulog-acctd/Manifest
@@ -1,5 +1,16 @@
-MD5 c9bc86829f595b725ebc1d0863f137fc ulog-acctd-0.4.2.ebuild 1326
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 9fd343abce7001a64c850de93056585d ChangeLog 810
MD5 d05a99e0cbeadebc1bcc73a8b0e31ad0 metadata.xml 223
-MD5 aab6800f7db7a59686f9d296818de8d6 ChangeLog 651
-MD5 cf07ec3e1da17f58e2a752d589393f03 files/ulog-acctd-0.4.2-gcc2.patch 546
+MD5 d4af4cf155b1b5710c0c13d3c4f8ed7c ulog-acctd-0.4.2.ebuild 1366
MD5 2482235c9b2861a218595874d58bde76 files/digest-ulog-acctd-0.4.2 72
+MD5 cf07ec3e1da17f58e2a752d589393f03 files/ulog-acctd-0.4.2-gcc2.patch 546
+MD5 7c6e657d0cac0e03867e706d5480c515 files/init.d/ulog-acctd 476
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCvBCeTM53OX+9xmMRAjcJAJ9AXLg9hQfZGUZerEOrkYV7zFixqACgrew3
+DvEmbY3m4kxzqHumsAwBn70=
+=V+Lj
+-----END PGP SIGNATURE-----
diff --git a/app-admin/ulog-acctd/files/init.d/ulog-acctd b/app-admin/ulog-acctd/files/init.d/ulog-acctd
new file mode 100644
index 000000000000..c752897ed189
--- /dev/null
+++ b/app-admin/ulog-acctd/files/init.d/ulog-acctd
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+#
+# chkconfig: - 91 35
+# description: Starts and stops the ulog-acctd daemon
+
+# We should add "pause" and "resume" actions - Radek Podgorny
+#opts="${opts} pause resume"
+
+
+depend() {
+ need net
+}
+
+
+start() {
+ ebegin "Starting ulog-acctd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/ulog-acctd >/dev/null 2>&1
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ulog-acctdd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/ulog-acctd >/dev/null 2>&1
+ eend $?
+}
diff --git a/app-admin/ulog-acctd/ulog-acctd-0.4.2.ebuild b/app-admin/ulog-acctd/ulog-acctd-0.4.2.ebuild
index 9714679dab5f..f47848baca12 100644
--- a/app-admin/ulog-acctd/ulog-acctd-0.4.2.ebuild
+++ b/app-admin/ulog-acctd/ulog-acctd-0.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulog-acctd/ulog-acctd-0.4.2.ebuild,v 1.5 2005/06/05 11:28:26 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulog-acctd/ulog-acctd-0.4.2.ebuild,v 1.6 2005/06/24 13:52:18 liquidx Exp $
inherit eutils
@@ -47,6 +47,7 @@ src_install() {
dodoc contrib/ulog-acctd2mrtg/*
keepdir /var/log/ulog-acctd
+ doinitd ${FILESDIR}/init.d/ulog-acctd
}
pkg_postinst() {