--- /dev/null
+# ChangeLog for app-admin/cancd
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/cancd/ChangeLog,v 1.1 2005/11/14 21:15:54 robbat2 Exp $
+
+*cancd-0.1.0 (14 Nov 2005)
+
+ 14 Nov 2005; Robin H. Johnson <robbat2@gentoo.org> +files/cancd-conf.d,
+ +files/cancd-init.d, +cancd-0.1.0.ebuild:
+ Initial commit, ebuild by Robin H. Johnson <robbat2@gentoo.org>.
+
--- /dev/null
+MD5 f1f95eb22b1599cd54f8f220a89c7303 ChangeLog 418
+MD5 4ca7e3df59e4817fd53a9b61f33f681a cancd-0.1.0.ebuild 962
+MD5 3b01d1817d6513beed0e000105ae17f7 files/cancd-conf.d 605
+MD5 c442ca1294fd06f4b84e8ba23180507f files/cancd-init.d 624
+MD5 2519af6cc0a0ad63ed00fff3929ed7ad files/digest-cancd-0.1.0 61
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/cancd/cancd-0.1.0.ebuild,v 1.1 2005/11/14 21:15:54 robbat2 Exp $
+
+DESCRIPTION="This is the CA NetConsole Daemon, a daemon to receive output from
+the Linux netconsole driver."
+HOMEPAGE="http://oss.oracle.com/projects/cancd/"
+SRC_URI="http://oss.oracle.com/projects/cancd/dist/files/source/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND="virtual/libc"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ # slight makefile cleanup
+ sed -i.orig \
+ -e '/^CFLAGS/s,-g,,' \
+ -e '/^CFLAGS/s,-O2,,' \
+ -e '/rm cancd cancd.o/s,rm,rm -f,' \
+ ${S}/Makefile
+}
+
+src_compile() {
+ emake cancd
+}
+
+src_install() {
+ into /usr
+ dosbin cancd
+ newinitd ${FILESDIR}/cancd-init.d cancd
+ newconfd ${FILESDIR}/cancd-conf.d cancd
+ keepdir /var/crash
+ fowners adm:nobody /var/crash
+ fperms 700 /var/crash
+}
--- /dev/null
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/cancd/files/cancd-conf.d,v 1.1 2005/11/14 21:15:54 robbat2 Exp $
+
+# user to run as, root strongly discouraged
+# user should have /bin/false for a shell
+# but file access into /var
+CHUID='adm:nobody'
+
+# port to listen on
+CANCD_PORT=6667
+
+# directory to output to
+CRASH_DIR=/var/crash
+
+# one file per minute, one dir per host/date
+#CRASH_FORMAT="%Q/%Y-%m-%d/%H:%M.log"
+# one file per day, one dir per host
+CRASH_FORMAT="%Q/%Y-%m-%d.log"
--- /dev/null
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/cancd/files/cancd-init.d,v 1.1 2005/11/14 21:15:54 robbat2 Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ mkdir -p ${CRASH_DIR}
+ chown ${CHUID} ${CRASH_DIR}
+ chmod 700 ${CRASH_DIR}
+ ebegin "Starting cancd"
+ start-stop-daemon --start --quiet --chuid ${CHUID} --exec /usr/sbin/cancd -- -p ${CANCD_PORT} -l "${CRASH_DIR}" -o "${CRASH_FORMAT}"
+ eend ${?}
+}
+
+stop() {
+ ebegin "Stopping cancd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/cancd
+ eend ${?}
+}
--- /dev/null
+MD5 3eb4a75cfa4d1a860ea547fdc76c6d4d cancd-0.1.0.tar.gz 7634