1 |
commit: 5807ee3d427fe761ced4a8cb8fd6b59cdb3eab88 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Thu Feb 24 16:08:02 2022 +0000 |
4 |
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> |
5 |
CommitDate: Thu Feb 24 16:08:02 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5807ee3d |
7 |
|
8 |
net-misc/gemserv: Remove old ebuild |
9 |
|
10 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
11 |
|
12 |
net-misc/gemserv/Manifest | 1 - |
13 |
net-misc/gemserv/gemserv-0.6.3.ebuild | 167 ---------------------------------- |
14 |
2 files changed, 168 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/gemserv/Manifest b/net-misc/gemserv/Manifest |
17 |
index ad82a3b28..8a7317db7 100644 |
18 |
--- a/net-misc/gemserv/Manifest |
19 |
+++ b/net-misc/gemserv/Manifest |
20 |
@@ -20,7 +20,6 @@ DIST futures-core-0.3.19.crate 14666 BLAKE2B cc0d1993f3fd4c4b18dce68c0f152602f84 |
21 |
DIST futures-macro-0.3.19.crate 11253 BLAKE2B d79fad7bdea954ffc8cfb8a58216c7d36c848d625755467b0031e2f6b8b21c8c629fb28afd7e0e9b20e18bf6513c4814e91afa8f2338c5654d2bbbd199a000e9 SHA512 926782d27be383e6af887452929453cc805a44a59c47e0a0b486a22e15e89b5ff553f3c5477d667a655f3f6d8bd7f74ce4d72596cdae242520e5c7437e30179c |
22 |
DIST futures-task-0.3.19.crate 11894 BLAKE2B 16f39551920931f7535d65d0c787318d13da0f18bb39bb5939b06829cb4f49da45a478f105fd4ce74323d198fe18b8695683d1861ae171b412789c758a564673 SHA512 befb75408a3ca3b034e26c835bf7351727f8e3548674024a44e994875470b34f6d9f1dcb954905062192a96b97ec28499aaa745b652c81b3be59e1222b3d5037 |
23 |
DIST futures-util-0.3.19.crate 149240 BLAKE2B e831c92e184b976494836b393824834c378f8eba4f32f7883a355fc7745e224984954fb9705f04e064b3aa33aa7c5c8e1a8e12688cbea9020e9aa8f444e130d5 SHA512 cdadde2949a496806fc432efcdb9f4555ca0482320017ea45c29d8dbde69bf9d4af7a6660d351bef3989c5ef905b1f011788506fa2e87d8b53b83cf54256a3ef |
24 |
-DIST gemserv-0.6.3.tar.gz 22430 BLAKE2B e4759041ef77d85af7fcae99e913c81eccad45290f95421c740aa0862a929755444f5e21d07e5ade58cd5eb60da57541e9b23951194ba9ff1784a48138d02842 SHA512 c56bee15fbd14b980c603ab6689f9279453b04e38549146f4e79591c2bd7a843b797b77f8427dfd8e8669c82629fde56acea8b2a442d39154f0dbb02db580a41 |
25 |
DIST gemserv-0.6.5.tar.gz 22567 BLAKE2B 601bd49802bddf66d8c7180a0c1da6b4fdd7686887d278f7d07e15ec4daf317b248d30c4cba38b27b7202e633eb484dd1e0cf5f1fde76bb686ca9685bd2c80f6 SHA512 a14c07bcb0fb060721591390b92858f1dc29af0f803d4f7ea147bd54a3ddac2d2539e97e48bb04ec13bbf0542368403319c450308a8d83f97b3305bf3e4eec8e |
26 |
DIST gemserv-0.6.6.tar.gz 23016 BLAKE2B 1cc989a23c59f87b2312513567efe7180d08cd632655380dfbb47a1dde15d2eb24fab769864f65340d1cb8604d7a2133f280cbc6735aca00f697d2ed71548a68 SHA512 9193f767feb44dd23a8ea2b093198a3139e7a08a6d8d10d3f5123b0292a7a3c32ed683e6226d1d808312158bee680a1966439930b32fd8dd1a48f02ec3777e4c |
27 |
DIST generic-array-0.14.4.crate 28916 BLAKE2B 41adcb738bb316d17967e029a829dcf7377427977309b010c2f2e365f16306b44991eb5f65698782497f614b129b14cad11bfeba2ae19b45efd117114492517e SHA512 34ac71fee2cd50ff786d39b4abacd9e090a8598baf4dc36ba5fecfb7171cd8e4f58e5360cbb0baf02a87eea26b7dca85b35555b82bbefe06635d2fd38f7b8b40 |
28 |
|
29 |
diff --git a/net-misc/gemserv/gemserv-0.6.3.ebuild b/net-misc/gemserv/gemserv-0.6.3.ebuild |
30 |
deleted file mode 100644 |
31 |
index b87308adf..000000000 |
32 |
--- a/net-misc/gemserv/gemserv-0.6.3.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,167 +0,0 @@ |
35 |
-# Copyright 2020-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=8 |
39 |
- |
40 |
-CRATES=" |
41 |
- atty-0.2.14 |
42 |
- autocfg-1.0.1 |
43 |
- base64-0.13.0 |
44 |
- bitflags-1.2.1 |
45 |
- block-buffer-0.9.0 |
46 |
- bumpalo-3.8.0 |
47 |
- bytes-1.1.0 |
48 |
- cc-1.0.72 |
49 |
- cfg-if-1.0.0 |
50 |
- chrono-0.4.19 |
51 |
- colored-1.9.3 |
52 |
- cpufeatures-0.2.1 |
53 |
- data-encoding-2.3.2 |
54 |
- der-oid-macro-0.5.0 |
55 |
- der-parser-6.0.0 |
56 |
- digest-0.9.0 |
57 |
- form_urlencoded-1.0.1 |
58 |
- futures-core-0.3.19 |
59 |
- futures-macro-0.3.19 |
60 |
- futures-task-0.3.19 |
61 |
- futures-util-0.3.19 |
62 |
- generic-array-0.14.4 |
63 |
- half-1.7.1 |
64 |
- hermit-abi-0.1.19 |
65 |
- idna-0.2.3 |
66 |
- instant-0.1.12 |
67 |
- itoa-0.4.8 |
68 |
- js-sys-0.3.55 |
69 |
- lazy_static-1.4.0 |
70 |
- libc-0.2.112 |
71 |
- lock_api-0.4.5 |
72 |
- log-0.4.14 |
73 |
- matches-0.1.9 |
74 |
- memchr-2.4.1 |
75 |
- mime-0.3.16 |
76 |
- minimal-lexical-0.2.1 |
77 |
- mio-0.7.14 |
78 |
- miow-0.3.7 |
79 |
- new_mime_guess-3.0.2 |
80 |
- nom-7.1.0 |
81 |
- ntapi-0.3.6 |
82 |
- num-bigint-0.4.3 |
83 |
- num-integer-0.1.44 |
84 |
- num-traits-0.2.14 |
85 |
- num_cpus-1.13.1 |
86 |
- oid-registry-0.2.0 |
87 |
- once_cell-1.9.0 |
88 |
- opaque-debug-0.3.0 |
89 |
- parking_lot-0.11.2 |
90 |
- parking_lot_core-0.8.5 |
91 |
- percent-encoding-2.1.0 |
92 |
- pin-project-lite-0.2.7 |
93 |
- pin-utils-0.1.0 |
94 |
- proc-macro2-1.0.34 |
95 |
- quote-1.0.10 |
96 |
- redox_syscall-0.2.10 |
97 |
- ring-0.16.20 |
98 |
- rusticata-macros-4.0.0 |
99 |
- rustls-0.20.2 |
100 |
- rustls-pemfile-0.2.1 |
101 |
- scopeguard-1.1.0 |
102 |
- sct-0.7.0 |
103 |
- serde-1.0.132 |
104 |
- serde_derive-1.0.132 |
105 |
- sha2-0.9.8 |
106 |
- signal-hook-registry-1.4.0 |
107 |
- simple_logger-1.16.0 |
108 |
- slab-0.4.5 |
109 |
- smallvec-1.7.0 |
110 |
- spin-0.5.2 |
111 |
- syn-1.0.83 |
112 |
- thiserror-1.0.30 |
113 |
- thiserror-impl-1.0.30 |
114 |
- time-0.3.5 |
115 |
- time-macros-0.2.3 |
116 |
- tinyvec-1.5.1 |
117 |
- tinyvec_macros-0.1.0 |
118 |
- tokio-1.15.0 |
119 |
- tokio-macros-1.7.0 |
120 |
- tokio-rustls-0.23.2 |
121 |
- toml-0.5.8 |
122 |
- typenum-1.14.0 |
123 |
- unicase-2.6.0 |
124 |
- unicode-bidi-0.3.7 |
125 |
- unicode-normalization-0.1.19 |
126 |
- unicode-xid-0.2.2 |
127 |
- untrusted-0.7.1 |
128 |
- url-2.2.2 |
129 |
- version_check-0.9.3 |
130 |
- wasm-bindgen-0.2.78 |
131 |
- wasm-bindgen-backend-0.2.78 |
132 |
- wasm-bindgen-macro-0.2.78 |
133 |
- wasm-bindgen-macro-support-0.2.78 |
134 |
- wasm-bindgen-shared-0.2.78 |
135 |
- web-sys-0.3.55 |
136 |
- webpki-0.22.0 |
137 |
- winapi-0.3.9 |
138 |
- winapi-i686-pc-windows-gnu-0.4.0 |
139 |
- winapi-x86_64-pc-windows-gnu-0.4.0 |
140 |
- x509-parser-0.12.0 |
141 |
-" |
142 |
- |
143 |
-inherit cargo systemd |
144 |
- |
145 |
-DESCRIPTION="A gemini Server written in rust" |
146 |
-HOMEPAGE="https://git.sr.ht/~int80h/gemserv" |
147 |
-SRC_URI=" |
148 |
- https://git.sr.ht/~int80h/gemserv/archive/v${PV}.tar.gz -> ${P}.tar.gz |
149 |
- $(cargo_crate_uris ${CRATES}) |
150 |
-" |
151 |
- |
152 |
-# openssl and SSLeay come from the “ring” crate. |
153 |
-LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0 openssl SSLeay ZLIB" |
154 |
-SLOT="0" |
155 |
-KEYWORDS="~amd64" |
156 |
- |
157 |
-RDEPEND=" |
158 |
- acct-user/gemini |
159 |
-" |
160 |
-DEPEND="${RDEPEND}" |
161 |
- |
162 |
-S="${WORKDIR}/${PN}-v${PV}" |
163 |
- |
164 |
-# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings. |
165 |
-QA_FLAGS_IGNORED="usr/bin/gemserv" |
166 |
- |
167 |
-src_prepare() { |
168 |
- # Fix paths in systemd unit. |
169 |
- sed -i 's@/path/to/bin /path/to/config@'"${EPREFIX}"'/usr/bin/gemserv '"${EPREFIX}"'/etc/gemserv/config.toml@' \ |
170 |
- init-scripts/gemserv.service || die |
171 |
- |
172 |
- # Fix paths in config. |
173 |
- sed -Ei 's@/path/to/(key|cert)@/etc/gemserv/\1.pem@' config.toml || die |
174 |
- sed -Ei 's@/path/to/serv@/var/gemini@' config.toml || die |
175 |
- |
176 |
- default |
177 |
-} |
178 |
- |
179 |
-src_unpack() { |
180 |
- unpack "${P}.tar.gz" |
181 |
- cargo_src_unpack |
182 |
-} |
183 |
- |
184 |
-src_install() { |
185 |
- cargo_src_install |
186 |
- |
187 |
- einstalldocs |
188 |
- |
189 |
- diropts --group=gemini |
190 |
- insinto etc/gemserv |
191 |
- newins config.toml config.toml.example |
192 |
- |
193 |
- systemd_dounit init-scripts/gemserv.service |
194 |
- newinitd "init-scripts/${PN}.openrc" "${PN}" |
195 |
-} |
196 |
- |
197 |
-pkg_postinst() { |
198 |
- einfo "You can generate yourself a TLS certificate and key with:" |
199 |
- einfo "openssl req -x509 -newkey rsa:4096 -sha256 -days 3660 -nodes \\" |
200 |
- einfo " -keyout /etc/gemserv/key.pem -out /etc/gemserv/cert.pem" |
201 |
-} |