From 5a6379173cbcdb764657fea63b0c3db04645aaf3 Mon Sep 17 00:00:00 2001 From: José María Alonso Date: Wed, 18 Jul 2012 11:21:01 +0000 Subject: [net-irc/inspircd] Cleanup of 1.2 series. (Portage version: 2.1.10.65/cvs/Linux x86_64) --- net-irc/inspircd/ChangeLog | 6 +- net-irc/inspircd/files/init.d_inspircd | 37 ---------- net-irc/inspircd/inspircd-1.2.8.ebuild | 130 --------------------------------- 3 files changed, 5 insertions(+), 168 deletions(-) delete mode 100644 net-irc/inspircd/files/init.d_inspircd delete mode 100644 net-irc/inspircd/inspircd-1.2.8.ebuild (limited to 'net-irc') diff --git a/net-irc/inspircd/ChangeLog b/net-irc/inspircd/ChangeLog index f12ab912cd33..faeb269fd804 100644 --- a/net-irc/inspircd/ChangeLog +++ b/net-irc/inspircd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-irc/inspircd # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.51 2012/07/07 12:35:20 nimiux Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.52 2012/07/18 11:21:01 nimiux Exp $ + + 18 Jul 2012; Chema Alonso -inspircd-1.2.8.ebuild, + -files/init.d_inspircd: + Remove 1.2 series. *inspircd-2.0.7 (07 Jul 2012) diff --git a/net-irc/inspircd/files/init.d_inspircd b/net-irc/inspircd/files/init.d_inspircd deleted file mode 100644 index 6a1844a8125a..000000000000 --- a/net-irc/inspircd/files/init.d_inspircd +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/files/init.d_inspircd,v 1.4 2007/11/12 21:47:33 hansmi Exp $ - -opts="${opts} rehash version" - -depend() { - need net - provide ircd -} - -start() { - ebegin "Starting InspIRCd" - start-stop-daemon --start --quiet --chuid inspircd \ - --exec /usr/bin/inspircd -- \ - --logfile /var/log/inspircd/ircd.log &> /dev/null - eend $? -} - -stop() { - ebegin "Stopping InspIRCd" - start-stop-daemon --stop --quiet --exec /usr/bin/inspircd - eend $? -} - -rehash() { - ebegin "Rehashing InspIRCd" - /usr/lib/inspircd/inspircd.launcher/inspircd rehash &> /dev/null - eend $? -} - -version() { - ebegin "Retrieve InspIRCd version" - /usr/lib/inspircd/inspircd.launcher/inspircd version - eend $? -} diff --git a/net-irc/inspircd/inspircd-1.2.8.ebuild b/net-irc/inspircd/inspircd-1.2.8.ebuild deleted file mode 100644 index a8a7d6a59c50..000000000000 --- a/net-irc/inspircd/inspircd-1.2.8.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/inspircd-1.2.8.ebuild,v 1.3 2011/04/26 14:41:35 xarthisius Exp $ - -EAPI=2 -inherit eutils toolchain-funcs multilib - -DESCRIPTION="InspIRCd - The Modular C++ IRC Daemon" -HOMEPAGE="http://www.inspircd.org/" -SRC_URI="http://www.inspircd.org/downloads/InspIRCd-${PV}.tar.bz2 - mirror://sourceforge/${PN}/InspIRCd-${PV}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="openssl gnutls ipv6 mysql postgres sqlite zlib ldap" - -RDEPEND=" - dev-lang/perl - openssl? ( dev-libs/openssl ) - gnutls? ( net-libs/gnutls ) - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql-server ) - sqlite? ( >=dev-db/sqlite-3.0 ) - ldap? ( net-nds/openldap )" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/inspircd" - -src_prepare() { - local SQL=0 - cd src/modules || die - - if use zlib ; then - cp extra/m_ziplink.cpp . || die - fi - - if use openssl ; then - cp extra/m_ssl_openssl.cpp . || die - fi - - if use gnutls ; then - cp extra/m_ssl_gnutls.cpp . || die - fi - - if use ldap ; then - cp extra/m_ldapauth.cpp . || die - fi - - if use mysql ; then - SQL=1 - cp extra/m_mysql.cpp . || die - fi - if use postgres ; then - SQL=1 - cp extra/m_pgsql.cpp . || die - fi - if use sqlite ; then - SQL=1 - cp extra/m_sqlite3.cpp . || die - fi - if [ ${SQL} -eq 1 ] ; then - cp extra/m_sql{auth.cpp,log.cpp,oper.cpp,utils.cpp,utils.h,v2.h} . || die - fi -} - -src_configure() { - # ./configure doesn't know --disable-gnutls, -ipv6 and -openssl options, - # so should be used only --enable-like. - local myconf="" - use gnutls && myconf="--enable-gnutls" - use ipv6 && myconf="${myconf} --enable-ipv6 --enable-remote-ipv6" - use openssl && myconf="${myconf} --enable-openssl" - - # allow inspircd to be built by root - touch .force-root-ok || die - - ./configure ${myconf} \ - --enable-epoll \ - --prefix="/usr/$(get_libdir)/inspircd" \ - --config-dir="/etc/inspircd" \ - --binary-dir="/usr/bin" \ - --library-dir="/usr/$(get_libdir)/inspircd" \ - --module-dir="/usr/$(get_libdir)/inspircd/modules" \ - || die "configure failed" - ./configure -modupdate || die "modupdate failed" -} - -src_compile() { - emake CC="$(tc-getCXX)" || die "emake failed" -} - -src_install() { - # the inspircd buildsystem does not create these, its configure script - # does. so, we have to make sure they are there. - dodir /usr/$(get_libdir)/inspircd || die - dodir /usr/$(get_libdir)/inspircd/modules || die - dodir /etc/inspircd || die - dodir /var/log/inspircd || die - dodir /usr/include/inspircd || die - - emake install \ - LIBPATH="${D}/usr/$(get_libdir)/inspircd/" \ - MODPATH="${D}/usr/$(get_libdir)/inspircd/modules/" \ - CONPATH="${D}/etc/inspircd" \ - BINPATH="${D}/usr/bin" \ - BASE="${D}/usr/$(get_libdir)/inspircd/inspircd.launcher" || die - - insinto /usr/include/inspircd/ - doins include/* || die - - newinitd "${FILESDIR}"/init.d_inspircd inspircd || die - - keepdir "/var/log/inspircd/" -} - -pkg_postinst() { - enewgroup inspircd - enewuser inspircd -1 -1 -1 inspircd - chown -R inspircd:inspircd "${ROOT}"/etc/inspircd - chmod 700 "${ROOT}"/etc/inspircd - - chmod 750 "${ROOT}"/var/log/inspircd - chown -R inspircd:inspircd "${ROOT}"/var/log/inspircd - - chown -R inspircd:inspircd "${ROOT}"/usr/$(get_libdir)/inspircd - chmod -R 755 "${ROOT}"/usr/$(get_libdir)/inspircd - - chmod -R 755 "${ROOT}"/usr/bin/inspircd -} -- cgit v1.2.3-65-gdbad