* [gentoo-commits] repo/gentoo:master commit in: app-portage/cfg-update/
@ 2017-02-18 9:54 David Seifert
0 siblings, 0 replies; 6+ messages in thread
From: David Seifert @ 2017-02-18 9:54 UTC (permalink / raw
To: gentoo-commits
commit: 4073e43cca1e09e9216a55294afbbfcd67c54a4a
Author: Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Sat Feb 18 06:40:28 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 09:52:09 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4073e43c
app-portage/cfg-update: Fix toolong.DESCRIPTION
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4003
app-portage/cfg-update/cfg-update-1.8.9.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-portage/cfg-update/cfg-update-1.8.9.ebuild b/app-portage/cfg-update/cfg-update-1.8.9.ebuild
index 3367930407..91eb76694e 100644
--- a/app-portage/cfg-update/cfg-update-1.8.9.ebuild
+++ b/app-portage/cfg-update/cfg-update-1.8.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -6,7 +6,7 @@ EAPI=5
inherit eutils
-DESCRIPTION="Easy to use GUI & CLI alternative for etc-update with safe automatic updating functionality"
+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/tarball/${PV} -> ${P}.tgz"
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-portage/cfg-update/
@ 2019-04-08 4:42 Aaron Bauman
0 siblings, 0 replies; 6+ messages in thread
From: Aaron Bauman @ 2019-04-08 4:42 UTC (permalink / raw
To: gentoo-commits
commit: d47b9b2e9f5afac2439c83190967021051a9f162
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 8 04:42:01 2019 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Apr 8 04:42:01 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d47b9b2e
app-portage/cfg-update: arm64 keyworded
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
app-portage/cfg-update/cfg-update-1.8.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-portage/cfg-update/cfg-update-1.8.9.ebuild b/app-portage/cfg-update/cfg-update-1.8.9.ebuild
index 66b2498efec..d0afd7d9ead 100644
--- a/app-portage/cfg-update/cfg-update-1.8.9.ebuild
+++ b/app-portage/cfg-update/cfg-update-1.8.9.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/rich0/cfg-update/tarball/${PV} -> ${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ppc x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc x86"
IUSE="X"
RDEPEND="
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-portage/cfg-update/
@ 2021-11-02 18:43 Richard Freeman
0 siblings, 0 replies; 6+ messages in thread
From: Richard Freeman @ 2021-11-02 18:43 UTC (permalink / raw
To: gentoo-commits
commit: 58ade081f7b2d8b1c957be7c6e3d87c0e83360d4
Author: Richard Freeman <rich0 <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 2 18:35:52 2021 +0000
Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org>
CommitDate: Tue Nov 2 18:42:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58ade081
app-portage/cfg-update: EAPI bump and set ALLARCHES
Closes: https://bugs.gentoo.org/819753
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>
app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild | 102 ++++++++++++++++++++++
app-portage/cfg-update/metadata.xml | 1 +
2 files changed, 103 insertions(+)
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
new file mode 100644
index 00000000000..0fae01aee1f
--- /dev/null
+++ b/app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild
@@ -0,0 +1,102 @@
+# 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/metadata.xml b/app-portage/cfg-update/metadata.xml
index 7ab5e1a53dd..7e1aa3ceff2 100644
--- a/app-portage/cfg-update/metadata.xml
+++ b/app-portage/cfg-update/metadata.xml
@@ -7,4 +7,5 @@
<upstream>
<remote-id type="github">rich0/cfg-update</remote-id>
</upstream>
+ <stabilize-allarches/>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-portage/cfg-update/
@ 2021-12-02 14:25 Richard Freeman
0 siblings, 0 replies; 6+ messages in thread
From: Richard Freeman @ 2021-12-02 14:25 UTC (permalink / raw
To: gentoo-commits
commit: ca9455f55b34269cb835196025c4b0f05dab943a
Author: Richard Freeman <rich0 <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 2 14:25:08 2021 +0000
Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org>
CommitDate: Thu Dec 2 14:25:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca9455f5
app-portage/cfg-update: clean out old EAPI5 revision
Closes: https://bugs.gentoo.org/826414
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>
app-portage/cfg-update/cfg-update-1.8.9.ebuild | 104 -------------------------
1 file changed, 104 deletions(-)
diff --git a/app-portage/cfg-update/cfg-update-1.8.9.ebuild b/app-portage/cfg-update/cfg-update-1.8.9.ebuild
deleted file mode 100644
index d899e6016d2b..000000000000
--- a/app-portage/cfg-update/cfg-update-1.8.9.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils
-
-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/tarball/${PV} -> ${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
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-portage/cfg-update/
@ 2021-12-02 14:25 Richard Freeman
0 siblings, 0 replies; 6+ messages in thread
From: Richard Freeman @ 2021-12-02 14:25 UTC (permalink / raw
To: gentoo-commits
commit: 58b5357b0e74e21ff6f8f22d789bce7e73d7d627
Author: Richard Freeman <rich0 <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 2 14:22:31 2021 +0000
Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org>
CommitDate: Thu Dec 2 14:25:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58b5357b
app-portage/cfg-update: stablize on allarches
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>
app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
index 0fae01aee1f3..a84b7363f54a 100644
--- a/app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild
+++ b/app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild
@@ -9,7 +9,7 @@ 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"
+KEYWORDS="amd64 ~arm ~arm64 ppc x86"
IUSE="X"
RDEPEND="
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-portage/cfg-update/
@ 2022-04-22 17:43 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2022-04-22 17:43 UTC (permalink / raw
To: gentoo-commits
commit: ebabb03c2f7b829821948fcc28113a1e3fec6a08
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 22 17:40:23 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 22 17:43:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebabb03c
app-portage/cfg-update: fix ROOT check in pkg_postinst
With EAPI 7+, ROOT and others will be blank (not /).
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{cfg-update-1.8.9-r1.ebuild => cfg-update-1.8.9-r2.ebuild} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild b/app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild
similarity index 97%
rename from app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild
rename to app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild
index a84b7363f54a..beacc660fe49 100644
--- a/app-portage/cfg-update/cfg-update-1.8.9-r1.ebuild
+++ b/app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -22,7 +22,7 @@ RDEPEND="
S="${WORKDIR}/rich0-cfg-update-2f10786"
pkg_prerm() {
- if [[ ${ROOT} == / ]]
+ if [[ -z ${ROOT} ]]
then
ebegin "Disabling portage hook"
cfg-update --ebuild --disable-portage-hook
@@ -80,7 +80,7 @@ pkg_postinst() {
echo
fi
- if [[ ${ROOT} == / ]]
+ if [[ -z ${ROOT} ]]
then
ebegin "Moving backups to /var/lib/cfg-update/backups"
/usr/bin/cfg-update --ebuild --move-backups
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-04-22 17:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-02 14:25 [gentoo-commits] repo/gentoo:master commit in: app-portage/cfg-update/ Richard Freeman
-- strict thread matches above, loose matches on Subject: below --
2022-04-22 17:43 Sam James
2021-12-02 14:25 Richard Freeman
2021-11-02 18:43 Richard Freeman
2019-04-08 4:42 Aaron Bauman
2017-02-18 9:54 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox