From 752d6256e5204b958b0ef7905675a940b5e9172f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 12 May 2022 16:42:50 +0300 Subject: gentoo resync : 12.05.2022 --- app-portage/cfg-update/Manifest | 2 +- app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild | 102 ---------------------- app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild | 102 ++++++++++++++++++++++ 3 files changed, 103 insertions(+), 103 deletions(-) delete mode 100644 app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild create mode 100644 app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild (limited to 'app-portage/cfg-update') diff --git a/app-portage/cfg-update/Manifest b/app-portage/cfg-update/Manifest index c6e63fead533..b12736c2a12f 100644 --- a/app-portage/cfg-update/Manifest +++ b/app-portage/cfg-update/Manifest @@ -1,3 +1,3 @@ DIST cfg-update-1.8.9.tgz 162356 BLAKE2B 2194b485ae17ee09fe212fb88fee0d3974bb7877b9bee6a243475f689e033e950d9d331108f9360a5bb65b40f2a83916fc9bd208b153d4eb2a6fac0bfb3f4c64 SHA512 2c2d4d5cddaf1c5c8233bfde29b488d682e723da3e267756e203b4ea3c97f2f88615530002975ff07fb466eebed603e4ce227591a1b1e09ef3aca8c2eb17fcb9 -EBUILD cfg-update-1.8.9-r1.ebuild 2970 BLAKE2B 217b67f8dfedb6aee0d86aa6fa68e37de6ac1f3c9ef86b44b8e238c051d5b5580a2b93d80f50a312b054bbaf28803a67335ba258c7aef61bb687bba1915a9d7f SHA512 5e4be9140b283f6dd0861e65263430fbb339080bd5a17f3071e6fdd6dd411d8378cb00dc0e56f8fbf5556cdb9771a39b33214dbee3628d15bee7f3920afb0f6b +EBUILD cfg-update-1.8.9-r2.ebuild 2966 BLAKE2B 87d1e2c617c090d607c04ac7d32b8c0abe835d128a60f3f962ee552460b9b06ce0aa5a6dade347c42a7e513159ade73a3ed8eda26b3d5538217f68c2098463d5 SHA512 e81b09c906b7915b030a467b5134671f54fffea2b4c354f6bb555fb3068af2303332d119f8d8cab737828432d7a61249e87872f414bb5c4aaf69060e61269ddb MISC metadata.xml 331 BLAKE2B dfc62ba6ae96f87c8293d99204ded02444ba1517e4bb189e62459388ac067ef754bccf8e8e9bbec9643614dbeafca3e0deebded689b2f65d590bc32d614cf5d8 SHA512 1c3e7adf10d5482ed3126db2d6c4e4c9ce5b4f89305174ebd19d391b5027c8680a2051677444f4d5fe09d6b03111ea3dc61e036590e0771137ccd8b9c32a2924 diff --git a/app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild b/app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild deleted file mode 100644 index a84b7363f54a..000000000000 --- a/app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Easy to use GUI & CLI alternative for etc-update" -HOMEPAGE="https://github.com/rich0/cfg-update" -SRC_URI="https://github.com/rich0/cfg-update/archive/${PV}.tar.gz -> ${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc x86" -IUSE="X" - -RDEPEND=" - dev-perl/TermReadKey - X? ( - >=x11-misc/sux-1.0 - x11-apps/xhost - )" - -S="${WORKDIR}/rich0-cfg-update-2f10786" - -pkg_prerm() { - if [[ ${ROOT} == / ]] - then - ebegin "Disabling portage hook" - cfg-update --ebuild --disable-portage-hook - eend $? - ebegin "Disabling paludis hook" - cfg-update --ebuild --disable-paludis-hook - eend $? - fi -} - -pkg_postrm() { - echo - ewarn "If you want to permanently remove cfg-update from your system" - ewarn "you should remove the index file /var/lib/cfg-update/checksum.index" - echo -} - -src_install() { - dobin \ - cfg-update emerge_with_indexing_for_cfg-update \ - emerge_with_indexing_for_cfg-update_phphelper \ - cfg-update_phphelper emerge_with_indexing_for_cfg-update_bashhelper - insinto /usr/lib/cfg-update - doins cfg-update cfg-update_indexing test.tgz - dodoc ChangeLog - doman *.8 - insinto /etc - doins cfg-update.conf cfg-update.hosts - keepdir /var/lib/cfg-update -} - -pkg_postinst() { - if [[ ! -e "${ROOT}"/var/lib/cfg-update/checksum.index \ - && -e "${ROOT}"/var/lib/cfg-update/checksum.index ]] - then - ebegin "Moving checksum.index from /usr/lib/cfg-update to /var/lib/cfg-update" - mv "${ROOT}"/usr/lib/cfg-update/checksum.index \ - "${ROOT}"/var/lib/cfg-update/checksum.index - eend $? - fi - - if [[ -e "${ROOT}"/usr/bin/paludis ]] - then - echo - ewarn "If you have used Paludis version <0.20.0 on your system, chances are" - ewarn "that you have some corrupted CONTENTS files on your system..." - echo - ewarn "Please run: cfg-update --check-packages" - echo - ewarn "The above command will check all packages installed with Paludis and" - ewarn "will output a list of packages that need to be re-installed with" - ewarn "Paludis 0.20.0 or higher. If you do not re-install these packages" - ewarn "you risk losing your custom settings when updating configuration" - ewarn "files, that belong to these packages, with cfg-update!" - echo - fi - - if [[ ${ROOT} == / ]] - then - ebegin "Moving backups to /var/lib/cfg-update/backups" - /usr/bin/cfg-update --ebuild --move-backups - eend $? - fi - - echo - einfo "If this is a first time install, please check the configuration" - einfo "in /etc/cfg-update.conf before using cfg-update:" - echo - einfo "If your system does not have an X-server installed you need to" - einfo "change the MERGE_TOOL to sdiff, imediff2 or vimdiff." - einfo "If you have X installed, set MERGE_TOOL to your favorite GUI tool:" - einfo "xxdiff, beediff, kdiff3, meld (default), gtkdiff, gvimdiff, tkdiff" - echo - einfo "TIP: to maximize the chances of future automatic updates, run:" - einfo "cfg-update --optimize-backups" - echo -} diff --git a/app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild b/app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild new file mode 100644 index 000000000000..beacc660fe49 --- /dev/null +++ b/app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Easy to use GUI & CLI alternative for etc-update" +HOMEPAGE="https://github.com/rich0/cfg-update" +SRC_URI="https://github.com/rich0/cfg-update/archive/${PV}.tar.gz -> ${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ppc x86" +IUSE="X" + +RDEPEND=" + dev-perl/TermReadKey + X? ( + >=x11-misc/sux-1.0 + x11-apps/xhost + )" + +S="${WORKDIR}/rich0-cfg-update-2f10786" + +pkg_prerm() { + if [[ -z ${ROOT} ]] + then + ebegin "Disabling portage hook" + cfg-update --ebuild --disable-portage-hook + eend $? + ebegin "Disabling paludis hook" + cfg-update --ebuild --disable-paludis-hook + eend $? + fi +} + +pkg_postrm() { + echo + ewarn "If you want to permanently remove cfg-update from your system" + ewarn "you should remove the index file /var/lib/cfg-update/checksum.index" + echo +} + +src_install() { + dobin \ + cfg-update emerge_with_indexing_for_cfg-update \ + emerge_with_indexing_for_cfg-update_phphelper \ + cfg-update_phphelper emerge_with_indexing_for_cfg-update_bashhelper + insinto /usr/lib/cfg-update + doins cfg-update cfg-update_indexing test.tgz + dodoc ChangeLog + doman *.8 + insinto /etc + doins cfg-update.conf cfg-update.hosts + keepdir /var/lib/cfg-update +} + +pkg_postinst() { + if [[ ! -e "${ROOT}"/var/lib/cfg-update/checksum.index \ + && -e "${ROOT}"/var/lib/cfg-update/checksum.index ]] + then + ebegin "Moving checksum.index from /usr/lib/cfg-update to /var/lib/cfg-update" + mv "${ROOT}"/usr/lib/cfg-update/checksum.index \ + "${ROOT}"/var/lib/cfg-update/checksum.index + eend $? + fi + + if [[ -e "${ROOT}"/usr/bin/paludis ]] + then + echo + ewarn "If you have used Paludis version <0.20.0 on your system, chances are" + ewarn "that you have some corrupted CONTENTS files on your system..." + echo + ewarn "Please run: cfg-update --check-packages" + echo + ewarn "The above command will check all packages installed with Paludis and" + ewarn "will output a list of packages that need to be re-installed with" + ewarn "Paludis 0.20.0 or higher. If you do not re-install these packages" + ewarn "you risk losing your custom settings when updating configuration" + ewarn "files, that belong to these packages, with cfg-update!" + echo + fi + + if [[ -z ${ROOT} ]] + then + ebegin "Moving backups to /var/lib/cfg-update/backups" + /usr/bin/cfg-update --ebuild --move-backups + eend $? + fi + + echo + einfo "If this is a first time install, please check the configuration" + einfo "in /etc/cfg-update.conf before using cfg-update:" + echo + einfo "If your system does not have an X-server installed you need to" + einfo "change the MERGE_TOOL to sdiff, imediff2 or vimdiff." + einfo "If you have X installed, set MERGE_TOOL to your favorite GUI tool:" + einfo "xxdiff, beediff, kdiff3, meld (default), gtkdiff, gvimdiff, tkdiff" + echo + einfo "TIP: to maximize the chances of future automatic updates, run:" + einfo "cfg-update --optimize-backups" + echo +} -- cgit v1.2.3