diff options
Diffstat (limited to 'app-portage/porticron')
-rw-r--r-- | app-portage/porticron/Manifest | 6 | ||||
-rw-r--r-- | app-portage/porticron/files/porticron-0.7_p20140126-portage-2.2.8.patch | 26 | ||||
-rw-r--r-- | app-portage/porticron/metadata.xml | 11 | ||||
-rw-r--r-- | app-portage/porticron/porticron-0.7.1.ebuild | 27 | ||||
-rw-r--r-- | app-portage/porticron/porticron-0.7_p20140126.ebuild | 31 |
5 files changed, 101 insertions, 0 deletions
diff --git a/app-portage/porticron/Manifest b/app-portage/porticron/Manifest new file mode 100644 index 000000000000..98ed3f9c6ce1 --- /dev/null +++ b/app-portage/porticron/Manifest @@ -0,0 +1,6 @@ +AUX porticron-0.7_p20140126-portage-2.2.8.patch 760 BLAKE2B 40c6f2c2516c09ff76182b15e85e96a391f71059e903c5a38426490cb4945fe9c24ff9916ec457a5eddd855262b1cfdeeebeeefa265b6642fb5e0f8fd6f0499b SHA512 4822999104a803f1d053ecde0b3332f13c81e1cb83c57fc142cac65895d3ffffa1c40e6c3ee35e791da4b650bf1e526de0e296944e854f5f8d477cefc6ae74a9 +DIST porticron-0.7.1.tar.gz 6530 BLAKE2B 6eec2bcab3e3d7661783c4fcf8f5521aac5700e4c642112d074187af372ea51137a7bfc06cd14c86f55e6b1414b2af766454a829c815294606a8bd18141e7c07 SHA512 ba2f365011e1ad2f7cb67d655839fa425791ab95309753719b4a4206db735f141d473d24bbb68da25a88db54919d033f53efaf497c26de71f3edb4a39dcc957c +DIST porticron-0.7_p20140126.tar.gz 4453 BLAKE2B 99a81cc2fc0feb753656f4490c2ceb5bc2abba02a74b54ca30f086da1ab95797a119cbd323c91acbb9688cd93996705b92d4bec044a256920c562af8d1e96d70 SHA512 c14c5ff18eff74d7c225883dc0e1cea16666f0dcab07f9b249aed0db2874179eacc824c0f35dc2cfd97dc0c2db5f2bf6d13c3e76a2cd1b87de46fb073622f3d5 +EBUILD porticron-0.7.1.ebuild 575 BLAKE2B e45a7baabf9f2cde961dfb3f6df76448448a1553a66e625fa12a2ca00e6e29523934599841666c21eebfb0e8b3f5d4cc89df67640e98e21264c2a40b8d5ecf56 SHA512 041b14559b7df56ff482d979ec71cbd7ebd0ae18d8ed8c1413e939f66f8c7eb502d6b8ced13affdd898940c3c000e70ba17b86f3b8bc1ef312a139c57fc714fb +EBUILD porticron-0.7_p20140126.ebuild 627 BLAKE2B d5baa9d0e311e692e649c90608007762540abb4177758dc3f01eea39bd04193fcb591275b87c2415b4704d7474426cf331a93e3683ac3dc223993581518fb621 SHA512 50fe9bbbab60dbbe8201228e4b60a997f0efe47e59b7e64e4a21cf82e5ecc5c58f56c4684280a3a339c3e0c7e2a168be92409de0ab1eaf125968a7abd17691fa +MISC metadata.xml 334 BLAKE2B 1dd60924e3196a76b8c5c2b1a0b807171920276fbf650e585640916d3c836dd88a21d2b7ec75c5a393b76c852e75cf3567049be880f5ea86750a3d9b015c6a4d SHA512 76cdaa159c6d7b418e8f4cbab36fdcd1ec7361f176222e305622b57084514719c94c3b97377cbbe847a3c5e5b34e0118983d07983db9af107b41cf1b3ed49136 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 000000000000..4531ab638fd8 --- /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?= <raimue@codingfarm.de> +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 000000000000..ffc8ad5b4f61 --- /dev/null +++ b/app-portage/porticron/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> + <upstream> + <remote-id type="github">gentoo/porticron</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-portage/porticron/porticron-0.7.1.ebuild b/app-portage/porticron/porticron-0.7.1.ebuild new file mode 100644 index 000000000000..1c9da925a281 --- /dev/null +++ b/app-portage/porticron/porticron-0.7.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +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/gentoo/porticron/archive/v${PV}.tar.gz -> ${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_install() { + dosbin bin/porticron + insinto /etc + doins etc/porticron.conf +} 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 000000000000..26330c1b01f8 --- /dev/null +++ b/app-portage/porticron/porticron-0.7_p20140126.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |