Date: Friday, February 7, 2014 @ 14:04:02 Author: mtorromeo Revision: 105429
archrelease: copy trunk to community-any Added: openfire/repos/community-any/PKGBUILD (from rev 105428, openfire/trunk/PKGBUILD) openfire/repos/community-any/openfire.conf (from rev 105428, openfire/trunk/openfire.conf) openfire/repos/community-any/openfire.install (from rev 105428, openfire/trunk/openfire.install) openfire/repos/community-any/openfire.service (from rev 105428, 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 | 109 +++++++++++++++++++++++++++-------------------------- openfire.conf | 6 +- openfire.install | 38 +++++++++--------- openfire.service | 28 ++++++------- 4 files changed, 92 insertions(+), 89 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-02-07 13:01:32 UTC (rev 105428) +++ PKGBUILD 2014-02-07 13:04:02 UTC (rev 105429) @@ -1,53 +0,0 @@ -# $Id$ -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> -# Contributor: Pierre Schmitz <pie...@archlinux.de> - -pkgname=openfire -pkgver=3.9.0 -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=('6d9593cd5ad2190166baed6cca46ed41f21762f257b195697057f85d8391207f' - 'c8a612abee90bdc9a2869e562a4bbbf596159c60adcd23368833a0e2ca27c1d4' - '772332b66a90935ddb8075eb10eab9b95a84caa45908bb3fa5861d7fa148399c') Copied: openfire/repos/community-any/PKGBUILD (from rev 105428, openfire/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-02-07 13:04:02 UTC (rev 105429) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Contributor: Pierre Schmitz <pie...@archlinux.de> + +pkgname=openfire +pkgver=3.9.1 +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=('6d9593cd5ad2190166baed6cca46ed41f21762f257b195697057f85d8391207f' + 'c8a612abee90bdc9a2869e562a4bbbf596159c60adcd23368833a0e2ca27c1d4' + '772332b66a90935ddb8075eb10eab9b95a84caa45908bb3fa5861d7fa148399c') +sha256sums=('682576ea16a111374735cf93bd5e444feee6d0b714b109436aa7e0c775f3020d' + 'c8a612abee90bdc9a2869e562a4bbbf596159c60adcd23368833a0e2ca27c1d4' + '772332b66a90935ddb8075eb10eab9b95a84caa45908bb3fa5861d7fa148399c') Deleted: openfire.conf =================================================================== --- openfire.conf 2014-02-07 13:01:32 UTC (rev 105428) +++ openfire.conf 2014-02-07 13:04:02 UTC (rev 105429) @@ -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 105428, openfire/trunk/openfire.conf) =================================================================== --- openfire.conf (rev 0) +++ openfire.conf 2014-02-07 13:04:02 UTC (rev 105429) @@ -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-02-07 13:01:32 UTC (rev 105428) +++ openfire.install 2014-02-07 13:04:02 UTC (rev 105429) @@ -1,19 +0,0 @@ -post_install() { - if [ ! `grep openfire /etc/group` ]; then - groupadd openfire &>/dev/null; - fi - - id openfire &>/dev/null || \ - useradd -g openfire -d /usr/share/openfire -s /bin/false openfire - - chown -R openfire:openfire /var/log/openfire /usr/share/openfire /etc/openfire -} - -post_upgrade() { - post_install -} - -pre_remove() { - userdel openfire &> /dev/null - groupdel openfire &> /dev/null -} Copied: openfire/repos/community-any/openfire.install (from rev 105428, openfire/trunk/openfire.install) =================================================================== --- openfire.install (rev 0) +++ openfire.install 2014-02-07 13:04:02 UTC (rev 105429) @@ -0,0 +1,19 @@ +post_install() { + if [ ! `grep openfire /etc/group` ]; then + groupadd openfire &>/dev/null; + fi + + id openfire &>/dev/null || \ + useradd -g openfire -d /usr/share/openfire -s /bin/false openfire + + chown -R openfire:openfire /var/log/openfire /usr/share/openfire /etc/openfire +} + +post_upgrade() { + post_install +} + +pre_remove() { + userdel openfire &> /dev/null + groupdel openfire &> /dev/null +} Deleted: openfire.service =================================================================== --- openfire.service 2014-02-07 13:01:32 UTC (rev 105428) +++ openfire.service 2014-02-07 13:04:02 UTC (rev 105429) @@ -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 105428, openfire/trunk/openfire.service) =================================================================== --- openfire.service (rev 0) +++ openfire.service 2014-02-07 13:04:02 UTC (rev 105429) @@ -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