[arch-commits] Commit in apcupsd/repos (12 files)

Florian Pritz bluewind at archlinux.org
Fri Oct 10 23:03:29 UTC 2014


    Date: Saturday, October 11, 2014 @ 01:03:28
  Author: bluewind
Revision: 120501

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

Added:
  apcupsd/repos/community-i686/PKGBUILD
    (from rev 120500, apcupsd/trunk/PKGBUILD)
  apcupsd/repos/community-i686/apcupsd-tmpfiles.conf
    (from rev 120500, apcupsd/trunk/apcupsd-tmpfiles.conf)
  apcupsd/repos/community-i686/apcupsd.service
    (from rev 120500, apcupsd/trunk/apcupsd.service)
  apcupsd/repos/community-x86_64/PKGBUILD
    (from rev 120500, apcupsd/trunk/PKGBUILD)
  apcupsd/repos/community-x86_64/apcupsd-tmpfiles.conf
    (from rev 120500, apcupsd/trunk/apcupsd-tmpfiles.conf)
  apcupsd/repos/community-x86_64/apcupsd.service
    (from rev 120500, apcupsd/trunk/apcupsd.service)
Deleted:
  apcupsd/repos/community-i686/PKGBUILD
  apcupsd/repos/community-i686/apcupsd-tmpfiles.conf
  apcupsd/repos/community-i686/apcupsd.service
  apcupsd/repos/community-x86_64/PKGBUILD
  apcupsd/repos/community-x86_64/apcupsd-tmpfiles.conf
  apcupsd/repos/community-x86_64/apcupsd.service

----------------------------------------+
 /PKGBUILD                              |  130 +++++++++++++++++++++++++++++++
 /apcupsd-tmpfiles.conf                 |    6 +
 /apcupsd.service                       |   16 +++
 community-i686/PKGBUILD                |   62 --------------
 community-i686/apcupsd-tmpfiles.conf   |    2 
 community-i686/apcupsd.service         |    8 -
 community-x86_64/PKGBUILD              |   62 --------------
 community-x86_64/apcupsd-tmpfiles.conf |    2 
 community-x86_64/apcupsd.service       |    8 -
 9 files changed, 152 insertions(+), 144 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-10-10 23:03:19 UTC (rev 120500)
+++ community-i686/PKGBUILD	2014-10-10 23:03:28 UTC (rev 120501)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Todd Musall <tmusall at comcast.net>
-# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=apcupsd
-pkgver=3.14.12
-pkgrel=2
-pkgdesc="Power mangement and controlling most of APC's UPS models"
-arch=(i686 x86_64)
-url="http://www.apcupsd.org"
-license=('GPL')
-depends=('gcc-libs' 'systemd-sysvcompat')
-optdepends=('gd: for CGI'
-            'gconf: for frontend'
-            'gtk2: for frontend')
-makedepends=('pkgconfig' 'gd' 'gconf' 'gtk2')
-backup=(etc/apcupsd/apcupsd.conf
-        etc/apcupsd/hosts.conf
-        etc/apcupsd/multimon.conf
-        etc/apcupsd/apcupsd.css
-        etc/apcupsd/changeme
-        etc/apcupsd/commfailure
-        etc/apcupsd/commok
-        etc/apcupsd/offbattery
-        etc/apcupsd/onbattery
-        etc/apcupsd/apccontrol)
-source=(http://downloads.sourceforge.net/apcupsd/$pkgname-$pkgver.tar.gz{,.sig}
-        apcupsd.service
-        apcupsd-tmpfiles.conf)
-sha256sums=('1b4f703cb19cfdf44daf173dc8394cafd30fee0b30a0c75a7d19db622454a440'
-            'SKIP'
-            '145e88863335f077fc354b4d263b15f64af67b45a10ed37c68ebd468181e23f7'
-            'b00cd1a31de70a172698d486583aa79113b99c1bb4b882ab906d0e37504d7f55')
-
-build() {
-	cd "$srcdir/$pkgname-$pkgver"
-	./configure --prefix=/usr  --libexecdir=/usr/lib/$pkgname \
-		--sbindir=/usr/bin \
-		--enable-cgi --enable-usb --enable-net \
-		--with-upstype=usb --with-upscable=usb \
-		--with-serial-dev=/dev/usb/hid/hiddev[0-9] \
-		--enable-pthreads --enable-gapcmon
-	make
-}
-
-package() {
-	cd "$srcdir/$pkgname-$pkgver"
-
-	make DESTDIR="$pkgdir" install
-
-	install -Dm644 "$srcdir/apcupsd.service" "$pkgdir/usr/lib/systemd/system/apcupsd.service"
-	install -Dm644 "$srcdir/apcupsd-tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/apcupsd.conf"
-
-	chmod 755 "$pkgdir"/usr/bin/*
-
-	install -dm755 "$pkgdir/usr/lib/$pkgname/cgi-bin"
-	mv "$pkgdir"/etc/apcupsd/*.cgi "$pkgdir/usr/lib/$pkgname/cgi-bin"
-
-	rm -rf "$pkgdir/usr/share/hal"
-}

Copied: apcupsd/repos/community-i686/PKGBUILD (from rev 120500, apcupsd/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-10-10 23:03:28 UTC (rev 120501)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Todd Musall <tmusall at comcast.net>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=apcupsd
+pkgver=3.14.12
+pkgrel=3
+pkgdesc="Power mangement and controlling most of APC's UPS models"
+arch=(i686 x86_64)
+url="http://www.apcupsd.org"
+license=('GPL')
+depends=('gcc-libs' 'systemd-sysvcompat')
+optdepends=('gd: for CGI'
+            'gconf: for frontend'
+            'gtk2: for frontend')
+makedepends=('pkgconfig' 'gd' 'gconf' 'gtk2')
+backup=(etc/apcupsd/apcupsd.conf
+        etc/apcupsd/hosts.conf
+        etc/apcupsd/multimon.conf
+        etc/apcupsd/apcupsd.css
+        etc/apcupsd/changeme
+        etc/apcupsd/commfailure
+        etc/apcupsd/commok
+        etc/apcupsd/offbattery
+        etc/apcupsd/onbattery
+        etc/apcupsd/apccontrol)
+source=(http://downloads.sourceforge.net/apcupsd/$pkgname-$pkgver.tar.gz{,.sig}
+        apcupsd.service
+        apcupsd-tmpfiles.conf)
+sha256sums=('1b4f703cb19cfdf44daf173dc8394cafd30fee0b30a0c75a7d19db622454a440'
+            'SKIP'
+            '145e88863335f077fc354b4d263b15f64af67b45a10ed37c68ebd468181e23f7'
+            'a4474cfcd607c5e9b64e27eec7cbc2b0bcf08c8ea37fd1f0f28e98ac2883fd4f')
+validpgpkeys=(635B9D943945DCA05BE9AB0A24E84804A57B2D90)
+
+build() {
+	cd "$srcdir/$pkgname-$pkgver"
+	./configure --prefix=/usr  --libexecdir=/usr/lib/$pkgname \
+		--sbindir=/usr/bin \
+		--enable-cgi --enable-usb --enable-net \
+		--with-upstype=usb --with-upscable=usb \
+		--with-serial-dev=/dev/usb/hid/hiddev[0-9] \
+		--enable-pthreads --enable-gapcmon
+	make
+}
+
+package() {
+	cd "$srcdir/$pkgname-$pkgver"
+
+	make DESTDIR="$pkgdir" install
+
+	sed -i 's#^LOCKFILE .*$#LOCKFILE /run/apcupsd#' "$pkgdir/etc/apcupsd/apcupsd.conf"
+
+	install -Dm644 "$srcdir/apcupsd.service" "$pkgdir/usr/lib/systemd/system/apcupsd.service"
+	install -Dm644 "$srcdir/apcupsd-tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/apcupsd.conf"
+
+	chmod 755 "$pkgdir"/usr/bin/*
+
+	install -dm755 "$pkgdir/usr/lib/$pkgname/cgi-bin"
+	mv "$pkgdir"/etc/apcupsd/*.cgi "$pkgdir/usr/lib/$pkgname/cgi-bin"
+
+	rm -rf "$pkgdir/usr/share/hal"
+}

Deleted: community-i686/apcupsd-tmpfiles.conf
===================================================================
--- community-i686/apcupsd-tmpfiles.conf	2014-10-10 23:03:19 UTC (rev 120500)
+++ community-i686/apcupsd-tmpfiles.conf	2014-10-10 23:03:28 UTC (rev 120501)
@@ -1,2 +0,0 @@
-r /etc/apcupsd/powerfail
-r /etc/nologin
\ No newline at end of file

Copied: apcupsd/repos/community-i686/apcupsd-tmpfiles.conf (from rev 120500, apcupsd/trunk/apcupsd-tmpfiles.conf)
===================================================================
--- community-i686/apcupsd-tmpfiles.conf	                        (rev 0)
+++ community-i686/apcupsd-tmpfiles.conf	2014-10-10 23:03:28 UTC (rev 120501)
@@ -0,0 +1,3 @@
+r /etc/apcupsd/powerfail
+r /etc/nologin
+d /run/apcupsd 0755 root root

Deleted: community-i686/apcupsd.service
===================================================================
--- community-i686/apcupsd.service	2014-10-10 23:03:19 UTC (rev 120500)
+++ community-i686/apcupsd.service	2014-10-10 23:03:28 UTC (rev 120501)
@@ -1,8 +0,0 @@
-[Unit]
-Description=APC UPS Monitor
-
-[Service]
-ExecStart=/usr/bin/apcupsd -b
-
-[Install]
-WantedBy=multi-user.target

Copied: apcupsd/repos/community-i686/apcupsd.service (from rev 120500, apcupsd/trunk/apcupsd.service)
===================================================================
--- community-i686/apcupsd.service	                        (rev 0)
+++ community-i686/apcupsd.service	2014-10-10 23:03:28 UTC (rev 120501)
@@ -0,0 +1,8 @@
+[Unit]
+Description=APC UPS Monitor
+
+[Service]
+ExecStart=/usr/bin/apcupsd -b
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-10-10 23:03:19 UTC (rev 120500)
+++ community-x86_64/PKGBUILD	2014-10-10 23:03:28 UTC (rev 120501)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Todd Musall <tmusall at comcast.net>
-# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=apcupsd
-pkgver=3.14.12
-pkgrel=2
-pkgdesc="Power mangement and controlling most of APC's UPS models"
-arch=(i686 x86_64)
-url="http://www.apcupsd.org"
-license=('GPL')
-depends=('gcc-libs' 'systemd-sysvcompat')
-optdepends=('gd: for CGI'
-            'gconf: for frontend'
-            'gtk2: for frontend')
-makedepends=('pkgconfig' 'gd' 'gconf' 'gtk2')
-backup=(etc/apcupsd/apcupsd.conf
-        etc/apcupsd/hosts.conf
-        etc/apcupsd/multimon.conf
-        etc/apcupsd/apcupsd.css
-        etc/apcupsd/changeme
-        etc/apcupsd/commfailure
-        etc/apcupsd/commok
-        etc/apcupsd/offbattery
-        etc/apcupsd/onbattery
-        etc/apcupsd/apccontrol)
-source=(http://downloads.sourceforge.net/apcupsd/$pkgname-$pkgver.tar.gz{,.sig}
-        apcupsd.service
-        apcupsd-tmpfiles.conf)
-sha256sums=('1b4f703cb19cfdf44daf173dc8394cafd30fee0b30a0c75a7d19db622454a440'
-            'SKIP'
-            '145e88863335f077fc354b4d263b15f64af67b45a10ed37c68ebd468181e23f7'
-            'b00cd1a31de70a172698d486583aa79113b99c1bb4b882ab906d0e37504d7f55')
-
-build() {
-	cd "$srcdir/$pkgname-$pkgver"
-	./configure --prefix=/usr  --libexecdir=/usr/lib/$pkgname \
-		--sbindir=/usr/bin \
-		--enable-cgi --enable-usb --enable-net \
-		--with-upstype=usb --with-upscable=usb \
-		--with-serial-dev=/dev/usb/hid/hiddev[0-9] \
-		--enable-pthreads --enable-gapcmon
-	make
-}
-
-package() {
-	cd "$srcdir/$pkgname-$pkgver"
-
-	make DESTDIR="$pkgdir" install
-
-	install -Dm644 "$srcdir/apcupsd.service" "$pkgdir/usr/lib/systemd/system/apcupsd.service"
-	install -Dm644 "$srcdir/apcupsd-tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/apcupsd.conf"
-
-	chmod 755 "$pkgdir"/usr/bin/*
-
-	install -dm755 "$pkgdir/usr/lib/$pkgname/cgi-bin"
-	mv "$pkgdir"/etc/apcupsd/*.cgi "$pkgdir/usr/lib/$pkgname/cgi-bin"
-
-	rm -rf "$pkgdir/usr/share/hal"
-}

Copied: apcupsd/repos/community-x86_64/PKGBUILD (from rev 120500, apcupsd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-10-10 23:03:28 UTC (rev 120501)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Todd Musall <tmusall at comcast.net>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=apcupsd
+pkgver=3.14.12
+pkgrel=3
+pkgdesc="Power mangement and controlling most of APC's UPS models"
+arch=(i686 x86_64)
+url="http://www.apcupsd.org"
+license=('GPL')
+depends=('gcc-libs' 'systemd-sysvcompat')
+optdepends=('gd: for CGI'
+            'gconf: for frontend'
+            'gtk2: for frontend')
+makedepends=('pkgconfig' 'gd' 'gconf' 'gtk2')
+backup=(etc/apcupsd/apcupsd.conf
+        etc/apcupsd/hosts.conf
+        etc/apcupsd/multimon.conf
+        etc/apcupsd/apcupsd.css
+        etc/apcupsd/changeme
+        etc/apcupsd/commfailure
+        etc/apcupsd/commok
+        etc/apcupsd/offbattery
+        etc/apcupsd/onbattery
+        etc/apcupsd/apccontrol)
+source=(http://downloads.sourceforge.net/apcupsd/$pkgname-$pkgver.tar.gz{,.sig}
+        apcupsd.service
+        apcupsd-tmpfiles.conf)
+sha256sums=('1b4f703cb19cfdf44daf173dc8394cafd30fee0b30a0c75a7d19db622454a440'
+            'SKIP'
+            '145e88863335f077fc354b4d263b15f64af67b45a10ed37c68ebd468181e23f7'
+            'a4474cfcd607c5e9b64e27eec7cbc2b0bcf08c8ea37fd1f0f28e98ac2883fd4f')
+validpgpkeys=(635B9D943945DCA05BE9AB0A24E84804A57B2D90)
+
+build() {
+	cd "$srcdir/$pkgname-$pkgver"
+	./configure --prefix=/usr  --libexecdir=/usr/lib/$pkgname \
+		--sbindir=/usr/bin \
+		--enable-cgi --enable-usb --enable-net \
+		--with-upstype=usb --with-upscable=usb \
+		--with-serial-dev=/dev/usb/hid/hiddev[0-9] \
+		--enable-pthreads --enable-gapcmon
+	make
+}
+
+package() {
+	cd "$srcdir/$pkgname-$pkgver"
+
+	make DESTDIR="$pkgdir" install
+
+	sed -i 's#^LOCKFILE .*$#LOCKFILE /run/apcupsd#' "$pkgdir/etc/apcupsd/apcupsd.conf"
+
+	install -Dm644 "$srcdir/apcupsd.service" "$pkgdir/usr/lib/systemd/system/apcupsd.service"
+	install -Dm644 "$srcdir/apcupsd-tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/apcupsd.conf"
+
+	chmod 755 "$pkgdir"/usr/bin/*
+
+	install -dm755 "$pkgdir/usr/lib/$pkgname/cgi-bin"
+	mv "$pkgdir"/etc/apcupsd/*.cgi "$pkgdir/usr/lib/$pkgname/cgi-bin"
+
+	rm -rf "$pkgdir/usr/share/hal"
+}

Deleted: community-x86_64/apcupsd-tmpfiles.conf
===================================================================
--- community-x86_64/apcupsd-tmpfiles.conf	2014-10-10 23:03:19 UTC (rev 120500)
+++ community-x86_64/apcupsd-tmpfiles.conf	2014-10-10 23:03:28 UTC (rev 120501)
@@ -1,2 +0,0 @@
-r /etc/apcupsd/powerfail
-r /etc/nologin
\ No newline at end of file

Copied: apcupsd/repos/community-x86_64/apcupsd-tmpfiles.conf (from rev 120500, apcupsd/trunk/apcupsd-tmpfiles.conf)
===================================================================
--- community-x86_64/apcupsd-tmpfiles.conf	                        (rev 0)
+++ community-x86_64/apcupsd-tmpfiles.conf	2014-10-10 23:03:28 UTC (rev 120501)
@@ -0,0 +1,3 @@
+r /etc/apcupsd/powerfail
+r /etc/nologin
+d /run/apcupsd 0755 root root

Deleted: community-x86_64/apcupsd.service
===================================================================
--- community-x86_64/apcupsd.service	2014-10-10 23:03:19 UTC (rev 120500)
+++ community-x86_64/apcupsd.service	2014-10-10 23:03:28 UTC (rev 120501)
@@ -1,8 +0,0 @@
-[Unit]
-Description=APC UPS Monitor
-
-[Service]
-ExecStart=/usr/bin/apcupsd -b
-
-[Install]
-WantedBy=multi-user.target

Copied: apcupsd/repos/community-x86_64/apcupsd.service (from rev 120500, apcupsd/trunk/apcupsd.service)
===================================================================
--- community-x86_64/apcupsd.service	                        (rev 0)
+++ community-x86_64/apcupsd.service	2014-10-10 23:03:28 UTC (rev 120501)
@@ -0,0 +1,8 @@
+[Unit]
+Description=APC UPS Monitor
+
+[Service]
+ExecStart=/usr/bin/apcupsd -b
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list