summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2009-02-20 20:03:21 +0000
committerRaúl Porcel <armin76@gentoo.org>2009-02-20 20:03:21 +0000
commit2bbaa71df8b944c78a9aaafd41af5cfefce802e7 (patch)
treed27c4eda21e409e1ea8eabd90d9181296688ec6a /app-misc
parentRevision bump. Update initscripts. Fix live correctly. Proxycommit for billie (diff)
downloadgentoo-2-2bbaa71df8b944c78a9aaafd41af5cfefce802e7.tar.gz
gentoo-2-2bbaa71df8b944c78a9aaafd41af5cfefce802e7.tar.bz2
gentoo-2-2bbaa71df8b944c78a9aaafd41af5cfefce802e7.zip
Revbump so users get a proper initd script, bug #259690
(Portage version: 2.1.6.7/cvs/Linux ia64)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/uptimed/ChangeLog8
-rw-r--r--app-misc/uptimed/files/uptimed.init48
-rw-r--r--app-misc/uptimed/uptimed-0.3.16-r2.ebuild (renamed from app-misc/uptimed/uptimed-0.3.16-r1.ebuild)2
3 files changed, 31 insertions, 27 deletions
diff --git a/app-misc/uptimed/ChangeLog b/app-misc/uptimed/ChangeLog
index e167ab4009b7..720ff21f9f93 100644
--- a/app-misc/uptimed/ChangeLog
+++ b/app-misc/uptimed/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/uptimed
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/ChangeLog,v 1.70 2009/02/19 19:33:20 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/ChangeLog,v 1.71 2009/02/20 20:03:21 armin76 Exp $
+
+*uptimed-0.3.16-r2 (20 Feb 2009)
+
+ 20 Feb 2009; Raúl Porcel <armin76@gentoo.org> files/uptimed.init,
+ -uptimed-0.3.16-r1.ebuild, +uptimed-0.3.16-r2.ebuild:
+ Revbump so users get a proper initd script, bug #259690
*uptimed-0.3.16-r1 (19 Feb 2009)
diff --git a/app-misc/uptimed/files/uptimed.init b/app-misc/uptimed/files/uptimed.init
index b4a7966a7814..378a8d8d0077 100644
--- a/app-misc/uptimed/files/uptimed.init
+++ b/app-misc/uptimed/files/uptimed.init
@@ -1,25 +1,23 @@
---- /usr/portage/app-misc/uptimed/files/uptimed
-+++ /usr/local/portage/app-misc/uptimed/files/uptimed
-@@ -5,15 +5,19 @@
-
- # Copyright 2002 Sean Russell
-
-+PIDFILE="/var/run/uptimed/uptimed.pid"
-+
- start() {
- ebegin "Starting uptimed"
-- uptimed -b
-- start-stop-daemon --quiet --start --pidfile /var/run/uptimed --exec /usr/sbin/uptimed
-+ start-stop-daemon --quiet --start --chuid uptimed \
-+ --exec /usr/sbin/uptimed -- -b
-+ start-stop-daemon --quiet --start --chuid uptimed \
-+ --exec /usr/sbin/uptimed -- -p ${PIDFILE}
- eend $?
- }
-
- stop() {
- ebegin "Stopping uptimed"
-- start-stop-daemon --quiet --stop --pidfile /var/run/uptimed
-+ start-stop-daemon --quiet --stop --user uptimed --pidfile ${PIDFILE}
- eend $?
- }
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/files/uptimed.init,v 1.2 2009/02/20 20:03:21 armin76 Exp $
+
+# Copyright 2002 Sean Russell
+
+PIDFILE="/var/run/uptimed/uptimed.pid"
+
+start() {
+ ebegin "Starting uptimed"
+ start-stop-daemon --quiet --start --chuid uptimed \
+ --exec /usr/sbin/uptimed -- -b
+ start-stop-daemon --quiet --start --chuid uptimed \
+ --exec /usr/sbin/uptimed -- -p ${PIDFILE}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping uptimed"
+ start-stop-daemon --quiet --stop --user uptimed --pidfile ${PIDFILE}
+ eend $?
+}
diff --git a/app-misc/uptimed/uptimed-0.3.16-r1.ebuild b/app-misc/uptimed/uptimed-0.3.16-r2.ebuild
index 86daf4969ae4..3f0a965bc76a 100644
--- a/app-misc/uptimed/uptimed-0.3.16-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.3.16-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/uptimed-0.3.16-r1.ebuild,v 1.1 2009/02/19 19:33:20 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/uptimed-0.3.16-r2.ebuild,v 1.1 2009/02/20 20:03:21 armin76 Exp $
inherit autotools