diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-29 04:45:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-29 04:45:37 +0100 |
commit | 2512faa12f58e69a2f3e27e13e10fd0aef3ab384 (patch) | |
tree | 2d08249ac1699d92698edc3c9d6c788de417c4e2 /app-admin/restart-services | |
parent | f39869264ff0b7c81fe9c463db9e3f7944a9cd20 (diff) |
gentoo auto-resync : 29:08:2022 - 04:45:37
Diffstat (limited to 'app-admin/restart-services')
3 files changed, 0 insertions, 189 deletions
diff --git a/app-admin/restart-services/restart-services-0.15.2.ebuild b/app-admin/restart-services/restart-services-0.15.2.ebuild deleted file mode 100644 index 7aa078cf4b21..000000000000 --- a/app-admin/restart-services/restart-services-0.15.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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 - app-portage/portage-utils -" - -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 '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 "Checking for old config" - if [[ -f /etc/restart_services.conf ]]; then - 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 - 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 - einfo "done" - fi - fi -} diff --git a/app-admin/restart-services/restart-services-0.16.0.ebuild b/app-admin/restart-services/restart-services-0.16.0.ebuild deleted file mode 100644 index 874ac8f35520..000000000000 --- a/app-admin/restart-services/restart-services-0.16.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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 - app-portage/portage-utils -" - -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 '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 "Checking for old config" - if [[ -f /etc/restart_services.conf ]]; then - 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 - 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 - einfo "done" - fi - fi -} diff --git a/app-admin/restart-services/restart-services-0.16.1.ebuild b/app-admin/restart-services/restart-services-0.16.1.ebuild deleted file mode 100644 index 874ac8f35520..000000000000 --- a/app-admin/restart-services/restart-services-0.16.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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 - app-portage/portage-utils -" - -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 '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 "Checking for old config" - if [[ -f /etc/restart_services.conf ]]; then - 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 - 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 - einfo "done" - fi - fi -} |