[arch-commits] CVS update of extra/daemons/ircd (PKGBUILD ircd)

Eric Belanger eric at archlinux.org
Sun Jan 20 01:24:39 UTC 2008


    Date: Saturday, January 19, 2008 @ 20:24:39
  Author: eric
    Path: /home/cvs-extra/extra/daemons/ircd

 Removed: PKGBUILD (1.15) ircd (1.5)

extra repo cleanup. Moved to unsupported.


----------+
 PKGBUILD |   36 ------------------------------------
 ircd     |   37 -------------------------------------
 2 files changed, 73 deletions(-)


Index: extra/daemons/ircd/PKGBUILD
diff -u extra/daemons/ircd/PKGBUILD:1.15 extra/daemons/ircd/PKGBUILD:removed
--- extra/daemons/ircd/PKGBUILD:1.15	Wed May 24 14:06:04 2006
+++ extra/daemons/ircd/PKGBUILD	Sat Jan 19 20:24:39 2008
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD,v 1.15 2006/05/24 18:06:04 judd Exp $
-# Maintainer: dorphell <dorphell at archlinux.org>
-pkgname=ircd
-pkgver=2.11.1
-pkgrel=2
-pkgdesc="Internet Relay Chat Daemon"
-arch=(i686 x86_64)
-depends=(zlib ncurses)
-url="http://www.irc.org/"
-source=(ftp://ftp.irc.org/irc/server/irc2.11.1p1.tgz
-        ircd)
-md5sums=('c5a2b3097a5fbeb91b39412730b02ab5' 'd7434ba87022580f27ae6668c8ad93de')
-
-build() {
-  cd ${startdir}/src/irc2.11.1p1
-  ./configure --prefix=/usr --sysconfdir=/etc/ircd \
-  	--localstatedir=/var/run/ircd \
-	--mandir='${prefix}/man' \
-	--with-zlib \
-	--with-ipv6
-  if [ "$CARCH" == "x86_64" ]; then
-    sed -i 's|^#undef USE_SERVICES|#define USE_SERVICES 1|g' \
-      x86_64-unknown-linux-gnu/config.h
-    cd x86_64-unknown-linux-gnu	# for x86_64
-  else
-    sed -i 's|^#undef USE_SERVICES|#define USE_SERVICES 1|g' \
-      i686-pc-linux-gnu/config.h
-    cd ${CHOST}			# for i686
-  fi
-  make MATHLIBS='-lm' all || return 1
-  make prefix=${startdir}/pkg/usr ircd_conf_dir=${startdir}/pkg/etc/ircd \
-	ircd_var_dir=${startdir}/pkg/var/run/ircd \
-       	ircd_log_dir=${startdir}/pkg/var/log install
-  mkdir -p ${startdir}/pkg/etc/rc.d
-  install -m755 ${startdir}/src/ircd ${startdir}/pkg/etc/rc.d/ircd
-}
Index: extra/daemons/ircd/ircd
diff -u extra/daemons/ircd/ircd:1.5 extra/daemons/ircd/ircd:removed
--- extra/daemons/ircd/ircd:1.5	Mon Feb 20 02:50:59 2006
+++ extra/daemons/ircd/ircd	Sat Jan 19 20:24:39 2008
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/ircd`
-case "$1" in
-  start)
-    stat_busy "Starting IRC Daemon"
-    [ -z "$PID" ] && su -c /usr/sbin/ircd -- nobody
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon ircd
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping IRC Daemon"
-    [ ! -z "$PID" ]  && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm /var/run/{ircd.pid,ircd.tune} &> /dev/null
-      rm_daemon ircd
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"  
-esac
-exit 0




More information about the arch-commits mailing list