summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-admin/checkrestart
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
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 <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-admin/checkrestart')
-rw-r--r--app-admin/checkrestart/Manifest1
-rw-r--r--app-admin/checkrestart/checkrestart-0.47-r3.ebuild38
-rw-r--r--app-admin/checkrestart/files/checkrestart-0.47-list-comprehension-fix.patch11
-rw-r--r--app-admin/checkrestart/metadata.xml7
4 files changed, 57 insertions, 0 deletions
diff --git a/app-admin/checkrestart/Manifest b/app-admin/checkrestart/Manifest
new file mode 100644
index 000000000000..c1525295c588
--- /dev/null
+++ b/app-admin/checkrestart/Manifest
@@ -0,0 +1 @@
+DIST checkrestart-0.47-sep.tar.bz2 5888 SHA256 e80c89b8e2b082c4e2050a45dbdd375c6ef68dd91bdb000ae701359d0d04558e SHA512 7fe91a3e4c8a0ff09ff19d3d521739e2e289dc45be0def0000e1036cb964916f84ed2beb902fe0558ae999c5e34ecdc891a168342cc8e3ab967254e65c26dd20 WHIRLPOOL 12bcce4e273aeaa2f486d8b225aaf9e1c7eb1336fe77b8b9b6f7cbf6358560c0dc5b9063ef516baca53fe861541fc15553816a5d1d21d9a8f9ccae2276d345c1
diff --git a/app-admin/checkrestart/checkrestart-0.47-r3.ebuild b/app-admin/checkrestart/checkrestart-0.47-r3.ebuild
new file mode 100644
index 000000000000..f23c26852cdc
--- /dev/null
+++ b/app-admin/checkrestart/checkrestart-0.47-r3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-single-r1
+
+DESCRIPTION="the sysadmin's rolling upgrade tool"
+HOMEPAGE="http://arcdraco.net/checkrestart"
+SRC_URI="http://arcdraco.net/~dragon/${P}-sep.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~x86"
+IUSE=""
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ sys-apps/lsb-release
+ app-portage/portage-utils
+ sys-process/lsof
+"
+
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+S=${WORKDIR}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-list-comprehension-fix.patch
+ python_fix_shebang ${PN}
+}
+
+src_install() {
+ dosbin ${PN}
+}
diff --git a/app-admin/checkrestart/files/checkrestart-0.47-list-comprehension-fix.patch b/app-admin/checkrestart/files/checkrestart-0.47-list-comprehension-fix.patch
new file mode 100644
index 000000000000..f22f0b9e50c8
--- /dev/null
+++ b/app-admin/checkrestart/files/checkrestart-0.47-list-comprehension-fix.patch
@@ -0,0 +1,11 @@
+--- a/checkrestart
++++ b/checkrestart
+@@ -216,7 +216,7 @@
+ package.initscripts.append(path)
+
+ # Remove duplicate inits
+- package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]
++ package.initscripts = list(set(package.initscripts))
+
+ restartable = []
+ nonrestartable = []
diff --git a/app-admin/checkrestart/metadata.xml b/app-admin/checkrestart/metadata.xml
new file mode 100644
index 000000000000..1470e032181b
--- /dev/null
+++ b/app-admin/checkrestart/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>