[arch-commits] Commit in openfire/trunk (PKGBUILD openfire.install user.conf)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Feb 9 09:57:26 UTC 2015
Date: Monday, February 9, 2015 @ 10:57:26
Author: mtorromeo
Revision: 127359
upgpkg: openfire 3.9.3-2
Avoid fixed uid/gid
Modified:
openfire/trunk/PKGBUILD
openfire/trunk/openfire.install
openfire/trunk/user.conf
------------------+
PKGBUILD | 5 +----
openfire.install | 5 +++++
user.conf | 2 +-
3 files changed, 7 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-09 09:49:48 UTC (rev 127358)
+++ PKGBUILD 2015-02-09 09:57:26 UTC (rev 127359)
@@ -47,12 +47,9 @@
cp -R plugins "$pkgdir"/usr/share/openfire/
cp -R resources/{database,spank} "$pkgdir"/usr/share/openfire/resources/
cp -R lib "$pkgdir"/usr/lib/openfire
-
- cd "$pkgdir"
- chown -Rh 115:115 var/log/openfire usr/share/openfire etc/openfire
}
sha256sums=('37001835a3007f115214aa83f2a48f8c33bbf3576937f4d964d9eb3de3933ad2'
'c8a612abee90bdc9a2869e562a4bbbf596159c60adcd23368833a0e2ca27c1d4'
'772332b66a90935ddb8075eb10eab9b95a84caa45908bb3fa5861d7fa148399c'
- 'f44b92b2b17cee66293caa10f50eeb83475390591c25ab4f7c8be3878465c137')
+ '743d07158d40f3690684a078d5f35c53c819e45d4ff0c2016b0f33662363614f')
Modified: openfire.install
===================================================================
--- openfire.install 2015-02-09 09:49:48 UTC (rev 127358)
+++ openfire.install 2015-02-09 09:57:26 UTC (rev 127359)
@@ -1,3 +1,8 @@
post_install() {
systemd-sysusers openfire.conf
+ chown -R openfire:openfire var/log/openfire usr/share/openfire etc/openfire
}
+
+post_upgrade() {
+ post_install
+}
Modified: user.conf
===================================================================
--- user.conf 2015-02-09 09:49:48 UTC (rev 127358)
+++ user.conf 2015-02-09 09:57:26 UTC (rev 127359)
@@ -1 +1 @@
-u openfire 115 "openfire user" /usr/share/openfire
+u openfire - "openfire user" /usr/share/openfire
More information about the arch-commits
mailing list