Skip to content

Commit ca3bc23

Browse files
authored
build without debug symbols and exclude source from wheels (#44)
* manylinux: Upgrade libssh to 0.9.6 gpg: assuming signed data in 'libssh-0.9.6.tar.xz' gpg: Signature made Do 26 Aug 2021 14:28:25 CEST gpg: using RSA key 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D gpg: Good signature from "Andreas Schneider <[email protected]>" [unknown] gpg: aka "Andreas Schneider <[email protected]>" [unknown] gpg: aka "Andreas Schneider <[email protected]>" [unknown] Primary key fingerprint: 8DFF 53E1 8F2A BC8D 8F3C 9223 7EE0 FC4D CC01 4E3D * manylinux: update kerberos to krb5-1.18.4 * build without debug symbols, don't include source in wheels
1 parent db8d0b5 commit ca3bc23

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1445
-254
lines changed

ci/docker/manylinux/Dockerfile

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
FROM quay.io/pypa/manylinux2010_x86_64
22

33
ENV OPENSSL openssl-1.1.1g
4-
ENV LIBSSH 0.9.5
4+
ENV LIBSSH 0.9.6
55
ENV SYSTEM_LIBSSH 1
6+
ENV CFLAGS "-g0 -s"
67

78
RUN yum install zlib-devel cmake3 -y
89

910
ADD libssh-${LIBSSH}.tar.xz libssh.tar.xz
1011
ADD https://www.openssl.org/source/${OPENSSL}.tar.gz ${OPENSSL}.tar.gz
11-
ADD krb5-1.18.2.tar.xz krb5-1.18.2.tar.xz
12+
ADD krb5-1.18.4.tar.xz krb5-1.18.4.tar.xz
1213

1314
RUN tar -xzf ${OPENSSL}.tar.gz
1415
# Openssl
1516
RUN cd ${OPENSSL} && \
1617
./config --prefix=/usr --openssldir=/usr/openssl threads shared && \
17-
make -j6 && make install
18+
make -j6 && make install_sw
1819

1920
# Kerberos
20-
RUN cd krb5-1.18.2.tar.xz/krb5-1.18.2/src && \
21+
RUN cd krb5-1.18.4.tar.xz/krb5-1.18.4/src && \
2122
./configure && \
2223
make -j6 && \
2324
make install
@@ -26,8 +27,8 @@ RUN cd krb5-1.18.2.tar.xz/krb5-1.18.2/src && \
2627
RUN mkdir -p build_libssh && cd build_libssh && \
2728
cmake3 ../libssh.tar.xz/libssh-${LIBSSH} -DCMAKE_BUILD_TYPE=Release \
2829
-DWITH_GSS_API=ON && \
29-
make -j6 install
30+
make -j6 install/strip
3031

31-
RUN rm -rf ${OPENSSL}* libssh build_libssh krb5-1.18.2.tar.xz
32+
RUN rm -rf ${OPENSSL}* libssh build_libssh krb5-1.18.4.tar.xz
3233

3334
VOLUME /var/cache

ci/docker/manylinux/krb5-1.18.2.tar.xz

-3
This file was deleted.
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:a98e2692c96d9eba586e491530a76bcf2e8e9022e07eadd5a490bb1ad38aaf3b
3+
size 6095136

ci/docker/manylinux/libssh-0.9.5.tar.xz

-3
This file was deleted.

ci/docker/manylinux/libssh-0.9.5.tar.xz.asc

-16
This file was deleted.
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:86bcf885bd9b80466fe0e05453c58b877df61afa8ba947a58c356d7f0fab829b
3+
size 1053056
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
-----BEGIN PGP SIGNATURE-----
2+
3+
iQIzBAABCgAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAmEniOkACgkQfuD8TcwB
4+
Tj0TKQ/9HiMAGSMHoQ+iPVLP06iTc6Cy7rNyON2nPDQwAz0V/dfvkrKAAEflfgYd
5+
3pt3dbE/qgh2kgQLb9kpbCUmFoGuLgKz36RPOsggwuOsN+eD1n65q8W39sMOQid3
6+
bjUIOKRdYWC1suZ9fMAO1Ignl69Opd8dAq1Has9YzglaeQaV/lnYQOW4UG0xKHck
7+
ZOp2qLfjmaQiBAI61eRyxqIYC0F67WKd0bo9D2csoocDVvHLq4syPdbMOfDTB+LL
8+
KZSAZVW1R1JUVZMkp/P/HU11jNNy3wKoLafocnq8bXkPVrqhyuo+hDJV/OPUvFLa
9+
VE/BzIRoMNG+1R+GJpwE7ut2DIHPxnZTThRkeVN5qP1+hbhgLJhW62I+HeAnD4s+
10+
+W7fwJovN28I+wqSjVEP8JguprVuoDAX5jVHbeZoMT7p8ATA4Nh3KCbYELEwTtFG
11+
zsEIlBvoNXD3ce7xGXL3MPqfgKqrZQjRG/iOWvKwDV7WrqK1cFFyL7aeBfK2+dQq
12+
1Ew7aYlTsH6Hap7XByeSsy4Z5ts3VXIoFix/h+Br5OTYKYgITM7bijNAQ6A2ZWQN
13+
TxCv8X0sVyaGyXhxG6QhrEWZjFe496MneZkq9e6HKZyaSbzwFwMgOvrUUC7fa8e5
14+
o1Rvozah81U0nsikwTmDrm15RSK3mr2X34zPW2Ahzr1I5tGZzOk=
15+
=cO0k
16+
-----END PGP SIGNATURE-----

libssh/.arcconfig

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"phabricator.uri" : "https://bugs.libssh.org/",
3+
"history.immutable": true
4+
}

0 commit comments

Comments
 (0)