| Name |
gnutls-bin |
| Description |
GNU TLS library - commandline utilities |
| Version |
3.8.3-1.1ubuntu3.4 |
| Package Base |
gnutls28 |
| Homepage |
https://www.gnutls.org/ |
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
[' Andreas Metzler <ametzler@debian.org>', 'Eric Dorland <eric@debian.org>', 'James Westby <jw+debian@jameswestby.net>', 'Simon Josefsson <simon@josefsson.org>,'] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/gnutls28/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/gnutls-bin/plain/debian/watch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gnutls28/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gnutls28/plain/debian/patches/14_version_gettextcat.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gnutls28/plain/debian/patches/40_srptest_doubletimeout.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gnutls28/plain/debian/patches/9259100633b77a0dc03f83047d7cf778466bf9f3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gnutls28/plain/debian/patches/series?h=ubuntu/noble'] |
| Dependencies |
['libc6', 'libgnutls-dane0t64', 'libgnutls30t64', 'libtasn1-6'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['dpkg-dev', 'bison', 'ca-certificates <!nocheck>', 'chrpath', 'datefudge <!nocheck>', 'debhelper-compat', 'freebsd-net-tools [kfreebsd-i386 kfreebsd-amd64] <!nocheck>', 'gperf', 'libcmocka-dev <!nocheck>', 'libidn2-dev', 'libp11-kit-dev', 'libssl-dev <!nocheck>', 'libtasn1-6-dev', 'libunbound-dev', 'libunistring-dev', 'net-tools [!kfreebsd-i386 !kfreebsd-amd64] <!nocheck>', 'nettle-dev', 'openssl <!nocheck>', 'pkg-config', 'python3', 'softhsm2 <!nocheck>'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
2e90f1cc05f3a0ee3bd345ad00536ffc59ef06f60e17e8678579a322c5c400da |
#! /usr/bin/make -f
# Build the gnutls package for Debian.
export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow
export DEB_CFLAGS_MAINT_APPEND := -Wall
export DEB_CXXFLAGS_MAINT_APPEND := -Wall
include /usr/share/dpkg/pkg-info.mk
AMCONFBUILDINDEP := $(shell if dh_listpackages | grep -q gnutls-doc ; \
then echo "--enable-gtk-doc" ; \
else echo "--disable-gtk-doc --disable-doc"; fi)
CONFIGUREARGS = \
--enable-ld-version-script --enable-cxx \
--disable-rpath \
--enable-libdane --without-tpm \
--enable-openssl-compatibility \
--disable-silent-rules \
--with-unbound-root-key-file=/usr/share/dns/root.key \
--with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt \
--with-packager=Debian \
--with-packager-bug-reports=http://bugs.debian.org/ \
--with-packager-version=$(DEB_VERSION) \
--with-default-priority-string='NORMAL:-VERS-ALL:+VERS-TLS1.3:+VERS-TLS1.2:+VERS-DTLS1.2:%PROFILE_MEDIUM'
BDIR = -O--builddirectory=b4deb
override_dh_auto_configure:
dh_auto_configure --verbose $(BDIR) -- \
$(CONFIGUREARGS) \
--enable-static \
$(AMCONFBUILDINDEP)
override_dh_autoreconf:
grep -rl --null gettext-0.20 m4/ | xargs -0r rm -v
if ! dh_listpackages | grep -q gnutls-doc ; \
then env GTKDOCIZE="echo DISABLED running gtkdocize" \
dh_autoreconf --verbose $(BDIR) ; \
else \
dh_autoreconf --verbose $(BDIR) ; \
fi
override_dh_makeshlibs:
dh_makeshlibs $(BDIR) -p libgnutls30t64 \
-V 'libgnutls30t64 (>= 3.7.0-0)' -- -c4
dh_makeshlibs $(BDIR) -p libgnutls-dane0t64 \
-V 'libgnutls-dane0t64 (>= 3.7.0-0)' \
-- -c4
dh_makeshlibs $(BDIR) -p libgnutls-openssl27t64 \
-V 'libgnutls-openssl27t64 (>= 3.7.0-0)' \
-- -c4
dh_makeshlibs $(BDIR) --remaining-packages
execute_after_dh_auto_clean:
find cligen -name '*.pyc' -delete
override_dh_auto_build:
# temporarily avoid regeneration of manpages
# 50-0002-Move-the-GNUTLS_NO_EXTENSIONS-compatibility-define-t.patch
# does not change the generated docs.
touch --reference=lib/includes/gnutls/abstract.h \
lib/includes/gnutls/gnutls.h.in
dh_auto_build $(BDIR) --verbose
ifeq ($(filter --disable-doc,$(AMCONFBUILDINDEP)),)
$(MAKE) -C b4deb html
rm -f doc/gnutls.pdf && $(MAKE) -C b4deb/doc gnutls.pdf
else
$(MAKE) -C b4deb/doc/manpages
endif
override_dh_auto_install:
dh_auto_install $(BDIR) --verbose
ifneq ($(filter --disable-doc,$(AMCONFBUILDINDEP)),)
$(MAKE) -C b4deb/doc/manpages DESTDIR=$(CURDIR)/debian/tmp install
else
$(MAKE) -C b4deb/doc/ DESTDIR=$(CURDIR)/debian/tmp install-html
# we symlink these
rm -vf debian/tmp/usr/share/info/*.png
endif
find debian/*/usr/lib/* -name '*.so.*.*' -type f -exec \
chrpath -d {} +
find debian/*/usr/lib/ -name 'libgnutlsxx.*' -delete
override_dh_installinfo:
dh_installinfo $(BDIR)
if test -e debian/gnutls-doc ; then \
cd debian/gnutls-doc/usr/share/info && \
sed -i -e 's:image src="\([^"]*.png"\):image src="/usr/share/doc/gnutls-doc/html/\1:g' *.info* ; \
fi
override_dh_compress:
dh_compress $(BDIR) -X.pdf
override_dh_auto_test:
dh_auto_test $(BDIR) --verbose -- VERBOSE=1
override_dh_clean:
dh_clean $(BDIR) -X.bak
%:
dh $@ --builddirectory=b4deb