1 |
commit: 94f23f1fac507073d62386d5f5db0dc61b07e73e |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 21 17:12:44 2021 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 21 17:13:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94f23f1f |
7 |
|
8 |
sys-apps/openrc: remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
12 |
|
13 |
sys-apps/openrc/Manifest | 1 - |
14 |
sys-apps/openrc/openrc-0.44.4.ebuild | 168 ----------------------------------- |
15 |
2 files changed, 169 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/openrc/Manifest b/sys-apps/openrc/Manifest |
18 |
index 65e7c054e34..2bbfa8c3ba7 100644 |
19 |
--- a/sys-apps/openrc/Manifest |
20 |
+++ b/sys-apps/openrc/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
DIST openrc-0.43.5.tar.gz 242146 BLAKE2B 993d3895588e8f1383049006834f944faaae0f889d3afcae5bff697db9f26383712f18aba52ce07d835f1d2bbe8ef19ef116ad60141d1eb0650767430d1d9967 SHA512 680c1549a8a37eb3a719f3e026888d045d26c98357d6e6eaf09069a23a001272deaca8cac4a9b8fd79f489c4cfb4fe2c7b5d481d1469798a8f5ec470d0cadbe3 |
23 |
-DIST openrc-0.44.4.tar.gz 253612 BLAKE2B 9c9fb5a6e5124c16bb6b487ae7538a0366c0c66e799a42938be0d5199cd0f9bfa5578d6a2e45c570365bbe900aa5998d748741637325ca540dc788cb9bee5647 SHA512 c900a8e5f91f4261153c67b87ba1fcc8c039b20f23942a12cb0717963060a111bd70eb64418b1c3196ee9ee95db9bb39a1833a84a2c49c1095489d0d472bab74 |
24 |
DIST openrc-0.44.5.tar.gz 253815 BLAKE2B e0d1ed26a18f59a226a44b3cf041c9b8017fbbe304aa5986d8e5ada17530594ac1a8099bf392ee6cd41c6668ce69a51ee1776817745b568e182bfbeac3a01799 SHA512 95b9399168522ead967a9f1de8ddce3826de997ff0e1acd56b342dc41cf18ea527598ea316e0e377916582a4f6a109a12233bd302e72ae93b3f1bcb81bfe7a4a |
25 |
|
26 |
diff --git a/sys-apps/openrc/openrc-0.44.4.ebuild b/sys-apps/openrc/openrc-0.44.4.ebuild |
27 |
deleted file mode 100644 |
28 |
index c369f95a562..00000000000 |
29 |
--- a/sys-apps/openrc/openrc-0.44.4.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,168 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-inherit flag-o-matic meson pam toolchain-funcs |
38 |
- |
39 |
-DESCRIPTION="OpenRC manages the services, startup and shutdown of a host" |
40 |
-HOMEPAGE="https://github.com/openrc/openrc/" |
41 |
- |
42 |
-if [[ ${PV} =~ ^9{4,}$ ]]; then |
43 |
- EGIT_REPO_URI="https://github.com/OpenRC/${PN}.git" |
44 |
- inherit git-r3 |
45 |
-else |
46 |
- SRC_URI="https://github.com/OpenRC/openrc/archive/${PV}.tar.gz -> ${P}.tar.gz" |
47 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
48 |
-fi |
49 |
- |
50 |
-LICENSE="BSD-2" |
51 |
-SLOT="0" |
52 |
-IUSE="audit bash debug ncurses pam newnet +netifrc selinux sysv-utils unicode" |
53 |
- |
54 |
-COMMON_DEPEND=" |
55 |
- ncurses? ( sys-libs/ncurses:0= ) |
56 |
- pam? ( sys-libs/pam ) |
57 |
- audit? ( sys-process/audit ) |
58 |
- sys-process/psmisc |
59 |
- !<sys-process/procps-3.3.9-r2 |
60 |
- selinux? ( |
61 |
- sys-apps/policycoreutils |
62 |
- >=sys-libs/libselinux-2.6 |
63 |
- ) |
64 |
- !<sys-apps/baselayout-2.1-r1 |
65 |
- !<sys-fs/udev-init-scripts-27" |
66 |
-DEPEND="${COMMON_DEPEND} |
67 |
- virtual/os-headers |
68 |
- ncurses? ( virtual/pkgconfig )" |
69 |
-RDEPEND="${COMMON_DEPEND} |
70 |
- bash? ( app-shells/bash ) |
71 |
- !prefix? ( |
72 |
- sysv-utils? ( |
73 |
- !sys-apps/systemd[sysv-utils(-)] |
74 |
- !sys-apps/sysvinit |
75 |
- ) |
76 |
- !sysv-utils? ( >=sys-apps/sysvinit-2.86-r6[selinux?] ) |
77 |
- virtual/tmpfiles |
78 |
- ) |
79 |
- selinux? ( |
80 |
- >=sec-policy/selinux-base-policy-2.20170204-r4 |
81 |
- >=sec-policy/selinux-openrc-2.20170204-r4 |
82 |
- ) |
83 |
- !<app-shells/gentoo-bashcomp-20180302 |
84 |
- !<app-shells/gentoo-zsh-completions-20180228 |
85 |
-" |
86 |
- |
87 |
-PDEPEND="netifrc? ( net-misc/netifrc )" |
88 |
- |
89 |
-PATCHES=( |
90 |
- "${FILESDIR}/${P}-fix-build.patch" |
91 |
-) |
92 |
- |
93 |
-src_configure() { |
94 |
- local emesonargs=( |
95 |
- $(meson_feature audit) |
96 |
- "-Dbranding=\"Gentoo Linux\"" |
97 |
- $(meson_use newnet) |
98 |
- -Dos=Linux |
99 |
- $(meson_use pam) |
100 |
- $(meson_feature selinux) |
101 |
- -Dshell=$(usex bash /bin/bash /bin/sh) |
102 |
- $(meson_use sysv-utils sysvinit) |
103 |
- -Dtermcap=$(usev ncurses) |
104 |
- ) |
105 |
- # export DEBUG=$(usev debug) |
106 |
- meson_src_configure |
107 |
-} |
108 |
- |
109 |
-# set_config <file> <option name> <yes value> <no value> test |
110 |
-# a value of "#" will just comment out the option |
111 |
-set_config() { |
112 |
- local file="${ED}/$1" var=$2 val com |
113 |
- eval "${@:5}" && val=$3 || val=$4 |
114 |
- [[ ${val} == "#" ]] && com="#" && val='\2' |
115 |
- sed -i -r -e "/^#?${var}=/{s:=([\"'])?([^ ]*)\1?:=\1${val}\1:;s:^#?:${com}:}" "${file}" |
116 |
-} |
117 |
- |
118 |
-set_config_yes_no() { |
119 |
- set_config "$1" "$2" YES NO "${@:3}" |
120 |
-} |
121 |
- |
122 |
-src_install() { |
123 |
- meson_install |
124 |
- |
125 |
- keepdir /lib/rc/tmp |
126 |
- |
127 |
- # Setup unicode defaults for silly unicode users |
128 |
- set_config_yes_no /etc/rc.conf unicode use unicode |
129 |
- |
130 |
- # Cater to the norm |
131 |
- set_config_yes_no /etc/conf.d/keymaps windowkeys '(' use x86 '||' use amd64 ')' |
132 |
- |
133 |
- # On HPPA, do not run consolefont by default (bug #222889) |
134 |
- if use hppa; then |
135 |
- rm -f "${ED}"/etc/runlevels/boot/consolefont |
136 |
- fi |
137 |
- |
138 |
- # Support for logfile rotation |
139 |
- insinto /etc/logrotate.d |
140 |
- newins "${FILESDIR}"/openrc.logrotate openrc |
141 |
- |
142 |
- if use pam; then |
143 |
- # install gentoo pam.d files |
144 |
- newpamd "${FILESDIR}"/start-stop-daemon.pam start-stop-daemon |
145 |
- newpamd "${FILESDIR}"/start-stop-daemon.pam supervise-daemon |
146 |
- fi |
147 |
- |
148 |
- # install documentation |
149 |
- dodoc ChangeLog *.md |
150 |
-} |
151 |
- |
152 |
-pkg_preinst() { |
153 |
- # avoid default thrashing in conf.d files when possible #295406 |
154 |
- if [[ -e "${EROOT}"/etc/conf.d/hostname ]] ; then |
155 |
- ( |
156 |
- unset hostname HOSTNAME |
157 |
- source "${EROOT}"/etc/conf.d/hostname |
158 |
- : ${hostname:=${HOSTNAME}} |
159 |
- [[ -n ${hostname} ]] && set_config /etc/conf.d/hostname hostname "${hostname}" |
160 |
- ) |
161 |
- fi |
162 |
- |
163 |
- # set default interactive shell to sulogin if it exists |
164 |
- set_config /etc/rc.conf rc_shell /sbin/sulogin "#" test -e /sbin/sulogin |
165 |
- return 0 |
166 |
-} |
167 |
- |
168 |
-pkg_postinst() { |
169 |
- if use hppa; then |
170 |
- elog "Setting the console font does not work on all HPPA consoles." |
171 |
- elog "You can still enable it by running:" |
172 |
- elog "# rc-update add consolefont boot" |
173 |
- fi |
174 |
- |
175 |
- # Added for 0.35. |
176 |
- if [[ ! -h "${EROOT}"/lib ]]; then |
177 |
- if [[ -d "${EROOT}/$(get_libdir)"/rc ]]; then |
178 |
- cp -RPp "${EROOT}/$(get_libdir)/rc" "${EROOT}"/lib |
179 |
- fi |
180 |
- fi |
181 |
- |
182 |
- if ! use newnet && ! use netifrc; then |
183 |
- ewarn "You have emerged OpenRc without network support. This" |
184 |
- ewarn "means you need to SET UP a network manager such as" |
185 |
- ewarn " net-misc/netifrc, net-misc/dhcpcd, net-misc/connman," |
186 |
- ewarn " net-misc/NetworkManager, or net-vpn/badvpn." |
187 |
- ewarn "Or, you have the option of emerging openrc with the newnet" |
188 |
- ewarn "use flag and configuring /etc/conf.d/network and" |
189 |
- ewarn "/etc/conf.d/staticroute if you only use static interfaces." |
190 |
- ewarn |
191 |
- fi |
192 |
- |
193 |
- if use newnet && [ ! -e "${EROOT}"/etc/runlevels/boot/network ]; then |
194 |
- ewarn "Please add the network service to your boot runlevel" |
195 |
- ewarn "as soon as possible. Not doing so could leave you with a system" |
196 |
- ewarn "without networking." |
197 |
- ewarn |
198 |
- fi |
199 |
-} |