public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marc Schiffbauer" <mschiff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/restart-services/
Date: Sat, 19 Sep 2020 15:45:54 +0000 (UTC)	[thread overview]
Message-ID: <1600530330.af24b2d9bcf3848ac628ea98ae6e002fe2297b9f.mschiff@gentoo> (raw)

commit:     af24b2d9bcf3848ac628ea98ae6e002fe2297b9f
Author:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 19 15:45:30 2020 +0000
Commit:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Sat Sep 19 15:45:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af24b2d9

app-admin/restart-services: remove old version

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>

 app-admin/restart-services/Manifest                |  1 -
 .../restart-services-0.14.1.ebuild                 | 83 ----------------------
 2 files changed, 84 deletions(-)

diff --git a/app-admin/restart-services/Manifest b/app-admin/restart-services/Manifest
index 607f852e50c..52ddca91c89 100644
--- a/app-admin/restart-services/Manifest
+++ b/app-admin/restart-services/Manifest
@@ -1,3 +1,2 @@
-DIST restart-services-0.14.1.tgz 20909 BLAKE2B 2f6b74fc6094be83e1872d2a6ca7abb02a49b5db65d81cd37f8161bac148e5fe0614502f1f06356ff9cd6c6ba03c416dae1eec3a86f48dc011bc6e28c1b076e3 SHA512 3434c4b6cdf9d02b035eba2cc67cebe8e06a2cf31c2d8627063b84224dcb6d44e276e1fcb82221ad77ab7ee7e16fa7ee58fb94b7849d40e6786d3fcfb6087866
 DIST restart-services-0.15.2.tgz 23688 BLAKE2B e043b872d55109ad176a6437006cf581a993e72e460bb034625ed612f9ceca85ef91a20e90f23bcecc964caa527cfa4bc39d97c52487b7bf92eec21dc2e35c48 SHA512 afe7c96aabf61d664460d5d68447df09b3d9a54098887727db796821220f5ddd5a3b5030d995d5a6c3128e4a2b8494b9a0a3b86b5c805d56c0e201058ad04327
 DIST restart-services-0.16.0.tgz 24531 BLAKE2B fea233755d214a502096551226078a7fe15a75ccf937bbf8a75c78b7a294b5977da453f54f37e3d7e65f131e49e018bf08bec6245a3aa46ec6c3bec94019f5ad SHA512 57b3514132c02839cafbfd9152445a6482cf3591e22d18436a4d894061b59d2495863a912a87495559e9945a39715e7e798dca44dafd52c26b5412d749f37cc2

diff --git a/app-admin/restart-services/restart-services-0.14.1.ebuild b/app-admin/restart-services/restart-services-0.14.1.ebuild
deleted file mode 100644
index d83a7fafc54..00000000000
--- a/app-admin/restart-services/restart-services-0.14.1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DESCRIPTION="Tool to manage OpenRC services that need to be restarted"
-HOMEPAGE="https://dev.gentoo.org/~mschiff/restart-services/"
-SRC_URI="https://dev.gentoo.org/~mschiff/src/${PN}/${P}.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="
-	app-admin/lib_users
-	sys-apps/openrc
-"
-
-src_install() {
-	dosbin restart-services
-	doman restart-services.1
-	keepdir /etc/restart-services.d
-	insinto /etc
-	doins restart-services.conf
-	dodoc README CHANGES
-
-	# remove after 2018/07/01
-	dosym restart-services /usr/sbin/restart_services
-
-	sed -i 's/^#include/include/' "${D}"/etc/restart-services.conf
-	cat>"${D}"/etc/restart-services.d/00-local.conf<<-EOF
-	# You may put your local changes here or in any other *.conf file
-	# in this directory so you can leave /etc/restart-services.conf as is.
-	# Example:
-	# *extend* SV_ALWAYS to match 'myservice'
-	# SV_ALWAYS+=( myservice )
-	EOF
-}
-
-pkg_postinst() {
-	local MAJOR MINOR
-	# migrate config data for versions < 0.13.2
-	if [[ $REPLACING_VERSIONS ]]; then
-		MAJOR=${REPLACING_VERSIONS%%.*}
-		MINOR=${REPLACING_VERSIONS%.*}
-		MINOR=${MINOR#*.}
-
-		if [[ $MAJOR -eq 0 && $MINOR -lt 14 ]]; then
-			einfo "Migrating config"
-			if [[ -e /etc/restart-services.d ]]; then
-				ewarn "/etc/restart-services.d already exists?!"
-				return
-			fi
-			if [[ -e /etc/restart-services.conf ]]; then
-				ewarn "/etc/restart-services.conf already exists?!"
-				return
-			fi
-
-			if [[ -f /etc/restart_services.d/00-local.conf ]]; then
-				sed -i 's/restart_services/restart-services/g' \
-					/etc/restart_services.d/00-local.conf
-			fi
-			if [[ $(ls /etc/restart_services.d/) ]]; then
-				mv -v /etc/restart_services.d/* /etc/restart-services.d/
-			fi
-			if [[ -f /etc/restart_services.d/.keep_app-admin_restart_services-0 ]]; then
-				rm -v /etc/restart_services.d/.keep_app-admin_restart_services-0
-			fi
-			if [[ -d /etc/restart_services.d ]]; then
-				rmdir -v /etc/restart_services.d
-			fi
-
-			if [[ -f /etc/restart_services.conf ]]; then
-				sed -i 's/restart_services/restart-services/g' \
-					/etc/restart_services.conf
-				mv /etc/restart_services.conf /etc/restart-services.conf
-			fi
-			einfo "done"
-		fi
-	fi
-}


             reply	other threads:[~2020-09-19 15:45 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-19 15:45 Marc Schiffbauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-21  0:31 [gentoo-commits] repo/gentoo:master commit in: app-admin/restart-services/ Sam James
2024-05-07  1:16 Sam James
2024-05-07  1:16 Sam James
2024-04-07 11:43 Marc Schiffbauer
2024-04-01 12:46 Marc Schiffbauer
2024-04-01 12:46 Marc Schiffbauer
2024-03-12 15:19 Marc Schiffbauer
2024-03-12 12:08 Marc Schiffbauer
2024-03-12 12:08 Marc Schiffbauer
2023-12-06 13:55 Marc Schiffbauer
2023-11-14 18:35 Andreas Sturmlechner
2023-10-08 15:29 Arthur Zamarin
2023-10-08 15:29 Arthur Zamarin
2023-09-15  6:42 Arthur Zamarin
2022-08-28 15:16 Andreas Sturmlechner
2021-02-21 19:50 Sam James
2021-02-21  8:10 Sam James
2021-02-09 21:41 Sam James
2021-02-09 21:37 Sam James
2021-02-09 14:11 Sergei Trofimovich
2020-10-26 14:02 Marc Schiffbauer
2020-10-07 23:20 Marc Schiffbauer
2020-09-19 15:44 Marc Schiffbauer
2020-09-05 16:17 Thomas Deutschmann
2020-09-05 15:19 Sam James
2020-06-07 21:24 Marc Schiffbauer
2020-06-07 21:24 Marc Schiffbauer
2020-05-13  5:22 Marc Schiffbauer
2020-05-05  6:14 Marc Schiffbauer
2020-05-05  6:13 Marc Schiffbauer
2019-03-11 11:05 Marc Schiffbauer
2019-02-24 12:01 Marc Schiffbauer
2019-02-22 19:03 Marc Schiffbauer
2019-02-22 19:03 Marc Schiffbauer
2018-11-19 10:24 Marc Schiffbauer
2018-02-14 14:17 Jason Zaman
2018-02-06 18:55 Thomas Deutschmann
2018-02-02 12:40 Marc Schiffbauer
2018-02-02  2:13 Marc Schiffbauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1600530330.af24b2d9bcf3848ac628ea98ae6e002fe2297b9f.mschiff@gentoo \
    --to=mschiff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox