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

Giovanni Scafora giovanni at nymeria.archlinux.org
Sat Jun 8 17:28:25 UTC 2013


    Date: Saturday, June 8, 2013 @ 19:28:25
  Author: giovanni
Revision: 188084

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

Added:
  amule/repos/extra-i686/PKGBUILD
    (from rev 188083, amule/trunk/PKGBUILD)
  amule/repos/extra-x86_64/PKGBUILD
    (from rev 188083, amule/trunk/PKGBUILD)
Deleted:
  amule/repos/extra-i686/PKGBUILD
  amule/repos/extra-i686/amule.install
  amule/repos/extra-i686/amuled.systemd
  amule/repos/extra-i686/amuleweb.systemd
  amule/repos/extra-x86_64/PKGBUILD
  amule/repos/extra-x86_64/amule.install
  amule/repos/extra-x86_64/amuled.systemd
  amule/repos/extra-x86_64/amuleweb.systemd

-------------------------------+
 /PKGBUILD                     |   88 ++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD           |   53 ------------------------
 extra-i686/amule.install      |   34 ---------------
 extra-i686/amuled.systemd     |   11 -----
 extra-i686/amuleweb.systemd   |   13 -----
 extra-x86_64/PKGBUILD         |   53 ------------------------
 extra-x86_64/amule.install    |   34 ---------------
 extra-x86_64/amuled.systemd   |   11 -----
 extra-x86_64/amuleweb.systemd |   13 -----
 9 files changed, 88 insertions(+), 222 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2013-06-08 17:28:18 UTC (rev 188083)
+++ extra-i686/PKGBUILD	2013-06-08 17:28:25 UTC (rev 188084)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: 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 at google.com>
-
-pkgname=amule
-pkgver=10803
-pkgrel=1
-pkgdesc="An eMule-like client for ed2k p2p network"
-arch=('i686' 'x86_64')
-url="http://www.amule.org"
-license=('GPL')
-depends=('wxgtk' 'gd' 'geoip' 'libupnp' 'crypto++')
-install=amule.install
-source=("http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2"
-        'amuled.systemd'
-        'amuleweb.systemd')
-md5sums=('febf14f5b1185f25acde64f61b78ed38'
-         '59772c41860e238f1c822feb8ca8d47f'
-         '05975c5d94bfc41fddb894d98b1115d5')
-
-build() {
-  cd "${srcdir}/aMule-SVN-r${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-ccache \
-              --enable-geoip \
-              --enable-upnp
-
-  make
-}
-
-package() {
-  cd "${srcdir}/aMule-SVN-r${pkgver}"
-
-  make DESTDIR=${pkgdir} install
-
-  install -D -m644 "${srcdir}/amuled.systemd" "${pkgdir}/usr/lib/systemd/system/amuled.service"
-  install -D -m644 "${srcdir}/amuleweb.systemd" "${pkgdir}/usr/lib/systemd/system/amuleweb.service"
-}

Copied: amule/repos/extra-i686/PKGBUILD (from rev 188083, amule/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2013-06-08 17:28:25 UTC (rev 188084)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: 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>
+
+pkgname=amule
+pkgver=10803
+pkgrel=2
+pkgdesc="An eMule-like client for ed2k p2p network"
+arch=('i686' 'x86_64')
+url="http://www.amule.org"
+license=('GPL')
+depends=('wxgtk' 'gd' 'geoip' 'libupnp' 'crypto++')
+source=("http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2")
+md5sums=('febf14f5b1185f25acde64f61b78ed38')
+
+build() {
+  cd "${srcdir}/aMule-SVN-r${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-ccache \
+              --enable-geoip \
+              --enable-upnp
+
+  make
+}
+
+package() {
+  cd "${srcdir}/aMule-SVN-r${pkgver}"
+
+  make DESTDIR=${pkgdir}/ install
+}

Deleted: extra-i686/amule.install
===================================================================
--- extra-i686/amule.install	2013-06-08 17:28:18 UTC (rev 188083)
+++ extra-i686/amule.install	2013-06-08 17:28:25 UTC (rev 188084)
@@ -1,34 +0,0 @@
-post_install() {
-  post_upgrade
-  passwd -l amule &>/dev/null
-
-  # Generate a random password for amuled<->amuleweb communication
-  ec_password=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w30 | head -n1)
-  encripted_ec_password=$(echo -n $ec_password | md5sum | cut -d ' ' -f 1)
-  # Create a config file
-  sudo -u amule mkdir -p /var/lib/amule/.aMule
-  echo "[ExternalConnect]
-AcceptExternalConnections=1
-ECPassword=$encripted_ec_password" > /var/lib/amule/.aMule/amule.conf
-
-  sudo -u amule /usr/bin/amuleweb --write-config --password=$ec_password --admin-pass=amule
-
-  echo "A new password for extarnal configuration is generated: $ec_password"
-  echo "Please follow https://wiki.archlinux.org/index.php/AMule how to setup"
-  echo "external connection (e.g. using amule-gui tool)."
-  echo "amuleweb can be started as 'systemctl start amuleweb'."
-  echo "Password for amuleweb: amule"
-}
-
-post_upgrade() {
-  # create user/group that the daemon will run as by default, do not delete this on uninstall, as it will own files
-  getent group amule >/dev/null || groupadd amule
-  getent passwd amule >/dev/null || useradd -c 'aMule Client' -g amule -b '/var/lib' -m -s /bin/false amule
-}
-
-post_remove(){
-  /usr/bin/systemctl stop amuled.service amuleweb.service
-
-  getent passwd amule >/dev/null && userdel amule
-  getent group amule >/dev/null && groupdel amule
-}

Deleted: extra-i686/amuled.systemd
===================================================================
--- extra-i686/amuled.systemd	2013-06-08 17:28:18 UTC (rev 188083)
+++ extra-i686/amuled.systemd	2013-06-08 17:28:25 UTC (rev 188084)
@@ -1,11 +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
-
-[Install]
-WantedBy=multi-user.target

Deleted: extra-i686/amuleweb.systemd
===================================================================
--- extra-i686/amuleweb.systemd	2013-06-08 17:28:18 UTC (rev 188083)
+++ extra-i686/amuleweb.systemd	2013-06-08 17:28:25 UTC (rev 188084)
@@ -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

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2013-06-08 17:28:18 UTC (rev 188083)
+++ extra-x86_64/PKGBUILD	2013-06-08 17:28:25 UTC (rev 188084)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: 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 at google.com>
-
-pkgname=amule
-pkgver=10803
-pkgrel=1
-pkgdesc="An eMule-like client for ed2k p2p network"
-arch=('i686' 'x86_64')
-url="http://www.amule.org"
-license=('GPL')
-depends=('wxgtk' 'gd' 'geoip' 'libupnp' 'crypto++')
-install=amule.install
-source=("http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2"
-        'amuled.systemd'
-        'amuleweb.systemd')
-md5sums=('febf14f5b1185f25acde64f61b78ed38'
-         '59772c41860e238f1c822feb8ca8d47f'
-         '05975c5d94bfc41fddb894d98b1115d5')
-
-build() {
-  cd "${srcdir}/aMule-SVN-r${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-ccache \
-              --enable-geoip \
-              --enable-upnp
-
-  make
-}
-
-package() {
-  cd "${srcdir}/aMule-SVN-r${pkgver}"
-
-  make DESTDIR=${pkgdir} install
-
-  install -D -m644 "${srcdir}/amuled.systemd" "${pkgdir}/usr/lib/systemd/system/amuled.service"
-  install -D -m644 "${srcdir}/amuleweb.systemd" "${pkgdir}/usr/lib/systemd/system/amuleweb.service"
-}

Copied: amule/repos/extra-x86_64/PKGBUILD (from rev 188083, amule/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2013-06-08 17:28:25 UTC (rev 188084)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: 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>
+
+pkgname=amule
+pkgver=10803
+pkgrel=2
+pkgdesc="An eMule-like client for ed2k p2p network"
+arch=('i686' 'x86_64')
+url="http://www.amule.org"
+license=('GPL')
+depends=('wxgtk' 'gd' 'geoip' 'libupnp' 'crypto++')
+source=("http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2")
+md5sums=('febf14f5b1185f25acde64f61b78ed38')
+
+build() {
+  cd "${srcdir}/aMule-SVN-r${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-ccache \
+              --enable-geoip \
+              --enable-upnp
+
+  make
+}
+
+package() {
+  cd "${srcdir}/aMule-SVN-r${pkgver}"
+
+  make DESTDIR=${pkgdir}/ install
+}

Deleted: extra-x86_64/amule.install
===================================================================
--- extra-x86_64/amule.install	2013-06-08 17:28:18 UTC (rev 188083)
+++ extra-x86_64/amule.install	2013-06-08 17:28:25 UTC (rev 188084)
@@ -1,34 +0,0 @@
-post_install() {
-  post_upgrade
-  passwd -l amule &>/dev/null
-
-  # Generate a random password for amuled<->amuleweb communication
-  ec_password=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w30 | head -n1)
-  encripted_ec_password=$(echo -n $ec_password | md5sum | cut -d ' ' -f 1)
-  # Create a config file
-  sudo -u amule mkdir -p /var/lib/amule/.aMule
-  echo "[ExternalConnect]
-AcceptExternalConnections=1
-ECPassword=$encripted_ec_password" > /var/lib/amule/.aMule/amule.conf
-
-  sudo -u amule /usr/bin/amuleweb --write-config --password=$ec_password --admin-pass=amule
-
-  echo "A new password for extarnal configuration is generated: $ec_password"
-  echo "Please follow https://wiki.archlinux.org/index.php/AMule how to setup"
-  echo "external connection (e.g. using amule-gui tool)."
-  echo "amuleweb can be started as 'systemctl start amuleweb'."
-  echo "Password for amuleweb: amule"
-}
-
-post_upgrade() {
-  # create user/group that the daemon will run as by default, do not delete this on uninstall, as it will own files
-  getent group amule >/dev/null || groupadd amule
-  getent passwd amule >/dev/null || useradd -c 'aMule Client' -g amule -b '/var/lib' -m -s /bin/false amule
-}
-
-post_remove(){
-  /usr/bin/systemctl stop amuled.service amuleweb.service
-
-  getent passwd amule >/dev/null && userdel amule
-  getent group amule >/dev/null && groupdel amule
-}

Deleted: extra-x86_64/amuled.systemd
===================================================================
--- extra-x86_64/amuled.systemd	2013-06-08 17:28:18 UTC (rev 188083)
+++ extra-x86_64/amuled.systemd	2013-06-08 17:28:25 UTC (rev 188084)
@@ -1,11 +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
-
-[Install]
-WantedBy=multi-user.target

Deleted: extra-x86_64/amuleweb.systemd
===================================================================
--- extra-x86_64/amuleweb.systemd	2013-06-08 17:28:18 UTC (rev 188083)
+++ extra-x86_64/amuleweb.systemd	2013-06-08 17:28:25 UTC (rev 188084)
@@ -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




More information about the arch-commits mailing list