Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 288509 Details for
Bug 303199
Please, make app-portage/cfg-update support dev-util/beediff
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated cfg-update ebuild
cfg-update-1.8.3.ebuild (text/plain), 3.22 KB, created by
Richard Freeman
on 2011-10-02 02:29:56 UTC
(
hide
)
Description:
updated cfg-update ebuild
Filename:
MIME Type:
Creator:
Richard Freeman
Created:
2011-10-02 02:29:56 UTC
Size:
3.22 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-portage/cfg-update/cfg-update-1.8.2-r2.ebuild,v 1.2 2010/07/10 22:30:03 truedfx Exp $ > >EAPI=2 >inherit eutils > >DESCRIPTION="Easy to use GUI & CLI alternative for etc-update with safe automatic updating functionality" >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 ~ppc ~sparc ~x86" >IUSE="X" > >RDEPEND="X? ( >=x11-misc/sux-1.0 > x11-apps/xhost )" > >S="${WORKDIR}/rich0-cfg-update-3f58d64" > >src_unpack() { > unpack ${A} > cd "${S}" >} > >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() { > ewarn > ewarn "If you want to permanently remove cfg-update from your system" > ewarn "you should manually remove the alias for emerge from /root/.bashrc" > ewarn "followed by running: unalias emerge" > ewarn "and remove the index file /var/lib/cfg-update/checksum.index" > ewarn >} > >src_install() { > exeinto /usr/bin > doexe 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 .bashrc test.tgz > dodoc ChangeLog > doman *.8 > insinto /etc > doins cfg-update.conf > doins 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 > ewarn > 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..." > ewarn > ewarn "Please run: cfg-update --check-packages" > ewarn > 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!" > ewarn > fi > > if [[ ${ROOT} == / ]] > then > ebegin "Moving backups to /var/lib/cfg-update/backups" > /usr/bin/cfg-update --ebuild --move-backups > eend $? > fi > > einfo > einfo "If this is a first time install, please check the configuration" > einfo "in /etc/cfg-update.conf before using cfg-update:" > einfo > 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 "beediff, kdiff3, meld (default), gtkdiff, gvimdiff, tkdiff" > einfo > einfo "TIP: to maximize the chances of future automatic updates, run:" > einfo "cfg-update --optimize-backups" > einfo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 303199
: 288509