summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2024-03-12 13:07:27 +0100
committerMarc Schiffbauer <mschiff@gentoo.org>2024-03-12 13:07:51 +0100
commitbab8e8c71d636614c31504c4e6b788d9693cd89c (patch)
tree416e911a4af72494ed33df43f15748fce877a4b9 /app-admin
parentapp-admin/restart-services: add 1.1 (diff)
downloadgentoo-bab8e8c71d636614c31504c4e6b788d9693cd89c.tar.gz
gentoo-bab8e8c71d636614c31504c4e6b788d9693cd89c.tar.bz2
gentoo-bab8e8c71d636614c31504c4e6b788d9693cd89c.zip
app-admin/restart-services: drop 0.17.0-r1
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/restart-services/Manifest1
-rw-r--r--app-admin/restart-services/restart-services-0.17.0-r1.ebuild61
2 files changed, 0 insertions, 62 deletions
diff --git a/app-admin/restart-services/Manifest b/app-admin/restart-services/Manifest
index 5114080c53de..ddccc861195b 100644
--- a/app-admin/restart-services/Manifest
+++ b/app-admin/restart-services/Manifest
@@ -1,3 +1,2 @@
-DIST restart-services-0.17.0.tgz 25643 BLAKE2B 5999e12e38207d00266928504da05c00482c8297b7fee634f302f09cfa09e206bcf9d5a558d2a91e5de1d97318025fa995fbc3a61f0d0e74b8dfb1af3db8670b SHA512 c11ca431fbbc6899ab268e8979049144448479d953ed7373cc7483cca2c03cd4041a1ca1e47c0e810f91a18a43aa32cc305a4ea791e8b992246f972e0fbb19ab
DIST restart-services-1.0.tgz 25872 BLAKE2B 912c3e2c3cd49732369a5a4452be1f171c33cd3364cf3224b4443f6f21ef0fccd4c533edd79214cc2dae00cea558409eacbcef4b1566bef402f1850537432c63 SHA512 9c4e269ac6db8bf13c512cc3556a9356b4b44960dd562cf633df6e03db57677c05738edc46010b01976a6b0ee2152ac1e8d410a6c9d98142295ff0cbd3f93df2
DIST restart-services-1.1.tgz 26227 BLAKE2B 7893aa01c965fca24b42312f6b01cac46b0bbd3d8304865539adb00cc6f7cdcf8cff1a912cce98534eb4f3bd0af0e01df3387dab87b8e53193152b3966ff3c9b SHA512 165e4b07fa9a15a749f8e50064da83e9e1749f465248259de5b0dc97c2ef249131e1e993d8e34975628ed69b35e194b3d75a578f6279188f76236d02a970ac4b
diff --git a/app-admin/restart-services/restart-services-0.17.0-r1.ebuild b/app-admin/restart-services/restart-services-0.17.0-r1.ebuild
deleted file mode 100644
index aee74d1cc63c..000000000000
--- a/app-admin/restart-services/restart-services-0.17.0-r1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Tool to manage OpenRC and systemd 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 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
-
-RDEPEND="
- app-admin/lib_users
- app-portage/portage-utils
- || ( sys-apps/openrc sys-apps/systemd )
-"
-
-src_install() {
- dosbin restart-services
- doman restart-services.1
- keepdir /etc/restart-services.d
- insinto /etc
- doins restart-services.conf
- dodoc README CHANGES
-
- sed -i -e 's/^#include/include/' "${ED}"/etc/restart-services.conf || die
- cat > "${ED}"/etc/restart-services.d/00-local.conf <<- EOF || die
- # 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() {
- # migrate config data for versions < 0.13.2
- if [[ -n ${REPLACING_VERSIONS} ]]; then
-
- if [[ $(ver_cut 1 ${REPLACING_VERSIONS}) -eq 0 ]] \
- && [[ $(ver_cut 2 ${REPLACING_VERSIONS}) -lt 14 ]]; then
- local have_old_config=0
- ebegin "Checking for old config"
- if [[ -f /etc/restart_services.conf ]]; then
- have_old_config=1
- ewarn "Old config file found: /etc/restart_services.conf"
- ewarn "It will be ignored so please migrate settings to a file in"
- ewarn "/etc/restart-services.d/ and/or remove /etc/restart_services.conf"
- fi
- if [[ -d /etc/restart_services.d ]]; then
- have_old_config=1
- ewarn "Old config directory found: /etc/restart_services.d"
- ewarn "It will be ignored so please migrate files to /etc/restart-services.d"
- ewarn "and/or remove /etc/restart_services.d"
- fi
- eend ${have_old_config}
- fi
- fi
-}