From 40a7810d6c07fb5e24f8894d2f0e8e740c716eb4 Mon Sep 17 00:00:00 2001 From: Grant Goodyear Date: Sat, 28 Sep 2002 00:22:59 +0000 Subject: fixed bad doins paths --- app-admin/msyslog/ChangeLog | 10 +++- app-admin/msyslog/files/digest-msyslog-1.08e-r1 | 2 + app-admin/msyslog/msyslog-1.08e-r1.ebuild | 64 +++++++++++++++++++++++++ app-admin/msyslog/msyslog-1.08e.ebuild | 8 ++-- 4 files changed, 78 insertions(+), 6 deletions(-) create mode 100644 app-admin/msyslog/files/digest-msyslog-1.08e-r1 create mode 100644 app-admin/msyslog/msyslog-1.08e-r1.ebuild (limited to 'app-admin/msyslog') diff --git a/app-admin/msyslog/ChangeLog b/app-admin/msyslog/ChangeLog index 06d8b70753d3..a6f2bc747587 100644 --- a/app-admin/msyslog/ChangeLog +++ b/app-admin/msyslog/ChangeLog @@ -1,6 +1,12 @@ -# ChangeLog for app-admin/msyslog +# ChangeLog for app-adminmsyslogChangeLog/ # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/ChangeLog,v 1.8 2002/09/21 03:08:05 woodchip Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/ChangeLog,v 1.9 2002/09/28 00:22:59 g2boojum Exp $ + +*-1.08e-r1 (27 Sep 2002) + + 27 Sep 2002; Grant Goodyear ChangeLog : + + fixed bad doins paths *msyslog-1.09a (20 Sep 2002) diff --git a/app-admin/msyslog/files/digest-msyslog-1.08e-r1 b/app-admin/msyslog/files/digest-msyslog-1.08e-r1 new file mode 100644 index 000000000000..c58bc2f35002 --- /dev/null +++ b/app-admin/msyslog/files/digest-msyslog-1.08e-r1 @@ -0,0 +1,2 @@ +MD5 c3700571c675d8896c643c276f5e2dad msyslog-v1.08e-src.tar.gz 132082 +MD5 de3d616729a4804cad3d67e3f06119ba msyslog-1.08e-gentoo.diff.tar.bz2 5593 diff --git a/app-admin/msyslog/msyslog-1.08e-r1.ebuild b/app-admin/msyslog/msyslog-1.08e-r1.ebuild new file mode 100644 index 000000000000..71f5505ecf8e --- /dev/null +++ b/app-admin/msyslog/msyslog-1.08e-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/msyslog-1.08e-r1.ebuild,v 1.1 2002/09/28 00:22:59 g2boojum Exp $ + +MY_P=${PN}-v${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Flexible and easy to integrate syslog with modularized input/output" +HOMEPAGE="http://www.core-sdi.com/download/download1.html" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz + mirror://gentoo/${P}-gentoo.diff.tar.bz2" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="x86 sparc sparc64" + +DEPEND="mysql? ( >=dev-db/mysql-3.23 ) + postgres? ( >=dev-db/postgresql-7 )" + +src_unpack() { + unpack ${A} ; cd ${S} + # fix paths for pidfile, config file, libdir, logdir, manpages, etc... + ( bzcat ${DISTDIR}/${P}-gentoo.diff.tar.bz2 | patch -p1 ) || die +} + +src_compile() { + local myconf + use mysql || myconf="${myconf} --without-mysql" + use postgres || myconf="${myconf} --without-pgsql" + + econf \ + --with-daemon-name=msyslogd \ + ${myconf} || die "bad ./configure" + + emake || die "compile problem" +} + +src_install() { + dodir /var/lib/msyslog + dosbin src/msyslogd src/peo/peochk + + exeinto /usr/lib + doexe src/modules/lib${PN}.so.${PV/a/} + ( cd ${D}/usr/lib ; ln -s lib${PN}.so.${PV/a/} lib${PN}.so ) + + # rename these puppies... + mv src/man/syslogd.8 src/man/msyslogd.8 + mv src/man/syslog.conf.5 src/man/msyslog.conf.5 + doman src/man/*.[85] + + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS \ + QUICK_INSTALL README src/TODO doc/* + docinto examples ; dodoc src/examples/* + + insinto /etc/msyslog ; doins ${FILESDIR}/msyslog.conf + insinto /etc/conf.d ; newins ${FILESDIR}/msyslog-confd msyslog + exeinto /etc/init.d ; newexe ${FILESDIR}/msyslog-init msyslog +} + +pkg_postinst() { + # the default /etc/msyslog/msyslog.conf uses these, so make sure + # it 'just works' for those who wont bother changing the config. + touch ${ROOT}/var/log/messages + touch ${ROOT}/var/log/syslog +} diff --git a/app-admin/msyslog/msyslog-1.08e.ebuild b/app-admin/msyslog/msyslog-1.08e.ebuild index a2ebd1e64d4d..f9955ced24c3 100644 --- a/app-admin/msyslog/msyslog-1.08e.ebuild +++ b/app-admin/msyslog/msyslog-1.08e.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/msyslog-1.08e.ebuild,v 1.3 2002/08/16 02:21:27 murphy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/msyslog-1.08e.ebuild,v 1.4 2002/09/28 00:22:59 g2boojum Exp $ MY_P=${PN}-v${PV} S=${WORKDIR}/${MY_P} @@ -51,9 +51,9 @@ src_install() { QUICK_INSTALL README src/TODO doc/* docinto examples ; dodoc src/examples/* - insinto /etc/msyslog ; doins ${S2}/msyslog.conf - insinto /etc/conf.d ; newins ${S2}/msyslog-confd msyslog - exeinto /etc/init.d ; newexe ${S2}/msyslog-init msyslog + insinto /etc/msyslog ; doins ${FILESDIR}/msyslog.conf + insinto /etc/conf.d ; newins ${FILESDIR}/msyslog-confd msyslog + exeinto /etc/init.d ; newexe ${FILESDIR}/msyslog-init msyslog } pkg_postinst() { -- cgit v1.2.3-65-gdbad