[arch-commits] Commit in uptimed/repos (14 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 10:40:26 EDT 2013


    Date: Monday, May 13, 2013 @ 16:40:26
  Author: spupykin
Revision: 90733

archrelease: copy trunk to community-i686, community-x86_64

Added:
  uptimed/repos/community-i686/PKGBUILD
    (from rev 90732, uptimed/trunk/PKGBUILD)
  uptimed/repos/community-i686/service
    (from rev 90732, uptimed/trunk/service)
  uptimed/repos/community-i686/uptimed.install
    (from rev 90732, uptimed/trunk/uptimed.install)
  uptimed/repos/community-x86_64/PKGBUILD
    (from rev 90732, uptimed/trunk/PKGBUILD)
  uptimed/repos/community-x86_64/service
    (from rev 90732, uptimed/trunk/service)
  uptimed/repos/community-x86_64/uptimed.install
    (from rev 90732, uptimed/trunk/uptimed.install)
Deleted:
  uptimed/repos/community-i686/PKGBUILD
  uptimed/repos/community-i686/rc.d
  uptimed/repos/community-i686/service
  uptimed/repos/community-i686/uptimed.install
  uptimed/repos/community-x86_64/PKGBUILD
  uptimed/repos/community-x86_64/rc.d
  uptimed/repos/community-x86_64/service
  uptimed/repos/community-x86_64/uptimed.install

----------------------------------+
 /PKGBUILD                        |   92 +++++++++++++++++++++++++++++++++++++
 /service                         |   22 ++++++++
 /uptimed.install                 |   14 +++++
 community-i686/PKGBUILD          |   48 -------------------
 community-i686/rc.d              |   39 ---------------
 community-i686/service           |   11 ----
 community-i686/uptimed.install   |    7 --
 community-x86_64/PKGBUILD        |   48 -------------------
 community-x86_64/rc.d            |   39 ---------------
 community-x86_64/service         |   11 ----
 community-x86_64/uptimed.install |    7 --
 11 files changed, 128 insertions(+), 210 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-05-13 14:40:04 UTC (rev 90732)
+++ community-i686/PKGBUILD	2013-05-13 14:40:26 UTC (rev 90733)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer:  Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
-# Contributor: Tom Killian <tomk at runbox.com>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=uptimed
-pkgver=0.3.17
-pkgrel=2
-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
-        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|$pkgdir/var/log/uptimed|" $M
-  done
-  sed -i 's|spool|log|' libuptimed/urec.h
-
-  autoreconf
-  libtoolize --force
-
-  ./configure --prefix=/usr --sysconfdir=/etc
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc install
-
-  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
-}

Copied: uptimed/repos/community-i686/PKGBUILD (from rev 90732, uptimed/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-05-13 14:40:26 UTC (rev 90733)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer:  Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Tom Killian <tomk at runbox.com>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=uptimed
+pkgver=0.3.17
+pkgrel=3
+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'
+         '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
+
+  ./configure --prefix=/usr --sysconfdir=/etc
+  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
+}

Deleted: community-i686/rc.d
===================================================================
--- community-i686/rc.d	2013-05-13 14:40:04 UTC (rev 90732)
+++ community-i686/rc.d	2013-05-13 14:40:26 UTC (rev 90733)
@@ -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

Deleted: community-i686/service
===================================================================
--- community-i686/service	2013-05-13 14:40:04 UTC (rev 90732)
+++ community-i686/service	2013-05-13 14:40:26 UTC (rev 90733)
@@ -1,11 +0,0 @@
-[Unit]
-Description=System uptime record daemon
-
-[Service]
-Type=forking
-PIDFile=/var/run/uptimed
-ExecStartPre=/usr/sbin/uptimed -b
-ExecStart=/usr/sbin/uptimed
-
-[Install]
-WantedBy=multi-user.target

Copied: uptimed/repos/community-i686/service (from rev 90732, uptimed/trunk/service)
===================================================================
--- community-i686/service	                        (rev 0)
+++ community-i686/service	2013-05-13 14:40:26 UTC (rev 90733)
@@ -0,0 +1,11 @@
+[Unit]
+Description=System uptime record daemon
+
+[Service]
+Type=forking
+PIDFile=/var/run/uptimed
+ExecStartPre=/usr/sbin/uptimed -b
+ExecStart=/usr/sbin/uptimed
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-i686/uptimed.install
===================================================================
--- community-i686/uptimed.install	2013-05-13 14:40:04 UTC (rev 90732)
+++ community-i686/uptimed.install	2013-05-13 14:40:26 UTC (rev 90733)
@@ -1,7 +0,0 @@
-# arg 1: the old package version
-pre_remove() {
-	# clean up after ourselves
-	#
-	/bin/rm -rf /var/log/uptimed
-}
-

Copied: uptimed/repos/community-i686/uptimed.install (from rev 90732, uptimed/trunk/uptimed.install)
===================================================================
--- community-i686/uptimed.install	                        (rev 0)
+++ community-i686/uptimed.install	2013-05-13 14:40:26 UTC (rev 90733)
@@ -0,0 +1,7 @@
+# arg 1: the old package version
+pre_remove() {
+	# clean up after ourselves
+	#
+	/bin/rm -rf /var/log/uptimed
+}
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-05-13 14:40:04 UTC (rev 90732)
+++ community-x86_64/PKGBUILD	2013-05-13 14:40:26 UTC (rev 90733)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer:  Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
-# Contributor: Tom Killian <tomk at runbox.com>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=uptimed
-pkgver=0.3.17
-pkgrel=2
-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
-        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|$pkgdir/var/log/uptimed|" $M
-  done
-  sed -i 's|spool|log|' libuptimed/urec.h
-
-  autoreconf
-  libtoolize --force
-
-  ./configure --prefix=/usr --sysconfdir=/etc
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc install
-
-  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
-}

Copied: uptimed/repos/community-x86_64/PKGBUILD (from rev 90732, uptimed/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-05-13 14:40:26 UTC (rev 90733)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer:  Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Tom Killian <tomk at runbox.com>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=uptimed
+pkgver=0.3.17
+pkgrel=3
+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'
+         '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
+
+  ./configure --prefix=/usr --sysconfdir=/etc
+  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
+}

Deleted: community-x86_64/rc.d
===================================================================
--- community-x86_64/rc.d	2013-05-13 14:40:04 UTC (rev 90732)
+++ community-x86_64/rc.d	2013-05-13 14:40:26 UTC (rev 90733)
@@ -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

Deleted: community-x86_64/service
===================================================================
--- community-x86_64/service	2013-05-13 14:40:04 UTC (rev 90732)
+++ community-x86_64/service	2013-05-13 14:40:26 UTC (rev 90733)
@@ -1,11 +0,0 @@
-[Unit]
-Description=System uptime record daemon
-
-[Service]
-Type=forking
-PIDFile=/var/run/uptimed
-ExecStartPre=/usr/sbin/uptimed -b
-ExecStart=/usr/sbin/uptimed
-
-[Install]
-WantedBy=multi-user.target

Copied: uptimed/repos/community-x86_64/service (from rev 90732, uptimed/trunk/service)
===================================================================
--- community-x86_64/service	                        (rev 0)
+++ community-x86_64/service	2013-05-13 14:40:26 UTC (rev 90733)
@@ -0,0 +1,11 @@
+[Unit]
+Description=System uptime record daemon
+
+[Service]
+Type=forking
+PIDFile=/var/run/uptimed
+ExecStartPre=/usr/sbin/uptimed -b
+ExecStart=/usr/sbin/uptimed
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/uptimed.install
===================================================================
--- community-x86_64/uptimed.install	2013-05-13 14:40:04 UTC (rev 90732)
+++ community-x86_64/uptimed.install	2013-05-13 14:40:26 UTC (rev 90733)
@@ -1,7 +0,0 @@
-# arg 1: the old package version
-pre_remove() {
-	# clean up after ourselves
-	#
-	/bin/rm -rf /var/log/uptimed
-}
-

Copied: uptimed/repos/community-x86_64/uptimed.install (from rev 90732, uptimed/trunk/uptimed.install)
===================================================================
--- community-x86_64/uptimed.install	                        (rev 0)
+++ community-x86_64/uptimed.install	2013-05-13 14:40:26 UTC (rev 90733)
@@ -0,0 +1,7 @@
+# arg 1: the old package version
+pre_remove() {
+	# clean up after ourselves
+	#
+	/bin/rm -rf /var/log/uptimed
+}
+



More information about the arch-commits mailing list