diff options
-rw-r--r-- | .gitignore | 20 | ||||
-rwxr-xr-x | build-ucspi-ssl | 106 | ||||
-rw-r--r-- | ucspi-ssl-deb/debian/README.Debian | 8 | ||||
-rw-r--r-- | ucspi-ssl-deb/debian/changelog | 6 | ||||
-rw-r--r-- | ucspi-ssl-deb/debian/clean | 6 | ||||
-rw-r--r-- | ucspi-ssl-deb/debian/control | 37 | ||||
-rw-r--r-- | ucspi-ssl-deb/debian/copyright | 218 | ||||
-rw-r--r-- | ucspi-ssl-deb/debian/libucspissl-dev.install | 3 | ||||
-rwxr-xr-x | ucspi-ssl-deb/debian/libucspissl.install | 2 | ||||
-rwxr-xr-x | ucspi-ssl-deb/debian/rules | 25 | ||||
-rw-r--r-- | ucspi-ssl-deb/debian/ucspissl.install | 9 | ||||
-rw-r--r-- | ucspi-ssl-deb/debian/watch | 3 |
12 files changed, 337 insertions, 106 deletions
@@ -7,3 +7,23 @@ *.changes *.orig.tar.gz *.deb +fehqlibs-deb/BUILD +fehqlibs-deb/CHANGELOG +fehqlibs-deb/CONTENT.md +fehqlibs-deb/FILES +fehqlibs-deb/INSTALL.md +fehqlibs-deb/LICENSE +fehqlibs-deb/README.md +fehqlibs-deb/TARGETS +fehqlibs-deb/VERSION +fehqlibs-deb/compile +fehqlibs-deb/conf-build +fehqlibs-deb/configure +fehqlibs-deb/include/ +fehqlibs-deb/install +fehqlibs-deb/makelib +fehqlibs-deb/man/ +fehqlibs-deb/sharedlib +fehqlibs-deb/src/ +ucspi-tcp6-deb/ucspi-tcp6/ +ucspi-ssl-deb/superscript.com/ diff --git a/build-ucspi-ssl b/build-ucspi-ssl deleted file mode 100755 index fc59be0..0000000 --- a/build-ucspi-ssl +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh - -set -euC - -name=ucspi-ssl -version=0.13.01 -upname=${name}_$version.orig.tar.gz -srcname=$name-$version -rel_project_root=superscript.com/net/$name-$version -abs_project_root=$name-$version/$rel_project_root - -if ! [ -e $name-$version.tgz ] -then - wget https://www.fehcom.de/ipnet/$name/$name-$version.tgz - ln -sf $name-$version.tgz $upname -fi -tar -xf $upname -mv host $srcname -cd $srcname -debmake --email jannis@fehcom.de --fullname 'Jannis M. Hoffmann' -b ucspissl,libucspissl,libucspissl-dev - -patch debian/control <<'END' -2c2 -< Section: unknown ---- -> Section: net -5c5 -< Build-Depends: debhelper-compat (= 13) ---- -> Build-Depends: debhelper-compat (= 13), dh-exec, libqlibs, ucspi-tcp6, libssl-dev, libperl-dev -7c7 -< Homepage: <insert the upstream URL, if relevant> ---- -> Homepage: https://www.fehcom.de/ipnet/ucspi-ssl.html -END - -cat <<END >|debian/rules -#!/usr/bin/make -f -# You must remove unused comment lines for the released package. -export DH_VERBOSE = 1 -#export DEB_BUILD_MAINT_OPTIONS = hardening=+all -#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed - -%: - dh \$@ --buildsystem=none - -override_dh_auto_clean: - rm -f $rel_project_root/conf-cc - \$(MAKE) -C $rel_project_root/src clean - -override_dh_auto_configure: - echo "\$(CC) \`pkg-config -cflags qlibs\` \$(CFLAGS)" >$rel_project_root/conf-cc - -override_dh_auto_build: - \$(MAKE) -C $rel_project_root/src default -END - -cat <<END >>debian/ucspissl.manpages -$rel_project_root/man/*.1 -$rel_project_root/man/*.2 -END - -cat <<END >>debian/ucspissl.install -$rel_project_root/src/https@ usr/bin -$rel_project_root/src/sslcat usr/bin -$rel_project_root/src/sslclient usr/bin -$rel_project_root/src/sslconnect usr/bin -$rel_project_root/src/sslhandle usr/bin -$rel_project_root/src/sslserver usr/bin -$rel_project_root/etc/dh2048.pem usr/share/ucspi-ssl -END - -cat <<END >|debian/libucspissl.install -#!/usr/bin/dh-exec -$rel_project_root/src/ucspissl.a => usr/lib/\${DEB_HOST_MULTIARCH}/libucspissl.a -END -chmod +x debian/libucspissl.install - -cat <<END >>debian/libucspissl-dev.install -$rel_project_root/src/ucspissl.h usr/include -END - -cat <<END >>debian/clean -$rel_project_root/ip4_bit.o -$rel_project_root/ip6_bit.o -$rel_project_root/sslhandle -$rel_project_root/hassgact.h -$rel_project_root/hassgprm.h -END - -cat <<END >debian/patches/000-conf.patch -Author: Jannis M. Hoffmann -Description: Adjust build configuration so that the \`configure' step creates conf-XX files. - ---- $abs_project_root/conf-cc -+++ /dev/null -@@ -0,3 +0,0 @@ --cc -O2 -g -Wall -- --# This will be used to compile .c files. -END - -printf 000-conf.patch >>debian/patches/series - -rm debian/source/control debian/tests/control diff --git a/ucspi-ssl-deb/debian/README.Debian b/ucspi-ssl-deb/debian/README.Debian new file mode 100644 index 0000000..4918055 --- /dev/null +++ b/ucspi-ssl-deb/debian/README.Debian @@ -0,0 +1,8 @@ +ucspi-ssl for Debian + +Please edit this to provide information specific to +this ucspi-ssl Debian package. + + (Automatically generated by debmake Version 4.4.0) + + -- Jannis M. Hoffmann <jannis@fehcom.de> Thu, 19 Sep 2024 12:10:51 +0200 diff --git a/ucspi-ssl-deb/debian/changelog b/ucspi-ssl-deb/debian/changelog new file mode 100644 index 0000000..0408fab --- /dev/null +++ b/ucspi-ssl-deb/debian/changelog @@ -0,0 +1,6 @@ +ucspi-ssl (0.13.01-1) UNRELEASED; urgency=low + + * Initial release. Closes: #nnnn + <nnnn is the bug number of your ITP> + + -- Jannis M. Hoffmann <jannis@fehcom.de> Thu, 19 Sep 2024 12:10:51 +0200 diff --git a/ucspi-ssl-deb/debian/clean b/ucspi-ssl-deb/debian/clean new file mode 100644 index 0000000..4971849 --- /dev/null +++ b/ucspi-ssl-deb/debian/clean @@ -0,0 +1,6 @@ +# You must remove unused comment lines for the released package. +superscript.com/net/ucspi-ssl-0.13.01/src/ip4_bit.o +superscript.com/net/ucspi-ssl-0.13.01/src/ip6_bit.o +superscript.com/net/ucspi-ssl-0.13.01/src/hassgact.h +superscript.com/net/ucspi-ssl-0.13.01/src/hassgprm.h +superscript.com/net/ucspi-ssl-0.13.01/sslhandle diff --git a/ucspi-ssl-deb/debian/control b/ucspi-ssl-deb/debian/control new file mode 100644 index 0000000..ec65868 --- /dev/null +++ b/ucspi-ssl-deb/debian/control @@ -0,0 +1,37 @@ +Source: ucspi-ssl +Section: net +Priority: optional +Maintainer: Jannis M. Hoffmann <jannis@fehcom.de> +Build-Depends: debhelper-compat (= 13), dh-exec, libqlibs, ucspi-tcp6, libssl-dev, libperl-dev +Standards-Version: 4.5.1 +Homepage: https://www.fehcom.de/ipnet/ucspi-ssl.html +Rules-Requires-Root: no +#Vcs-Git: https://salsa.debian.org/debian/ucspi-ssl.git +#Vcs-Browser: https://salsa.debian.org/debian/ucspi-ssl + +Package: ucspissl +Architecture: any +Multi-Arch: foreign +Depends: libucspissl (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Description: auto-generated package by debmake: bin + This package contains the compiled binary executable. + . + This Debian binary package was auto-generated by the + debmake(1) command provided by the debmake package. + +Package: libucspissl +Section: libs +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: auto-generated package by debmake: lib + This package contains the shared library. + +Package: libucspissl-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: libucspissl (= ${binary:Version}), ${misc:Depends} +Description: auto-generated package by debmake: dev + This package contains the development files. diff --git a/ucspi-ssl-deb/debian/copyright b/ucspi-ssl-deb/debian/copyright new file mode 100644 index 0000000..0c32ecd --- /dev/null +++ b/ucspi-ssl-deb/debian/copyright @@ -0,0 +1,218 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ucspi-ssl +Upstream-Contact: <preferred name and address to reach the upstream project> +Source: <url://example.com> +# +# Please double check copyright with the licensecheck(1) command. + +Files: superscript.com/net/ucspi-ssl-0.13.01/INSTALL.md + superscript.com/net/ucspi-ssl-0.13.01/README.md + superscript.com/net/ucspi-ssl-0.13.01/conf-cadir + superscript.com/net/ucspi-ssl-0.13.01/conf-cafile + superscript.com/net/ucspi-ssl-0.13.01/conf-cc + superscript.com/net/ucspi-ssl-0.13.01/conf-ccafile + superscript.com/net/ucspi-ssl-0.13.01/conf-ccperl + superscript.com/net/ucspi-ssl-0.13.01/conf-certchainfile + superscript.com/net/ucspi-ssl-0.13.01/conf-certfile + superscript.com/net/ucspi-ssl-0.13.01/conf-ciphers + superscript.com/net/ucspi-ssl-0.13.01/conf-dhfile + superscript.com/net/ucspi-ssl-0.13.01/conf-home + superscript.com/net/ucspi-ssl-0.13.01/conf-keyfile + superscript.com/net/ucspi-ssl-0.13.01/conf-ld + superscript.com/net/ucspi-ssl-0.13.01/conf-ldperl + superscript.com/net/ucspi-ssl-0.13.01/conf-man + superscript.com/net/ucspi-ssl-0.13.01/conf-perl + superscript.com/net/ucspi-ssl-0.13.01/conf-qlibs + superscript.com/net/ucspi-ssl-0.13.01/conf-rsa + superscript.com/net/ucspi-ssl-0.13.01/conf-ssl + superscript.com/net/ucspi-ssl-0.13.01/conf-ssllib + superscript.com/net/ucspi-ssl-0.13.01/doc/CHAIN-SSL + superscript.com/net/ucspi-ssl-0.13.01/doc/CHANGELOG + superscript.com/net/ucspi-ssl-0.13.01/doc/README_RTS.md + superscript.com/net/ucspi-ssl-0.13.01/doc/TLSVERSION_CIPHERSUITES + superscript.com/net/ucspi-ssl-0.13.01/doc/TLS_1_3 + superscript.com/net/ucspi-ssl-0.13.01/doc/TODO + superscript.com/net/ucspi-ssl-0.13.01/etc/127.0.0.1.pw + superscript.com/net/ucspi-ssl-0.13.01/etc/127.0.0.1_cert.pem + superscript.com/net/ucspi-ssl-0.13.01/etc/127.0.0.1_key.pem + superscript.com/net/ucspi-ssl-0.13.01/etc/127.0.0.1_key.pem.plain + superscript.com/net/ucspi-ssl-0.13.01/etc/::1.pw + superscript.com/net/ucspi-ssl-0.13.01/etc/::1_cert.pem + superscript.com/net/ucspi-ssl-0.13.01/etc/::1_key.pem + superscript.com/net/ucspi-ssl-0.13.01/etc/::1_key.pem.plain + superscript.com/net/ucspi-ssl-0.13.01/etc/README_CERTS.md + superscript.com/net/ucspi-ssl-0.13.01/etc/chain4.pem + superscript.com/net/ucspi-ssl-0.13.01/etc/chain6.pem + superscript.com/net/ucspi-ssl-0.13.01/etc/dh2048.pem + superscript.com/net/ucspi-ssl-0.13.01/etc/localhost.pw + superscript.com/net/ucspi-ssl-0.13.01/etc/localhost_cert.pem + superscript.com/net/ucspi-ssl-0.13.01/etc/localhost_key.pem + superscript.com/net/ucspi-ssl-0.13.01/etc/localhost_key.pem.plain + superscript.com/net/ucspi-ssl-0.13.01/etc/rootCA_cert.pem + superscript.com/net/ucspi-ssl-0.13.01/man/Makefile + superscript.com/net/ucspi-ssl-0.13.01/man/Makefile.mandoc + superscript.com/net/ucspi-ssl-0.13.01/man/TARGETS + superscript.com/net/ucspi-ssl-0.13.01/man/https@.1 + superscript.com/net/ucspi-ssl-0.13.01/man/sslcat.1 + superscript.com/net/ucspi-ssl-0.13.01/man/sslclient.1 + superscript.com/net/ucspi-ssl-0.13.01/man/sslconnect.1 + superscript.com/net/ucspi-ssl-0.13.01/man/sslhandle.1 + superscript.com/net/ucspi-ssl-0.13.01/man/sslserver.1 + superscript.com/net/ucspi-ssl-0.13.01/man/ucspi-tls.2 + superscript.com/net/ucspi-ssl-0.13.01/package/build + superscript.com/net/ucspi-ssl-0.13.01/package/command-cp + superscript.com/net/ucspi-ssl-0.13.01/package/command-ln + superscript.com/net/ucspi-ssl-0.13.01/package/commands-base + superscript.com/net/ucspi-ssl-0.13.01/package/commands-sslperl + superscript.com/net/ucspi-ssl-0.13.01/package/commands-sys + superscript.com/net/ucspi-ssl-0.13.01/package/compile + superscript.com/net/ucspi-ssl-0.13.01/package/files + superscript.com/net/ucspi-ssl-0.13.01/package/install + superscript.com/net/ucspi-ssl-0.13.01/package/man + superscript.com/net/ucspi-ssl-0.13.01/package/path + superscript.com/net/ucspi-ssl-0.13.01/package/report + superscript.com/net/ucspi-ssl-0.13.01/package/rts + superscript.com/net/ucspi-ssl-0.13.01/package/run + superscript.com/net/ucspi-ssl-0.13.01/package/upgrade + superscript.com/net/ucspi-ssl-0.13.01/package/version + superscript.com/net/ucspi-ssl-0.13.01/src/Makefile + superscript.com/net/ucspi-ssl-0.13.01/src/TARGETS + superscript.com/net/ucspi-ssl-0.13.01/src/auto-str.c + superscript.com/net/ucspi-ssl-0.13.01/src/auto_cadir.h + superscript.com/net/ucspi-ssl-0.13.01/src/auto_cafile.h + superscript.com/net/ucspi-ssl-0.13.01/src/auto_ccafile.h + superscript.com/net/ucspi-ssl-0.13.01/src/auto_certchainfile.h + superscript.com/net/ucspi-ssl-0.13.01/src/auto_certfile.h + superscript.com/net/ucspi-ssl-0.13.01/src/auto_ciphers.h + superscript.com/net/ucspi-ssl-0.13.01/src/auto_dhfile.h + superscript.com/net/ucspi-ssl-0.13.01/src/auto_keyfile.h + superscript.com/net/ucspi-ssl-0.13.01/src/chkshsgr.c + superscript.com/net/ucspi-ssl-0.13.01/src/choose.sh + superscript.com/net/ucspi-ssl-0.13.01/src/coe.c + superscript.com/net/ucspi-ssl-0.13.01/src/coe.h + superscript.com/net/ucspi-ssl-0.13.01/src/exit.h + superscript.com/net/ucspi-ssl-0.13.01/src/exp.base + superscript.com/net/ucspi-ssl-0.13.01/src/exp.it + superscript.com/net/ucspi-ssl-0.13.01/src/exp.sslperl + superscript.com/net/ucspi-ssl-0.13.01/src/find-systype.sh + superscript.com/net/ucspi-ssl-0.13.01/src/fork.h1 + superscript.com/net/ucspi-ssl-0.13.01/src/fork.h2 + superscript.com/net/ucspi-ssl-0.13.01/src/hassgact.h1 + superscript.com/net/ucspi-ssl-0.13.01/src/hassgact.h2 + superscript.com/net/ucspi-ssl-0.13.01/src/hassgprm.h1 + superscript.com/net/ucspi-ssl-0.13.01/src/hassgprm.h2 + superscript.com/net/ucspi-ssl-0.13.01/src/hasshsgr.h1 + superscript.com/net/ucspi-ssl-0.13.01/src/hasshsgr.h2 + superscript.com/net/ucspi-ssl-0.13.01/src/haswaitp.h1 + superscript.com/net/ucspi-ssl-0.13.01/src/haswaitp.h2 + superscript.com/net/ucspi-ssl-0.13.01/src/https@.sh + superscript.com/net/ucspi-ssl-0.13.01/src/ip4_bit.c + superscript.com/net/ucspi-ssl-0.13.01/src/ip6_bit.c + superscript.com/net/ucspi-ssl-0.13.01/src/ip_bit.h + superscript.com/net/ucspi-ssl-0.13.01/src/it-base=d + superscript.com/net/ucspi-ssl-0.13.01/src/it-sslperl=d + superscript.com/net/ucspi-ssl-0.13.01/src/it-sys=d + superscript.com/net/ucspi-ssl-0.13.01/src/it=d + superscript.com/net/ucspi-ssl-0.13.01/src/print-ar.sh + superscript.com/net/ucspi-ssl-0.13.01/src/print-cc.sh + superscript.com/net/ucspi-ssl-0.13.01/src/print-ccperl.sh + superscript.com/net/ucspi-ssl-0.13.01/src/print-dl.sh + superscript.com/net/ucspi-ssl-0.13.01/src/print-ld.sh + superscript.com/net/ucspi-ssl-0.13.01/src/print-ldperl.sh + superscript.com/net/ucspi-ssl-0.13.01/src/print-perlembed.sh + superscript.com/net/ucspi-ssl-0.13.01/src/remoteinfo.c + superscript.com/net/ucspi-ssl-0.13.01/src/remoteinfo.h + superscript.com/net/ucspi-ssl-0.13.01/src/rts.base + superscript.com/net/ucspi-ssl-0.13.01/src/rts.it + superscript.com/net/ucspi-ssl-0.13.01/src/rts.sslperl + superscript.com/net/ucspi-ssl-0.13.01/src/rules.c + superscript.com/net/ucspi-ssl-0.13.01/src/rules.h + superscript.com/net/ucspi-ssl-0.13.01/src/select.h1 + superscript.com/net/ucspi-ssl-0.13.01/src/select.h2 + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_ca.c + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_cca.c + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_certkey.c + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_chainfile.c + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_ciphers.c + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_context.c + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_env.c + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_error.c + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_io.c + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_new.c + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_params.c + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_timeout.c + superscript.com/net/ucspi-ssl-0.13.01/src/ssl_verify.c + superscript.com/net/ucspi-ssl-0.13.01/src/sslcat.sh + superscript.com/net/ucspi-ssl-0.13.01/src/sslclient.c + superscript.com/net/ucspi-ssl-0.13.01/src/sslconnect.sh + superscript.com/net/ucspi-ssl-0.13.01/src/sslhandle.c + superscript.com/net/ucspi-ssl-0.13.01/src/sslperl.c + superscript.com/net/ucspi-ssl-0.13.01/src/sslprint.c + superscript.com/net/ucspi-ssl-0.13.01/src/sslserver.c + superscript.com/net/ucspi-ssl-0.13.01/src/trycpp.c + superscript.com/net/ucspi-ssl-0.13.01/src/trylsock.c + superscript.com/net/ucspi-ssl-0.13.01/src/trysgact.c + superscript.com/net/ucspi-ssl-0.13.01/src/trysgprm.c + superscript.com/net/ucspi-ssl-0.13.01/src/tryshsgr.c + superscript.com/net/ucspi-ssl-0.13.01/src/tryssl.c + superscript.com/net/ucspi-ssl-0.13.01/src/trysysel.c + superscript.com/net/ucspi-ssl-0.13.01/src/tryvfork.c + superscript.com/net/ucspi-ssl-0.13.01/src/ucspissl.c + superscript.com/net/ucspi-ssl-0.13.01/src/ucspissl.h + superscript.com/net/ucspi-ssl-0.13.01/src/warn-auto.sh + superscript.com/net/ucspi-ssl-0.13.01/src/warn-shsgr + superscript.com/net/ucspi-ssl-0.13.01/src/x86cpuid.c +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +Files: superscript.com/net/ucspi-ssl-0.13.01/doc/UCSPI-SSL.md +Copyright: 2001 SuperScript Technology, Inc. sst@superscript.com +License: __UNKNOWN__ + This document defines the SSL protocol for UCSPI-1996 tools. An SSL + client communicates with an SSL server, on the same machine or on a + different machine, via the TCP/IP protocol through an Internet-domain + socket. The descriptors passed to a SSL UCSPI application are copies of + that socket, dup()ed from a single connect() or accept(). + . + [address] consists of two arguments: [hostname] [port]. + . + There are three possibilities for [hostname]: the number 0, referring to + the local host; a dotted-decimal IP address, such as 192.48.96.5; or a + name understood by the system's resolver, such as mail.uu.net. SSL UCSPI + servers use only the first IP address from the resolver; SSL UCSPI + clients try each address in turn. + . + There are three possibilities for [port]: a positive numeric TCP port + number, such as 25; the number 0, which permits selection of any port + number; or a name understood by the system's getservbyname(), such as + smtp. + . + The client and server set up the following environment variables: + . + PROTO: the string SSL + SSLLOCALIP: the dotted-decimal IP address of the local host + SSLLOCALPORT: the local SSL port number, in decimal + SSLREMOTEIP: the dotted-decimal IP address of the remote host + SSLREMOTEPORT: the remote SSL port number, in decimal + SSLLOCALHOST, if possible: the resolver's name for SSLLOCALIP + SSLREMOTEHOST, if possible: the resolver's name for SSLREMOTEIP + SSLREMOTEINFO, if possible: the result of a 931/1413/IDENT/TAP query + . + Uppercase letters in SSLLOCALHOST and SSLREMOTEHOST are converted to + lowercase. SSLREMOTEINFO is a connection-specific string supplied by the + remote host via 931/1413/IDENT/TAP. + . + SSL UCSPI tools take a -R option to turn off 931/1413/IDENT/TAP + querying, and a -r option to turn it back on. SSL UCSPI tools take a -I + option to turn off checking for a client certificate, and a -i option to + turn it back on. SSL UCSPI clients take a -p [locport] option to + require a particular TCP port on the local side of the connection. SSL + UCSPI servers take a -1 option to print the local port number (in + decimal, followed by a newline) to descriptor 1 before closing + descriptor 1 and after preparing to receive connections. SSL UCSPI + servers and clients take a -3 option to read a null-terminated key + password from file descriptor 3. + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. diff --git a/ucspi-ssl-deb/debian/libucspissl-dev.install b/ucspi-ssl-deb/debian/libucspissl-dev.install new file mode 100644 index 0000000..3d1d3ec --- /dev/null +++ b/ucspi-ssl-deb/debian/libucspissl-dev.install @@ -0,0 +1,3 @@ + +# You must remove unused comment lines for the released package. +superscript.com/net/ucspi-ssl-0.13.01/src/ucspissl.h usr/include diff --git a/ucspi-ssl-deb/debian/libucspissl.install b/ucspi-ssl-deb/debian/libucspissl.install new file mode 100755 index 0000000..e0c9172 --- /dev/null +++ b/ucspi-ssl-deb/debian/libucspissl.install @@ -0,0 +1,2 @@ +#!/usr/bin/dh-exec +superscript.com/net/ucspi-ssl-0.13.01/src/ucspissl.a => usr/lib/${DEB_HOST_MULTIARCH}/libucspissl.a diff --git a/ucspi-ssl-deb/debian/rules b/ucspi-ssl-deb/debian/rules new file mode 100755 index 0000000..02d420c --- /dev/null +++ b/ucspi-ssl-deb/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +export DH_VERBOSE = 1 +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +UPSTREAM_VERSION := $(shell dpkg-parsechangelog --show-field Version | cut -d- -f1) + +get-orig-source: + uscan --download-current-version + +%: + dh $@ --buildsystem=none + +override_dh_auto_clean: + -tar -xf ../ucspi-ssl_$(UPSTREAM_VERSION).orig.tar.gz --strip-components=1 + rm -f superscript.com/net/ucspi-ssl-$(UPSTREAM_VERSION)/conf-cc + $(MAKE) -C superscript.com/net/ucspi-ssl-$(UPSTREAM_VERSION)/src clean + +override_dh_auto_configure: + echo "$(CC) `pkg-config -cflags qlibs` $(CFLAGS)" >superscript.com/net/ucspi-ssl-$(UPSTREAM_VERSION)/conf-cc + +override_dh_auto_build: + $(MAKE) -C superscript.com/net/ucspi-ssl-$(UPSTREAM_VERSION)/src default diff --git a/ucspi-ssl-deb/debian/ucspissl.install b/ucspi-ssl-deb/debian/ucspissl.install new file mode 100644 index 0000000..5d51fe8 --- /dev/null +++ b/ucspi-ssl-deb/debian/ucspissl.install @@ -0,0 +1,9 @@ + +# You must remove unused comment lines for the released package. +superscript.com/net/ucspi-ssl-0.13.01/src/https@ usr/bin +superscript.com/net/ucspi-ssl-0.13.01/src/sslcat usr/bin +superscript.com/net/ucspi-ssl-0.13.01/src/sslclient usr/bin +superscript.com/net/ucspi-ssl-0.13.01/src/sslconnect usr/bin +superscript.com/net/ucspi-ssl-0.13.01/src/sslhandle usr/bin +superscript.com/net/ucspi-ssl-0.13.01/src/sslserver usr/bin +superscript.com/net/ucspi-ssl-0.13.01/etc/dh2048.pem usr/share/ucspi-ssl diff --git a/ucspi-ssl-deb/debian/watch b/ucspi-ssl-deb/debian/watch new file mode 100644 index 0000000..712743f --- /dev/null +++ b/ucspi-ssl-deb/debian/watch @@ -0,0 +1,3 @@ +# You must remove unused comment lines for the released package. +version=4 +https://www.fehcom.de/ipnet/ucspi-ssl/ucspi-ssl-(\d\.\d+(?:\.\d+)?[a-z]?).tgz |