diff options
-rw-r--r-- | app-admin/sysklogd/Manifest | 1 | ||||
-rw-r--r-- | app-admin/sysklogd/sysklogd-2.2.3.ebuild | 84 |
2 files changed, 0 insertions, 85 deletions
diff --git a/app-admin/sysklogd/Manifest b/app-admin/sysklogd/Manifest index e564278af209..780a52b7323f 100644 --- a/app-admin/sysklogd/Manifest +++ b/app-admin/sysklogd/Manifest @@ -1,2 +1 @@ -DIST sysklogd-2.2.3.tar.gz 441630 BLAKE2B e23b95aea9d98effc6a88dd14c4fafa358274ea839e7a07ab51bd0257fe0398a1ba6b629c4711d679fffaf03f04c177454f536bdd78dcad2b9f2ae36ff91138e SHA512 db1675256f0f0b0874e2e6a68fb086294bef1d6d3f3e9a6470f8d797ae504b2ab03ed23dc2753c8108a230c3f617e67c4a71e099a2ffeb7ffc8a0efdd07e8d17 DIST sysklogd-2.3.0.tar.gz 441168 BLAKE2B fa2ec9975d51bcb26d7acc88ab02e211453fc7e6d722ec6d38543a20833ae9c49b9a274d323e7a32deb82ca9c38025947e25b15424084a0ce345410a2e686a4d SHA512 7a16dd3f45a71015ad055e64aa62f4f94b0a8aa739f407c03376241cbc16ff764a768a698362cb428d150b169934798b774622b330903b287f9af5dd846775fc diff --git a/app-admin/sysklogd/sysklogd-2.2.3.ebuild b/app-admin/sysklogd/sysklogd-2.2.3.ebuild deleted file mode 100644 index baf95bc3eca5..000000000000 --- a/app-admin/sysklogd/sysklogd-2.2.3.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic systemd toolchain-funcs - -DESCRIPTION="Standard log daemons" -HOMEPAGE="https://troglobit.com/sysklogd.html https://github.com/troglobit/sysklogd" - -if [[ "${PV}" == *9999 ]] ; then - inherit autotools git-r3 - EGIT_REPO_URI="https://github.com/troglobit/sysklogd.git" -else - SRC_URI="https://github.com/troglobit/sysklogd/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="logger logrotate systemd" -RESTRICT="test" - -DEPEND=" - logger? ( - !<sys-apps/util-linux-2.34-r3 - !>=sys-apps/util-linux-2.34-r3[logger] - ) -" -RDEPEND="${DEPEND} - logrotate? ( app-admin/logrotate )" - -DOCS=( ChangeLog.md README.md ) - -pkg_setup() { - append-lfs-flags - tc-export CC -} - -src_prepare() { - default - [[ "${PV}" == *9999 ]] && eautoreconf -} - -src_configure() { - local myeconfargs=( - --disable-static - --runstatedir="${EPREFIX}"/run - $(use_with logger) - $(use_with systemd systemd $(systemd_get_systemunitdir)) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - - insinto /etc - doins syslog.conf - keepdir /etc/syslog.d - - newinitd "${FILESDIR}"/sysklogd.rc10 sysklogd - newconfd "${FILESDIR}"/sysklogd.confd3 sysklogd - - if use logrotate ; then - insinto /etc/logrotate.d - newins "${FILESDIR}"/sysklogd.logrotate sysklogd - sed 's@ -r 10M:10@@' -i "${ED}"/etc/conf.d/sysklogd || die - fi - - find "${ED}" -type f -name "*.la" -delete || die -} - -pkg_postinst() { - if ! use logrotate && [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.0 ; then - elog "Starting with version 2.0 syslogd has built in log rotation" - elog "functionality that does no longer require a running cron daemon." - elog "So we no longer install any log rotation cron files for sysklogd." - fi - if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.1 ; then - elog "Starting with version 2.1 sysklogd no longer provides klogd." - elog "syslogd now also logs kernel messages." - fi -} |