From 5dcaf05184fa9f4fae26afb5166a8943ca70d507 Mon Sep 17 00:00:00 2001 From: Geoff Clements Date: Thu, 27 Jul 2006 21:13:56 +0000 Subject: Initial import. svn path=/sunrise/; revision=716 --- app-portage/postsync/ChangeLog | 7 ++++ app-portage/postsync/Manifest | 16 ++++++++ .../postsync/files/digest-postsync-0.1_alpha | 3 ++ app-portage/postsync/metadata.xml | 5 +++ app-portage/postsync/postsync-0.1_alpha.ebuild | 47 ++++++++++++++++++++++ 5 files changed, 78 insertions(+) create mode 100644 app-portage/postsync/ChangeLog create mode 100644 app-portage/postsync/Manifest create mode 100644 app-portage/postsync/files/digest-postsync-0.1_alpha create mode 100644 app-portage/postsync/metadata.xml create mode 100644 app-portage/postsync/postsync-0.1_alpha.ebuild diff --git a/app-portage/postsync/ChangeLog b/app-portage/postsync/ChangeLog new file mode 100644 index 000000000..2e9c0b5d1 --- /dev/null +++ b/app-portage/postsync/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-db/dabo +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 26 Jul 2006; Geoff Clements ChangeLog: + Initial import, bug 133238 + diff --git a/app-portage/postsync/Manifest b/app-portage/postsync/Manifest new file mode 100644 index 000000000..2ffccbf8e --- /dev/null +++ b/app-portage/postsync/Manifest @@ -0,0 +1,16 @@ +DIST postsync-0.1_alpha.tar.bz2 4179 RMD160 f57a10f716f44e8b6f7c5a7dc7f9661e16f5485f SHA1 66d5b59c170e66ed4e02ca6b72788d0104fcb432 SHA256 2e777610ed312c71b0e05faa175736428302dc57a4940b79223da3811ca8746a +EBUILD postsync-0.1_alpha.ebuild 1142 RMD160 2d814290951fec252f53d2aa610c8982765a87ef SHA1 d9bd3a8fd4cefddc54634027e72c46aeb11cd8f7 SHA256 ebf153f06b22b2ddab818642c8ab315420fb3a65c018b6475c9b3ac4c48ab948 +MD5 508e4ee0cc6429ccb5060f8826619279 postsync-0.1_alpha.ebuild 1142 +RMD160 2d814290951fec252f53d2aa610c8982765a87ef postsync-0.1_alpha.ebuild 1142 +SHA256 ebf153f06b22b2ddab818642c8ab315420fb3a65c018b6475c9b3ac4c48ab948 postsync-0.1_alpha.ebuild 1142 +MISC ChangeLog 206 RMD160 c50b1d4abbeb7a13cdff50124f7ed0319cb8c0b4 SHA1 1301c98090c1d2792ab49baabb7b59fcb432f402 SHA256 b6c5b12d3390a8964781af9ce3a38f777ab8ae2a2e6c34010da9804f81bf90ca +MD5 94ec984a5b6a35cb00da250a94e3a778 ChangeLog 206 +RMD160 c50b1d4abbeb7a13cdff50124f7ed0319cb8c0b4 ChangeLog 206 +SHA256 b6c5b12d3390a8964781af9ce3a38f777ab8ae2a2e6c34010da9804f81bf90ca ChangeLog 206 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 +MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 +RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 +SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 +MD5 6baa551af3513cf38aa73db515881eb6 files/digest-postsync-0.1_alpha 253 +RMD160 ac10299bd8dff83aad070674a42dccca491d9d63 files/digest-postsync-0.1_alpha 253 +SHA256 4df584d59bd231deb1e012b452a598f9b6dfe4b0c173b70f4f48cc740189b923 files/digest-postsync-0.1_alpha 253 diff --git a/app-portage/postsync/files/digest-postsync-0.1_alpha b/app-portage/postsync/files/digest-postsync-0.1_alpha new file mode 100644 index 000000000..bf1e33ca6 --- /dev/null +++ b/app-portage/postsync/files/digest-postsync-0.1_alpha @@ -0,0 +1,3 @@ +MD5 6f8dc9a395af538728a371f138905611 postsync-0.1_alpha.tar.bz2 4179 +RMD160 f57a10f716f44e8b6f7c5a7dc7f9661e16f5485f postsync-0.1_alpha.tar.bz2 4179 +SHA256 2e777610ed312c71b0e05faa175736428302dc57a4940b79223da3811ca8746a postsync-0.1_alpha.tar.bz2 4179 diff --git a/app-portage/postsync/metadata.xml b/app-portage/postsync/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/app-portage/postsync/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted + diff --git a/app-portage/postsync/postsync-0.1_alpha.ebuild b/app-portage/postsync/postsync-0.1_alpha.ebuild new file mode 100644 index 000000000..0664f6f91 --- /dev/null +++ b/app-portage/postsync/postsync-0.1_alpha.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Package for controlling post emerge --sync operations" +HOMEPAGE="http://www.electron.me.uk/postsync" +SRC_URI="http://www.electron.me.uk/files/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +S=${WORKDIR}/${PN} + +DEPEND=">=virtual/python-2.3" + +RDEPEND="${DEPEND}" + +src_install() { + PORTCFG=$(python -c 'import portage; print portage.USER_CONFIG_PATH,') \ + || die "Cannot get config path" + exeinto /usr/sbin + doexe postsync + + insinto ${PORTCFG}/bin + doins bin/post_sync + dosed "s:/etc/portage:${PORTCFG}:g" ${PORTCFG}/bin/post_sync + + insinto /usr/lib/postsync.d + doins postsync.d/* + + fowners root:portage /usr/sbin/postsync ${PORTCFG}/bin/post_sync \ + /usr/lib/postsync.d/* + + dodoc README ChangeLog doc/* +} + +pkg_postinst() { + einfo + einfo "Postsync programs and the postsync system are disabled by default." + einfo "Use postsync -l to see what programs are available then" + einfo "postsync -e -a [prog ...] to activate the ones you want." + einfo +} + +pkg_prerm() { + /usr/sbin/postsync -d +} -- cgit v1.2.3-65-gdbad