diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/uptimed | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/uptimed')
-rw-r--r-- | community/uptimed/PKGBUILD | 46 | ||||
-rw-r--r-- | community/uptimed/service | 11 | ||||
-rw-r--r-- | community/uptimed/uptimed.install | 3 |
3 files changed, 0 insertions, 60 deletions
diff --git a/community/uptimed/PKGBUILD b/community/uptimed/PKGBUILD deleted file mode 100644 index 3941eda98..000000000 --- a/community/uptimed/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# $Id: PKGBUILD 91504 2013-05-23 10:15:34Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> -# Contributor: Tom Killian <tomk@runbox.com> -# Contributor: Tom Newsom <Jeepster@gmx.co.uk> - -pkgname=uptimed -pkgver=0.3.17 -pkgrel=4 -pkgdesc="A system uptime record daemon" -arch=(i686 x86_64) -url="http://podgorny.cz/uptimed/" -license=('GPL') -depends=('glibc' 'bash') -backup=(etc/uptimed.conf) -options=('!libtool') -install=$pkgname.install -source=(http://podgorny.cz/$pkgname/releases/$pkgname-$pkgver.tar.bz2 - service) -md5sums=('528b62c33454b33537c3bf2366977bdb' - '6d1e97b9c54d622edc0bd607acbf3c10') - -build() { - cd $srcdir/$pkgname-$pkgver - - # Change log path to Arch standard - for M in `ls M*`; do - sed -i "s|/var/spool/uptimed|/var/log/uptimed|" $M - done - sed -i 's|spool|log|' libuptimed/urec.h - sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADER|g' configure.ac - - autoreconf - libtoolize --force - - ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make install DESTDIR=$pkgdir - - mv $pkgdir/etc/uptimed.conf-dist $pkgdir/etc/uptimed.conf - install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/uptimed.service -} diff --git a/community/uptimed/service b/community/uptimed/service deleted file mode 100644 index 36e074d04..000000000 --- a/community/uptimed/service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=System uptime record daemon - -[Service] -Type=forking -PIDFile=/var/run/uptimed -ExecStartPre=/usr/bin/uptimed -b -ExecStart=/usr/bin/uptimed - -[Install] -WantedBy=multi-user.target diff --git a/community/uptimed/uptimed.install b/community/uptimed/uptimed.install deleted file mode 100644 index 7edd1f66c..000000000 --- a/community/uptimed/uptimed.install +++ /dev/null @@ -1,3 +0,0 @@ -pre_remove() { - rm -rf var/log/uptimed -} |