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

Jelle van der Waa jelle at archlinux.org
Fri Feb 10 21:36:47 UTC 2017


    Date: Friday, February 10, 2017 @ 21:36:46
  Author: jelle
Revision: 288559

db-move: moved hefur from [staging] to [testing] (i686, x86_64)

Added:
  hefur/repos/testing-i686/
  hefur/repos/testing-i686/PKGBUILD
    (from rev 288558, hefur/repos/staging-i686/PKGBUILD)
  hefur/repos/testing-i686/hefurd.service
    (from rev 288558, hefur/repos/staging-i686/hefurd.service)
  hefur/repos/testing-i686/sysusers.conf
    (from rev 288558, hefur/repos/staging-i686/sysusers.conf)
  hefur/repos/testing-i686/tmpfiles.conf
    (from rev 288558, hefur/repos/staging-i686/tmpfiles.conf)
  hefur/repos/testing-x86_64/
  hefur/repos/testing-x86_64/PKGBUILD
    (from rev 288558, hefur/repos/staging-x86_64/PKGBUILD)
  hefur/repos/testing-x86_64/hefurd.service
    (from rev 288558, hefur/repos/staging-x86_64/hefurd.service)
  hefur/repos/testing-x86_64/sysusers.conf
    (from rev 288558, hefur/repos/staging-x86_64/sysusers.conf)
  hefur/repos/testing-x86_64/tmpfiles.conf
    (from rev 288558, hefur/repos/staging-x86_64/tmpfiles.conf)
Deleted:
  hefur/repos/staging-i686/
  hefur/repos/staging-x86_64/

-------------------------------+
 testing-i686/PKGBUILD         |   36 ++++++++++++++++++++++++++++++++++++
 testing-i686/hefurd.service   |   12 ++++++++++++
 testing-i686/sysusers.conf    |    1 +
 testing-i686/tmpfiles.conf    |    2 ++
 testing-x86_64/PKGBUILD       |   36 ++++++++++++++++++++++++++++++++++++
 testing-x86_64/hefurd.service |   12 ++++++++++++
 testing-x86_64/sysusers.conf  |    1 +
 testing-x86_64/tmpfiles.conf  |    2 ++
 8 files changed, 102 insertions(+)

Copied: hefur/repos/testing-i686/PKGBUILD (from rev 288558, hefur/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-02-10 21:36:46 UTC (rev 288559)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: Alexandre Bique <bique.alexandre at gmail.com>
+
+pkgname=hefur
+pkgver=0.4
+pkgrel=11
+pkgdesc='A standalone and lightweight BitTorrent tracker'
+arch=('i686' 'x86_64')
+url='http://github.com/abique/hefur'
+license=('MIT')
+makedepends=('cmake')
+depends=('gnutls' 'xz' 'protobuf')
+source=("https://github.com/downloads/abique/${pkgname}/${pkgname}-${pkgver}.tar.xz"
+        'hefurd.service' 'tmpfiles.conf' 'sysusers.conf')
+md5sums=('f0461363f38105140a1f119a3b97d818'
+         '3107be29769b8afde3574dc6e31d5b6a'
+         'b884385d6c87c350172427da4ba2688f'
+         '7971708a1fe25c1b51e0a05e812f17c9')
+
+build() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+	mkdir build
+	cd build
+	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+	make
+}
+
+package() {
+	cd ${srcdir}/${pkgname}-${pkgver}/build
+	DESTDIR=${pkgdir} make install
+	install -D -m644 ${srcdir}/hefurd.service ${pkgdir}/usr/lib/systemd/system/hefurd.service
+	install -D -m644 ${srcdir}/tmpfiles.conf ${pkgdir}/usr/lib/tmpfiles.d/hefurd.conf
+	install -D -m644 ${srcdir}/sysusers.conf ${pkgdir}/usr/lib/sysusers.d/hefurd.conf
+	install -D -m644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/hefur/LICENSE
+}

Copied: hefur/repos/testing-i686/hefurd.service (from rev 288558, hefur/repos/staging-i686/hefurd.service)
===================================================================
--- testing-i686/hefurd.service	                        (rev 0)
+++ testing-i686/hefurd.service	2017-02-10 21:36:46 UTC (rev 288559)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Hefur BitTorrent tracker
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/hefurd -torrent-dir /var/lib/hefurd
+User=hefur
+Group=hefur
+CPUSchedulingPolicy=batch
+
+[Install]
+WantedBy=multi-user.target

Copied: hefur/repos/testing-i686/sysusers.conf (from rev 288558, hefur/repos/staging-i686/sysusers.conf)
===================================================================
--- testing-i686/sysusers.conf	                        (rev 0)
+++ testing-i686/sysusers.conf	2017-02-10 21:36:46 UTC (rev 288559)
@@ -0,0 +1 @@
+u hefur - - /var/lib/hefurd

Copied: hefur/repos/testing-i686/tmpfiles.conf (from rev 288558, hefur/repos/staging-i686/tmpfiles.conf)
===================================================================
--- testing-i686/tmpfiles.conf	                        (rev 0)
+++ testing-i686/tmpfiles.conf	2017-02-10 21:36:46 UTC (rev 288559)
@@ -0,0 +1,2 @@
+d /run/hefur - hefur hefur -
+d /var/lib/hefurd - hefur hefur -

Copied: hefur/repos/testing-x86_64/PKGBUILD (from rev 288558, hefur/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-02-10 21:36:46 UTC (rev 288559)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: Alexandre Bique <bique.alexandre at gmail.com>
+
+pkgname=hefur
+pkgver=0.4
+pkgrel=11
+pkgdesc='A standalone and lightweight BitTorrent tracker'
+arch=('i686' 'x86_64')
+url='http://github.com/abique/hefur'
+license=('MIT')
+makedepends=('cmake')
+depends=('gnutls' 'xz' 'protobuf')
+source=("https://github.com/downloads/abique/${pkgname}/${pkgname}-${pkgver}.tar.xz"
+        'hefurd.service' 'tmpfiles.conf' 'sysusers.conf')
+md5sums=('f0461363f38105140a1f119a3b97d818'
+         '3107be29769b8afde3574dc6e31d5b6a'
+         'b884385d6c87c350172427da4ba2688f'
+         '7971708a1fe25c1b51e0a05e812f17c9')
+
+build() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+	mkdir build
+	cd build
+	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+	make
+}
+
+package() {
+	cd ${srcdir}/${pkgname}-${pkgver}/build
+	DESTDIR=${pkgdir} make install
+	install -D -m644 ${srcdir}/hefurd.service ${pkgdir}/usr/lib/systemd/system/hefurd.service
+	install -D -m644 ${srcdir}/tmpfiles.conf ${pkgdir}/usr/lib/tmpfiles.d/hefurd.conf
+	install -D -m644 ${srcdir}/sysusers.conf ${pkgdir}/usr/lib/sysusers.d/hefurd.conf
+	install -D -m644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/hefur/LICENSE
+}

Copied: hefur/repos/testing-x86_64/hefurd.service (from rev 288558, hefur/repos/staging-x86_64/hefurd.service)
===================================================================
--- testing-x86_64/hefurd.service	                        (rev 0)
+++ testing-x86_64/hefurd.service	2017-02-10 21:36:46 UTC (rev 288559)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Hefur BitTorrent tracker
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/hefurd -torrent-dir /var/lib/hefurd
+User=hefur
+Group=hefur
+CPUSchedulingPolicy=batch
+
+[Install]
+WantedBy=multi-user.target

Copied: hefur/repos/testing-x86_64/sysusers.conf (from rev 288558, hefur/repos/staging-x86_64/sysusers.conf)
===================================================================
--- testing-x86_64/sysusers.conf	                        (rev 0)
+++ testing-x86_64/sysusers.conf	2017-02-10 21:36:46 UTC (rev 288559)
@@ -0,0 +1 @@
+u hefur - - /var/lib/hefurd

Copied: hefur/repos/testing-x86_64/tmpfiles.conf (from rev 288558, hefur/repos/staging-x86_64/tmpfiles.conf)
===================================================================
--- testing-x86_64/tmpfiles.conf	                        (rev 0)
+++ testing-x86_64/tmpfiles.conf	2017-02-10 21:36:46 UTC (rev 288559)
@@ -0,0 +1,2 @@
+d /run/hefur - hefur hefur -
+d /var/lib/hefurd - hefur hefur -



More information about the arch-commits mailing list