[arch-commits] Commit in uptimed/trunk (PKGBUILD)
Date: Monday, February 4, 2013 @ 09:00:25 Author: bpiotrowski Revision: 83637 Don't use $pkgdir in build() function. Modified: uptimed/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-02-04 07:59:30 UTC (rev 83636) +++ PKGBUILD2013-02-04 08:00:25 UTC (rev 83637) @@ -27,7 +27,7 @@ # Change log path to Arch standard for M in `ls M*`; do -sed -i "s|/var/spool/uptimed|$pkgdir/var/log/uptimed|" $M +sed -i "s|/var/spool/uptimed|/var/log/uptimed|" $M done sed -i 's|spool|log|' libuptimed/urec.h
[arch-commits] Commit in uptimed/trunk (PKGBUILD)
Date: Sunday, November 2, 2014 @ 21:01:14 Author: spupykin Revision: 121723 upgpkg: uptimed 0.3.18-1 upd Modified: uptimed/trunk/PKGBUILD --+ PKGBUILD | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-11-02 20:01:10 UTC (rev 121722) +++ PKGBUILD2014-11-02 20:01:14 UTC (rev 121723) @@ -5,21 +5,22 @@ # Contributor: Tom Newsom pkgname=uptimed -pkgver=0.3.17 -pkgrel=5 +pkgver=0.3.18 +pkgrel=1 pkgdesc="A system uptime record daemon" arch=(i686 x86_64) -url="http://podgorny.cz/uptimed/"; +#url="http://podgorny.cz/uptimed/"; +url="https://github.com/rpodgorny/uptimed"; license=('GPL') -depends=('glibc' 'bash') +depends=() backup=(etc/uptimed.conf) install=$pkgname.install -source=(http://podgorny.cz/$pkgname/releases/$pkgname-$pkgver.tar.bz2 +source=("$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/uptimed/archive/v$pkgver.tar.gz"; service) -md5sums=('528b62c33454b33537c3bf2366977bdb' +md5sums=('f76a5f549833590e84e23b955cc1f894' '6d1e97b9c54d622edc0bd607acbf3c10') -build() { +prepare() { cd $srcdir/$pkgname-$pkgver # Change log path to Arch standard @@ -27,11 +28,10 @@ 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 -i - libtoolize --force - +build() { + cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin make } @@ -39,7 +39,6 @@ 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 }
[arch-commits] Commit in uptimed/trunk (PKGBUILD)
Date: Saturday, October 26, 2013 @ 16:32:25 Author: bpiotrowski Revision: 99262 upgpkg: uptimed 0.3.17-5 remove static libraries Modified: uptimed/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-10-26 14:32:18 UTC (rev 99261) +++ PKGBUILD2013-10-26 14:32:25 UTC (rev 99262) @@ -6,7 +6,7 @@ pkgname=uptimed pkgver=0.3.17 -pkgrel=4 +pkgrel=5 pkgdesc="A system uptime record daemon" arch=(i686 x86_64) url="http://podgorny.cz/uptimed/"; @@ -30,7 +30,7 @@ sed -i 's|spool|log|' libuptimed/urec.h sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADER|g' configure.ac - autoreconf + autoreconf -i libtoolize --force ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
[arch-commits] Commit in uptimed/trunk (PKGBUILD)
Date: Saturday, September 12, 2020 @ 13:41:34 Author: felixonmars Revision: 703842 upgpkg: uptimed 0.4.3-1 Modified: uptimed/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-09-12 13:40:53 UTC (rev 703841) +++ PKGBUILD2020-09-12 13:41:34 UTC (rev 703842) @@ -4,8 +4,8 @@ # Contributor: Tom Newsom pkgname=uptimed -pkgver=0.4.2 -pkgrel=2 +pkgver=0.4.3 +pkgrel=1 pkgdesc="A system uptime record daemon" arch=(x86_64) #url="http://podgorny.cz/uptimed/"; @@ -16,7 +16,7 @@ backup=(etc/uptimed.conf) install=$pkgname.install source=("$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/uptimed/archive/v$pkgver.tar.gz";) -sha512sums=('a18cc8580a4dc7db7f4d97d70e25d76e7b98b9d328a0fa4ece4176d40fc26589149d63ffc9d2638cc35003cf485b43ae6e115aa1821c662d77f234eb3c4c0a4f') +sha512sums=('f9485224dfe7173bab135a87b047d749f9b61d3c29d50523126b585ae77e68837680fdb725a08fd7cad39f0b35b2da7a6923b8540700881f9638286ab5082260') build() { cd "$srcdir"/$pkgname-$pkgver
[arch-commits] Commit in uptimed/trunk (PKGBUILD)
Date: Tuesday, July 7, 2020 @ 13:32:26 Author: felixonmars Revision: 658500 upgpkg: uptimed 0.4.2-2: reproducibility rebuild Modified: uptimed/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-07-07 13:32:19 UTC (rev 658499) +++ PKGBUILD2020-07-07 13:32:26 UTC (rev 658500) @@ -5,7 +5,7 @@ pkgname=uptimed pkgver=0.4.2 -pkgrel=1 +pkgrel=2 pkgdesc="A system uptime record daemon" arch=(x86_64) #url="http://podgorny.cz/uptimed/";
[arch-commits] Commit in uptimed/trunk (PKGBUILD)
Date: Tuesday, August 27, 2019 @ 18:20:52 Author: spupykin Revision: 503316 upgpkg: uptimed 0.4.2-1 Modified: uptimed/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-08-27 18:10:32 UTC (rev 503315) +++ PKGBUILD2019-08-27 18:20:52 UTC (rev 503316) @@ -4,7 +4,7 @@ # Contributor: Tom Newsom pkgname=uptimed -pkgver=0.4.1 +pkgver=0.4.2 pkgrel=1 pkgdesc="A system uptime record daemon" arch=(x86_64) @@ -16,7 +16,7 @@ backup=(etc/uptimed.conf) install=$pkgname.install source=("$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/uptimed/archive/v$pkgver.tar.gz";) -sha512sums=('5dfe79aebab8c8daca3a3ec88d54e312446fc7cf8b54ef1414cbfcb3fb25053ef31235de4b42cb14fc7352965b77ca2875c753b97b4d61178792a5484715e23a') +sha512sums=('a18cc8580a4dc7db7f4d97d70e25d76e7b98b9d328a0fa4ece4176d40fc26589149d63ffc9d2638cc35003cf485b43ae6e115aa1821c662d77f234eb3c4c0a4f') build() { cd "$srcdir"/$pkgname-$pkgver
[arch-commits] Commit in uptimed/trunk (PKGBUILD)
Date: Monday, October 1, 2018 @ 14:13:21 Author: spupykin Revision: 388866 upgpkg: uptimed 0.4.1-1 Modified: uptimed/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-10-01 14:13:13 UTC (rev 388865) +++ PKGBUILD2018-10-01 14:13:21 UTC (rev 388866) @@ -4,8 +4,8 @@ # Contributor: Tom Newsom pkgname=uptimed -pkgver=0.4.0 -pkgrel=2 +pkgver=0.4.1 +pkgrel=1 pkgdesc="A system uptime record daemon" arch=(x86_64) #url="http://podgorny.cz/uptimed/"; @@ -16,7 +16,7 @@ backup=(etc/uptimed.conf) install=$pkgname.install source=("$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/uptimed/archive/v$pkgver.tar.gz";) -sha512sums=('918cd9e065d5005daf5062f14dffb725cb6d6764aa571fd45d63de3f7349b910cbae0dedc832f9bfb52a42caea90e8aec8390685baaf0718fec827240e517900') +sha512sums=('5dfe79aebab8c8daca3a3ec88d54e312446fc7cf8b54ef1414cbfcb3fb25053ef31235de4b42cb14fc7352965b77ca2875c753b97b4d61178792a5484715e23a') build() { cd "$srcdir"/$pkgname-$pkgver
[arch-commits] Commit in uptimed/trunk (PKGBUILD)
Date: Wednesday, June 6, 2018 @ 17:25:30 Author: felixonmars Revision: 341414 upgpkg: uptimed 0.4.0-2 BUILDINFO Rebuild Modified: uptimed/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-06-06 17:25:28 UTC (rev 341413) +++ PKGBUILD2018-06-06 17:25:30 UTC (rev 341414) @@ -6,7 +6,7 @@ pkgname=uptimed pkgver=0.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="A system uptime record daemon" arch=(x86_64) #url="http://podgorny.cz/uptimed/"; @@ -17,7 +17,7 @@ backup=(etc/uptimed.conf) install=$pkgname.install source=("$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/uptimed/archive/v$pkgver.tar.gz";) -md5sums=('6c50b0671e7efed89efb4b956dc0f5e5') +sha512sums=('918cd9e065d5005daf5062f14dffb725cb6d6764aa571fd45d63de3f7349b910cbae0dedc832f9bfb52a42caea90e8aec8390685baaf0718fec827240e517900') build() { cd "$srcdir"/$pkgname-$pkgver
[arch-commits] Commit in uptimed/trunk (PKGBUILD rc.d)
Date: Monday, May 13, 2013 @ 16:40:04 Author: spupykin Revision: 90732 upgpkg: uptimed 0.3.17-3 upd Modified: uptimed/trunk/PKGBUILD Deleted: uptimed/trunk/rc.d --+ PKGBUILD | 10 -- rc.d | 39 --- 2 files changed, 4 insertions(+), 45 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-05-13 14:39:46 UTC (rev 90731) +++ PKGBUILD2013-05-13 14:40:04 UTC (rev 90732) @@ -6,7 +6,7 @@ pkgname=uptimed pkgver=0.3.17 -pkgrel=2 +pkgrel=3 pkgdesc="A system uptime record daemon" arch=(i686 x86_64) url="http://podgorny.cz/uptimed/"; @@ -16,20 +16,19 @@ options=('!libtool') install=$pkgname.install source=(http://podgorny.cz/$pkgname/releases/$pkgname-$pkgver.tar.bz2 -rc.d service) md5sums=('528b62c33454b33537c3bf2366977bdb' - '4ae90bee9fc78014a889a5072effb735' '657102b06613ddb9811427bee1973c6b') 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 @@ -40,9 +39,8 @@ package() { cd $srcdir/$pkgname-$pkgver - make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc install + make install DESTDIR=$pkgdir mv $pkgdir/etc/uptimed.conf-dist $pkgdir/etc/uptimed.conf - install -Dm755 $srcdir/rc.d $pkgdir/etc/rc.d/uptimed install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/uptimed.service } Deleted: rc.d === --- rc.d2013-05-13 14:39:46 UTC (rev 90731) +++ rc.d2013-05-13 14:40:04 UTC (rev 90732) @@ -1,39 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/sbin/uptimed` -case "$1" in - start) -stat_busy "Starting Uptimed Daemon" -[ -z "$PID" ] && /usr/sbin/uptimed -b# create the boot record -if [ $? -gt 0 ] ; then - stat_fail -else - add_daemon uptimed # create the 'state' dir - /usr/sbin/uptimed # fire up the daemon - if [ $? -gt 0 ]; then - stat_fail - fi - stat_done -fi -;; - stop) -stat_busy "Stopping Uptimed Daemon" -[ "$PID" ] && kill $PID &> /dev/null -if [ $? -gt 0 ]; then - stat_fail -else - rm_daemon uptimed # remove the 'state' dir - stat_done -fi -;; - restart) -$0 stop -$0 start -;; - *) -echo "usage: $0 {start|stop|restart}" -esac -exit 0
[arch-commits] Commit in uptimed/trunk (PKGBUILD service)
Date: Tuesday, November 4, 2014 @ 15:37:07 Author: spupykin Revision: 121824 upgpkg: uptimed 0.3.18-2 upd Modified: uptimed/trunk/PKGBUILD Deleted: uptimed/trunk/service --+ PKGBUILD | 10 -- service | 11 --- 2 files changed, 4 insertions(+), 17 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-11-04 14:33:48 UTC (rev 121823) +++ PKGBUILD2014-11-04 14:37:07 UTC (rev 121824) @@ -6,7 +6,7 @@ pkgname=uptimed pkgver=0.3.18 -pkgrel=1 +pkgrel=2 pkgdesc="A system uptime record daemon" arch=(i686 x86_64) #url="http://podgorny.cz/uptimed/"; @@ -13,12 +13,11 @@ url="https://github.com/rpodgorny/uptimed"; license=('GPL') depends=() +makedepends=('systemd') backup=(etc/uptimed.conf) install=$pkgname.install -source=("$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/uptimed/archive/v$pkgver.tar.gz"; -service) -md5sums=('f76a5f549833590e84e23b955cc1f894' - '6d1e97b9c54d622edc0bd607acbf3c10') +source=("$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/uptimed/archive/v$pkgver.tar.gz";) +md5sums=('f76a5f549833590e84e23b955cc1f894') prepare() { cd $srcdir/$pkgname-$pkgver @@ -40,5 +39,4 @@ 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 } Deleted: service === --- service 2014-11-04 14:33:48 UTC (rev 121823) +++ service 2014-11-04 14:37:07 UTC (rev 121824) @@ -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
[arch-commits] Commit in uptimed/trunk (PKGBUILD uptimed.install)
Date: Tuesday, April 7, 2015 @ 14:21:28 Author: spupykin Revision: 130882 upgpkg: uptimed 0.4.0-1 upd Modified: uptimed/trunk/PKGBUILD uptimed/trunk/uptimed.install -+ PKGBUILD| 17 - uptimed.install |8 +++- 2 files changed, 11 insertions(+), 14 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-04-07 12:21:21 UTC (rev 130881) +++ PKGBUILD2015-04-07 12:21:28 UTC (rev 130882) @@ -5,8 +5,8 @@ # Contributor: Tom Newsom pkgname=uptimed -pkgver=0.3.18 -pkgrel=2 +pkgver=0.4.0 +pkgrel=1 pkgdesc="A system uptime record daemon" arch=(i686 x86_64) #url="http://podgorny.cz/uptimed/"; @@ -17,20 +17,11 @@ backup=(etc/uptimed.conf) install=$pkgname.install source=("$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/uptimed/archive/v$pkgver.tar.gz";) -md5sums=('f76a5f549833590e84e23b955cc1f894') +md5sums=('6c50b0671e7efed89efb4b956dc0f5e5') -prepare() { - 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 -} - build() { cd $srcdir/$pkgname-$pkgver + ./autogen.sh ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin make } Modified: uptimed.install === --- uptimed.install 2015-04-07 12:21:21 UTC (rev 130881) +++ uptimed.install 2015-04-07 12:21:28 UTC (rev 130882) @@ -1,3 +1,9 @@ pre_remove() { - rm -rf var/log/uptimed + rm -rf var/spool/uptimed } + +pre_upgrade() { + if [ -d var/log/uptimed ] && [ ! -d var/spool/uptimed ]; then +mv var/log/uptimed var/spool/ + fi +}
[arch-commits] Commit in uptimed/trunk (PKGBUILD service uptimed.install)
Date: Thursday, May 23, 2013 @ 12:15:15 Author: spupykin Revision: 91503 upgpkg: uptimed 0.3.17-4 upd Modified: uptimed/trunk/PKGBUILD uptimed/trunk/service uptimed/trunk/uptimed.install -+ PKGBUILD|6 +++--- service |4 ++-- uptimed.install |6 +- 3 files changed, 6 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-05-23 10:15:09 UTC (rev 91502) +++ PKGBUILD2013-05-23 10:15:15 UTC (rev 91503) @@ -6,7 +6,7 @@ pkgname=uptimed pkgver=0.3.17 -pkgrel=3 +pkgrel=4 pkgdesc="A system uptime record daemon" arch=(i686 x86_64) url="http://podgorny.cz/uptimed/"; @@ -18,7 +18,7 @@ source=(http://podgorny.cz/$pkgname/releases/$pkgname-$pkgver.tar.bz2 service) md5sums=('528b62c33454b33537c3bf2366977bdb' - '657102b06613ddb9811427bee1973c6b') + '6d1e97b9c54d622edc0bd607acbf3c10') build() { cd $srcdir/$pkgname-$pkgver @@ -33,7 +33,7 @@ autoreconf libtoolize --force - ./configure --prefix=/usr --sysconfdir=/etc + ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin make } Modified: service === --- service 2013-05-23 10:15:09 UTC (rev 91502) +++ service 2013-05-23 10:15:15 UTC (rev 91503) @@ -4,8 +4,8 @@ [Service] Type=forking PIDFile=/var/run/uptimed -ExecStartPre=/usr/sbin/uptimed -b -ExecStart=/usr/sbin/uptimed +ExecStartPre=/usr/bin/uptimed -b +ExecStart=/usr/bin/uptimed [Install] WantedBy=multi-user.target Modified: uptimed.install === --- uptimed.install 2013-05-23 10:15:09 UTC (rev 91502) +++ uptimed.install 2013-05-23 10:15:15 UTC (rev 91503) @@ -1,7 +1,3 @@ -# arg 1: the old package version pre_remove() { - # clean up after ourselves - # - /bin/rm -rf /var/log/uptimed + rm -rf var/log/uptimed } -