Date: Wednesday, December 21, 2016 @ 18:24:49 Author: mtorromeo Revision: 200849
archrelease: copy trunk to community-any Added: openfire/repos/community-any/PKGBUILD (from rev 200848, openfire/trunk/PKGBUILD) openfire/repos/community-any/openfire.conf (from rev 200848, openfire/trunk/openfire.conf) openfire/repos/community-any/openfire.install (from rev 200848, openfire/trunk/openfire.install) openfire/repos/community-any/openfire.service (from rev 200848, openfire/trunk/openfire.service) openfire/repos/community-any/user.conf (from rev 200848, openfire/trunk/user.conf) Deleted: openfire/repos/community-any/PKGBUILD openfire/repos/community-any/openfire.conf openfire/repos/community-any/openfire.install openfire/repos/community-any/openfire.service openfire/repos/community-any/user.conf ------------------+ PKGBUILD | 110 ++++++++++++++++++++++++++--------------------------- openfire.conf | 6 +- openfire.install | 16 +++---- openfire.service | 28 ++++++------- user.conf | 2 5 files changed, 81 insertions(+), 81 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-12-21 18:24:25 UTC (rev 200848) +++ PKGBUILD 2016-12-21 18:24:49 UTC (rev 200849) @@ -1,55 +0,0 @@ -# $Id$ -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> -# Contributor: Pierre Schmitz <pie...@archlinux.de> - -pkgname=openfire -pkgver=4.0.4 -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' 'user.conf') - -build() { - cd "$srcdir"/openfire_src/build - rm -rf ../src/resources/nativeAuth/ - ant openfire -# ant plugins -} - -package() { - cd "$pkgdir" - install -dm755 usr/lib usr/share/openfire/resources etc/openfire var/log/openfire - - cd "$srcdir" - install -Dm644 openfire.conf "$pkgdir"/etc/conf.d/openfire - install -Dm644 openfire.service "$pkgdir"/usr/lib/systemd/system/openfire.service - install -Dm644 user.conf "$pkgdir"/usr/lib/sysusers.d/openfire.conf - - cd openfire_src/target/openfire - rm -rf bin logs lib/tray.dll - - 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=('66a7b4f00f2f15e6899b0fd8375914838b9401e5defe6dc3b1236c62e7f379a9' - 'c8a612abee90bdc9a2869e562a4bbbf596159c60adcd23368833a0e2ca27c1d4' - '772332b66a90935ddb8075eb10eab9b95a84caa45908bb3fa5861d7fa148399c' - '743d07158d40f3690684a078d5f35c53c819e45d4ff0c2016b0f33662363614f') Copied: openfire/repos/community-any/PKGBUILD (from rev 200848, openfire/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-12-21 18:24:49 UTC (rev 200849) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Contributor: Pierre Schmitz <pie...@archlinux.de> + +pkgname=openfire +pkgver=4.1.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' 'user.conf') + +build() { + cd "$srcdir"/openfire_src/build + rm -rf ../src/resources/nativeAuth/ + ant openfire +# ant plugins +} + +package() { + cd "$pkgdir" + install -dm755 usr/lib usr/share/openfire/resources etc/openfire var/log/openfire + + cd "$srcdir" + install -Dm644 openfire.conf "$pkgdir"/etc/conf.d/openfire + install -Dm644 openfire.service "$pkgdir"/usr/lib/systemd/system/openfire.service + install -Dm644 user.conf "$pkgdir"/usr/lib/sysusers.d/openfire.conf + + cd openfire_src/target/openfire + rm -rf bin logs lib/tray.dll + + 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=('3e52b27ac9ed5af1acb7065e84a416ad075994445b554e78d7c966724612cbf2' + 'c8a612abee90bdc9a2869e562a4bbbf596159c60adcd23368833a0e2ca27c1d4' + '772332b66a90935ddb8075eb10eab9b95a84caa45908bb3fa5861d7fa148399c' + '743d07158d40f3690684a078d5f35c53c819e45d4ff0c2016b0f33662363614f') Deleted: openfire.conf =================================================================== --- openfire.conf 2016-12-21 18:24:25 UTC (rev 200848) +++ openfire.conf 2016-12-21 18:24:49 UTC (rev 200849) @@ -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 200848, openfire/trunk/openfire.conf) =================================================================== --- openfire.conf (rev 0) +++ openfire.conf 2016-12-21 18:24:49 UTC (rev 200849) @@ -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 2016-12-21 18:24:25 UTC (rev 200848) +++ openfire.install 2016-12-21 18:24:49 UTC (rev 200849) @@ -1,8 +0,0 @@ -post_install() { - systemd-sysusers openfire.conf - chown -R openfire:openfire var/log/openfire usr/share/openfire etc/openfire -} - -post_upgrade() { - post_install -} Copied: openfire/repos/community-any/openfire.install (from rev 200848, openfire/trunk/openfire.install) =================================================================== --- openfire.install (rev 0) +++ openfire.install 2016-12-21 18:24:49 UTC (rev 200849) @@ -0,0 +1,8 @@ +post_install() { + systemd-sysusers openfire.conf + chown -R openfire:openfire var/log/openfire usr/share/openfire etc/openfire +} + +post_upgrade() { + post_install +} Deleted: openfire.service =================================================================== --- openfire.service 2016-12-21 18:24:25 UTC (rev 200848) +++ openfire.service 2016-12-21 18:24:49 UTC (rev 200849) @@ -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 200848, openfire/trunk/openfire.service) =================================================================== --- openfire.service (rev 0) +++ openfire.service 2016-12-21 18:24:49 UTC (rev 200849) @@ -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 Deleted: user.conf =================================================================== --- user.conf 2016-12-21 18:24:25 UTC (rev 200848) +++ user.conf 2016-12-21 18:24:49 UTC (rev 200849) @@ -1 +0,0 @@ -u openfire - "openfire user" /usr/share/openfire Copied: openfire/repos/community-any/user.conf (from rev 200848, openfire/trunk/user.conf) =================================================================== --- user.conf (rev 0) +++ user.conf 2016-12-21 18:24:49 UTC (rev 200849) @@ -0,0 +1 @@ +u openfire - "openfire user" /usr/share/openfire