From 0b607f85b4958ee6a5cc48145fd01f178deb0267 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Fri, 17 Jun 2022 10:16:30 +0100 Subject: sys-process/incron: rename 0.5.12_p20191114-r1 to 0.5.12_p20171113 As upstream commit history clearly shows, the commit referenced in the ebuild DID happen on 2017-11-14. No idea where 2019 date has come from. Unfortunately this will trigger a "downgrade" for everyone who has already got sys-process/incron installed but seeing as it is extremely unlikely a new version will happen any time soon, let us get it right - I for one get annoyed when made-up version numbers cause Repology to start reporting packages as outdated in Gentoo so let's not do the same to others. Signed-off-by: Marek Szuba --- sys-process/incron/Manifest | 2 +- sys-process/incron/incron-0.5.12_p20171113.ebuild | 65 ++++++++++++++++++++++ .../incron/incron-0.5.12_p20191114-r1.ebuild | 65 ---------------------- 3 files changed, 66 insertions(+), 66 deletions(-) create mode 100644 sys-process/incron/incron-0.5.12_p20171113.ebuild delete mode 100644 sys-process/incron/incron-0.5.12_p20191114-r1.ebuild diff --git a/sys-process/incron/Manifest b/sys-process/incron/Manifest index 7627bdcf63ac..da699c5a339e 100644 --- a/sys-process/incron/Manifest +++ b/sys-process/incron/Manifest @@ -1 +1 @@ -DIST incron-0.5.12_p20191114.tar.gz 339568 BLAKE2B ca6ccd4f2b4f24b48ee3bdf0a18713f6f70469cbc11f09fd215001e8512bd04dcbdc9cd5e7cc784907cd0d009a4572354f578cad78bc263070146b0ff2379029 SHA512 19cf386163de3f4cafcf36872659dd8f819129056ed2508403a8692130db04cbe5eb917370aa609d25a6b75c24a7a1b87e7bd2e957a5d66610f541fe83aec39e +DIST incron-0.5.12_p20171113.tar.gz 339568 BLAKE2B ca6ccd4f2b4f24b48ee3bdf0a18713f6f70469cbc11f09fd215001e8512bd04dcbdc9cd5e7cc784907cd0d009a4572354f578cad78bc263070146b0ff2379029 SHA512 19cf386163de3f4cafcf36872659dd8f819129056ed2508403a8692130db04cbe5eb917370aa609d25a6b75c24a7a1b87e7bd2e957a5d66610f541fe83aec39e diff --git a/sys-process/incron/incron-0.5.12_p20171113.ebuild b/sys-process/incron/incron-0.5.12_p20171113.ebuild new file mode 100644 index 000000000000..33af9c07c8c4 --- /dev/null +++ b/sys-process/incron/incron-0.5.12_p20171113.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit flag-o-matic linux-info systemd toolchain-funcs + +COMMIT="1eedfbc9b318372efd119fd17f4abdbde561a53d" +S="${WORKDIR}/${PN}-${COMMIT}" + +DESCRIPTION="inotify based cron daemon" +HOMEPAGE="https://incron.aiken.cz/" +SRC_URI="https://github.com/ar-/incron/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm64 ppc ~riscv x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +PATCHES=( + "${FILESDIR}"/${PN}-0.5.12-use-execl-instead-system.patch + "${FILESDIR}"/${PN}-0.5.12-issue25.patch +) + +# < 2.6.18 => INOTIFY, >= 2.6.18 => INOTIFY_USER +# It should be ok to expect at least 2.6.18 +CONFIG_CHECK="~INOTIFY_USER" + +src_prepare() { + default + + sed -i \ + -e '/$(INSTALL) -m 0644 incron.conf $(DESTDIR)$(INITDIR)/d' \ + Makefile \ + || die +} + +src_compile() { + # code is not C++17 ready + append-cxxflags -std=c++14 + + emake CXX="$(tc-getCXX)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr DOCDIR=/usr/share/doc/${PF} install + + newinitd "${FILESDIR}/incrond-r1.init" incrond + newconfd "${FILESDIR}/incrond.conf" incrond + systemd_dounit "${FILESDIR}/incrond.service" + + dodoc CHANGELOG README TODO + + insinto /etc + doins "${FILESDIR}"/incron.conf + touch \ + "${D}/etc/incron.allow" \ + "${D}/etc/incron.deny" \ + || die + + keepdir /var/spool/${PN} +} diff --git a/sys-process/incron/incron-0.5.12_p20191114-r1.ebuild b/sys-process/incron/incron-0.5.12_p20191114-r1.ebuild deleted file mode 100644 index 33af9c07c8c4..000000000000 --- a/sys-process/incron/incron-0.5.12_p20191114-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit flag-o-matic linux-info systemd toolchain-funcs - -COMMIT="1eedfbc9b318372efd119fd17f4abdbde561a53d" -S="${WORKDIR}/${PN}-${COMMIT}" - -DESCRIPTION="inotify based cron daemon" -HOMEPAGE="https://incron.aiken.cz/" -SRC_URI="https://github.com/ar-/incron/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm64 ppc ~riscv x86" -IUSE="" - -DEPEND="" -RDEPEND="" - -PATCHES=( - "${FILESDIR}"/${PN}-0.5.12-use-execl-instead-system.patch - "${FILESDIR}"/${PN}-0.5.12-issue25.patch -) - -# < 2.6.18 => INOTIFY, >= 2.6.18 => INOTIFY_USER -# It should be ok to expect at least 2.6.18 -CONFIG_CHECK="~INOTIFY_USER" - -src_prepare() { - default - - sed -i \ - -e '/$(INSTALL) -m 0644 incron.conf $(DESTDIR)$(INITDIR)/d' \ - Makefile \ - || die -} - -src_compile() { - # code is not C++17 ready - append-cxxflags -std=c++14 - - emake CXX="$(tc-getCXX)" -} - -src_install() { - emake DESTDIR="${D}" PREFIX=/usr DOCDIR=/usr/share/doc/${PF} install - - newinitd "${FILESDIR}/incrond-r1.init" incrond - newconfd "${FILESDIR}/incrond.conf" incrond - systemd_dounit "${FILESDIR}/incrond.service" - - dodoc CHANGELOG README TODO - - insinto /etc - doins "${FILESDIR}"/incron.conf - touch \ - "${D}/etc/incron.allow" \ - "${D}/etc/incron.deny" \ - || die - - keepdir /var/spool/${PN} -} -- cgit v1.2.3-65-gdbad