blob: 141487a46ec745c9d4999707329d8ba5a1b8d323 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
|
# $FreeBSD$
PORTNAME= miniserve
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.1
PORTREVISION= 1
CATEGORIES= www
MAINTAINER= tobik@FreeBSD.org
COMMENT= Ad-hoc HTTP server for file sharing
LICENSE= APACHE20 BSD3CLAUSE CC0-1.0 ISCL MIT MPL20 UNLICENSE
LICENSE_COMB= multi
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= ring crate not ported to other architectures
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= svenstaro
CARGO_CRATES= actix-0.7.9 \
actix-net-0.2.6 \
actix-web-0.7.19 \
actix_derive-0.3.2 \
adler32-1.0.3 \
aho-corasick-0.7.3 \
alphanumeric-sort-1.0.6 \
ansi_term-0.11.0 \
arc-swap-0.3.11 \
argon2rs-0.2.5 \
arrayvec-0.4.10 \
atty-0.2.11 \
autocfg-0.1.2 \
backtrace-0.3.15 \
backtrace-sys-0.1.28 \
base64-0.10.1 \
base64-0.9.3 \
bitflags-1.0.4 \
blake2-rfc-0.2.18 \
brotli-sys-0.3.2 \
brotli2-0.3.2 \
build_const-0.2.1 \
byteorder-1.3.1 \
bytes-0.4.12 \
bytesize-1.0.0 \
cc-1.0.35 \
cfg-if-0.1.7 \
chrono-0.4.6 \
chrono-humanize-0.0.11 \
clap-2.33.0 \
cloudabi-0.0.3 \
constant_time_eq-0.1.3 \
cookie-0.11.0 \
crc-1.8.1 \
crc32fast-1.2.0 \
crossbeam-channel-0.3.8 \
crossbeam-deque-0.7.1 \
crossbeam-epoch-0.7.1 \
crossbeam-queue-0.1.2 \
crossbeam-utils-0.6.5 \
dirs-1.0.5 \
dtoa-0.4.3 \
encoding-0.2.33 \
encoding-index-japanese-1.20141219.5 \
encoding-index-korean-1.20141219.5 \
encoding-index-simpchinese-1.20141219.5 \
encoding-index-singlebyte-1.20141219.5 \
encoding-index-tradchinese-1.20141219.5 \
encoding_index_tests-0.1.4 \
error-chain-0.8.1 \
failure-0.1.5 \
failure_derive-0.1.5 \
filetime-0.2.4 \
flate2-1.0.7 \
fnv-1.0.6 \
fuchsia-cprng-0.1.1 \
fuchsia-zircon-0.3.3 \
fuchsia-zircon-sys-0.3.3 \
futures-0.1.26 \
futures-cpupool-0.1.8 \
h2-0.1.18 \
heck-0.3.1 \
hostname-0.1.5 \
htmlescape-0.3.1 \
http-0.1.17 \
httparse-1.3.3 \
idna-0.1.5 \
indexmap-1.0.2 \
iovec-0.1.2 \
ipconfig-0.1.9 \
itoa-0.4.3 \
kernel32-sys-0.2.2 \
language-tags-0.2.2 \
lazy_static-1.3.0 \
lazycell-1.2.1 \
libc-0.2.51 \
libflate-0.1.22 \
linked-hash-map-0.5.2 \
literalext-0.1.1 \
lock_api-0.1.5 \
log-0.4.6 \
lru-cache-0.1.2 \
matches-0.1.8 \
maud-0.20.0 \
maud_htmlescape-0.17.0 \
maud_macros-0.20.0 \
memchr-2.2.0 \
memoffset-0.2.1 \
mime-0.3.13 \
mime_guess-2.0.0-alpha.6 \
miniz-sys-0.1.11 \
miniz_oxide-0.2.1 \
miniz_oxide_c_api-0.2.1 \
mio-0.6.16 \
mio-uds-0.6.7 \
miow-0.2.1 \
nanoid-0.2.0 \
net2-0.2.33 \
nodrop-0.1.13 \
nom-4.2.3 \
num-integer-0.1.39 \
num-traits-0.2.6 \
num_cpus-1.10.0 \
owning_ref-0.4.0 \
parking_lot-0.7.1 \
parking_lot_core-0.4.0 \
percent-encoding-1.0.1 \
phf-0.7.24 \
phf_codegen-0.7.24 \
phf_generator-0.7.24 \
phf_shared-0.7.24 \
proc-macro2-0.4.27 \
quick-error-1.2.2 \
quote-0.6.12 \
rand-0.4.6 \
rand-0.5.6 \
rand-0.6.5 \
rand_chacha-0.1.1 \
rand_core-0.3.1 \
rand_core-0.4.0 \
rand_hc-0.1.0 \
rand_isaac-0.1.1 \
rand_jitter-0.1.3 \
rand_os-0.1.3 \
rand_pcg-0.1.2 \
rand_xorshift-0.1.1 \
rdrand-0.4.0 \
redox_syscall-0.1.54 \
redox_termios-0.1.1 \
redox_users-0.3.0 \
regex-1.1.5 \
regex-syntax-0.6.6 \
resolv-conf-0.6.2 \
ring-0.13.5 \
rustc-demangle-0.1.14 \
rustc_version-0.2.3 \
ryu-0.2.7 \
safemem-0.3.0 \
scoped_threadpool-0.1.9 \
scopeguard-0.3.3 \
semver-0.9.0 \
semver-parser-0.7.0 \
serde-1.0.90 \
serde_derive-1.0.90 \
serde_json-1.0.39 \
serde_urlencoded-0.5.4 \
sha1-0.6.0 \
signal-hook-0.1.8 \
simplelog-0.5.3 \
siphasher-0.2.3 \
slab-0.4.2 \
smallvec-0.6.9 \
socket2-0.3.8 \
stable_deref_trait-1.1.1 \
string-0.1.3 \
strsim-0.8.0 \
structopt-0.2.15 \
structopt-derive-0.2.15 \
strum-0.15.0 \
strum_macros-0.15.0 \
syn-0.15.31 \
synstructure-0.10.1 \
tar-0.4.22 \
term-0.5.2 \
termion-1.5.1 \
textwrap-0.11.0 \
thread_local-0.3.6 \
time-0.1.42 \
tokio-0.1.18 \
tokio-codec-0.1.1 \
tokio-current-thread-0.1.6 \
tokio-executor-0.1.7 \
tokio-fs-0.1.6 \
tokio-io-0.1.12 \
tokio-reactor-0.1.9 \
tokio-signal-0.2.7 \
tokio-sync-0.1.4 \
tokio-tcp-0.1.3 \
tokio-threadpool-0.1.13 \
tokio-timer-0.2.10 \
tokio-trace-core-0.1.0 \
tokio-udp-0.1.3 \
tokio-uds-0.2.5 \
tower-service-0.1.0 \
trust-dns-proto-0.5.0 \
trust-dns-proto-0.6.3 \
trust-dns-resolver-0.10.3 \
ucd-util-0.1.3 \
unicase-1.4.2 \
unicase-2.3.0 \
unicode-bidi-0.3.4 \
unicode-normalization-0.1.8 \
unicode-segmentation-1.2.1 \
unicode-width-0.1.5 \
unicode-xid-0.1.0 \
untrusted-0.6.2 \
url-1.7.2 \
utf8-ranges-1.0.2 \
uuid-0.7.4 \
v_escape-0.7.2 \
v_escape_derive-0.5.3 \
v_htmlescape-0.4.3 \
vec_map-0.8.1 \
version_check-0.1.5 \
widestring-0.2.2 \
winapi-0.2.8 \
winapi-0.3.7 \
winapi-build-0.1.1 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
winreg-0.5.1 \
winutil-0.1.1 \
ws2_32-sys-0.2.1 \
xattr-0.2.2 \
yansi-0.5.0
# maud_macros depends on literalext crate which uses feature(proc_macro)
MAKE_ENV= RUSTC_BOOTSTRAP=1
PLIST_FILES= bin/miniserve
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/miniserve
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|