From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- app-portage/porticron/Manifest | 1 + .../porticron-0.7_p20140126-portage-2.2.8.patch | 26 ++++++++++++++++++ app-portage/porticron/metadata.xml | 11 ++++++++ .../porticron/porticron-0.7_p20140126.ebuild | 32 ++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 app-portage/porticron/Manifest create mode 100644 app-portage/porticron/files/porticron-0.7_p20140126-portage-2.2.8.patch create mode 100644 app-portage/porticron/metadata.xml create mode 100644 app-portage/porticron/porticron-0.7_p20140126.ebuild (limited to 'app-portage/porticron') diff --git a/app-portage/porticron/Manifest b/app-portage/porticron/Manifest new file mode 100644 index 00000000000..71626d3143a --- /dev/null +++ b/app-portage/porticron/Manifest @@ -0,0 +1 @@ +DIST porticron-0.7_p20140126.tar.gz 4453 SHA256 46b61958a182d9cdd73dbea76a017855eebc4780dc75692503c0d1e7ff0ea482 SHA512 c14c5ff18eff74d7c225883dc0e1cea16666f0dcab07f9b249aed0db2874179eacc824c0f35dc2cfd97dc0c2db5f2bf6d13c3e76a2cd1b87de46fb073622f3d5 WHIRLPOOL f932a2319be582b564412badb456daf0fd86e3991ffc63fa25718337669b860097ac6d446a220f4e56e3a97cb8660a9f2bd25eeb1c54a2921fb0c7d6991bad5b diff --git a/app-portage/porticron/files/porticron-0.7_p20140126-portage-2.2.8.patch b/app-portage/porticron/files/porticron-0.7_p20140126-portage-2.2.8.patch new file mode 100644 index 00000000000..4531ab638fd --- /dev/null +++ b/app-portage/porticron/files/porticron-0.7_p20140126-portage-2.2.8.patch @@ -0,0 +1,26 @@ +From 7a7002d5af62d0a4791a386cdc3560330f27f1c0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Rainer=20M=C3=BCller?= +Date: Sun, 26 Jan 2014 23:23:03 +0100 +Subject: [PATCH] Avoid the deprecated `portageq portdir' + +This implements the fix proposed in hollow/porticron#6. +--- + bin/porticron | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bin/porticron b/bin/porticron +index d168b27..86a1f70 100755 +--- a/bin/porticron ++++ b/bin/porticron +@@ -117,7 +117,7 @@ FQDN=$(hostname --fqdn) + HOST=$(hostname -s) + IP=$(dig +short ${FQDN} | tr '\n' ' ') + DATE=$(date -R) +-PORTDIR=$(portageq portdir) ++PORTDIR=$(portageq get_repo_path $(portageq envvar EROOT) gentoo) + + # replace variables + for var in FQDN HOST IP DATE; do +-- +1.8.5.1 + diff --git a/app-portage/porticron/metadata.xml b/app-portage/porticron/metadata.xml new file mode 100644 index 00000000000..3386e5a0be8 --- /dev/null +++ b/app-portage/porticron/metadata.xml @@ -0,0 +1,11 @@ + + + + + xmw@gentoo.org + Michael Weber + + + gentoo/porticron + + diff --git a/app-portage/porticron/porticron-0.7_p20140126.ebuild b/app-portage/porticron/porticron-0.7_p20140126.ebuild new file mode 100644 index 00000000000..aaa786f89a8 --- /dev/null +++ b/app-portage/porticron/porticron-0.7_p20140126.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils vcs-snapshot + +DESCRIPTION="cron script to sync portage and send update mails to root" +HOMEPAGE="https://github.com/gentoo/porticron" +SRC_URI="https://github.com/hollow/${PN}/tarball/df727fe -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm hppa ppc ~ppc64 x86" +IUSE="" + +RDEPEND=" + app-portage/gentoolkit + net-dns/bind-tools +" +DEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-portage-2.2.8.patch +} + +src_install() { + dosbin bin/porticron + insinto /etc + doins etc/porticron.conf +} -- cgit v1.2.1