[arch-commits] Commit in amule/repos/community-x86_64 (10 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Oct 24 14:19:38 UTC 2021
Date: Sunday, October 24, 2021 @ 14:19:38
Author: arojas
Revision: 1033182
archrelease: copy trunk to community-x86_64
Added:
amule/repos/community-x86_64/PKGBUILD
(from rev 1033181, amule/trunk/PKGBUILD)
amule/repos/community-x86_64/amule.sysusers
(from rev 1033181, amule/trunk/amule.sysusers)
amule/repos/community-x86_64/amule.tmpfiles
(from rev 1033181, amule/trunk/amule.tmpfiles)
amule/repos/community-x86_64/amuled.systemd
(from rev 1033181, amule/trunk/amuled.systemd)
amule/repos/community-x86_64/amuleweb.systemd
(from rev 1033181, amule/trunk/amuleweb.systemd)
Deleted:
amule/repos/community-x86_64/PKGBUILD
amule/repos/community-x86_64/amule.sysusers
amule/repos/community-x86_64/amule.tmpfiles
amule/repos/community-x86_64/amuled.systemd
amule/repos/community-x86_64/amuleweb.systemd
------------------+
PKGBUILD | 126 +++++++++++++++++++++++++++++------------------------
amule.sysusers | 2
amule.tmpfiles | 2
amuled.systemd | 24 +++++-----
amuleweb.systemd | 26 +++++-----
5 files changed, 98 insertions(+), 82 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-24 14:19:23 UTC (rev 1033181)
+++ PKGBUILD 2021-10-24 14:19:38 UTC (rev 1033182)
@@ -1,55 +0,0 @@
-# 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
-epoch=1
-pkgver=2.3.3
-pkgrel=2
-pkgdesc='An eMule-like client for ed2k p2p network'
-arch=(x86_64)
-url='http://www.amule.org'
-license=(GPL)
-depends=(wxgtk3 gd geoip libupnp crypto++)
-makedepends=(boost)
-source=(https://download.sourceforge.net/project/amule/aMule/$pkgver/aMule-$pkgver.tar.gz
- amuled.systemd amuleweb.systemd amule.sysusers amule.tmpfiles)
-sha256sums=('fa85a054153c9787fce2d35a5c5590a3d390429b8fa0c5d8f9ea69e9904c7b72'
- '20ac6b60c5f3bf49c0b080dfc02409da3c9d01b154344188008c6a75ca69681e'
- 'f4f43b1154ddccc9036a4291a58c6715f097b171fec62ea7aead0c9d9fa654f2'
- 'c4ca658ab4105b3b90e0bb3efcc8121eca1c4d873787db1ed4f637925c16d502'
- 'e9d1b7019c7075b0f8616c6507a767b87de8f899936680e9ff5829d8cbba224d')
-
-build() {
- cd aMule-$pkgver
- ./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-geoip \
- --enable-upnp \
- --enable-fileview \
- --with-boost \
- --with-wx-config=/usr/bin/wx-config-gtk3
- make
-}
-
-package() {
- cd aMule-$pkgver
- 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-x86_64/PKGBUILD (from rev 1033181, amule/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-24 14:19:38 UTC (rev 1033182)
@@ -0,0 +1,71 @@
+# 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
+epoch=1
+pkgver=2.3.3
+pkgrel=3
+pkgdesc='An eMule-like client for ed2k p2p network'
+arch=(x86_64)
+url='http://www.amule.org'
+license=(GPL)
+depends=(wxgtk3 gd geoip libupnp crypto++)
+makedepends=(boost cmake)
+source=(https://download.sourceforge.net/project/amule/aMule/$pkgver/aMule-$pkgver.tar.gz
+ amuled.systemd amuleweb.systemd amule.sysusers amule.tmpfiles
+ https://github.com/amule-project/amule/commit/9bcd201.patch
+ https://github.com/amule-project/amule/commit/8085232.patch
+ https://github.com/amule-project/amule/commit/f186b3a.patch
+ https://github.com/amule-project/amule/commit/9e1d9eb.patch
+ https://github.com/amule-project/amule/commit/d22e057.patch
+ https://github.com/amule-project/amule/commit/a667c61.patch)
+sha256sums=('fa85a054153c9787fce2d35a5c5590a3d390429b8fa0c5d8f9ea69e9904c7b72'
+ '20ac6b60c5f3bf49c0b080dfc02409da3c9d01b154344188008c6a75ca69681e'
+ 'f4f43b1154ddccc9036a4291a58c6715f097b171fec62ea7aead0c9d9fa654f2'
+ 'c4ca658ab4105b3b90e0bb3efcc8121eca1c4d873787db1ed4f637925c16d502'
+ 'e9d1b7019c7075b0f8616c6507a767b87de8f899936680e9ff5829d8cbba224d'
+ 'e9232db05ee377137b644120b8264bf865bc5fdbf13830b656fc8a23c8eb881e'
+ '13f90b3aec3d9a5cb0bf6b1c59266bf45dabe6d0d500a8b7e596be29e5f93e83'
+ '443f354611f356e9fe1132fd88812a21f9faad6bbcfdf61aa7a9462fdbdd161b'
+ '3f7cd631add57498b262797c241fb5791b106ab1f9fbf43f9228141ceb94a60b'
+ '5dd2edd7b028a59b7389721b98878abebe9d2054c457de608a3130ebd07a44aa'
+ 'd702dbc1fc40ee0b9c209eaabf9ac1c9522d09c83647270ac7560d40d4906cdf')
+
+prepare() {
+ patch -d aMule-$pkgver -p1 < 9bcd201.patch # Fix translations install
+ patch -d aMule-$pkgver -p1 < 8085232.patch
+ patch -d aMule-$pkgver -p1 < f186b3a.patch
+ patch -d aMule-$pkgver -p1 < d22e057.patch # Fix build
+ patch -d aMule-$pkgver -p1 < 9e1d9eb.patch
+ patch -d aMule-$pkgver -p1 < a667c61.patch # Install icons
+}
+
+build() {
+ cmake -B build -S aMule-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 \
+ -DBUILD_ALC=ON \
+ -DBUILD_ALCC=ON \
+ -DBUILD_AMULECMD=ON \
+ -DBUILD_CAS=ON \
+ -DBUILD_DAEMON=ON \
+ -DBUILD_REMOTEGUI=ON \
+ -DBUILD_WEBSERVER=ON \
+ -DBUILD_WXCAS=ON \
+ -DBUILD_FILEVIEW=ON \
+ -DENABLE_NLS=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+ 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
+}
Deleted: amule.sysusers
===================================================================
--- amule.sysusers 2021-10-24 14:19:23 UTC (rev 1033181)
+++ amule.sysusers 2021-10-24 14:19:38 UTC (rev 1033182)
@@ -1 +0,0 @@
-u amule - "aMule Client" /var/lib/amule
Copied: amule/repos/community-x86_64/amule.sysusers (from rev 1033181, amule/trunk/amule.sysusers)
===================================================================
--- amule.sysusers (rev 0)
+++ amule.sysusers 2021-10-24 14:19:38 UTC (rev 1033182)
@@ -0,0 +1 @@
+u amule - "aMule Client" /var/lib/amule
Deleted: amule.tmpfiles
===================================================================
--- amule.tmpfiles 2021-10-24 14:19:23 UTC (rev 1033181)
+++ amule.tmpfiles 2021-10-24 14:19:38 UTC (rev 1033182)
@@ -1 +0,0 @@
-d /var/lib/amule 0750 amule amule
Copied: amule/repos/community-x86_64/amule.tmpfiles (from rev 1033181, amule/trunk/amule.tmpfiles)
===================================================================
--- amule.tmpfiles (rev 0)
+++ amule.tmpfiles 2021-10-24 14:19:38 UTC (rev 1033182)
@@ -0,0 +1 @@
+d /var/lib/amule 0750 amule amule
Deleted: amuled.systemd
===================================================================
--- amuled.systemd 2021-10-24 14:19:23 UTC (rev 1033181)
+++ amuled.systemd 2021-10-24 14:19:38 UTC (rev 1033182)
@@ -1,12 +0,0 @@
-[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
-NoNewPrivileges=true
-
-[Install]
-WantedBy=multi-user.target
Copied: amule/repos/community-x86_64/amuled.systemd (from rev 1033181, amule/trunk/amuled.systemd)
===================================================================
--- amuled.systemd (rev 0)
+++ amuled.systemd 2021-10-24 14:19:38 UTC (rev 1033182)
@@ -0,0 +1,12 @@
+[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
+NoNewPrivileges=true
+
+[Install]
+WantedBy=multi-user.target
Deleted: amuleweb.systemd
===================================================================
--- amuleweb.systemd 2021-10-24 14:19:23 UTC (rev 1033181)
+++ amuleweb.systemd 2021-10-24 14:19:38 UTC (rev 1033182)
@@ -1,13 +0,0 @@
-[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-x86_64/amuleweb.systemd (from rev 1033181, amule/trunk/amuleweb.systemd)
===================================================================
--- amuleweb.systemd (rev 0)
+++ amuleweb.systemd 2021-10-24 14:19:38 UTC (rev 1033182)
@@ -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