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

Antonio Rojas arojas at archlinux.org
Thu Jun 15 07:09:32 UTC 2017


    Date: Thursday, June 15, 2017 @ 07:09:32
  Author: arojas
Revision: 237108

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

Added:
  amule/repos/community-testing-i686/
  amule/repos/community-testing-i686/PKGBUILD
    (from rev 237107, amule/trunk/PKGBUILD)
  amule/repos/community-testing-i686/amule.install
    (from rev 237107, amule/trunk/amule.install)
  amule/repos/community-testing-i686/amule.sysusers
    (from rev 237107, amule/trunk/amule.sysusers)
  amule/repos/community-testing-i686/amule.tmpfiles
    (from rev 237107, amule/trunk/amule.tmpfiles)
  amule/repos/community-testing-i686/amuled.systemd
    (from rev 237107, amule/trunk/amuled.systemd)
  amule/repos/community-testing-i686/amuleweb.systemd
    (from rev 237107, amule/trunk/amuleweb.systemd)
  amule/repos/community-testing-x86_64/
  amule/repos/community-testing-x86_64/PKGBUILD
    (from rev 237107, amule/trunk/PKGBUILD)
  amule/repos/community-testing-x86_64/amule.install
    (from rev 237107, amule/trunk/amule.install)
  amule/repos/community-testing-x86_64/amule.sysusers
    (from rev 237107, amule/trunk/amule.sysusers)
  amule/repos/community-testing-x86_64/amule.tmpfiles
    (from rev 237107, amule/trunk/amule.tmpfiles)
  amule/repos/community-testing-x86_64/amuled.systemd
    (from rev 237107, amule/trunk/amuled.systemd)
  amule/repos/community-testing-x86_64/amuleweb.systemd
    (from rev 237107, amule/trunk/amuleweb.systemd)

-------------------------------------------+
 community-testing-i686/PKGBUILD           |   59 ++++++++++++++++++++++++++++
 community-testing-i686/amule.install      |   17 ++++++++
 community-testing-i686/amule.sysusers     |    2 
 community-testing-i686/amule.tmpfiles     |    1 
 community-testing-i686/amuled.systemd     |   11 +++++
 community-testing-i686/amuleweb.systemd   |   13 ++++++
 community-testing-x86_64/PKGBUILD         |   59 ++++++++++++++++++++++++++++
 community-testing-x86_64/amule.install    |   17 ++++++++
 community-testing-x86_64/amule.sysusers   |    2 
 community-testing-x86_64/amule.tmpfiles   |    1 
 community-testing-x86_64/amuled.systemd   |   11 +++++
 community-testing-x86_64/amuleweb.systemd |   13 ++++++
 12 files changed, 206 insertions(+)

Copied: amule/repos/community-testing-i686/PKGBUILD (from rev 237107, amule/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-06-15 07:09:32 UTC (rev 237108)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Henrik Ronellenfitsch <searinox at web.de>
+# Contributor: Alessio Sergi <sergi.alessio {at} gmail.com>
+# Contributor: Dario 'Dax' Vilardi <dax [at] deelab [dot] org>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=amule
+pkgver=10990
+pkgrel=2
+pkgdesc="An eMule-like client for ed2k p2p network"
+arch=(i686 x86_64)
+url="http://www.amule.org"
+license=(GPL)
+depends=(wxgtk2 gd geoip libupnp crypto++ boost-libs)
+makedepends=(git ccache boost)
+install=amule.install
+source=("git://repo.or.cz/amule.git#tag=amule-svn-r$pkgver"
+        amuled.systemd amuleweb.systemd amule.sysusers amule.tmpfiles)
+sha256sums=('SKIP'
+            '527a2cca6d56b8269722aafc77a89734f59a929f946f342bd0f69b256f9c7522'
+            'f4f43b1154ddccc9036a4291a58c6715f097b171fec62ea7aead0c9d9fa654f2'
+            'bb25648a121c85f8b2d9b83ccfa691a5f1f475aeaae4570ecde7581baa3bf0ac'
+            'e9d1b7019c7075b0f8616c6507a767b87de8f899936680e9ff5829d8cbba224d')
+
+build() {
+  cd amule
+
+  ./configure --prefix=/usr \
+              --mandir=/usr/share/man \
+              --enable-cas \
+              --enable-wxcas \
+              --enable-amule-daemon \
+              --enable-amulecmd \
+              --enable-amule-gui \
+              --enable-alc \
+              --enable-alcc \
+              --enable-webserver \
+              --disable-debug \
+              --enable-optimize \
+              --enable-ccache \
+              --enable-geoip \
+              --enable-upnp \
+              --with-boost
+  make
+}
+
+package() {
+  cd amule
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir"/amuled.systemd "$pkgdir"/usr/lib/systemd/system/amuled.service
+  install -Dm644 "$srcdir"/amuleweb.systemd "$pkgdir"/usr/lib/systemd/system/amuleweb.service
+  install -Dm644 "$srcdir"/amule.sysusers "$pkgdir"/usr/lib/sysusers.d/amule.conf
+  install -Dm644 "$srcdir"/amule.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/amule.conf
+
+}

Copied: amule/repos/community-testing-i686/amule.install (from rev 237107, amule/trunk/amule.install)
===================================================================
--- community-testing-i686/amule.install	                        (rev 0)
+++ community-testing-i686/amule.install	2017-06-15 07:09:32 UTC (rev 237108)
@@ -0,0 +1,17 @@
+post_install() {
+  post_upgrade
+}
+
+_config_instructions() {
+  echo "If you plan to use external client (e.g. amuleGUI or amuleweb) then you need to"
+  echo "provide [ExternalConnect] configuration."
+  echo "You also need to specify amuleweb password."
+  echo "Please follow https://wiki.archlinux.org/index.php/AMule for more information."
+  echo "amuleweb can be started as 'systemctl start amuleweb'."
+}
+
+post_upgrade() {
+  if [ ! -e /var/lib/amule/.aMule/amule.conf ]; then
+    _config_instructions
+  fi
+}

Copied: amule/repos/community-testing-i686/amule.sysusers (from rev 237107, amule/trunk/amule.sysusers)
===================================================================
--- community-testing-i686/amule.sysusers	                        (rev 0)
+++ community-testing-i686/amule.sysusers	2017-06-15 07:09:32 UTC (rev 237108)
@@ -0,0 +1,2 @@
+u amule - "aMule Client" /var/lib/amule
+g amule -

Copied: amule/repos/community-testing-i686/amule.tmpfiles (from rev 237107, amule/trunk/amule.tmpfiles)
===================================================================
--- community-testing-i686/amule.tmpfiles	                        (rev 0)
+++ community-testing-i686/amule.tmpfiles	2017-06-15 07:09:32 UTC (rev 237108)
@@ -0,0 +1 @@
+d /var/lib/amule 0750 amule amule

Copied: amule/repos/community-testing-i686/amuled.systemd (from rev 237107, amule/trunk/amuled.systemd)
===================================================================
--- community-testing-i686/amuled.systemd	                        (rev 0)
+++ community-testing-i686/amuled.systemd	2017-06-15 07:09:32 UTC (rev 237108)
@@ -0,0 +1,11 @@
+[Unit]
+Description=aMule Daemon
+After=network.target
+
+# This assumes that a user 'amule' exists, with a writeable home directory
+[Service]
+User=amule
+ExecStart=/usr/bin/amuled
+
+[Install]
+WantedBy=multi-user.target

Copied: amule/repos/community-testing-i686/amuleweb.systemd (from rev 237107, amule/trunk/amuleweb.systemd)
===================================================================
--- community-testing-i686/amuleweb.systemd	                        (rev 0)
+++ community-testing-i686/amuleweb.systemd	2017-06-15 07:09:32 UTC (rev 237108)
@@ -0,0 +1,13 @@
+[Unit]
+Description=aMule Webserver
+Requires=amuled.service
+
+[Service]
+User=amule
+ExecStart=/usr/bin/amuleweb --quiet
+# If amuled still starting then amuleweb exits, restart until amuleweb is up 
+Restart=on-success
+RestartSec=3s
+
+[Install]
+WantedBy=multi-user.target

Copied: amule/repos/community-testing-x86_64/PKGBUILD (from rev 237107, amule/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-06-15 07:09:32 UTC (rev 237108)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Henrik Ronellenfitsch <searinox at web.de>
+# Contributor: Alessio Sergi <sergi.alessio {at} gmail.com>
+# Contributor: Dario 'Dax' Vilardi <dax [at] deelab [dot] org>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=amule
+pkgver=10990
+pkgrel=2
+pkgdesc="An eMule-like client for ed2k p2p network"
+arch=(i686 x86_64)
+url="http://www.amule.org"
+license=(GPL)
+depends=(wxgtk2 gd geoip libupnp crypto++ boost-libs)
+makedepends=(git ccache boost)
+install=amule.install
+source=("git://repo.or.cz/amule.git#tag=amule-svn-r$pkgver"
+        amuled.systemd amuleweb.systemd amule.sysusers amule.tmpfiles)
+sha256sums=('SKIP'
+            '527a2cca6d56b8269722aafc77a89734f59a929f946f342bd0f69b256f9c7522'
+            'f4f43b1154ddccc9036a4291a58c6715f097b171fec62ea7aead0c9d9fa654f2'
+            'bb25648a121c85f8b2d9b83ccfa691a5f1f475aeaae4570ecde7581baa3bf0ac'
+            'e9d1b7019c7075b0f8616c6507a767b87de8f899936680e9ff5829d8cbba224d')
+
+build() {
+  cd amule
+
+  ./configure --prefix=/usr \
+              --mandir=/usr/share/man \
+              --enable-cas \
+              --enable-wxcas \
+              --enable-amule-daemon \
+              --enable-amulecmd \
+              --enable-amule-gui \
+              --enable-alc \
+              --enable-alcc \
+              --enable-webserver \
+              --disable-debug \
+              --enable-optimize \
+              --enable-ccache \
+              --enable-geoip \
+              --enable-upnp \
+              --with-boost
+  make
+}
+
+package() {
+  cd amule
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir"/amuled.systemd "$pkgdir"/usr/lib/systemd/system/amuled.service
+  install -Dm644 "$srcdir"/amuleweb.systemd "$pkgdir"/usr/lib/systemd/system/amuleweb.service
+  install -Dm644 "$srcdir"/amule.sysusers "$pkgdir"/usr/lib/sysusers.d/amule.conf
+  install -Dm644 "$srcdir"/amule.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/amule.conf
+
+}

Copied: amule/repos/community-testing-x86_64/amule.install (from rev 237107, amule/trunk/amule.install)
===================================================================
--- community-testing-x86_64/amule.install	                        (rev 0)
+++ community-testing-x86_64/amule.install	2017-06-15 07:09:32 UTC (rev 237108)
@@ -0,0 +1,17 @@
+post_install() {
+  post_upgrade
+}
+
+_config_instructions() {
+  echo "If you plan to use external client (e.g. amuleGUI or amuleweb) then you need to"
+  echo "provide [ExternalConnect] configuration."
+  echo "You also need to specify amuleweb password."
+  echo "Please follow https://wiki.archlinux.org/index.php/AMule for more information."
+  echo "amuleweb can be started as 'systemctl start amuleweb'."
+}
+
+post_upgrade() {
+  if [ ! -e /var/lib/amule/.aMule/amule.conf ]; then
+    _config_instructions
+  fi
+}

Copied: amule/repos/community-testing-x86_64/amule.sysusers (from rev 237107, amule/trunk/amule.sysusers)
===================================================================
--- community-testing-x86_64/amule.sysusers	                        (rev 0)
+++ community-testing-x86_64/amule.sysusers	2017-06-15 07:09:32 UTC (rev 237108)
@@ -0,0 +1,2 @@
+u amule - "aMule Client" /var/lib/amule
+g amule -

Copied: amule/repos/community-testing-x86_64/amule.tmpfiles (from rev 237107, amule/trunk/amule.tmpfiles)
===================================================================
--- community-testing-x86_64/amule.tmpfiles	                        (rev 0)
+++ community-testing-x86_64/amule.tmpfiles	2017-06-15 07:09:32 UTC (rev 237108)
@@ -0,0 +1 @@
+d /var/lib/amule 0750 amule amule

Copied: amule/repos/community-testing-x86_64/amuled.systemd (from rev 237107, amule/trunk/amuled.systemd)
===================================================================
--- community-testing-x86_64/amuled.systemd	                        (rev 0)
+++ community-testing-x86_64/amuled.systemd	2017-06-15 07:09:32 UTC (rev 237108)
@@ -0,0 +1,11 @@
+[Unit]
+Description=aMule Daemon
+After=network.target
+
+# This assumes that a user 'amule' exists, with a writeable home directory
+[Service]
+User=amule
+ExecStart=/usr/bin/amuled
+
+[Install]
+WantedBy=multi-user.target

Copied: amule/repos/community-testing-x86_64/amuleweb.systemd (from rev 237107, amule/trunk/amuleweb.systemd)
===================================================================
--- community-testing-x86_64/amuleweb.systemd	                        (rev 0)
+++ community-testing-x86_64/amuleweb.systemd	2017-06-15 07:09:32 UTC (rev 237108)
@@ -0,0 +1,13 @@
+[Unit]
+Description=aMule Webserver
+Requires=amuled.service
+
+[Service]
+User=amule
+ExecStart=/usr/bin/amuleweb --quiet
+# If amuled still starting then amuleweb exits, restart until amuleweb is up 
+Restart=on-success
+RestartSec=3s
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list