diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-03-03 18:10:33 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-03-03 18:10:33 +0100 |
commit | 078f330fe5a44d365eccd9da4d83b90378921da7 (patch) | |
tree | bbd4718a2ac1429d964ef1323d8d652552e5e5bf /net-im | |
parent | app-admin/collectd: Security cleanup (diff) | |
download | gentoo-078f330fe5a44d365eccd9da4d83b90378921da7.tar.gz gentoo-078f330fe5a44d365eccd9da4d83b90378921da7.tar.bz2 gentoo-078f330fe5a44d365eccd9da4d83b90378921da7.zip |
net-im/mu-conference: Removed from repository
Bug: https://bugs.gentoo.org/629416
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/mu-conference/Manifest | 1 | ||||
-rw-r--r-- | net-im/mu-conference/files/mu-conference-0.7.init | 25 | ||||
-rw-r--r-- | net-im/mu-conference/files/mu-conference-0.8.81-sha1_64bit.patch | 31 | ||||
-rw-r--r-- | net-im/mu-conference/metadata.xml | 6 | ||||
-rw-r--r-- | net-im/mu-conference/mu-conference-0.8.81-r2.ebuild | 94 |
5 files changed, 0 insertions, 157 deletions
diff --git a/net-im/mu-conference/Manifest b/net-im/mu-conference/Manifest deleted file mode 100644 index ec34dd56b0fd..000000000000 --- a/net-im/mu-conference/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mu-conference-0.8.81.tar.gz 247649 BLAKE2B 765ca8d25e11b5b0cabd000476fc12667489f742e3e222004ffac7e13c5a88eb9d462a53c1bcf8b72a3637e89134e7ddb142b5116840724dbad57dfeee65448d SHA512 96bfafac726ebc8c1a7489f092e5a6d90df0aaff39a183aaa33847e12caf142fe64178d7041fff15115bb5d8116e69b7dce95cb4caf329a4187b5c35ceca28b1 diff --git a/net-im/mu-conference/files/mu-conference-0.7.init b/net-im/mu-conference/files/mu-conference-0.7.init deleted file mode 100644 index a41c470cc815..000000000000 --- a/net-im/mu-conference/files/mu-conference-0.7.init +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/openrc-run - -depend() { - need net - use jabber-server -} - -start() { - ebegin "Starting MUC Jabber Transport" - start-stop-daemon \ - --background \ - --start \ - --user jabber:jabber \ - --exec /usr/bin/mu-conference \ - -- -c /etc/jabber/mu-conference.xml - eend $? -} - -stop() { - ebegin "Stoping MUC Jabber Transport" - start-stop-daemon \ - --stop \ - --pidfile /var/run/jabber/mu-conference.pid - eend $? -} diff --git a/net-im/mu-conference/files/mu-conference-0.8.81-sha1_64bit.patch b/net-im/mu-conference/files/mu-conference-0.8.81-sha1_64bit.patch deleted file mode 100644 index 2764daa10544..000000000000 --- a/net-im/mu-conference/files/mu-conference-0.8.81-sha1_64bit.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- mu-conference-0.8.81/include/lib.h -+++ mu-conference-0.8.81/include/lib.h -@@ -114,13 +114,6 @@ - /* SHA calculations */ - /* */ - /* --------------------------------------------------------- */ --#if (SIZEOF_INT == 4) --typedef unsigned int uint32; --#elif (SIZEOF_SHORT == 4) --typedef unsigned short uint32; --#else --typedef unsigned int uint32; --#endif /* HAVEUINT32 */ - - char *shahash(char *str); /* NOT THREAD SAFE */ - void shahash_r(const char* str, char hashbuf[40]); /* USE ME */ -@@ -301,10 +294,10 @@ - - - typedef struct { -- uint32_t H[5]; -- uint32_t W[80]; -+ guint32 H[5]; -+ guint32 W[80]; - int lenW; -- uint32_t sizeHi,sizeLo; -+ guint32 sizeHi,sizeLo; - } j_SHA_CTX; - - - diff --git a/net-im/mu-conference/metadata.xml b/net-im/mu-conference/metadata.xml deleted file mode 100644 index e3c243e00aa9..000000000000 --- a/net-im/mu-conference/metadata.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <longdescription>Multi User Conference for Jabber</longdescription> -</pkgmetadata> diff --git a/net-im/mu-conference/mu-conference-0.8.81-r2.ebuild b/net-im/mu-conference/mu-conference-0.8.81-r2.ebuild deleted file mode 100644 index ed5e3ea48f72..000000000000 --- a/net-im/mu-conference/mu-conference-0.8.81-r2.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Multi-User Chat for jabberd" -HOMEPAGE="https://gna.org/projects/mu-conference/" -SRC_URI="http://download.gna.org/mu-conference/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -SLOT="0" -IUSE="mysql" - -RDEPEND=" - dev-libs/expat - >=dev-libs/glib-2:2 - net-dns/libidn - net-im/jabberd2 - mysql? ( virtual/mysql ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -PATCHES=( - # http://gna.org/bugs/?16238 - "${FILESDIR}"/${P}-sha1_64bit.patch -) - -src_prepare() { - # Fix missing header in src/conference_user.c in order to - # make emerge happy and avoid QA notice. - sed -i -e "/conference.h/ i #define _XOPEN_SOURCE" src/conference_user.c || die - - if use mysql; then - sed -i -e '/^CFLAGS/ a CFLAGS:=$(CFLAGS) -DHAVE_MYSQL' \ - -e '/^LIBS/ a LIBS:=$(LIBS) `mysql_config --libs`' src/Makefile || die - fi - sed -i -e 's/^CC:=/CC?=/' -e 's/$(MCFLAGS)/$(MCFLAGS) $(LDFLAGS)/'\ - -e 's/LDFLAGS:=-L./LDFLAGS:=$(LDFLAGS) -L./'\ - -e 's/$(LDFLAGS) $(LIBS)/$(LIBS)/' src/Makefile || die - sed -i -e 's/-O2//' src/{,jabberd,jcomp}/Makefile || die - sed -i -e 's/CC=/CC?=/' src/{jabberd,jcomp}/Makefile || die - sed -i -e 's/ar/$(AR)/' -e 's/ranlib/$(RANLIB)/' src/jabberd/Makefile || die - sed -i -e 's/gcc -g/$(CC) -g/' src/jcomp/Makefile || die - tc-export CC AR RANLIB - - default -} - -src_install() { - dobin src/mu-conference - fowners jabber:jabber /usr/bin/mu-conference - fperms 750 /usr/bin/mu-conference - - newinitd "${FILESDIR}/${PN}"-0.7.init mu-conference - - dodoc ChangeLog FAQ mu-conference.sql README README.sql - docinto scripts - dodoc scripts/* - - local i - for i in log spool; do - dodir /var/${i}/jabber/mu-conference - keepdir /var/${i}/jabber/mu-conference - fowners jabber:jabber /var/${i}/jabber/mu-conference - fperms 770 /var/${i}/jabber/mu-conference - done - - insinto /etc/jabber - newins muc-default.xml mu-conference.xml - doins style.css - - sed -i \ - -e 's,./spool/chat.localhost,/var/spool/jabber/mu-conference,g' \ - -e 's,./syslogs,/var/log/jabber,g' \ - -e 's,./logs,/var/log/jabber/mu-conference,g' \ - -e 's,./mu-conference.pid,/var/run/jabber/mu-conference.pid,g' \ - -e "s,../style.css,/etc/jabber/style.css,g" \ - -e "s,7009,5347,g" \ - "${D}"/etc/jabber/mu-conference.xml || die "sed failed" -} - -pkg_postinst() { - echo - elog "For jabberd-2 connection:" - elog "1. Make sure that the ip and port in /etc/jabber/mu-conference.xml" - elog " match the address of your jabberd router." - elog "2. Set a common secret in mu-conference.xml and router.xml" - echo -} |