summaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-04-25 17:48:48 +0000
committergarga <garga@FreeBSD.org>2006-04-25 17:48:48 +0000
commitf40a733e3669e19c42cf6a5850f034c13868f61b (patch)
tree1a40bed906b7d754c6703a2feed3238b4ee026dc /net-im
parentcdd9520ff9e9086a46c5c53b484f60a26fb15ead (diff)
downloadFreeBSD-ports-f40a733e3669e19c42cf6a5850f034c13868f61b.zip
FreeBSD-ports-f40a733e3669e19c42cf6a5850f034c13868f61b.tar.gz
- Update to 1.1 [1]
- Fix rc.d script - Change UID and GID of ejabberd user and group, to prevent conflicts with another applications PR: ports/96001, ports/94163, ports/91555 Submitted by: maintainer, garga [1] Approved by: maintainer [1]
Diffstat (limited to 'net-im')
-rw-r--r--net-im/ejabberd/Makefile6
-rw-r--r--net-im/ejabberd/distinfo6
-rw-r--r--net-im/ejabberd/files/ejabberd.sh.in19
-rw-r--r--net-im/ejabberd/files/patch-src-Makefile.in27
-rw-r--r--net-im/ejabberd/files/patch-src::configure8
-rw-r--r--net-im/ejabberd/pkg-install2
-rw-r--r--net-im/ejabberd/pkg-plist14
7 files changed, 40 insertions, 42 deletions
diff --git a/net-im/ejabberd/Makefile b/net-im/ejabberd/Makefile
index 55f375d..770e885 100644
--- a/net-im/ejabberd/Makefile
+++ b/net-im/ejabberd/Makefile
@@ -6,11 +6,9 @@
#
PORTNAME= ejabberd
-PORTVERSION= 1.0.0
-PORTREVISION= 2
+PORTVERSION= 1.1.0
CATEGORIES= net-im
-MASTER_SITES= http://www.jabber.ru/files/ejabberd/ \
- http://www.process-one.net/en/projects/ejabberd/download/${PORTVERSION}/
+MASTER_SITES= http://www.process-one.net/en/projects/ejabberd/download/${PORTVERSION}/
MAINTAINER= shaun@inerd.com
COMMENT= Free and Open Source distributed fault-tolerant Jabber server
diff --git a/net-im/ejabberd/distinfo b/net-im/ejabberd/distinfo
index 46310d3..24afef2 100644
--- a/net-im/ejabberd/distinfo
+++ b/net-im/ejabberd/distinfo
@@ -1,3 +1,3 @@
-MD5 (ejabberd-1.0.0.tar.gz) = bc0bfdad2e5e48e42fcc5d09384be74f
-SHA256 (ejabberd-1.0.0.tar.gz) = 5893fe92665fde5ad7af97c8974d39c07a3b36483be35b1f5b6d3f4ec3b6cbb4
-SIZE (ejabberd-1.0.0.tar.gz) = 726315
+MD5 (ejabberd-1.1.0.tar.gz) = abd310557da32e520c4a3d4f3c97aab1
+SHA256 (ejabberd-1.1.0.tar.gz) = 4c317323eb826ad92fae3b349ea340a931c006cc01f1d8db0cbe19ed324b2593
+SIZE (ejabberd-1.1.0.tar.gz) = 801984
diff --git a/net-im/ejabberd/files/ejabberd.sh.in b/net-im/ejabberd/files/ejabberd.sh.in
index 7404e25..c2dde05 100644
--- a/net-im/ejabberd/files/ejabberd.sh.in
+++ b/net-im/ejabberd/files/ejabberd.sh.in
@@ -43,12 +43,7 @@ ejabberd_status()
ejabberd_start()
{
echo -n "Starting $name: "
- if ejabberd_status; then
- echo " already running."
- exit 1
- else
- su $EJABBERDUSER -c "$EJABBERD -noshell -detached"
- fi
+ su $EJABBERDUSER -c "$EJABBERD -s -noshell -detached"
echo "$name."
}
@@ -56,16 +51,8 @@ ejabberd_stop()
{
echo -n "Stopping $name: "
if su $EJABBERDUSER -c "$EJABBERDCTL ejabberd@`hostname -s` stop"; then
- cnt=0
- while ejabberd_status; do
- cnt=`expr $cnt + 1`
- if [ $cnt -gt 60 ]; then
- echo -n " failed "
- break
- fi
- sleep 1
- echo -n "."
- done
+ sleep 2
+ killall -u ejabberd -kill
else
echo -n " failed "
fi
diff --git a/net-im/ejabberd/files/patch-src-Makefile.in b/net-im/ejabberd/files/patch-src-Makefile.in
index 94e96dd..09f7e92 100644
--- a/net-im/ejabberd/files/patch-src-Makefile.in
+++ b/net-im/ejabberd/files/patch-src-Makefile.in
@@ -1,24 +1,27 @@
---- Makefile.in.orig Tue May 24 01:52:43 2005
-+++ Makefile.in Wed Jul 13 11:09:49 2005
-@@ -17,14 +17,14 @@
- SUBDIRS = @mod_irc@ @mod_pubsub@ @mod_muc@ @eldap@ @web@ stringprep @tls@ @odbc@
- ERLSHLIBS = expat_erl.so
+--- Makefile.in.orig Sat Apr 1 13:06:36 2006
++++ Makefile.in Tue Apr 25 07:43:19 2006
+@@ -32,15 +32,15 @@
+ SOURCES = $(wildcard *.erl)
+ BEAMS = $(SOURCES:.erl=.beam)
--DESTDIR =
+-DESTDIR =
+-
+-EJABBERDDIR = $(DESTDIR)@prefix@/var/lib/ejabberd
+DESTDIR = @prefix@
-
--EJABBERDDIR = $(DESTDIR)/var/lib/ejabberd
++
+EJABBERDDIR = $(DESTDIR)/lib/erlang/lib/ejabberd-$(PORTVERSION)
BEAMDIR = $(EJABBERDDIR)/ebin
PRIVDIR = $(EJABBERDDIR)/priv
SODIR = $(PRIVDIR)/lib
MSGSDIR = $(PRIVDIR)/msgs
--LOGDIR = $(DESTDIR)/var/log/ejabberd
+-LOGDIR = $(DESTDIR)@prefix@/var/log/ejabberd
+-ETCDIR = $(DESTDIR)@prefix@/etc/ejabberd
+LOGDIR = /var/log/ejabberd
- ETCDIR = $(DESTDIR)/etc/ejabberd
++ETCDIR = $(DESTDIR)/etc/ejabberd
+
+ ASN_FLAGS = -bber_bin +der +compact_bit_string +optimize +noobj
- all: $(ERLSHLIBS) compile-beam all-recursive
-@@ -60,7 +60,7 @@
+@@ -82,7 +82,7 @@
install -d $(MSGSDIR)
install -m 644 msgs/*.msg $(MSGSDIR)
install -d $(ETCDIR)
diff --git a/net-im/ejabberd/files/patch-src::configure b/net-im/ejabberd/files/patch-src::configure
index 0c6c768..e857b8a 100644
--- a/net-im/ejabberd/files/patch-src::configure
+++ b/net-im/ejabberd/files/patch-src::configure
@@ -1,10 +1,10 @@
---- configure.orig Sat Jul 3 14:58:07 2004
-+++ configure Sat Jul 3 15:01:49 2004
-@@ -2180,7 +2180,7 @@
+--- configure.orig Sun Apr 23 16:06:17 2006
++++ configure Tue Apr 25 07:15:42 2006
+@@ -2471,7 +2471,7 @@
fi
-- if test "z$ERLC" == "z" || test "z$ERL" == "z"; then
+- if test "z$ERLC" = "z" || test "z$ERL" = "z"; then
+ if test -z "$ERLC" || test -z "$ERL"; then
{ { echo "$as_me:$LINENO: error: erlang not found" >&5
echo "$as_me: error: erlang not found" >&2;}
diff --git a/net-im/ejabberd/pkg-install b/net-im/ejabberd/pkg-install
index 419c889..b1d7069 100644
--- a/net-im/ejabberd/pkg-install
+++ b/net-im/ejabberd/pkg-install
@@ -6,7 +6,7 @@ fi
USER=ejabberd
GROUP=${USER}
-UID=522
+UID=544
GID=${UID}
USERS_HOME="/var/spool/ejabberd"
diff --git a/net-im/ejabberd/pkg-plist b/net-im/ejabberd/pkg-plist
index 1555625..c5be066 100644
--- a/net-im/ejabberd/pkg-plist
+++ b/net-im/ejabberd/pkg-plist
@@ -11,6 +11,7 @@ lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%.app
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_app.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_auth.beam
+lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_auth_anonymous.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_auth_external.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_auth_internal.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_auth_ldap.beam
@@ -33,12 +34,16 @@ lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_service.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_sm.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_sup.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_tmp_sup.beam
+lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_update.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_web.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_web_admin.beam
+lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_zlib.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/ELDAPv3.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/XmppAddr.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/acl.beam
+lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/adhoc.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/cyrsasl.beam
+lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/cyrsasl_anonymous.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/cyrsasl_digest.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/cyrsasl_plain.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/ejd2odbc.beam
@@ -50,6 +55,7 @@ lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/iconv.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/idna.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/jd2ejd.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/jlib.beam
+lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_adhoc.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_announce.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_configure.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_configure2.beam
@@ -60,6 +66,7 @@ lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_irc_connection.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_last.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_last_odbc.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_muc.beam
+lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_muc_log.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_muc_room.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_offline.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_offline_odbc.beam
@@ -85,6 +92,7 @@ lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/tls.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/translate.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/xml.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/xml_stream.beam
+lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/lib/%%PORTNAME%%_zlib_drv.so
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/lib/expat_erl.so
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/lib/iconv_erl.so
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/lib/stringprep_drv.so
@@ -100,14 +108,15 @@ lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/msgs/ru.msg
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/msgs/sv.msg
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/msgs/uk.msg
%%PORTDOCS%%%%DOCSDIR%%/Makefile
-%%PORTDOCS%%%%DOCSDIR%%/dev.html
%%PORTDOCS%%%%DOCSDIR%%/dev.tex
%%PORTDOCS%%%%DOCSDIR%%/disco.png
%%PORTDOCS%%%%DOCSDIR%%/discorus.png
%%PORTDOCS%%%%DOCSDIR%%/features.tex
+%%PORTDOCS%%%%DOCSDIR%%/features2.tex
%%PORTDOCS%%%%DOCSDIR%%/flow.dot
%%PORTDOCS%%%%DOCSDIR%%/guide.html
%%PORTDOCS%%%%DOCSDIR%%/guide.tex
+%%PORTDOCS%%%%DOCSDIR%%/guide.tex.flc
%%PORTDOCS%%%%DOCSDIR%%/hevea.sty
%%PORTDOCS%%%%DOCSDIR%%/introduction.tex
%%PORTDOCS%%%%DOCSDIR%%/logo.png
@@ -115,12 +124,13 @@ lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/msgs/uk.msg
%%PORTDOCS%%%%DOCSDIR%%/release_notes_0.9.1.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_0.9.8.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_0.9.txt
+%%PORTDOCS%%%%DOCSDIR%%/release_notes_1.0.0.txt
%%PORTDOCS%%%%DOCSDIR%%/version.tex
%%PORTDOCS%%%%DOCSDIR%%/webadmmain.png
%%PORTDOCS%%%%DOCSDIR%%/webadmmainru.png
%%PORTDOCS%%%%DOCSDIR%%/yozhikheader.png
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm etc/%%PORTNAME%%
+@dirrmtry etc/%%PORTNAME%%
@dirrm lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/msgs
@dirrm lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/lib
@dirrm lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv
OpenPOWER on IntegriCloud