update openfire to 3.8.1, based on a diff from Marc Peters for 3.8.0

- add @extraunexec to fix pkg_delete -c
This commit is contained in:
sthen 2013-03-19 16:55:01 +00:00
parent d5c9376484
commit 7ff6452a24
5 changed files with 20 additions and 25 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.27 2013/03/11 11:35:50 espie Exp $
# $OpenBSD: Makefile,v 1.28 2013/03/19 16:55:01 sthen Exp $
COMMENT= XMPP real time collaboration server
DISTNAME= openfire_src_3_7_1
PKGNAME= openfire-3.7.1
V= 3.8.1
DISTNAME= openfire_src_${V:S/./_/g}
PKGNAME= openfire-$V
CATEGORIES= net
REVISION= 0
MASTER_SITES= http://www.igniterealtime.org/downloadServlet?filename=openfire/
@ -15,15 +15,15 @@ PERMIT_PACKAGE_CDROM= Yes
NO_TEST= yes
MODULES=java
MODJAVA_VER = 1.7+
MODJAVA_JRE = Yes
MODJAVA_BUILD = ant
MODULES= java
MODJAVA_VER= 1.7+
MODJAVA_JRE= Yes
MODJAVA_BUILD= ant
RUN_DEPENDS = java/javaPathHelper
RUN_DEPENDS= java/javaPathHelper
WRKDIST= ${WRKDIR}/openfire_src
WRKSRC= ${WRKDIST}/build/
WRKSRC= ${WRKDIST}/build/
OPENFIREDEST= ${PREFIX}/openfire
DATADIRS= lib logs plugins resources

View File

@ -1,2 +1,2 @@
SHA256 (openfire_src_3_7_1.tar.gz) = 0vPaJK8rtcFzsYHL9SGbfwQsiEtfDogdBE1yCT5IN9I=
SIZE (openfire_src_3_7_1.tar.gz) = 66740973
SHA256 (openfire_src_3_8_1.tar.gz) = VU3OOhsKC4g6sP1KBqDO4TbfnpmPGcU9kai15UrahgQ=
SIZE (openfire_src_3_8_1.tar.gz) = 69014231

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-build_build_xml,v 1.1 2011/05/01 09:25:02 landry Exp $
--- build/build.xml.orig Sat Apr 30 18:05:10 2011
+++ build/build.xml Sat Apr 30 18:05:56 2011
@@ -234,6 +234,7 @@
<or>
<contains string="${ant.java.version}" substring="1.5"/>
<contains string="${ant.java.version}" substring="1.6"/>
+ <contains string="${ant.java.version}" substring="1.7"/>
</or>
</not>
</condition>

View File

@ -1,6 +1,9 @@
@comment $OpenBSD: PLIST,v 1.4 2011/03/09 16:50:40 ian Exp $
@comment $OpenBSD: PLIST,v 1.5 2013/03/19 16:55:01 sthen Exp $
@newgroup _openfire:632
@newuser _openfire:632:_openfire:daemon:openfire user:/var/empty:/bin/sh
@extraunexec rm -rf %D/openfire/conf/*
@extraunexec rm -rf %D/openfire/embedded-db
@extraunexec rm -rf %D/openfire/logs/*
@mode 775
@owner root
@group _openfire
@ -382,6 +385,7 @@ share/doc/openfire/database.html
share/doc/openfire/db-integration-guide.html
share/doc/openfire/install-guide.html
share/doc/openfire/ldap-guide.html
share/doc/openfire/pluggable-roster-support-guide.html
share/doc/openfire/plugin-dev-guide.html
share/doc/openfire/ssl-guide.html
share/doc/openfire/translator-guide.html

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.5 2012/08/06 08:46:59 ajacoutot Exp $
$OpenBSD: README,v 1.6 2013/03/19 16:55:01 sthen Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -20,6 +20,8 @@ $OpenBSD: README,v 1.5 2012/08/06 08:46:59 ajacoutot Exp $
3) After starting openfire, you may access the web interface at
http://[hostname]:9090/; when you first login there is a configuration
dialog. After enabling SSL, you can use https://[hostname]:9091/
When creating the admin account, note that the default username
is "admin", not the email address you enter.
4) openfire's automated setup and plugin installation services require
several directories to be writable by the _openfire user. When you