pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/teamspeak-server Updated net/teamspeak-server to 2...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d68a3c75cbf7
branches:  trunk
changeset: 552599:d68a3c75cbf7
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue Jan 06 22:53:30 2009 +0000

description:
Updated net/teamspeak-server to 2.0.24.01

pkgsrc changes:
        PKG_DESTDIR_SUPPORT=  user-destdir

### 2.0.24.1 ###
- fixed several \0 char exploits in the TCP query interface which could cause database corruption

### 2.0.23.22 ###
- fixed a security issue which could enable an attcker to read files from your harddisk via the
  servers built-in web administration interface

### 2.0.23.21 ###
- fixed a XSS bug in the servers built-in web administration interface

### 2.0.23.20 ###
- fixed a SQL injection issue which only affects servers running on MySQL databases

diffstat:

 net/teamspeak-server/Makefile |  42 +++++++++++++++++++++++-------------------
 net/teamspeak-server/distinfo |   5 ++++-
 2 files changed, 27 insertions(+), 20 deletions(-)

diffs (82 lines):

diff -r be6b1abe9f95 -r d68a3c75cbf7 net/teamspeak-server/Makefile
--- a/net/teamspeak-server/Makefile     Tue Jan 06 21:48:36 2009 +0000
+++ b/net/teamspeak-server/Makefile     Tue Jan 06 22:53:30 2009 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.7 2008/05/26 02:13:23 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2009/01/06 22:53:30 abs Exp $
 
-ftp://ftp.freenet.de/pub/4players/teamspeak.org/developer/server/202319/ts2_server_rc2_202319.tar.bz2
-
-PKGNAME=               teamspeak-server-2.0.23.19
+PKGNAME=               teamspeak-server-2.0.24.01
 DISTNAME=              ts2_server_rc2_202319
 CATEGORIES=            net audio
-MASTER_SITES=          ftp://ftp.freenet.de/pub/4players/teamspeak.org/developer/server/202319/
+MASTER_SITES=          ftp://ftp.freenet.de/pub/4players/teamspeak.org/developer/server/202401/ \
+                       ftp://ftp.freenet.de/pub/4players/teamspeak.org/developer/server/202319/
 EXTRACT_SUFX=          .tar.bz2
-# EXTRACT_ONLY=                ${DISTNAME}${EXTRACT_SUFX}
+EXTRACT_ONLY=          ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES=             ${DISTNAME}${EXTRACT_SUFX} server_linux
 
 MAINTAINER=            abs%NetBSD.org@localhost
 HOMEPAGE=              http://www.goteamspeak.com/
@@ -57,28 +57,32 @@
                        ${SHARE_DIR}/tcpquerydocs ${SHARE_DIR}/mysql_sql \
                        ${SHARE_DIR}/sqlite_sql ${DOC_DIR}/Manual
 
+PKG_DESTDIR_SUPPORT=  user-destdir
 USE_TOOLS+=    pax
 
+post-extract:
+       ${CP} ${DISTDIR}/server_linux ${WRKSRC}
+
 do-build:
        ${MV} ${WRKSRC}/Manual/_TeamSpeak\ RC2\ Server\ manual-1.png \
              ${WRKSRC}/Manual/_TeamSpeak_RC2_Server_manual-1.png
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/server_linux ${LIB_DIR}/teamspeak-server
-       ${INSTALL_LIB} ${WRKSRC}/*.so* ${LIB_DIR}
-       ${INSTALL_SCRIPT} -m 644 ${FILESDIR}/teamspeak.sh ${PREFIX}/share/examples/rc.d/teamspeak
+       ${INSTALL_PROGRAM} ${WRKSRC}/server_linux ${DESTDIR}${LIB_DIR}/teamspeak-server
+       ${INSTALL_LIB} ${WRKSRC}/*.so* ${DESTDIR}${LIB_DIR}
+       ${INSTALL_SCRIPT} -m 644 ${FILESDIR}/teamspeak.sh ${DESTDIR}${PREFIX}/share/examples/rc.d/teamspeak
        for d in httpdocs tcpquerydocs mysql_sql sqlite_sql ; do \
-       cd ${WRKSRC}/$$d && pax -rw . ${SHARE_DIR}/$$d;\
-       ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${SHARE_DIR}/$$d;\
-       ${FIND} ${SHARE_DIR}/$$d -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE};\
+       cd ${WRKSRC}/$$d && pax -rw . ${DESTDIR}${SHARE_DIR}/$$d;\
+       ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${SHARE_DIR}/$$d;\
+       ${FIND} ${DESTDIR}${SHARE_DIR}/$$d -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE};\
        done
-       ${INSTALL_DATA} -m 644 ${WRKSRC}/Manual/* ${DOC_DIR}/Manual
-       ${INSTALL_DATA} -m 644 ${WRKSRC}/manual.html ${DOC_DIR}
-       ${INSTALL_DATA} -m 644 ${WRKSRC}/README ${DOC_DIR}
-       ${INSTALL_DATA} -m 644 ${WRKSRC}/INSTALL ${DOC_DIR}
-       ${INSTALL_DATA} -m 644 ${WRKSRC}/INSTALL.mysql ${DOC_DIR}
+       ${INSTALL_DATA} -m 644 ${WRKSRC}/Manual/* ${DESTDIR}${DOC_DIR}/Manual
+       ${INSTALL_DATA} -m 644 ${WRKSRC}/manual.html ${DESTDIR}${DOC_DIR}
+       ${INSTALL_DATA} -m 644 ${WRKSRC}/README ${DESTDIR}${DOC_DIR}
+       ${INSTALL_DATA} -m 644 ${WRKSRC}/INSTALL ${DESTDIR}${DOC_DIR}
+       ${INSTALL_DATA} -m 644 ${WRKSRC}/INSTALL.mysql ${DESTDIR}${DOC_DIR}
        ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}
-       (cd ${PREFIX}; ${FIND} lib/teamspeak-server share/doc/teamspeak-server share/teamspeak-server -type f -print ) >> ${PLIST_SRC}
-       (cd ${PREFIX}; ${FIND} lib/teamspeak-server share/doc/teamspeak-server share/teamspeak-server -type d -print ) | ${SED} 's/^/@dirrm /' | ${SORT} -r >> ${PLIST_SRC}
+       (cd ${DESTDIR}${PREFIX}; ${FIND} lib/teamspeak-server share/doc/teamspeak-server share/teamspeak-server -type f -print ) >> ${PLIST_SRC}
+       (cd ${DESTDIR}${PREFIX}; ${FIND} lib/teamspeak-server share/doc/teamspeak-server share/teamspeak-server -type d -print ) | ${SED} 's/^/@dirrm /' | ${SORT} -r >> ${PLIST_SRC}
 
 .include "../../mk/bsd.pkg.mk"
diff -r be6b1abe9f95 -r d68a3c75cbf7 net/teamspeak-server/distinfo
--- a/net/teamspeak-server/distinfo     Tue Jan 06 21:48:36 2009 +0000
+++ b/net/teamspeak-server/distinfo     Tue Jan 06 22:53:30 2009 +0000
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.2 2007/08/03 16:51:10 abs Exp $
+$NetBSD: distinfo,v 1.3 2009/01/06 22:53:30 abs Exp $
 
+SHA1 (server_linux) = fa589b3502f0f205395856b19374bb111f940f57
+RMD160 (server_linux) = e0e0f8a4a60578bed837dee8cd2c678ee5dc79f3
+Size (server_linux) = 950856 bytes
 SHA1 (ts2_server_rc2_202319.tar.bz2) = 645dc564a7dda61212c8c6e7f2d5e6a3094f9c74
 RMD160 (ts2_server_rc2_202319.tar.bz2) = b941f5ec105bc86ba124d1a9a2763e0617a8f6bb
 Size (ts2_server_rc2_202319.tar.bz2) = 1155345 bytes



Home | Main Index | Thread Index | Old Index