Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0372679

Browse files
committed
Add stunnel 5.64, totally not for Kawaiicon reasons
1 parent 797c9ad commit 0372679

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

‎Dockerfile.stunnel-5.64

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
ARG MUSL_TARGET=x86_64-linux-musl
2+
FROM openssl-1.1.1k-${MUSL_TARGET} AS openssl
3+
FROM musl-cross-make-${MUSL_TARGET}
4+
ARG MUSL_TARGET
5+
6+
COPY --from=openssl /output /output
7+
8+
WORKDIR /build
9+
RUN download https://www.stunnel.org/downloads/stunnel-5.64.tar.gz source.tar.gz eebe53ed116ba43b2e786762b0c2b91511e7b74857ad4765824e7199e6faf883 && tar xf source.tar.gz
10+
RUN export PATH=/build/cross/bin:$PATH:/output/bin && \
11+
cd stunnel-* && \
12+
export CC="$MUSL_TARGET-gcc" && \
13+
export CFLAGS="-static -I/output/include -frandom-seed=pulse" && \
14+
export LDFLAGS="--static -L/output/lib" && \
15+
./configure \
16+
--disable-shared \
17+
--disable-fips \
18+
--with-threads=fork \
19+
--enable-static \
20+
--prefix=/output \
21+
--host=$($MUSL_TARGET-gcc -dumpmachine) && \
22+
make -j$(nproc) && \
23+
make install && \
24+
${MUSL_TARGET}-strip /output/bin/stunnel
25+
26+
CMD bash

‎Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,12 @@ openssh-8.8p1: openssl-1.1.1k zlib-1.2.11
110110
$(GRABBY_HANDS) /output/bin/ssh-keygen /grabby/ssh-keygen-8.8p1
111111

112112
parted-3.4: e2fsprogs-1.46.5 readline-8.1
113-
$(DOCKER_BUILD)
114-
$(GRABBY_HANDS) /output/sbin/parted /grabby/parted-3.4
113+
$(DOCKER_BUILD)
114+
$(GRABBY_HANDS) /output/sbin/parted /grabby/parted-3.4
115+
116+
stunnel-5.64: openssl-1.1.1k
117+
$(DOCKER_BUILD)
118+
$(GRABBY_HANDS) /output/bin/stunnel /grabby/$@
115119

116120
## Slightly crusty tools
117121

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /