aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorvsevolod <vsevolod@FreeBSD.org>2005-07-28 14:31:46 +0800
committervsevolod <vsevolod@FreeBSD.org>2005-07-28 14:31:46 +0800
commitfa4328527079d7847c9d94bebbbf991242008ad5 (patch)
tree54d5c9a95b8c094387c3287fbaf4e874eff39dd3 /net
parent336c4479f60f316588e2cfec49dd60ff871f2dcf (diff)
downloadfreebsd-ports-gnome-fa4328527079d7847c9d94bebbbf991242008ad5.tar.gz
freebsd-ports-gnome-fa4328527079d7847c9d94bebbbf991242008ad5.tar.zst
freebsd-ports-gnome-fa4328527079d7847c9d94bebbbf991242008ad5.zip
Update to 2.0s9 that fixes 3 buffer overflow vulnerabilities.
Convert to OPTIONS. Approved by: kirk@strauser.com (maintainer), perky (mentor)
Diffstat (limited to 'net')
-rw-r--r--net/jabberd/Makefile25
-rw-r--r--net/jabberd/distinfo4
-rw-r--r--net/jabberd/pkg-plist1
3 files changed, 15 insertions, 15 deletions
diff --git a/net/jabberd/Makefile b/net/jabberd/Makefile
index 505d697e997d..e1345bbfb0f9 100644
--- a/net/jabberd/Makefile
+++ b/net/jabberd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= jabberd
-PORTVERSION= 2.0.8
+PORTVERSION= 2.0.9
CATEGORIES= net
MASTER_SITES= http://files.jabberstudio.org/jabberd2/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}s${PORTVERSION:E}
@@ -17,6 +17,13 @@ COMMENT= Online presence and instant messaging server
LIB_DEPENDS= idn.16:${PORTSDIR}/devel/libidn
+OPTIONS= POSTGRESQL "Use PostgreSQL for storage and authentication" off \
+ MYSQL "Use MySQL for storage and authentication" off \
+ LDAP "Use LDAP for authentication" off \
+ BDB "Use BDB for storage and authentication" off \
+ PAM "Use PAM for authentication" off \
+ DEBUG "Compile with debug information" on
+
GNU_CONFIGURE= yes
USE_OPENSSL= yes
USE_ICONV= yes
@@ -27,7 +34,9 @@ CONFIGURE_ARGS= --localstatedir=/var \
--with-extra-library-path=${LOCALBASE}/lib${ELP} \
--enable-fs
-.if !defined(WITHOUT_DEBUG)
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--enable-debug
.endif
@@ -71,16 +80,6 @@ CONFIGURE_ARGS+=--disable-pam
MAN8= c2s.8 jabberd.8 resolver.8 router.8 s2s.8 sm.8
-pre-everything::
- @${ECHO}
- @${ECHO} "You can build Jabber with the following options:"
- @${ECHO} "WITH_POSTGRESQL use PostgreSQL for storage and authentication"
- @${ECHO} "WITH_BDB use Berkeley DB for storage and authentication"
- @${ECHO} "WITH_MYSQL use MySQL for storage and authentication"
- @${ECHO} "WITH_LDAP use LDAP for authentication"
- @${ECHO} "WITH_PAM use PAM for authentication"
- @${ECHO}
-
pre-install:
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@@ -92,4 +91,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/tools/db-setup.mysql ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/tools/db-setup.pgsql ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/jabberd/distinfo b/net/jabberd/distinfo
index 545ace704c9e..bb3340033a1b 100644
--- a/net/jabberd/distinfo
+++ b/net/jabberd/distinfo
@@ -1,2 +1,2 @@
-MD5 (jabber/jabberd-2.0s8.tar.gz) = 96753c5e74676ace0841a4cee9f13fdb
-SIZE (jabber/jabberd-2.0s8.tar.gz) = 757149
+MD5 (jabber/jabberd-2.0s9.tar.gz) = 64905ccbbe5c6fe1f583401802a3e303
+SIZE (jabber/jabberd-2.0s9.tar.gz) = 769049
diff --git a/net/jabberd/pkg-plist b/net/jabberd/pkg-plist
index 09318e987800..1deafcfe4e18 100644
--- a/net/jabberd/pkg-plist
+++ b/net/jabberd/pkg-plist
@@ -1,3 +1,4 @@
+@unexec [ ! -f /var/jabberd/pid/router.pid ] || %D/etc/rc.d/jabberd.sh stop || true
bin/c2s
bin/jabberd
bin/resolver