diff options
author | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2006-08-29 22:54:17 +0000 |
---|---|---|
committer | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2006-08-29 22:54:17 +0000 |
commit | 92aaa422476504bc41c91633f6aafe67701476f8 (patch) | |
tree | b51897b1c0d64138a05fab9f28041dea749c823a /net-irc | |
parent | Remove PCRE support through external lib, it's broken (see http://bugs.php.ne... (diff) | |
download | historical-92aaa422476504bc41c91633f6aafe67701476f8.tar.gz historical-92aaa422476504bc41c91633f6aafe67701476f8.tar.bz2 historical-92aaa422476504bc41c91633f6aafe67701476f8.zip |
Initial import of Anope IRC Services
Package-Manager: portage-2.1.1_rc1-r1
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/anope/ChangeLog | 9 | ||||
-rw-r--r-- | net-irc/anope/Manifest | 28 | ||||
-rw-r--r-- | net-irc/anope/anope-1.7.15.ebuild | 131 | ||||
-rw-r--r-- | net-irc/anope/files/anope.confd | 9 | ||||
-rw-r--r-- | net-irc/anope/files/anope.initd | 21 | ||||
-rw-r--r-- | net-irc/anope/files/digest-anope-1.7.15 | 3 | ||||
-rw-r--r-- | net-irc/anope/files/pid-patch.diff | 12 | ||||
-rw-r--r-- | net-irc/anope/metadata.xml | 10 |
8 files changed, 223 insertions, 0 deletions
diff --git a/net-irc/anope/ChangeLog b/net-irc/anope/ChangeLog new file mode 100644 index 000000000000..a38f0774bbc6 --- /dev/null +++ b/net-irc/anope/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-irc/anope +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/anope/ChangeLog,v 1.1 2006/08/29 22:54:17 gurligebis Exp $ + +*anope-1.7.15 (29 Aug 2006) + + 29 Aug 2006; Bjarke Istrup Pedersen <gurligebis@gentoo.org> : + Initial import. Based on ebuild by Björn Stiddien <keeper@anope.org>. + diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest new file mode 100644 index 000000000000..8e8dcba58019 --- /dev/null +++ b/net-irc/anope/Manifest @@ -0,0 +1,28 @@ +AUX anope.confd 319 RMD160 0c5d646bfa55a17a32b9438c79abae6fce8a3edc SHA1 e19f46901bf4c79d79c8dc55cb84973c9d136730 SHA256 c2a9351942865763e6fdeaa9c37be28efb23f788dc9041439ca80b7d60d1c4f4 +MD5 f9b52709194a93f6e17c68fb53e3b83a files/anope.confd 319 +RMD160 0c5d646bfa55a17a32b9438c79abae6fce8a3edc files/anope.confd 319 +SHA256 c2a9351942865763e6fdeaa9c37be28efb23f788dc9041439ca80b7d60d1c4f4 files/anope.confd 319 +AUX anope.initd 575 RMD160 59f2759c0b3918f4d510c4f5f738dc40e079a511 SHA1 4669ee3d2eec9251b763438e0627f7152b5afc5a SHA256 bf510cb3eb2c9839630f834bc2730c6b4d3da9a7d9a671b02eefefad5f39ed1d +MD5 63401e46a2c9930579de35cbd682bf5b files/anope.initd 575 +RMD160 59f2759c0b3918f4d510c4f5f738dc40e079a511 files/anope.initd 575 +SHA256 bf510cb3eb2c9839630f834bc2730c6b4d3da9a7d9a671b02eefefad5f39ed1d files/anope.initd 575 +AUX pid-patch.diff 492 RMD160 071e05bc217b2d1a4831c5860ed39b7ca6ab7a49 SHA1 11fe8a79cf613901e8c0b68887865c1fd32f20b5 SHA256 690dc373594038b65de846e77364d377355a040ca543f332154eb90926111001 +MD5 816cd1c87c345e401fd160e09c3977d0 files/pid-patch.diff 492 +RMD160 071e05bc217b2d1a4831c5860ed39b7ca6ab7a49 files/pid-patch.diff 492 +SHA256 690dc373594038b65de846e77364d377355a040ca543f332154eb90926111001 files/pid-patch.diff 492 +DIST anope-1.7.15.tar.gz 1463100 RMD160 1a1e87abc272b0b891ab2bfc84d78e39d22b3c78 SHA1 2878e31a27e7d88b13c1d0644a3bba641d7a59ee SHA256 356ef9aaa719639c11a9395bc6e2379f26a1b05be55a2f31eb9df287526782b5 +EBUILD anope-1.7.15.ebuild 3468 RMD160 ec11ad5f1418f1dfc39b2aa4a40959491dce3fe3 SHA1 f770c45862e019d8fb49df389643210aad9d5bd0 SHA256 555ffe9b4b2a60e36ce85ce1ba86aee273e0fa465076d6affbcde0aca8758b98 +MD5 451d78868c1da3ad8a38b61eaaeffd89 anope-1.7.15.ebuild 3468 +RMD160 ec11ad5f1418f1dfc39b2aa4a40959491dce3fe3 anope-1.7.15.ebuild 3468 +SHA256 555ffe9b4b2a60e36ce85ce1ba86aee273e0fa465076d6affbcde0aca8758b98 anope-1.7.15.ebuild 3468 +MISC ChangeLog 371 RMD160 32aa790f50b61a9b8ea0783eced3feb758e1ae9a SHA1 13027ad0285405e7ea774113554d09f12ef580b4 SHA256 05f2118469a6249b3f5981ca0f0f936d078edd5383ae5bc4c9636121f5b836c1 +MD5 1ea36ea39a3326083cdbff877fbc967a ChangeLog 371 +RMD160 32aa790f50b61a9b8ea0783eced3feb758e1ae9a ChangeLog 371 +SHA256 05f2118469a6249b3f5981ca0f0f936d078edd5383ae5bc4c9636121f5b836c1 ChangeLog 371 +MISC metadata.xml 322 RMD160 4ac585786fcb58a92771bd8ee9f71f4738e64798 SHA1 133d8c37c5ab6d5366948f3de3e18c5a7a230ed4 SHA256 4240b9effe8d7796234c47e4f4af9ef4250bcfcafa9ec09e4b6a4a503de10b71 +MD5 8a4fabb29aaec1667591f41ccf2703c2 metadata.xml 322 +RMD160 4ac585786fcb58a92771bd8ee9f71f4738e64798 metadata.xml 322 +SHA256 4240b9effe8d7796234c47e4f4af9ef4250bcfcafa9ec09e4b6a4a503de10b71 metadata.xml 322 +MD5 7f483c2ab49d5ac964b497c16a1da56c files/digest-anope-1.7.15 241 +RMD160 1578bfe013cf6a0438238002777e3b81632fd7b6 files/digest-anope-1.7.15 241 +SHA256 8a17067efdbc68b4a41dc2af1b0548375eb3fffd9055cf1bcc62f3cb07f215db files/digest-anope-1.7.15 241 diff --git a/net-irc/anope/anope-1.7.15.ebuild b/net-irc/anope/anope-1.7.15.ebuild new file mode 100644 index 000000000000..b3a0b6bf2403 --- /dev/null +++ b/net-irc/anope/anope-1.7.15.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/anope/anope-1.7.15.ebuild,v 1.1 2006/08/29 22:54:17 gurligebis Exp $ + +inherit eutils + +DESCRIPTION="Anope IRC Services" +HOMEPAGE="http://www.anope.org" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="mysql" + +DEPEND="mysql? ( dev-db/mysql )" + +INSTALL_DIR="/opt/anope" + +pkg_setup() { + enewgroup anope + enewuser anope -1 -1 ${INSTALL_DIR} anope +} + +src_compile() { + local myconf + if ! use mysql; then + myconf="${myconf} --without-mysql" + fi + #Threads cant be disabled currently + #if ! use threads; then + # myconf="${myconf} --without-threads" + #fi + + epatch ${FILESDIR}/pid-patch.diff + + econf \ + ${myconf} \ + --bindir ${INSTALL_DIR} \ + --with-bindir=${INSTALL_DIR} \ + --with-datadir=${INSTALL_DIR}/data \ + --with-modules=${INSTALL_DIR}/modules \ + --with-encryption \ + --with-rungroup=anope \ + --with-permissions=077 \ + || die "Configuration failed." + + sed -i -e "/^build:/s:$: language:g" "${S}"/Makefile || die "sed failed" + + emake || die "Make failed." +} + +src_install() { + dodir ${INSTALL_DIR} + dodir ${INSTALL_DIR}/data + dodir ${INSTALL_DIR}/data/logs + dodir ${INSTALL_DIR}/data/languages + dodir ${INSTALL_DIR}/data/modules + dodir ${INSTALL_DIR}/data/modules/runtime + dodir ${INSTALL_DIR}/modules + + dodir /var/run/anope + fowners anope:anope /var/run/anope + keepdir /var/run/anope + + fowners anope:anope ${INSTALL_DIR} + fowners anope:anope ${INSTALL_DIR}/data + fowners anope:anope ${INSTALL_DIR}/data/logs + fowners anope:anope ${INSTALL_DIR}/data/languages + fowners anope:anope ${INSTALL_DIR}/data/modules + fowners anope:anope ${INSTALL_DIR}/data/modules/runtime + fowners anope:anope ${INSTALL_DIR}/modules + + exeinto ${INSTALL_DIR} + doexe src/services + insinto ${INSTALL_DIR}/data + newins data/example.conf services.conf + + exeinto /etc/init.d + newexe ${FILESDIR}/anope.initd anope + insinto /etc/conf.d + newins ${FILESDIR}/anope.confd anope + + insinto ${INSTALL_DIR}/modules + doins src/modules/*.so + + keepdir ${INSTALL_DIR}/data/logs + + insinto ${INSTALL_DIR}/data/languages + doins lang/cat + doins lang/de + doins lang/en_us + doins lang/es + doins lang/fr + doins lang/gr + doins lang/hun + doins lang/it + doins lang/nl + doins lang/pl + doins lang/pt + doins lang/ru + doins lang/tr + + keepdir ${INSTALL_DIR}/data/modules/runtime + + insinto ${INSTALL_DIR}/data/modules + doins src/protocol/*.so + doins src/core/*.so + + fowners anope:anope ${INSTALL_DIR}/services + fowners anope:anope ${INSTALL_DIR}/data/services.conf + fowners anope:anope ${INSTALL_DIR}/data/languages/cat + fowners anope:anope ${INSTALL_DIR}/data/languages/de + fowners anope:anope ${INSTALL_DIR}/data/languages/en_us + fowners anope:anope ${INSTALL_DIR}/data/languages/fr + fowners anope:anope ${INSTALL_DIR}/data/languages/gr + fowners anope:anope ${INSTALL_DIR}/data/languages/hun + fowners anope:anope ${INSTALL_DIR}/data/languages/it + fowners anope:anope ${INSTALL_DIR}/data/languages/nl + fowners anope:anope ${INSTALL_DIR}/data/languages/pl + fowners anope:anope ${INSTALL_DIR}/data/languages/pt + fowners anope:anope ${INSTALL_DIR}/data/languages/ru + fowners anope:anope ${INSTALL_DIR}/data/languages/tr +} + +pkg_postinst() { + echo + ewarn "Anope won't run out of the box, you still have to configure it to match your IRCDs configuration." + ewarn "Edit ${INSTALL_DIR}/data/services.conf to configure Anope." + echo +} diff --git a/net-irc/anope/files/anope.confd b/net-irc/anope/files/anope.confd new file mode 100644 index 000000000000..6985da7a52b0 --- /dev/null +++ b/net-irc/anope/files/anope.confd @@ -0,0 +1,9 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/anope/files/anope.confd,v 1.1 2006/08/29 22:54:17 gurligebis Exp $ + +# user to run ultimate-ircd as +ANOPE_USER="anope" + +# Additional commandline parameters +ANOPE_OPTS="" diff --git a/net-irc/anope/files/anope.initd b/net-irc/anope/files/anope.initd new file mode 100644 index 000000000000..69eadfe4cf4c --- /dev/null +++ b/net-irc/anope/files/anope.initd @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/anope/files/anope.initd,v 1.1 2006/08/29 22:54:17 gurligebis Exp $ + +depend() { + use net mysql +} + +start() { + ebegin "Starting Anope IRC Services" + start-stop-daemon --start --quiet --oknodo --exec /opt/anope/services \ + --chuid ${ANOPE_USER} -- ${ANOPE_OPTS} #&>/dev/null + eend $? +} + +stop() { + ebegin "Stopping Anope IRC Services" + start-stop-daemon --stop --pidfile /var/run/anope/services.pid + eend $? +} diff --git a/net-irc/anope/files/digest-anope-1.7.15 b/net-irc/anope/files/digest-anope-1.7.15 new file mode 100644 index 000000000000..e514bac90a36 --- /dev/null +++ b/net-irc/anope/files/digest-anope-1.7.15 @@ -0,0 +1,3 @@ +MD5 a41d5420a70b443201d42e4db9d0d07e anope-1.7.15.tar.gz 1463100 +RMD160 1a1e87abc272b0b891ab2bfc84d78e39d22b3c78 anope-1.7.15.tar.gz 1463100 +SHA256 356ef9aaa719639c11a9395bc6e2379f26a1b05be55a2f31eb9df287526782b5 anope-1.7.15.tar.gz 1463100 diff --git a/net-irc/anope/files/pid-patch.diff b/net-irc/anope/files/pid-patch.diff new file mode 100644 index 000000000000..3e859a10cf74 --- /dev/null +++ b/net-irc/anope/files/pid-patch.diff @@ -0,0 +1,12 @@ +diff -aurp data/example.conf data/example.conf +--- data/example.conf 2006-08-29 22:07:50.000000000 +0000 ++++ data/example.conf 2006-08-29 22:08:11.000000000 +0000 +@@ -255,7 +255,7 @@ HostServName "HostServ" "vHost Server" + # PIDFile <filename> [REQUIRED] + # Specifies the name of the file containing Services' process ID. + +-PIDFile services.pid ++PIDFile /var/run/anope/services.pid + + # MOTDFile <filename> [REQUIRED] + # Specifies the name of the Message of the Day file. diff --git a/net-irc/anope/metadata.xml b/net-irc/anope/metadata.xml new file mode 100644 index 000000000000..cb97448005b3 --- /dev/null +++ b/net-irc/anope/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-irc</herd> + <maintainer> + <email>gurligebis@gentoo.org</email> + <name>Bjarke Istrup Pedersen</name> + </maintainer> + <longdescription>Anope IRC Services</longdescription> +</pkgmetadata> |