Date: Friday, May 2, 2014 @ 12:36:31 Author: mtorromeo Revision: 110519
archrelease: copy trunk to community-any Added: openfire/repos/community-any/PKGBUILD (from rev 110518, openfire/trunk/PKGBUILD) openfire/repos/community-any/openfire.conf (from rev 110518, openfire/trunk/openfire.conf) openfire/repos/community-any/openfire.install (from rev 110518, openfire/trunk/openfire.install) openfire/repos/community-any/openfire.service (from rev 110518, openfire/trunk/openfire.service) Deleted: openfire/repos/community-any/PKGBUILD openfire/repos/community-any/openfire.conf openfire/repos/community-any/openfire.install openfire/repos/community-any/openfire.service ------------------+ PKGBUILD | 106 ++++++++++++++++++++++++++--------------------------- openfire.conf | 6 +-- openfire.install | 30 +++++++-------- openfire.service | 28 +++++++------- 4 files changed, 85 insertions(+), 85 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-05-02 10:34:06 UTC (rev 110518) +++ PKGBUILD 2014-05-02 10:36:31 UTC (rev 110519) @@ -1,53 +0,0 @@ -# $Id$ -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> -# Contributor: Pierre Schmitz <pie...@archlinux.de> - -pkgname=openfire -pkgver=3.9.1 -pkgrel=2 -pkgdesc="High performance XMPP (Jabber) server." -arch=('any') -url='http://www.igniterealtime.org/projects/openfire/' -license=('GPL') -depends=('java-runtime-headless') -makedepends=('apache-ant') -install='openfire.install' -backup=( - 'etc/openfire/openfire.xml' 'etc/openfire/openfire.xml' 'etc/openfire/openfire.xml' \ - 'etc/conf.d/openfire' 'etc/openfire/security/keystore' 'etc/openfire/security/truststore' \ - 'etc/openfire/security/client.truststore') -source=("http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_src_${pkgver//./_}.tar.gz" \ - 'openfire.conf' 'openfire.service') - -build() { - cd "$srcdir/openfire_src/build" - rm -rf ../src/resources/nativeAuth/ - ant openfire -# ant plugins -} - -package() { - cd "$srcdir/openfire_src/target/openfire" - - install -dm755 "$pkgdir/usr/lib" "$pkgdir/usr/share/openfire/resources" - install -dm750 "$pkgdir/etc/openfire" "$pkgdir/var/log/openfire" - - install -Dm644 "$srcdir/openfire.conf" "$pkgdir/etc/conf.d/openfire" - install -Dm644 "$srcdir/openfire.service" "$pkgdir/usr/lib/systemd/system/openfire.service" - - rm -rf bin logs - - cp -R conf/* "$pkgdir/etc/openfire/" - ln -s /etc/openfire "$pkgdir/usr/share/openfire/conf" - - cp -R resources/security "$pkgdir/etc/openfire/" - ln -s /etc/openfire/security "$pkgdir/usr/share/openfire/resources/security" - - cp -R plugins "$pkgdir/usr/share/openfire/" - cp -R resources/{database,spank} "$pkgdir/usr/share/openfire/resources/" - cp -R lib "$pkgdir/usr/lib/openfire" -} - -sha256sums=('682576ea16a111374735cf93bd5e444feee6d0b714b109436aa7e0c775f3020d' - 'c8a612abee90bdc9a2869e562a4bbbf596159c60adcd23368833a0e2ca27c1d4' - '772332b66a90935ddb8075eb10eab9b95a84caa45908bb3fa5861d7fa148399c') Copied: openfire/repos/community-any/PKGBUILD (from rev 110518, openfire/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-05-02 10:36:31 UTC (rev 110519) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Contributor: Pierre Schmitz <pie...@archlinux.de> + +pkgname=openfire +pkgver=3.9.2 +pkgrel=1 +pkgdesc="High performance XMPP (Jabber) server." +arch=('any') +url='http://www.igniterealtime.org/projects/openfire/' +license=('GPL') +depends=('java-runtime-headless') +makedepends=('apache-ant') +install='openfire.install' +backup=( + 'etc/openfire/openfire.xml' 'etc/openfire/openfire.xml' 'etc/openfire/openfire.xml' \ + 'etc/conf.d/openfire' 'etc/openfire/security/keystore' 'etc/openfire/security/truststore' \ + 'etc/openfire/security/client.truststore') +source=("http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_src_${pkgver//./_}.tar.gz" \ + 'openfire.conf' 'openfire.service') + +build() { + cd "$srcdir/openfire_src/build" + rm -rf ../src/resources/nativeAuth/ + ant openfire +# ant plugins +} + +package() { + cd "$srcdir/openfire_src/target/openfire" + + install -dm755 "$pkgdir/usr/lib" "$pkgdir/usr/share/openfire/resources" + install -dm750 "$pkgdir/etc/openfire" "$pkgdir/var/log/openfire" + + install -Dm644 "$srcdir/openfire.conf" "$pkgdir/etc/conf.d/openfire" + install -Dm644 "$srcdir/openfire.service" "$pkgdir/usr/lib/systemd/system/openfire.service" + + rm -rf bin logs + + cp -R conf/* "$pkgdir/etc/openfire/" + ln -s /etc/openfire "$pkgdir/usr/share/openfire/conf" + + cp -R resources/security "$pkgdir/etc/openfire/" + ln -s /etc/openfire/security "$pkgdir/usr/share/openfire/resources/security" + + cp -R plugins "$pkgdir/usr/share/openfire/" + cp -R resources/{database,spank} "$pkgdir/usr/share/openfire/resources/" + cp -R lib "$pkgdir/usr/lib/openfire" +} + +sha256sums=('7ca3194a32fd0061ac5bc30f1d59b483bb945d7be4d3e032c7493f8e0070c742' + 'c8a612abee90bdc9a2869e562a4bbbf596159c60adcd23368833a0e2ca27c1d4' + '772332b66a90935ddb8075eb10eab9b95a84caa45908bb3fa5861d7fa148399c') Deleted: openfire.conf =================================================================== --- openfire.conf 2014-05-02 10:34:06 UTC (rev 110518) +++ openfire.conf 2014-05-02 10:36:31 UTC (rev 110519) @@ -1,3 +0,0 @@ -# If you wish to set any specific options to pass to the JVM, you can -# set them with the following variable. -#OPENFIRE_OPTS="-Xmx1024m" \ No newline at end of file Copied: openfire/repos/community-any/openfire.conf (from rev 110518, openfire/trunk/openfire.conf) =================================================================== --- openfire.conf (rev 0) +++ openfire.conf 2014-05-02 10:36:31 UTC (rev 110519) @@ -0,0 +1,3 @@ +# If you wish to set any specific options to pass to the JVM, you can +# set them with the following variable. +#OPENFIRE_OPTS="-Xmx1024m" \ No newline at end of file Deleted: openfire.install =================================================================== --- openfire.install 2014-05-02 10:34:06 UTC (rev 110518) +++ openfire.install 2014-05-02 10:36:31 UTC (rev 110519) @@ -1,15 +0,0 @@ -post_install() { - getent group openfire >/dev/null 2>&1 || groupadd -r openfire &>/dev/null; - getent passwd openfire >/dev/null 2>&1 || useradd -rg openfire -d /usr/share/openfire -s /bin/false openfire &>/dev/null - - chown -R openfire:openfire var/log/openfire usr/share/openfire etc/openfire -} - -post_upgrade() { - post_install -} - -pre_remove() { - getent passwd openfire >/dev/null 2>&1 && userdel openfire &> /dev/null - getent group openfire >/dev/null 2>&1 && groupdel openfire &> /dev/null -} Copied: openfire/repos/community-any/openfire.install (from rev 110518, openfire/trunk/openfire.install) =================================================================== --- openfire.install (rev 0) +++ openfire.install 2014-05-02 10:36:31 UTC (rev 110519) @@ -0,0 +1,15 @@ +post_install() { + getent group openfire >/dev/null 2>&1 || groupadd -r openfire &>/dev/null; + getent passwd openfire >/dev/null 2>&1 || useradd -rg openfire -d /usr/share/openfire -s /bin/false openfire &>/dev/null + + chown -R openfire:openfire var/log/openfire usr/share/openfire etc/openfire +} + +post_upgrade() { + post_install +} + +pre_remove() { + getent passwd openfire >/dev/null 2>&1 && userdel openfire &> /dev/null + getent group openfire >/dev/null 2>&1 && groupdel openfire &> /dev/null +} Deleted: openfire.service =================================================================== --- openfire.service 2014-05-02 10:34:06 UTC (rev 110518) +++ openfire.service 2014-05-02 10:36:31 UTC (rev 110519) @@ -1,14 +0,0 @@ -[Unit] -Description=Openfire XMPP Server -After=network.target - -[Service] -Type=simple -User=openfire -Group=openfire -PrivateTmp=true -ExecStart=/usr/bin/java -server -DopenfireHome=/usr/share/openfire -Dopenfire.lib.dir=/usr/lib/openfire -classpath /usr/lib/openfire/startup.jar -jar /usr/lib/openfire/startup.jar -SuccessExitStatus=143 SIGKILL - -[Install] -WantedBy=multi-user.target Copied: openfire/repos/community-any/openfire.service (from rev 110518, openfire/trunk/openfire.service) =================================================================== --- openfire.service (rev 0) +++ openfire.service 2014-05-02 10:36:31 UTC (rev 110519) @@ -0,0 +1,14 @@ +[Unit] +Description=Openfire XMPP Server +After=network.target + +[Service] +Type=simple +User=openfire +Group=openfire +PrivateTmp=true +ExecStart=/usr/bin/java -server -DopenfireHome=/usr/share/openfire -Dopenfire.lib.dir=/usr/lib/openfire -classpath /usr/lib/openfire/startup.jar -jar /usr/lib/openfire/startup.jar +SuccessExitStatus=143 SIGKILL + +[Install] +WantedBy=multi-user.target