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

Antonio Rojas arojas at archlinux.org
Tue Jan 30 22:47:30 UTC 2018


    Date: Tuesday, January 30, 2018 @ 22:47:30
  Author: arojas
Revision: 288342

archrelease: copy trunk to community-staging-x86_64

Added:
  amule/repos/community-staging-x86_64/
  amule/repos/community-staging-x86_64/PKGBUILD
    (from rev 288341, amule/trunk/PKGBUILD)
  amule/repos/community-staging-x86_64/amule-cryptopp6.patch
    (from rev 288341, amule/trunk/amule-cryptopp6.patch)
  amule/repos/community-staging-x86_64/amule.sysusers
    (from rev 288341, amule/trunk/amule.sysusers)
  amule/repos/community-staging-x86_64/amule.tmpfiles
    (from rev 288341, amule/trunk/amule.tmpfiles)
  amule/repos/community-staging-x86_64/amuled.systemd
    (from rev 288341, amule/trunk/amuled.systemd)
  amule/repos/community-staging-x86_64/amuleweb.systemd
    (from rev 288341, amule/trunk/amuleweb.systemd)

-----------------------+
 PKGBUILD              |   66 ++++++++++++++++++++++++++++++++++++++++++++++++
 amule-cryptopp6.patch |   11 ++++++++
 amule.sysusers        |    1 
 amule.tmpfiles        |    1 
 amuled.systemd        |   11 ++++++++
 amuleweb.systemd      |   13 +++++++++
 6 files changed, 103 insertions(+)

Copied: amule/repos/community-staging-x86_64/PKGBUILD (from rev 288341, amule/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-01-30 22:47:30 UTC (rev 288342)
@@ -0,0 +1,66 @@
+# $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=5
+pkgdesc="An eMule-like client for ed2k p2p network"
+arch=(x86_64)
+url="http://www.amule.org"
+license=(GPL)
+depends=(wxgtk2 gd geoip libupnp crypto++ boost-libs)
+makedepends=(git ccache boost)
+source=("git://repo.or.cz/amule.git#tag=amule-svn-r$pkgver"
+        amuled.systemd amuleweb.systemd amule.sysusers amule.tmpfiles
+        amule-cryptopp6.patch)
+sha256sums=('SKIP'
+            '527a2cca6d56b8269722aafc77a89734f59a929f946f342bd0f69b256f9c7522'
+            'f4f43b1154ddccc9036a4291a58c6715f097b171fec62ea7aead0c9d9fa654f2'
+            'c4ca658ab4105b3b90e0bb3efcc8121eca1c4d873787db1ed4f637925c16d502'
+            'e9d1b7019c7075b0f8616c6507a767b87de8f899936680e9ff5829d8cbba224d'
+            '84d5e913bf05c1819275f4fd27028856aeb31157debbca89f9b54132efe69575')
+
+prepare() {
+  cd amule
+
+  patch -p1 -i ../amule-cryptopp6.patch # Fix build with crypto++ 6.0
+}
+
+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-staging-x86_64/amule-cryptopp6.patch (from rev 288341, amule/trunk/amule-cryptopp6.patch)
===================================================================
--- community-staging-x86_64/amule-cryptopp6.patch	                        (rev 0)
+++ community-staging-x86_64/amule-cryptopp6.patch	2018-01-30 22:47:30 UTC (rev 288342)
@@ -0,0 +1,11 @@
+--- amule/src/ClientCreditsList.cpp.orig	2018-01-30 22:28:29.951863645 +0000
++++ amule/src/ClientCreditsList.cpp	2018-01-30 22:30:05.725410074 +0000
+@@ -312,7 +312,7 @@
+ 		// calculate and store public key
+ 		CryptoPP::RSASSA_PKCS1v15_SHA_Verifier pubkey(*static_cast<CryptoPP::RSASSA_PKCS1v15_SHA_Signer *>(m_pSignkey));
+ 		CryptoPP::ArraySink asink(m_abyMyPublicKey, 80);
+-		pubkey.DEREncode(asink);
++		pubkey.AccessMaterial().Save(asink);
+ 		m_nMyPublicKeyLen = asink.TotalPutLength();
+ 		asink.MessageEnd();
+ 	} catch (const CryptoPP::Exception& e) {

Copied: amule/repos/community-staging-x86_64/amule.sysusers (from rev 288341, amule/trunk/amule.sysusers)
===================================================================
--- community-staging-x86_64/amule.sysusers	                        (rev 0)
+++ community-staging-x86_64/amule.sysusers	2018-01-30 22:47:30 UTC (rev 288342)
@@ -0,0 +1 @@
+u amule - "aMule Client" /var/lib/amule

Copied: amule/repos/community-staging-x86_64/amule.tmpfiles (from rev 288341, amule/trunk/amule.tmpfiles)
===================================================================
--- community-staging-x86_64/amule.tmpfiles	                        (rev 0)
+++ community-staging-x86_64/amule.tmpfiles	2018-01-30 22:47:30 UTC (rev 288342)
@@ -0,0 +1 @@
+d /var/lib/amule 0750 amule amule

Copied: amule/repos/community-staging-x86_64/amuled.systemd (from rev 288341, amule/trunk/amuled.systemd)
===================================================================
--- community-staging-x86_64/amuled.systemd	                        (rev 0)
+++ community-staging-x86_64/amuled.systemd	2018-01-30 22:47:30 UTC (rev 288342)
@@ -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-staging-x86_64/amuleweb.systemd (from rev 288341, amule/trunk/amuleweb.systemd)
===================================================================
--- community-staging-x86_64/amuleweb.systemd	                        (rev 0)
+++ community-staging-x86_64/amuleweb.systemd	2018-01-30 22:47:30 UTC (rev 288342)
@@ -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