Skip to content

Commit

Permalink
Drop the generation of Ada libraries because dh-ada-library is no lon…
Browse files Browse the repository at this point in the history
…ger supported

(or it needs further and time consumming investigation to repair)
  • Loading branch information
stcarrez committed Oct 8, 2023
1 parent 6f84ab1 commit 7f84fdf
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 61 deletions.
2 changes: 0 additions & 2 deletions debian/ada_libraries

This file was deleted.

12 changes: 12 additions & 0 deletions debian/changelog
@@ -1,3 +1,15 @@
keystoreada (1.4.0-2) unstable; urgency=medium

* Update release 1.4.0-2.

-- Stephane Carrez <Stephane.Carrez@gmail.com> Sun, 8 Oct 2023 10:27:02 +0200

keystoreada (1.4.0-1) unstable; urgency=medium

* Update release 1.4.0-1.

-- Stephane Carrez <Stephane.Carrez@gmail.com> Sun, 18 Jun 2023 12:58:32 +0200

keystoreada (1.3.3) unstable; urgency=medium

* Update release 1.3.3.
Expand Down
52 changes: 4 additions & 48 deletions debian/control
Expand Up @@ -2,23 +2,21 @@ Source: keystoreada
Priority: optional
Section: libdevel
Maintainer: Stephane Carrez <Stephane.Carrez@gmail.com>
Build-Depends: debhelper (>= 10), autotools-dev,
Build-Depends: debhelper (>= 11), autotools-dev,
dh-ada-library,
gnat, gnat-9,
gnat,
# This line is parsed by debian/rules.
gprbuild (>= 2015-2),
pkg-config,
libfuse-dev,
# 2015-2 is compatible with gnat-7
# dh-ada-library (>= 6.7)
libutilada-sys3-dev,
libutilada-unit3-dev,
# pandoc requires texlive-fonts-extra for PDF
pandoc, texlive-fonts-extra
Standards-Version: 4.1.4
Homepage: https://github.com/stcarrez/ada-keystore/
Vcs-Git: https://github.com/stcarrez/ada-keystore.git -b debian-gnat-9
Vcs-Browser: https://github.com/stcarrez/ada-keystore/tree/debian-gnat-9
Vcs-Git: https://github.com/stcarrez/ada-keystore.git -b debian-gnat-12
Vcs-Browser: https://github.com/stcarrez/ada-keystore/tree/debian-gnat-12

Package: akt
Section: utils
Expand All @@ -30,45 +28,3 @@ Description: protect your sensitive data with secure local storage
It is necessary to know one of the wallet password to access
its content. AKT can be used to safely store passwords,
credentials, bank accounts and even documents.

Package: libkeystoreada1.3.3
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Ada Keystore library (runtime)
Ada Keystore is a library to store information in secure wallets
and protect the stored information by encrypting the content.
It is necessary to know one of the wallet password to access its content.
Ada Keystore can be used to safely store passwords, credentials,
bank accounts and even documents. The library allows one to manage the
secure wallets from an Ada program.

Package: libkeystoreada3-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends}, ${ada:Depends}
Suggests: libkeystoreada-doc (= ${source:Version})
Description: Ada Keystore library (Development)
Ada Keystore is a library to store information in secure wallets
and protect the stored information by encrypting the content.
It is necessary to know one of the wallet password to access its content.
Ada Keystore can be used to safely store passwords, credentials,
bank accounts and even documents. The library allows one to manage the
secure wallets from an Ada program.

Package: libkeystoreada-doc
Section: libdevel
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
Suggests: gnat
Description: Ada Keystore library (documentation)
Ada Keystore is a library to store information in secure wallets
and protect the stored information by encrypting the content.
It is necessary to know one of the wallet password to access its content.
Ada Keystore can be used to safely store passwords, credentials,
bank accounts and even documents. The library allows one to manage the
secure wallets from an Ada program.
.
This package contains the documentation for Ada Keystore Library
in HTML and PDF as well as several examples.
12 changes: 1 addition & 11 deletions debian/rules
Expand Up @@ -6,28 +6,18 @@
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

$(foreach line,$(shell sed -n '\
s/^ gnat, gnat-\([0-9.]\+\),$$/ \
GNAT_VERSION:=\1 \
/p;\
s/^Package: libkeystoreada\([0-9.]\+\)$$/ \
soname:=libkeystoreada.so.\1 \
/p;\
' debian/control),$(eval $(line)))

DH_VERBOSE=1
export DH_OPTIONS=-v

DEB_BUILD_MAINT_OPTIONS := hardening=+all
include /usr/share/dpkg/buildflags.mk
include /usr/share/ada/debian_packaging-$(GNAT_VERSION).mk
ADAFLAGS += -gnatafno -gnatVa -gnatwa

%:
dh $@ --with ada-library

override_dh_auto_configure:
dh_auto_configure -- --enable-shared --enable-default-shared --with-ada-util --enable-fuse
dh_auto_configure -- --disable-shared --enable-default-shared --with-ada-util=no --enable-fuse

override_dh_auto_build:
make GPRFLAGS="-R -m -q"
Expand Down

0 comments on commit 7f84fdf

Please sign in to comment.