1 |
commit: e07fd04d39089791aa25aefbc4902b75815efae4 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 2 18:20:21 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 2 18:20:21 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e07fd04d |
7 |
|
8 |
sys-apps/miscfiles: Drop old |
9 |
|
10 |
Closes: https://bugs.gentoo.org/622770 |
11 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
12 |
|
13 |
sys-apps/miscfiles/Manifest | 1 - |
14 |
sys-apps/miscfiles/miscfiles-1.5-r1.ebuild | 61 --------------------------- |
15 |
sys-apps/miscfiles/miscfiles-1.5-r2.ebuild | 66 ------------------------------ |
16 |
3 files changed, 128 deletions(-) |
17 |
|
18 |
diff --git a/sys-apps/miscfiles/Manifest b/sys-apps/miscfiles/Manifest |
19 |
index 6861a942e76..b0c88b1f86c 100644 |
20 |
--- a/sys-apps/miscfiles/Manifest |
21 |
+++ b/sys-apps/miscfiles/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
DIST UnicodeData-10.0.0.txt.xz 158456 BLAKE2B 2f4442c4bb26639e748f6a2b799e128ec9ffee357e13524ee4fe54e8df37b2916b03a209c71681b5049aefe000a896898e23879b7fccc7066e42061b42515b2e SHA512 85e8c7b33d71025a5f6f109e28010a5d5167f1aeb86c88eedd2e5ea5cecae3d1be741e5b0113a78566f51e8e15812a180a8c43c6b887385fec157d744c7a4a9c |
24 |
-DIST UnicodeData-6.1.0.txt.xz 129972 BLAKE2B 52836b9db627cbc8608a148eb179f98267997ba10ae188c948e873ae7486389e96557e2d9b9f3c12a775b118b3d97333262c0a5a6a2cf33c50445673dea1a2fc SHA512 9ada361d915f3883e673c6e55f351c7411dc970e180e7e0b05fef498c2f80a5a29bfd6c22513ff4b6b6c4c9fba5c77f0aca2dd54c7a76d3fa9b78623b1fdd93f |
25 |
DIST miscfiles-1.5.tar.gz 1585293 BLAKE2B 816197e72192e8b41839eb29d501a148f95496a7f3e7be469184e9396cc34fc95c161207edb60a5b7f8d43fe50c58202f0b16b2e4b1ce188527718e4f85e24bb SHA512 d7ab23a709539278cce59e0c32bfcb3a0f11dc52ef537e3823e72382962af7f4fedb8b957f39ff1da51a93a00e3c4f6ec29f7332d7879c77fd7f4ec0ee4f82aa |
26 |
|
27 |
diff --git a/sys-apps/miscfiles/miscfiles-1.5-r1.ebuild b/sys-apps/miscfiles/miscfiles-1.5-r1.ebuild |
28 |
deleted file mode 100644 |
29 |
index f4a54b376ea..00000000000 |
30 |
--- a/sys-apps/miscfiles/miscfiles-1.5-r1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,61 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI="3" |
37 |
- |
38 |
-UNI_PV=6.1.0 |
39 |
-DESCRIPTION="Miscellaneous files" |
40 |
-HOMEPAGE="https://savannah.gnu.org/projects/miscfiles/" |
41 |
-# http://www.unicode.org/Public/${UNI_PV}/ucd/UnicodeData.txt |
42 |
-SRC_URI="mirror://gnu/miscfiles/${P}.tar.gz |
43 |
- mirror://gentoo/UnicodeData-${UNI_PV}.txt.xz" |
44 |
- |
45 |
-LICENSE="GPL-2 unicode" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
48 |
-IUSE="minimal" |
49 |
- |
50 |
-# Collides with older versions/revisions |
51 |
-RDEPEND="!<sys-freebsd/freebsd-share-7.2-r1" |
52 |
-DEPEND="app-arch/xz-utils" |
53 |
- |
54 |
-src_prepare() { |
55 |
- mv "${WORKDIR}"/UnicodeData-${UNI_PV}.txt unicode || die |
56 |
-} |
57 |
- |
58 |
-src_configure() { |
59 |
- econf --datadir="${EPREFIX}"/usr/share/misc |
60 |
-} |
61 |
- |
62 |
-src_install() { |
63 |
- emake install DESTDIR="${D}" || die |
64 |
- dodoc NEWS ORIGIN README dict-README |
65 |
- |
66 |
- # not sure if this is still needed ... |
67 |
- dodir /usr/share/dict |
68 |
- cd "${ED}"/usr/share/misc |
69 |
- mv $(awk '$1=="dictfiles"{$1="";$2="";print}' "${S}"/Makefile) ../dict/ || die |
70 |
- cd ../dict |
71 |
- ln -s web2 words || die |
72 |
- ln -s web2a extra.words || die |
73 |
- |
74 |
- if use minimal ; then |
75 |
- cd "${ED}"/usr/share/dict |
76 |
- rm -f words extra.words |
77 |
- gzip -9 * |
78 |
- ln -s web2.gz words |
79 |
- ln -s web2a.gz extra.words |
80 |
- ln -s connectives{.gz,} |
81 |
- ln -s propernames{.gz,} |
82 |
- cd .. |
83 |
- rm -r misc rfc |
84 |
- fi |
85 |
-} |
86 |
- |
87 |
-pkg_postinst() { |
88 |
- if [[ ${ROOT} == "/" ]] && type -P create-cracklib-dict >/dev/null ; then |
89 |
- ebegin "Regenerating cracklib dictionary" |
90 |
- create-cracklib-dict "${EPREFIX}"/usr/share/dict/* > /dev/null |
91 |
- eend $? |
92 |
- fi |
93 |
-} |
94 |
|
95 |
diff --git a/sys-apps/miscfiles/miscfiles-1.5-r2.ebuild b/sys-apps/miscfiles/miscfiles-1.5-r2.ebuild |
96 |
deleted file mode 100644 |
97 |
index a20e20fe1a7..00000000000 |
98 |
--- a/sys-apps/miscfiles/miscfiles-1.5-r2.ebuild |
99 |
+++ /dev/null |
100 |
@@ -1,66 +0,0 @@ |
101 |
-# Copyright 1999-2017 Gentoo Foundation |
102 |
-# Distributed under the terms of the GNU General Public License v2 |
103 |
- |
104 |
-EAPI="6" |
105 |
- |
106 |
-UNI_PV="10.0.0" |
107 |
-DESCRIPTION="Miscellaneous files" |
108 |
-HOMEPAGE="https://savannah.gnu.org/projects/miscfiles/" |
109 |
-# https://www.unicode.org/Public/${UNI_PV}/ucd/UnicodeData.txt |
110 |
-SRC_URI="mirror://gnu/miscfiles/${P}.tar.gz |
111 |
- https://dev.gentoo.org/~whissi/dist/${PN}/UnicodeData-${UNI_PV}.txt.xz" |
112 |
- |
113 |
-LICENSE="GPL-2 unicode" |
114 |
-SLOT="0" |
115 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
116 |
-IUSE="minimal" |
117 |
- |
118 |
-# Collides with older versions/revisions |
119 |
-RDEPEND="!<sys-freebsd/freebsd-share-7.2-r1" |
120 |
-DEPEND="" |
121 |
- |
122 |
-src_prepare() { |
123 |
- default |
124 |
- |
125 |
- mv "${WORKDIR}"/UnicodeData-${UNI_PV}.txt unicode || die |
126 |
-} |
127 |
- |
128 |
-src_configure() { |
129 |
- econf --datadir="${EPREFIX%/}"/usr/share/misc |
130 |
-} |
131 |
- |
132 |
-src_install() { |
133 |
- emake install DESTDIR="${D}" |
134 |
- dodoc NEWS ORIGIN README dict-README |
135 |
- |
136 |
- # not sure if this is still needed ... |
137 |
- dodir /usr/share/dict |
138 |
- cd "${ED%/}"/usr/share/misc || die |
139 |
- mv $(awk '$1=="dictfiles"{$1="";$2="";print}' "${S}"/Makefile) ../dict/ || die |
140 |
- cd ../dict || die |
141 |
- ln -s web2 words || die |
142 |
- ln -s web2a extra.words || die |
143 |
- |
144 |
- if use minimal ; then |
145 |
- pushd "${ED}"/usr/share/dict || die |
146 |
- rm -f words extra.words || die |
147 |
- gzip -9 * || die |
148 |
- ln -s web2.gz words || die |
149 |
- ln -s web2a.gz extra.words || die |
150 |
- ln -s connectives{.gz,} || die |
151 |
- ln -s propernames{.gz,} || die |
152 |
- popd || die |
153 |
- rm -r misc rfc || die |
154 |
- fi |
155 |
-} |
156 |
- |
157 |
-pkg_postinst() { |
158 |
- if [[ ${ROOT} == "/" ]] && type -P create-cracklib-dict >/dev/null ; then |
159 |
- ebegin "Regenerating cracklib dictionary" |
160 |
- create-cracklib-dict "${EPREFIX%/}"/usr/share/dict/* > /dev/null |
161 |
- eend $? |
162 |
- fi |
163 |
- |
164 |
- # pkg_postinst isn't supposed to fail |
165 |
- return 0 |
166 |
-} |