mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-portage/porticron: Drop old
Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST porticron-0.7.1.tar.gz 6530 BLAKE2B 6eec2bcab3e3d7661783c4fcf8f5521aac5700e4c642112d074187af372ea51137a7bfc06cd14c86f55e6b1414b2af766454a829c815294606a8bd18141e7c07 SHA512 ba2f365011e1ad2f7cb67d655839fa425791ab95309753719b4a4206db735f141d473d24bbb68da25a88db54919d033f53efaf497c26de71f3edb4a39dcc957c
|
||||
DIST porticron-0.7_p20140126.tar.gz 4453 BLAKE2B 99a81cc2fc0feb753656f4490c2ceb5bc2abba02a74b54ca30f086da1ab95797a119cbd323c91acbb9688cd93996705b92d4bec044a256920c562af8d1e96d70 SHA512 c14c5ff18eff74d7c225883dc0e1cea16666f0dcab07f9b249aed0db2874179eacc824c0f35dc2cfd97dc0c2db5f2bf6d13c3e76a2cd1b87de46fb073622f3d5
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
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
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user