1 |
commit: 03134eba9a14fb5100c1329ba030cd89646c5837 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 06:32:49 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 06:32:49 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03134eba |
7 |
|
8 |
sys-apps/qingy: remove old |
9 |
|
10 |
sys-apps/qingy/qingy-1.0.0-r1.ebuild | 132 ----------------------------------- |
11 |
sys-apps/qingy/qingy-1.0.0.ebuild | 125 --------------------------------- |
12 |
2 files changed, 257 deletions(-) |
13 |
|
14 |
diff --git a/sys-apps/qingy/qingy-1.0.0-r1.ebuild b/sys-apps/qingy/qingy-1.0.0-r1.ebuild |
15 |
deleted file mode 100644 |
16 |
index f756eaa..00000000 |
17 |
--- a/sys-apps/qingy/qingy-1.0.0-r1.ebuild |
18 |
+++ /dev/null |
19 |
@@ -1,132 +0,0 @@ |
20 |
-# Copyright 1999-2014 Gentoo Foundation |
21 |
-# Distributed under the terms of the GNU General Public License v2 |
22 |
-# $Id$ |
23 |
- |
24 |
-EAPI=5 |
25 |
-inherit autotools elisp-common eutils pam |
26 |
- |
27 |
-GENTOO_THEME_VERSION=2.1 |
28 |
- |
29 |
-DESCRIPTION="a DirectFB getty replacement" |
30 |
-HOMEPAGE="http://qingy.sourceforge.net/" |
31 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 |
32 |
- mirror://gentoo/${PN}-gentoo-theme-${GENTOO_THEME_VERSION}.tar.bz2 |
33 |
- https://dev.gentoo.org/~gienah/2big4tree/sys-apps/qingy/${P}-screensavers.patch.gz |
34 |
- https://dev.gentoo.org/~gienah/2big4tree/sys-apps/qingy/${P}-consolekit-pam.patch.gz" |
35 |
- |
36 |
-LICENSE="GPL-2" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="~amd64 ~ppc ~x86" |
39 |
-IUSE="consolekit crypt directfb emacs gpm opensslcrypt pam static X" |
40 |
- |
41 |
-RDEPEND=">=sys-libs/ncurses-5.7-r7:= |
42 |
- opensslcrypt? ( dev-libs/openssl:0= ) |
43 |
- crypt? ( >=dev-libs/libgcrypt-1.2.1:0= ) |
44 |
- directfb? ( >=dev-libs/DirectFB-1.4.2[fbcon,jpeg,png,truetype] ) |
45 |
- emacs? ( virtual/emacs ) |
46 |
- pam? ( >=sys-libs/pam-0.75-r11 ) |
47 |
- X? ( |
48 |
- x11-libs/libX11:= |
49 |
- x11-libs/libXScrnSaver:= |
50 |
- x11-proto/scrnsaverproto |
51 |
- )" |
52 |
-DEPEND="${RDEPEND} |
53 |
- >=sys-apps/sed-4.1.4-r1 |
54 |
- virtual/pkgconfig" |
55 |
-RDEPEND="${RDEPEND} |
56 |
- consolekit? ( |
57 |
- sys-auth/consolekit |
58 |
- sys-apps/dbus ) |
59 |
- pam? ( sys-auth/pambase )" |
60 |
- |
61 |
-SITEFILE=50${PN}-gentoo.el |
62 |
- |
63 |
-src_prepare() { |
64 |
- epatch "${FILESDIR}"/${P}-tinfo.patch |
65 |
- # bug #359637 and bug #462634 - fixes from upstream |
66 |
- epatch "${DISTDIR}"/${P}-screensavers.patch.gz |
67 |
- # bug #372675 - fix from upstream |
68 |
- epatch "${DISTDIR}"/${P}-consolekit-pam.patch.gz |
69 |
- eautoreconf |
70 |
-} |
71 |
- |
72 |
-src_configure() { |
73 |
- local crypto_support="--disable-crypto" |
74 |
- local emacs_support="--disable-emacs --without-lispdir" |
75 |
- |
76 |
- if use crypt && use opensslcrypt; then |
77 |
- echo |
78 |
- ewarn "You can have openssl or libgcrypt as a crypto library, not both." |
79 |
- ewarn "Using libgcrypt now..." |
80 |
- echo |
81 |
- fi |
82 |
- |
83 |
- use emacs && emacs_support="--enable-emacs --with-lispdir=${SITELISP}/${PN}" |
84 |
- use opensslcrypt && crypto_support="--enable-crypto=openssl" |
85 |
- use crypt && crypto_support="--enable-crypto=libgcrypt" |
86 |
- econf \ |
87 |
- --sbindir=/sbin \ |
88 |
- --disable-optimizations \ |
89 |
- $(use_enable consolekit) \ |
90 |
- $(use_enable pam) \ |
91 |
- $(use_enable static static-build) \ |
92 |
- $(use_enable gpm gpm-lock) \ |
93 |
- $(use_enable X x-support) \ |
94 |
- $(use_enable directfb DirectFB-support ) \ |
95 |
- ${crypto_support} \ |
96 |
- ${emacs_support} |
97 |
-} |
98 |
- |
99 |
-src_install() { |
100 |
- # Copy documentation manually as make install only installs info files |
101 |
- # INSTALL is left because it contains also configuration informations |
102 |
- dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS TODO |
103 |
- |
104 |
- # Install the program |
105 |
- emake DESTDIR="${D}" install |
106 |
- |
107 |
- # Set the settings file umask to 600, in case somebody |
108 |
- # wants to make use of the autologin feature |
109 |
- /bin/chmod 600 "${D}"/etc/qingy/settings |
110 |
- |
111 |
- # Install Gentoo theme |
112 |
- dodir /usr/share/${PN}/themes/gentoo |
113 |
- cp "${WORKDIR}"/gentoo/* "${D}"/usr/share/${PN}/themes/gentoo || die |
114 |
- |
115 |
- # Alter config file so that it uses our theme |
116 |
- sed -i 's/theme = "default"/theme = "gentoo"/' "${D}"/etc/${PN}/settings |
117 |
- |
118 |
- # Install log rotation policy |
119 |
- insinto /etc/logrotate.d |
120 |
- newins "${FILESDIR}"/${PN}-logrotate ${PN} |
121 |
- |
122 |
- use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
123 |
- |
124 |
- rm "${D}"/etc/pam.d/qingy |
125 |
- pamd_mimic system-local-login qingy auth account password session |
126 |
-} |
127 |
- |
128 |
-pkg_postinst() { |
129 |
- einfo "In order to use qingy you must first edit your /etc/inittab" |
130 |
- einfo "Check the documentation at ${HOMEPAGE}" |
131 |
- einfo "for instructions on how to do that." |
132 |
- echo |
133 |
- einfo "Also, make sure to adjust qingy settings file (/etc/qingy/settings)" |
134 |
- einfo "to your preferences/machine configuration..." |
135 |
- |
136 |
- if use crypt; then |
137 |
- echo |
138 |
- einfo "You will have to create a key pair using 'qingy-keygen'" |
139 |
- echo |
140 |
- ewarn "Note that sometimes a generated key-pair may pass the internal tests" |
141 |
- ewarn "but fail to work properly. You will get a 'regenerate your keys'" |
142 |
- ewarn "message. If this is your case, please remove /etc/qingy/public_key" |
143 |
- ewarn "and /etc/qingy/private_key and run qingy-keygen again..." |
144 |
- fi |
145 |
- |
146 |
- use emacs && echo && elisp-site-regen |
147 |
-} |
148 |
- |
149 |
-pkg_postrm() { |
150 |
- use emacs && elisp-site-regen |
151 |
-} |
152 |
|
153 |
diff --git a/sys-apps/qingy/qingy-1.0.0.ebuild b/sys-apps/qingy/qingy-1.0.0.ebuild |
154 |
deleted file mode 100644 |
155 |
index 316c199..00000000 |
156 |
--- a/sys-apps/qingy/qingy-1.0.0.ebuild |
157 |
+++ /dev/null |
158 |
@@ -1,125 +0,0 @@ |
159 |
-# Copyright 1999-2014 Gentoo Foundation |
160 |
-# Distributed under the terms of the GNU General Public License v2 |
161 |
-# $Id$ |
162 |
- |
163 |
-EAPI=5 |
164 |
-inherit autotools elisp-common eutils pam |
165 |
- |
166 |
-GENTOO_THEME_VERSION=2.1 |
167 |
- |
168 |
-DESCRIPTION="a DirectFB getty replacement" |
169 |
-HOMEPAGE="http://qingy.sourceforge.net/" |
170 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 |
171 |
- mirror://gentoo/${PN}-gentoo-theme-${GENTOO_THEME_VERSION}.tar.bz2 |
172 |
- https://dev.gentoo.org/~gienah/2big4tree/sys-apps/qingy/${P}-screensavers.patch.gz" |
173 |
- |
174 |
-LICENSE="GPL-2" |
175 |
-SLOT="0" |
176 |
-KEYWORDS="amd64 ppc x86" |
177 |
-IUSE="crypt directfb emacs gpm opensslcrypt pam static X" |
178 |
- |
179 |
-RDEPEND=">=sys-libs/ncurses-5.7-r7:= |
180 |
- opensslcrypt? ( dev-libs/openssl:0= ) |
181 |
- crypt? ( >=dev-libs/libgcrypt-1.2.1:0= ) |
182 |
- directfb? ( >=dev-libs/DirectFB-1.4.2[fbcon,jpeg,png,truetype] ) |
183 |
- emacs? ( virtual/emacs ) |
184 |
- pam? ( >=sys-libs/pam-0.75-r11 ) |
185 |
- X? ( |
186 |
- x11-libs/libX11:= |
187 |
- x11-libs/libXScrnSaver:= |
188 |
- x11-proto/scrnsaverproto |
189 |
- )" |
190 |
-DEPEND="${RDEPEND} |
191 |
- >=sys-apps/sed-4.1.4-r1 |
192 |
- virtual/pkgconfig" |
193 |
-RDEPEND="${RDEPEND} |
194 |
- pam? ( sys-auth/pambase )" |
195 |
- |
196 |
-SITEFILE=50${PN}-gentoo.el |
197 |
- |
198 |
-src_prepare() { |
199 |
- epatch "${FILESDIR}"/${P}-tinfo.patch |
200 |
- # bug #359637 and bug #462634 - fixes from upstream |
201 |
- epatch "${DISTDIR}"/${P}-screensavers.patch.gz |
202 |
- eautoreconf |
203 |
-} |
204 |
- |
205 |
-src_configure() { |
206 |
- local crypto_support="--disable-crypto" |
207 |
- local emacs_support="--disable-emacs --without-lispdir" |
208 |
- |
209 |
- if use crypt && use opensslcrypt; then |
210 |
- echo |
211 |
- ewarn "You can have openssl or libgcrypt as a crypto library, not both." |
212 |
- ewarn "Using libgcrypt now..." |
213 |
- echo |
214 |
- fi |
215 |
- |
216 |
- use emacs && emacs_support="--enable-emacs --with-lispdir=${SITELISP}/${PN}" |
217 |
- use opensslcrypt && crypto_support="--enable-crypto=openssl" |
218 |
- use crypt && crypto_support="--enable-crypto=libgcrypt" |
219 |
- econf \ |
220 |
- --sbindir=/sbin \ |
221 |
- --disable-optimizations \ |
222 |
- $(use_enable pam) \ |
223 |
- $(use_enable static static-build) \ |
224 |
- $(use_enable gpm gpm-lock) \ |
225 |
- $(use_enable X x-support) \ |
226 |
- $(use_enable directfb DirectFB-support ) \ |
227 |
- ${crypto_support} \ |
228 |
- ${emacs_support} |
229 |
-} |
230 |
- |
231 |
-src_install() { |
232 |
- # Copy documentation manually as make install only installs info files |
233 |
- # INSTALL is left because it contains also configuration informations |
234 |
- dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS TODO |
235 |
- |
236 |
- # Install the program |
237 |
- emake DESTDIR="${D}" install |
238 |
- |
239 |
- # Set the settings file umask to 600, in case somebody |
240 |
- # wants to make use of the autologin feature |
241 |
- /bin/chmod 600 "${D}"/etc/qingy/settings |
242 |
- |
243 |
- # Install Gentoo theme |
244 |
- dodir /usr/share/${PN}/themes/gentoo |
245 |
- cp "${WORKDIR}"/gentoo/* "${D}"/usr/share/${PN}/themes/gentoo || die |
246 |
- |
247 |
- # Alter config file so that it uses our theme |
248 |
- sed -i 's/theme = "default"/theme = "gentoo"/' "${D}"/etc/${PN}/settings |
249 |
- |
250 |
- # Install log rotation policy |
251 |
- insinto /etc/logrotate.d |
252 |
- newins "${FILESDIR}"/${PN}-logrotate ${PN} |
253 |
- |
254 |
- use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
255 |
- |
256 |
- rm "${D}"/etc/pam.d/qingy |
257 |
- pamd_mimic system-local-login qingy auth account password session |
258 |
-} |
259 |
- |
260 |
-pkg_postinst() { |
261 |
- einfo "In order to use qingy you must first edit your /etc/inittab" |
262 |
- einfo "Check the documentation at ${HOMEPAGE}" |
263 |
- einfo "for instructions on how to do that." |
264 |
- echo |
265 |
- einfo "Also, make sure to adjust qingy settings file (/etc/qingy/settings)" |
266 |
- einfo "to your preferences/machine configuration..." |
267 |
- |
268 |
- if use crypt; then |
269 |
- echo |
270 |
- einfo "You will have to create a key pair using 'qingy-keygen'" |
271 |
- echo |
272 |
- ewarn "Note that sometimes a generated key-pair may pass the internal tests" |
273 |
- ewarn "but fail to work properly. You will get a 'regenerate your keys'" |
274 |
- ewarn "message. If this is your case, please remove /etc/qingy/public_key" |
275 |
- ewarn "and /etc/qingy/private_key and run qingy-keygen again..." |
276 |
- fi |
277 |
- |
278 |
- use emacs && echo && elisp-site-regen |
279 |
-} |
280 |
- |
281 |
-pkg_postrm() { |
282 |
- use emacs && elisp-site-regen |
283 |
-} |