From 68c672404c10ce8cee28d4948796be882065893c Mon Sep 17 00:00:00 2001 From: Chris Reffett Date: Mon, 18 Aug 2014 20:07:14 +0000 Subject: QA: revbump, EAPI bump, drop old (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit) --- app-admin/syslogread/ChangeLog | 10 ++- app-admin/syslogread/syslogread-0.92-r1.ebuild | 91 ++++++++++++++++++++++++++ app-admin/syslogread/syslogread-0.92.ebuild | 91 -------------------------- 3 files changed, 99 insertions(+), 93 deletions(-) create mode 100644 app-admin/syslogread/syslogread-0.92-r1.ebuild delete mode 100644 app-admin/syslogread/syslogread-0.92.ebuild (limited to 'app-admin') diff --git a/app-admin/syslogread/ChangeLog b/app-admin/syslogread/ChangeLog index c99383394a50..c0e9d53d6869 100644 --- a/app-admin/syslogread/ChangeLog +++ b/app-admin/syslogread/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/syslogread -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslogread/ChangeLog,v 1.14 2013/12/23 01:05:20 tomwij Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslogread/ChangeLog,v 1.15 2014/08/18 20:07:14 creffett Exp $ + +*syslogread-0.92-r1 (18 Aug 2014) + + 18 Aug 2014; Christopher Reffett <2011creffett@gentoo.org> + +syslogread-0.92-r1.ebuild, -syslogread-0.92.ebuild: + QA: revbump, EAPI bump, drop old 23 Dec 2013; Tom Wijsman -files/0.92/syslogread.init, syslogread-0.92.ebuild: diff --git a/app-admin/syslogread/syslogread-0.92-r1.ebuild b/app-admin/syslogread/syslogread-0.92-r1.ebuild new file mode 100644 index 000000000000..f851fbf70215 --- /dev/null +++ b/app-admin/syslogread/syslogread-0.92-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslogread/syslogread-0.92-r1.ebuild,v 1.1 2014/08/18 20:07:14 creffett Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs multilib user + +DESCRIPTION="Syslog message handling tools" +HOMEPAGE="http://untroubled.org/syslogread/" +SRC_URI="http://untroubled.org/syslogread/archive/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND=">=dev-libs/bglibs-1.106" +RDEPEND="virtual/daemontools" + +pkg_setup() { + enewgroup syslog + enewuser syslog -1 -1 /nonexistent syslog +} + +src_prepare() { + epatch "${FILESDIR}"/syslogread-0.92-fix-parallel-build.patch +} + +src_configure() { + echo "/usr/include/bglibs/" > conf-bgincs + echo "/usr/$(get_libdir)/bglibs/" > conf-bglibs + echo "${D}/usr/bin" > conf-bin + echo "${D}/usr/share/man" > conf-man + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld +} + +src_install() { + dodir /usr/bin + dodir /usr/share/man + ./installer || die + + dodoc ANNOUNCEMENT ChangeLog README + + insinto /var/lib/supervise/klogd + newins "${FILESDIR}/${PV}/klogd.run" klogd.run + + insinto /var/lib/supervise/syslogd + newins "${FILESDIR}/${PV}/syslogread.run" syslogread.run + + insinto /var/lib/supervise/syslogd/log + newins "${FILESDIR}/${PV}/syslogread-log.run" syslogread-log.run + + # See ChangeLog for why these are commented out: + + #newinitd "${FILESDIR}/${PV}/syslogread.init" syslogread + + #keepdir /var/log/klogd + #keepdir /var/log/syslog + + #fowners syslog:syslog /var/log/syslog + #fperms o-rwx /var/log/syslog +} + +pkg_postinst() { + echo + elog "Run " + elog "emerge --config =${PF}" + elog "to create or update your run files (backups are created) in" + elog " /var/lib/supervise/klogd (kernel logger)" + elog " /var/lib/supervise/syslog (system logger)" + echo +} + +pkg_config() { + cd "${ROOT}"var/lib/supervise/klogd + [ -e run ] && cp run klogd.run.`date +%Y%m%d%H%M%S` + cp klogd.run run + chmod u+x run + + cd "${ROOT}"var/lib/supervise/syslogd + [ -e run ] && cp run syslogread.run.`date +%Y%m%d%H%M%S` + cp syslogread.run run + chmod u+x run + + cd "${ROOT}"var/lib/supervise/syslogd/log + [ -e run ] && cp run syslogread-log.run.`date +%Y%m%d%H%M%S` + cp syslogread-log.run run + chmod u+x run +} diff --git a/app-admin/syslogread/syslogread-0.92.ebuild b/app-admin/syslogread/syslogread-0.92.ebuild deleted file mode 100644 index bc9cd55a1a36..000000000000 --- a/app-admin/syslogread/syslogread-0.92.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslogread/syslogread-0.92.ebuild,v 1.14 2013/12/23 01:05:20 tomwij Exp $ - -EAPI="2" - -inherit eutils toolchain-funcs multilib user - -DESCRIPTION="Syslog message handling tools" -HOMEPAGE="http://untroubled.org/syslogread/" -SRC_URI="http://untroubled.org/syslogread/archive/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -DEPEND=">=dev-libs/bglibs-1.106" -RDEPEND="virtual/daemontools" - -pkg_setup() { - enewgroup syslog - enewuser syslog -1 -1 /nonexistent syslog -} - -src_prepare() { - epatch "${FILESDIR}"/syslogread-0.92-fix-parallel-build.patch -} - -src_configure() { - echo "/usr/include/bglibs/" > conf-bgincs - echo "/usr/$(get_libdir)/bglibs/" > conf-bglibs - echo "${D}/usr/bin" > conf-bin - echo "${D}/usr/share/man" > conf-man - echo "$(tc-getCC) ${CFLAGS}" > conf-cc - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld -} - -src_install() { - dodir /usr/bin - dodir /usr/share/man - ./installer || die - - dodoc ANNOUNCEMENT ChangeLog README - - insinto /var/lib/supervise/klogd - newins "${FILESDIR}/${PV}/klogd.run" klogd.run - - insinto /var/lib/supervise/syslogd - newins "${FILESDIR}/${PV}/syslogread.run" syslogread.run - - insinto /var/lib/supervise/syslogd/log - newins "${FILESDIR}/${PV}/syslogread-log.run" syslogread-log.run - - # See ChangeLog for why these are commented out: - - #newinitd "${FILESDIR}/${PV}/syslogread.init" syslogread - - #keepdir /var/log/klogd - #keepdir /var/log/syslog - - #fowners syslog:syslog /var/log/syslog - #fperms o-rwx /var/log/syslog -} - -pkg_postinst() { - echo - elog "Run " - elog "emerge --config =${PF}" - elog "to create or update your run files (backups are created) in" - elog " /var/lib/supervise/klogd (kernel logger)" - elog " /var/lib/supervise/syslog (system logger)" - echo -} - -pkg_config() { - cd "${ROOT}"var/lib/supervise/klogd - [ -e run ] && cp run klogd.run.`date +%Y%m%d%H%M%S` - cp klogd.run run - chmod u+x run - - cd "${ROOT}"var/lib/supervise/syslogd - [ -e run ] && cp run syslogread.run.`date +%Y%m%d%H%M%S` - cp syslogread.run run - chmod u+x run - - cd "${ROOT}"var/lib/supervise/syslogd/log - [ -e run ] && cp run syslogread-log.run.`date +%Y%m%d%H%M%S` - cp syslogread-log.run run - chmod u+x run -} -- cgit v1.2.3-65-gdbad