Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 260211 Details for
Bug 216114
new ebuild: sys-apps/etckeeper
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
version bump; ebuild now using EGIT_COMMIT
etckeeper-0.51.ebuild (text/plain), 1.84 KB, created by
Enno Gröper
on 2011-01-18 21:19:46 UTC
(
hide
)
Description:
version bump; ebuild now using EGIT_COMMIT
Filename:
MIME Type:
Creator:
Enno Gröper
Created:
2011-01-18 21:19:46 UTC
Size:
1.84 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils git > >DESCRIPTION="Etckeeper is a collection of tools to let /etc be stored in a git, mercurial, or bzr repository." >HOMEPAGE="http://kitenet.net/~joey/code/etckeeper/" > >EGIT_REPO_URI="git://git.kitenet.net/etckeeper" >EGIT_COMMIT="0.51" > >LICENSE="GPL-2" >IUSE="mercurial bzr bash-completion" >KEYWORDS="~x86 ~amd64 ~hppa ~ppc ~sparc" >SLOT="0" > >DEPEND=">=app-portage/gentoolkit-0.2.3-r1 > sys-apps/metastore > mercurial? ( dev-vcs/mercurial ) > bzr? ( dev-util/bzr ) > bash-completion? ( app-shells/bash-completion ) " > >src_unpack() { > git_src_unpack > cd "${S}" > epatch "${FILESDIR}"/etckeeper-gentoo-0.41.patch >} > > >src_compile() { > if use bzr; then > emake || die "make failed : problem in support python for bzr" > fi >} > > >src_install() { > > emake DESTDIR=${D} install || die "make install failed" > > if use bash-completion; then > install -m 0644 -D bash_completion ${D}/etc/bash_completion.d/etckeeper > fi > > if use bzr; then > ./etckeeper-bzr/__init__.py install --root=${D} || die "Error: bzr support installation" > fi > > #dodoc INSTALL TODO README || die "docs failed" >} > >pkg_postinst() { > > if [ -d ${ROOT}/etc/portage ] ; then > > cat <<__EOF__ > ${ROOT}/etc/portage/etckeeper >case "\$EBUILD_PHASE" in > > "preinst" | "prerm" ) > if [ -x /usr/sbin/etckeeper ]; then > etckeeper pre-install > fi > ;; > > "postinst" | "postrm" ) > if [ -x /usr/sbin/etckeeper ]; then > etckeeper post-install > fi > ;; > esac >__EOF__ > > chmod 755 ${ROOT}/etc/portage/etckeeper > echo "source /etc/portage/etckeeper" >> ${ROOT}/etc/portage/bashrc > > fi >} > >pkg_postrm() { > > if [ -e /etc/portage/etckeeper ] ; then > > rm -rf ${ROOT}/etc/portage/etckeeper > sed -i '/etckeeper/d' ${ROOT}/etc/portage/bashrc > > fi >}
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 216114
:
180553
|
180555
|
211582
|
211584
|
211585
|
238309
|
260211
|
260218
|
264207
|
268141
|
268143
|
287769
|
293841
|
293843
|
310435
|
310437
|
310439
|
310441