From 115b19c91611a9068ac7ad33a0e6c9f9a37e7a67 Mon Sep 17 00:00:00 2001 From: Daniel Robbins Date: Sat, 23 Dec 2000 00:29:31 +0000 Subject: syslog and klog are up by default --- sys-apps/gluelog/gluelog-1.0-r1.ebuild | 36 +++++++++++++++++++++++++++++++++ sys-apps/gluelog/gluelog-1.0.ebuild | 37 ---------------------------------- 2 files changed, 36 insertions(+), 37 deletions(-) create mode 100644 sys-apps/gluelog/gluelog-1.0-r1.ebuild delete mode 100644 sys-apps/gluelog/gluelog-1.0.ebuild (limited to 'sys-apps/gluelog') diff --git a/sys-apps/gluelog/gluelog-1.0-r1.ebuild b/sys-apps/gluelog/gluelog-1.0-r1.ebuild new file mode 100644 index 000000000000..93bd2cdb3de3 --- /dev/null +++ b/sys-apps/gluelog/gluelog-1.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Daniel Robbins +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gluelog/gluelog-1.0-r1.ebuild,v 1.1 2000/12/23 00:29:31 drobbins Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Pipe and socket fittings for the system and kernel logs" +SRC_URI="" + +src_compile() { + mkdir ${S} + cd ${FILESDIR} + gcc ${CFLAGS} gluelog.c -o ${S}/gluelog + gcc ${CFLAGS} glueklog.c -o ${S}/glueklog +} + +src_unpack() { + echo +} + +src_install() { + dodir /usr/sbin + dosbin ${S}/gluelog ${S}/glueklog + exeopts -m0750 -g wheel + install -d -m0750 -o root -g wheel ${D}/etc/svc.d/control + dodir /var/log + local x + for x in syslog klog + do + exeinto /etc/svc.d/services/${x} + newexe ${FILESDIR}/${x}-run run + ln -s ../services/${x} ${D}/etc/svc.d/control/${x} + install -d -m0750 -o daemon -g wheel ${D}/var/log/${x}.d + done +} + diff --git a/sys-apps/gluelog/gluelog-1.0.ebuild b/sys-apps/gluelog/gluelog-1.0.ebuild deleted file mode 100644 index bf39bf360054..000000000000 --- a/sys-apps/gluelog/gluelog-1.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Daniel Robbins -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gluelog/gluelog-1.0.ebuild,v 1.3 2000/12/13 15:13:59 achim Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="Pipe and socket fittings for the system and kernel logs" -SRC_URI="" - -src_compile() { - mkdir ${S} - cd ${FILESDIR} - gcc ${CFLAGS} gluelog.c -o ${S}/gluelog - gcc ${CFLAGS} glueklog.c -o ${S}/glueklog -} - -src_unpack() { - echo -} - -src_install() { - dodir /usr/sbin - dosbin ${S}/gluelog ${S}/glueklog - exeopts -m0750 -g wheel - install -d -m0750 -o root -g wheel ${D}/etc/svc.d/control - dodir /var/log - local x - for x in syslog klog - do - exeinto /etc/svc.d/services/${x} - newexe ${FILESDIR}/${x}-run run - ln -s ../services/${x} ${D}/etc/svc.d/control/${x} - touch ${D}/etc/svc.d/services/${x}/down - install -d -m0750 -o daemon -g wheel ${D}/var/log/${x}.d - done -} - -- cgit v1.2.3-65-gdbad