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

Sergej Pupykin spupykin at archlinux.org
Tue Apr 7 12:21:41 UTC 2015


    Date: Tuesday, April 7, 2015 @ 14:21:41
  Author: spupykin
Revision: 130883

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

Added:
  uptimed/repos/community-i686/PKGBUILD
    (from rev 130882, uptimed/trunk/PKGBUILD)
  uptimed/repos/community-i686/uptimed.install
    (from rev 130882, uptimed/trunk/uptimed.install)
  uptimed/repos/community-x86_64/PKGBUILD
    (from rev 130882, uptimed/trunk/PKGBUILD)
  uptimed/repos/community-x86_64/uptimed.install
    (from rev 130882, uptimed/trunk/uptimed.install)
Deleted:
  uptimed/repos/community-i686/PKGBUILD
  uptimed/repos/community-i686/uptimed.install
  uptimed/repos/community-x86_64/PKGBUILD
  uptimed/repos/community-x86_64/uptimed.install

----------------------------------+
 /PKGBUILD                        |   66 +++++++++++++++++++++++++++++++++++++
 /uptimed.install                 |   18 ++++++++++
 community-i686/PKGBUILD          |   42 -----------------------
 community-i686/uptimed.install   |    3 -
 community-x86_64/PKGBUILD        |   42 -----------------------
 community-x86_64/uptimed.install |    3 -
 6 files changed, 84 insertions(+), 90 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-04-07 12:21:28 UTC (rev 130882)
+++ community-i686/PKGBUILD	2015-04-07 12:21:41 UTC (rev 130883)
@@ -1,42 +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.18
-pkgrel=2
-pkgdesc="A system uptime record daemon"
-arch=(i686 x86_64)
-#url="http://podgorny.cz/uptimed/"
-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")
-md5sums=('f76a5f549833590e84e23b955cc1f894')
-
-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
-  ./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
-}

Copied: uptimed/repos/community-i686/PKGBUILD (from rev 130882, uptimed/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-04-07 12:21:41 UTC (rev 130883)
@@ -0,0 +1,33 @@
+# $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.4.0
+pkgrel=1
+pkgdesc="A system uptime record daemon"
+arch=(i686 x86_64)
+#url="http://podgorny.cz/uptimed/"
+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")
+md5sums=('6c50b0671e7efed89efb4b956dc0f5e5')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./autogen.sh
+  ./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
+}

Deleted: community-i686/uptimed.install
===================================================================
--- community-i686/uptimed.install	2015-04-07 12:21:28 UTC (rev 130882)
+++ community-i686/uptimed.install	2015-04-07 12:21:41 UTC (rev 130883)
@@ -1,3 +0,0 @@
-pre_remove() {
-  rm -rf var/log/uptimed
-}

Copied: uptimed/repos/community-i686/uptimed.install (from rev 130882, uptimed/trunk/uptimed.install)
===================================================================
--- community-i686/uptimed.install	                        (rev 0)
+++ community-i686/uptimed.install	2015-04-07 12:21:41 UTC (rev 130883)
@@ -0,0 +1,9 @@
+pre_remove() {
+  rm -rf var/spool/uptimed
+}
+
+pre_upgrade() {
+  if [ -d var/log/uptimed ] && [ ! -d var/spool/uptimed ]; then
+    mv var/log/uptimed var/spool/
+  fi
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-04-07 12:21:28 UTC (rev 130882)
+++ community-x86_64/PKGBUILD	2015-04-07 12:21:41 UTC (rev 130883)
@@ -1,42 +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.18
-pkgrel=2
-pkgdesc="A system uptime record daemon"
-arch=(i686 x86_64)
-#url="http://podgorny.cz/uptimed/"
-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")
-md5sums=('f76a5f549833590e84e23b955cc1f894')
-
-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
-  ./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
-}

Copied: uptimed/repos/community-x86_64/PKGBUILD (from rev 130882, uptimed/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-04-07 12:21:41 UTC (rev 130883)
@@ -0,0 +1,33 @@
+# $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.4.0
+pkgrel=1
+pkgdesc="A system uptime record daemon"
+arch=(i686 x86_64)
+#url="http://podgorny.cz/uptimed/"
+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")
+md5sums=('6c50b0671e7efed89efb4b956dc0f5e5')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./autogen.sh
+  ./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
+}

Deleted: community-x86_64/uptimed.install
===================================================================
--- community-x86_64/uptimed.install	2015-04-07 12:21:28 UTC (rev 130882)
+++ community-x86_64/uptimed.install	2015-04-07 12:21:41 UTC (rev 130883)
@@ -1,3 +0,0 @@
-pre_remove() {
-  rm -rf var/log/uptimed
-}

Copied: uptimed/repos/community-x86_64/uptimed.install (from rev 130882, uptimed/trunk/uptimed.install)
===================================================================
--- community-x86_64/uptimed.install	                        (rev 0)
+++ community-x86_64/uptimed.install	2015-04-07 12:21:41 UTC (rev 130883)
@@ -0,0 +1,9 @@
+pre_remove() {
+  rm -rf var/spool/uptimed
+}
+
+pre_upgrade() {
+  if [ -d var/log/uptimed ] && [ ! -d var/spool/uptimed ]; then
+    mv var/log/uptimed var/spool/
+  fi
+}



More information about the arch-commits mailing list