From a08aa8174214f9ef08a4375068215f8bcee74a8c Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Mon, 11 Mar 2013 09:24:05 +0000 Subject: main/charybdis: moved from testing --- testing/charybdis/APKBUILD | 69 --------------------------------- testing/charybdis/charybdis.confd | 3 -- testing/charybdis/charybdis.initd | 22 ----------- testing/charybdis/charybdis.pre-install | 3 -- 4 files changed, 97 deletions(-) delete mode 100644 testing/charybdis/APKBUILD delete mode 100644 testing/charybdis/charybdis.confd delete mode 100644 testing/charybdis/charybdis.initd delete mode 100644 testing/charybdis/charybdis.pre-install (limited to 'testing') diff --git a/testing/charybdis/APKBUILD b/testing/charybdis/APKBUILD deleted file mode 100644 index 4845ee7ae..000000000 --- a/testing/charybdis/APKBUILD +++ /dev/null @@ -1,69 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=charybdis -pkgver=3.4.2 -pkgrel=2 -pkgdesc="A highly-scalable IRCv3-compliant IRC daemon" -url="http://www.atheme.org/project/charybdis" -arch="all" -license="GPL2" -pkgusers="ircd" -depends="" -depends_dev="bison flex openssl-dev zlib-dev libtool" -makedepends="$depends_dev" -install="$pkgname.pre-install" -subpackages="$pkgname-dev $pkgname-doc" -source="saveas-http://www.stack.nl/~jilles/irc/$pkgname-$pkgver.tbz2/$pkgname-$pkgver.tar.bz2 - $pkgname.initd - $pkgname.confd" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc/charybdis \ - --localstatedir=/var \ - --libexecdir=/usr/lib \ - --disable-assert \ - --enable-ssl \ - --enable-ipv6 \ - --with-rundir=/var/run \ - --with-program-prefix=charybdis- - make -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - rm -f "$pkgdir"/usr/lib/*.la - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/charybdis-ircd || return 1 - install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/charybdis-ircd || return 1 - chown ircd "$pkgdir"/var/run/charybdis - chown ircd "$pkgdir"/var/log/charybdis - chown ircd "$pkgdir"/var/charybdis - sed -i -e "s/\"modules\"/\"\/usr\/lib\/charybdis\/modules\"/g" $pkgdir/etc/$pkgname/example.conf - sed -i -e "s/\"modules\/autoload\"/\"\/usr\/lib\/charybdis\/modules\/autoload\"/g" "$pkgdir"/etc/$pkgname/example.conf - sed -i -e "s/usr\/local\/ircd\/modules/usr\/lib\/charybdis\/modules/g" "$pkgdir"/etc/$pkgname/reference.conf - -} - -md5sums="54245396b829f8d19d3958cde9c3bd65 charybdis-3.4.2.tar.bz2 -ce8dc0025b4e50fbec2aa643a947c1b0 charybdis.initd -11d70cc7c9fa0eb5ad52af35801d57c6 charybdis.confd" -sha256sums="8a38e67072d90147c40202918c82237765e339cbc849456da54994ce6e31b754 charybdis-3.4.2.tar.bz2 -3bd4b0b58189518fa72b9d0c2226e83499ab718189f054a889f4e680f3a20e18 charybdis.initd -3d1d8b8e722efe6a9eb3171a65d96651bb93c8d6265bd4980bcbb4b8d500f6ad charybdis.confd" -sha512sums="4bd4126cbb023e8ca1ec3003d92893dd44f9bdd8ce5d3fb471fed0b62eb4aa5ff410a6e769ee7daab4864492d49ff594e3e8c7fea05318eb2308efc2195dc8a3 charybdis-3.4.2.tar.bz2 -fef24d361acd96f1e5891e484cbba8ef1dd4a0091550e6a7ae7fe6d053311b80fcdfe4f2307ebf1c4af7ec08ce35ba15bf4a8d499a0c9eb4956b00cd28cf8487 charybdis.initd -1886b312b0ea40945de45db7a379bff2a3af426155fb77676e03f21f8d1d733e057fb5c3cb65fb72bb56008c4c92f3d2d0010563f871fd0802446de443ddfd5e charybdis.confd" diff --git a/testing/charybdis/charybdis.confd b/testing/charybdis/charybdis.confd deleted file mode 100644 index b91c0d927..000000000 --- a/testing/charybdis/charybdis.confd +++ /dev/null @@ -1,3 +0,0 @@ -CHARYBDIS_USER="ircd" -CHARYBDIS_PID="/var/run/charybdis/ircd.pid" -CHARYBDIS_CONF="/etc/charybdis/ircd.conf" diff --git a/testing/charybdis/charybdis.initd b/testing/charybdis/charybdis.initd deleted file mode 100644 index 8c3e4460c..000000000 --- a/testing/charybdis/charybdis.initd +++ /dev/null @@ -1,22 +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/charybdis/files/charybdis-ircd.initd,v 1.2 2008/01/08 21:17:02 jokey Exp $ - -depend() { - use net - provide ircd -} - -start() { - ebegin "Starting ircd-charybdis" - start-stop-daemon --start --quiet -u ${CHARYBDIS_USER} --exec /usr/bin/charybdis-ircd -- -configfile ${CHARYBDIS_CONF}>/dev/null - eend $? -} - -stop() { - ebegin "Stopping ircd-charybdis" - start-stop-daemon --stop --quiet --pidfile ${CHARYBDIS_PID} - eend $? -} - diff --git a/testing/charybdis/charybdis.pre-install b/testing/charybdis/charybdis.pre-install deleted file mode 100644 index 6bc4edc1e..000000000 --- a/testing/charybdis/charybdis.pre-install +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -adduser -h /var/run/charybdis -s /bin/false -S -D ircd 2>/dev/null -exit 0 -- cgit v1.2.3