summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-15 03:36:40 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-15 03:36:40 +0000
commit573d14d3a3368f0731a372d0fc25a684eef05b38 (patch)
treee4469406335644a47a771cb9afe25268024815f8 /app-admin
parentBump to 0.14.1. Alleged amd64 build fix. Drop 0.13.5. (diff)
downloadgentoo-2-573d14d3a3368f0731a372d0fc25a684eef05b38.tar.gz
gentoo-2-573d14d3a3368f0731a372d0fc25a684eef05b38.tar.bz2
gentoo-2-573d14d3a3368f0731a372d0fc25a684eef05b38.zip
Move metalog.conf to plain old /etc/.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/metalog/ChangeLog8
-rw-r--r--app-admin/metalog/files/digest-metalog-0.8_rc1-r11
-rw-r--r--app-admin/metalog/metalog-0.8_rc1-r1.ebuild49
3 files changed, 57 insertions, 1 deletions
diff --git a/app-admin/metalog/ChangeLog b/app-admin/metalog/ChangeLog
index 1552b9d93483..6e4d1f05b73d 100644
--- a/app-admin/metalog/ChangeLog
+++ b/app-admin/metalog/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/metalog
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/ChangeLog,v 1.37 2005/02/02 11:29:16 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/ChangeLog,v 1.38 2005/03/15 03:36:40 vapier Exp $
+
+*metalog-0.8_rc1-r1 (15 Mar 2005)
+
+ 15 Mar 2005; Mike Frysinger <vapier@gentoo.org>
+ +metalog-0.8_rc1-r1.ebuild:
+ Move metalog.conf to plain old /etc/.
*metalog-0.8_rc1 (02 Feb 2005)
diff --git a/app-admin/metalog/files/digest-metalog-0.8_rc1-r1 b/app-admin/metalog/files/digest-metalog-0.8_rc1-r1
new file mode 100644
index 000000000000..903d504ae581
--- /dev/null
+++ b/app-admin/metalog/files/digest-metalog-0.8_rc1-r1
@@ -0,0 +1 @@
+MD5 f52d8e795b38dfa49d475cacb8995d10 metalog-0.8-rc1.tar.gz 121744
diff --git a/app-admin/metalog/metalog-0.8_rc1-r1.ebuild b/app-admin/metalog/metalog-0.8_rc1-r1.ebuild
new file mode 100644
index 000000000000..58e48967b5a9
--- /dev/null
+++ b/app-admin/metalog/metalog-0.8_rc1-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-0.8_rc1-r1.ebuild,v 1.1 2005/03/15 03:36:40 vapier Exp $
+
+inherit versionator
+
+MY_P="${PN}-$(replace_version_separator 2 '-')"
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="A highly configurable replacement for syslogd/klogd"
+HOMEPAGE="http://metalog.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~arm ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/libpcre-3.4"
+PROVIDE="virtual/logger"
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc AUTHORS ChangeLog README NEWS TODO
+ newdoc metalog.conf metalog.conf.sample
+
+ insinto /etc
+ doins "${FILESDIR}"/metalog.conf
+
+ newinitd "${FILESDIR}"/metalog.rc7 metalog
+ newconfd "${FILESDIR}"/metalog.confd metalog
+
+ exeinto /usr/sbin
+ doexe "${FILESDIR}"/consolelog.sh
+}
+
+pkg_preinst() {
+ if [[ -d "${ROOT}"/etc/metalog ]] && [[ ! -e "${ROOT}"/etc/metalog.conf ]] ; then
+ mv -f "${ROOT}"/etc/metalog/metalog.conf "${ROOT}"/etc/metalog.conf
+ rmdir "${ROOT}"/etc/metalog
+ fi
+}
+
+pkg_postinst() {
+ ewarn "The default metalog.conf file has been moved"
+ ewarn "from /etc/metalog/metalog.conf to just"
+ ewarn "/etc/metalog.conf. If you had a standard"
+ ewarn "setup, the file has been moved for you."
+}