diff options
author | Raúl Porcel <armin76@gentoo.org> | 2011-08-07 13:22:39 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2011-08-07 13:22:39 +0000 |
commit | d86c7a493b80dcf43a38f080a134c109d0669ab1 (patch) | |
tree | f0d2635b3e6fe03cbdb7d7c3e39ee0b4539165b0 /app-misc | |
parent | Version bump. (diff) | |
download | gentoo-2-d86c7a493b80dcf43a38f080a134c109d0669ab1.tar.gz gentoo-2-d86c7a493b80dcf43a38f080a134c109d0669ab1.tar.bz2 gentoo-2-d86c7a493b80dcf43a38f080a134c109d0669ab1.zip |
Fix init script, bug #377783
(Portage version: 2.1.10.7/cvs/Linux ia64)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/uptimed/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/uptimed/files/uptimed.init | 8 | ||||
-rw-r--r-- | app-misc/uptimed/uptimed-0.3.12.ebuild | 39 |
3 files changed, 10 insertions, 45 deletions
diff --git a/app-misc/uptimed/ChangeLog b/app-misc/uptimed/ChangeLog index 9a1660173beb..6a28b5069b97 100644 --- a/app-misc/uptimed/ChangeLog +++ b/app-misc/uptimed/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/uptimed -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/ChangeLog,v 1.80 2009/08/25 15:11:26 armin76 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/ChangeLog,v 1.81 2011/08/07 13:22:38 armin76 Exp $ + + 07 Aug 2011; Raúl Porcel <armin76@gentoo.org> -uptimed-0.3.12.ebuild, + files/uptimed.init: + Fix init script, bug #377783 25 Aug 2009; Raúl Porcel <armin76@gentoo.org> uptimed-0.3.16-r4.ebuild: Add ~arm wrt #282190 diff --git a/app-misc/uptimed/files/uptimed.init b/app-misc/uptimed/files/uptimed.init index fe0a6e90971b..cfd2998c1672 100644 --- a/app-misc/uptimed/files/uptimed.init +++ b/app-misc/uptimed/files/uptimed.init @@ -1,17 +1,17 @@ #!/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.3 2009/04/14 17:13:13 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/files/uptimed.init,v 1.4 2011/08/07 13:22:39 armin76 Exp $ -# Copyright 2002 Sean Russell +# Copyright 2002-2011 Sean Russell PIDFILE="/var/run/uptimed/uptimed.pid" start() { ebegin "Starting uptimed" - start-stop-daemon --quiet --start --chuid uptimed \ + start-stop-daemon --quiet --start --user uptimed \ --exec /usr/sbin/uptimed --pidfile "${PIDFILE}" -- -b - start-stop-daemon --quiet --start --chuid uptimed \ + start-stop-daemon --quiet --start --user uptimed \ --exec /usr/sbin/uptimed --pidfile "${PIDFILE}" \ -- -p ${PIDFILE} eend $? diff --git a/app-misc/uptimed/uptimed-0.3.12.ebuild b/app-misc/uptimed/uptimed-0.3.12.ebuild deleted file mode 100644 index ae8ae3da6446..000000000000 --- a/app-misc/uptimed/uptimed-0.3.12.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/uptimed-0.3.12.ebuild,v 1.6 2008/01/20 19:11:20 angelos Exp $ - -inherit autotools - -DESCRIPTION="System uptime record daemon that keeps track of your highest uptimes" -HOMEPAGE="http://podgorny.cz/uptimed" -SRC_URI="http://podgorny.cz/uptimed/releases/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="" - -src_unpack() { - unpack ${A} - cd "${S}" - - # respect DESTDIR - sed -i -e 's|-d \(/var/spool.*\)$|-d $(DESTDIR)\1|' Makefile.am || \ - die "sed failed." - - eautoreconf -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - keepdir /var/spool/uptimed - dodoc ChangeLog README TODO AUTHORS CREDITS INSTALL.cgi sample-cgi/* - doinitd "${FILESDIR}"/uptimed -} - -pkg_postinst() { - echo - elog "Start uptimed with '/etc/init.d/uptimed start'" - elog "To view your uptime records, use the command 'uprecords'." - echo -} |