debian/0000755000000000000000000000000012246457142007175 5ustar debian/control0000644000000000000000000000526212246454273010607 0ustar Source: libaunit Section: libdevel Priority: extra Maintainer: Nicolas Boulenguez Build-Depends: dpkg-dev (>= 1.16.1), debhelper (>= 9), gnat, gnat-4.6, dh-ada-library Standards-Version: 3.9.5 Homepage: http://libre.adacore.com/libre/ Vcs-Mtn: www.ada-france.org org.debian.libaunit Vcs-Browser: http://www.ada-france.org:8081/branch/changes/org.debian.libaunit XS-Testsuite: autopkgtest Package: libaunit2-dev Architecture: any Depends: ${misc:Depends}, ${ada:Depends} Conflicts: libaunit-dev, libaunit1-dev Replaces: libaunit-dev, libaunit1-dev Description: AUnit, a unit testing framework for Ada: development AUnit is a set of Ada packages based on the xUnit family of unit test frameworks. It's intended as a developer's tool to facilitate confident writing and evolution of Ada software. It is purposely lightweight, as one of its main goals is to make it easy to develop and run unit tests, rather than to generate artifacts for process management. The framework supports easy composition of sets of unit tests to provide flexibility in determining what tests to run for a given purpose. . Install this package if you want to write programs that use AUnit. Package: libaunit-dbg Section: debug Architecture: any Multi-Arch: same Depends: ${misc:Depends}, ${ada:Depends} Recommends: ${ada:Recommends} Suggests: ${ada:Suggests} Description: AUnit, a unit testing framework for Ada: debug symbols AUnit is a set of Ada packages based on the xUnit family of unit test frameworks. It's intended as a developer's tool to facilitate confident writing and evolution of Ada software. It is purposely lightweight, as one of its main goals is to make it easy to develop and run unit tests, rather than to generate artifacts for process management. The framework supports easy composition of sets of unit tests to provide flexibility in determining what tests to run for a given purpose. . This package contains the runtime debug symbols. Package: libaunit3 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: AUnit, a unit testing framework for Ada: shared library AUnit is a set of Ada packages based on the xUnit family of unit test frameworks. It's intended as a developer's tool to facilitate confident writing and evolution of Ada software. It is purposely lightweight, as one of its main goals is to make it easy to develop and run unit tests, rather than to generate artifacts for process management. The framework supports easy composition of sets of unit tests to provide flexibility in determining what tests to run for a given purpose. . This package contains the runtime shared library. debian/aunit-obj-static/0000755000000000000000000000000012246452345012352 5ustar debian/copyright0000644000000000000000000000430312246451604011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libaunit Upstream-Contact: http://libre.adacore.com/contact Source: http://libre.adacore.com/download Comment: this old version is no longer available from the AdaCore Libre website (it was in GPL-2005). Files: * Copyright: 2006-2008 AdaCore : 2004-2008 Free Software Foundation License: GPL-2+ The OpenToken package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. The OpenToken package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License distributed with the OpenToken package; see file GPL.txt. If not, write to the Free Software Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. Files: debian/* Copyright: 2006-2012 Stephen Leake : 2013 Nicolas Boulenguez License: GPL-3+ The OpenToken package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. The OpenToken package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License distributed with the OpenToken package; see file GPL.txt. If not, write to the Free Software Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3 file. debian/source/0000755000000000000000000000000012246445165010477 5ustar debian/source/format0000644000000000000000000000001412246444017011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001131012246456063011044 0ustar libaunit (1.03-8) unstable; urgency=low * Adopting the package. Closes: #673752. * Switch to debhelper 9, dpkg-dev and dh-ada-library helpers. * Build-Depends: gnat in addition to gnat-4.6 to ensure default compiler. * Standards-Version: 3.9.5. Vcs-*: correct field names. * Stop depending on inexistant ada-compiler virtual package. * Mark lib and -dev packages as Multiarch: same. * copyright: update, machine-readable format 1.0. * Move runtime tests to debian/tests. XS-Testsuite field accordingly. * rules: inherit hardening flags. Do not compress examples. Implement clean. * source.lintian overrides: -lib does Depend on -dbg. * Empty but informative watch file. -- Nicolas Boulenguez Sat, 30 Nov 2013 22:30:03 +0100 libaunit (1.03-7) unstable; urgency=low * upgrade to build with gnat-4.6; bump aliversion -- Stephen Leake Tue, 12 Jul 2011 18:34:15 -0400 libaunit (1.03-6) unstable; urgency=low * debian/compat: bump to 7 * debian/control: add gnat, ada-compiler per Debian Ada Policy. * debian/source/format: switch to 3.0 (quilt) * debian/rules: don't install GPS plug-in aunit.xml; it's wrong. -- Stephen Leake Tue, 15 Jun 2010 03:31:31 -0400 libaunit (1.03-5) unstable; urgency=low [Stephen Leake] * debian/control (Standards-Version): update to 3.8.4 (Architecture): change to 'any', to match gnat-4.4. Closes: #568438 [Ludovic Brenta] * debian/control (DM-Upload-Allowed): new. (Uploaders): remove myself. -- Stephen Leake Sun, 14 Feb 2010 08:23:32 -0500 libaunit (1.03-4) unstable; urgency=low [Stephen Leake] * Change -dev package name to reflect the change in .ali files (see extensive discussion at http://people.debian.org/~lbrenta/debian-ada-policy.html): - libaunit-dev -> libaunit1-dev * NEW package libaunit-dbg * Migrate to gnat-4.4 and change the soname to libaunit3. * Update Standards-Version to 3.8.3 with no changes. * debian/control (Architecture): add kfreebsd-amd64. Closes: #542414. (Vcs-Mtn, Vcs-Browse): new. (Maintainer): new maintainer Stephen Leake. (Uploaders): add Ludovic Brenta as the sponsor. (Suggests): new (Conflicts, Replaces): new * debian/test_installed.sh: New, for running tests against installed package. [Ludovic Brenta] * debian/control (Depends): add ${misc:Depends}, required by debhelper. (Architectures): disable alpha due to http://gcc.gnu.org/PR42073. * debian/aunit_ref.gpr: s/Object_Dir/Library_ALI_Dir/. * debian/aunit_build.gpr: build without -fstack-check. Eric Botcazou says: "-fstack-check is broken with GCC 4.4 on x86/x86-64 Linux, it generates code that will easily segfault" (http://gcc.gnu.org/PR20548). -- Ludovic Brenta Thu, 19 Nov 2009 23:46:01 +0100 libaunit (1.03-3) unstable; urgency=low * Migrate to gnat-4.3 and change the soname to libaunit2. * Update Standards-Version to 3.8.0 with no changes. * Add support for mips, mipsel and ppc64. * Transform aunit.gpr into a library project file. -- Ludovic Brenta Thu, 24 Jul 2008 20:56:02 +0200 libaunit (1.03-2) unstable; urgency=low * debian/control (Maintainer): use my Debian email address. -- Ludovic Brenta Mon, 18 Sep 2006 23:09:04 +0200 libaunit (1.03-1) unstable; urgency=low * New upstream release. * Compile with GCC 4.1; new ABI. * debian/control (Maintainer): new email address, I'm now a full DD. (Upoloaders): remove. (Build-Depends): gnat (>= 4.1). (Standards-Version): bump to 3.7.2 with no changes required. (libaunit1): rename to libaunit1.03. (Architecture): add alpha, amd64, hppa, ia64 and s390. * debian/rules: bump the soname to libaunit.so.1.03. -- Ludovic Brenta Mon, 18 Sep 2006 00:15:11 +0200 libaunit (1.01-3) unstable; urgency=low * debian/rules (regexp): accept any character in the Debian upload number. Closes: #359880. -- Ludovic Brenta Fri, 31 Mar 2006 08:08:36 +0200 libaunit (1.01-2) unstable; urgency=low * debian/control: enable support for GNU/kFreeBSD. Update standards-version from 3.6.1 to 3.6.2 with no changes. Change maintainer's email address. Add Alexander Wirt to the list of uploaders. (libaunit-dev): Depend on gnat, suggest gnat-gps. * debian/libaunit-dev.postinst: remove, no longer needed. -- Ludovic Brenta Wed, 1 Mar 2006 20:23:20 +0100 libaunit (1.01-1) unstable; urgency=low * Initial Release. -- Ludovic Brenta Tue, 24 Feb 2004 02:33:37 +0100 Local variables: left-margin: 2 End: debian/aunit-lib-dynamic/0000755000000000000000000000000012246452326012502 5ustar debian/rules0000755000000000000000000000550512246456754010272 0ustar #!/usr/bin/make -f # # Debian Makefile for AUnit # Copyright (c) 2009 Stephen Leake # Copyright (c) 2004-2006 Ludovic Brenta # Copyright (c) 2013 Nicolas Boulenguez # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # include /usr/share/dpkg/default.mk include /usr/share/ada/debian_packaging.mk ADAFLAGS += -gnatfno -gnatwa -gnatVa LIB_NAME := $(patsubst lib%,%,$(DEB_SOURCE)) SOVERSION := $(shell sed -n -e "s/^Package: lib$(LIB_NAME)\([[:digit:]]\+\)$$/\1/p" debian/control) ifndef SOVERSION $(warning Could not guess SOVERSION from debian/control) # Not error. Policy defines targets that may be run from outside build dir. endif ###################################################################### POLICY_TARGETS := binary binary-arch binary-indep build build-arch \ build-indep clean .PHONY: $(POLICY_TARGETS) $(POLICY_TARGETS): dh $@ --with ada-library PROJECT := debian/$(LIB_NAME).gpr override_dh_auto_build-arch: gnatmake $(BUILDER_OPTIONS) -P$(PROJECT) -XKIND=static \ $(foreach var,ADAFLAGS,-X$(var)="$($(var))") gnatmake $(BUILDER_OPTIONS) -P$(PROJECT) -XKIND=dynamic \ $(foreach var,ADAFLAGS LDFLAGS SOVERSION,-X$(var)="$($(var))") override_dh_auto_clean: rm -f $(foreach k, dynamic static \ ,$(foreach d, lib obj \ ,debian/$(LIB_NAME)-$(d)-$(k)/*)) # First package is -dev, but we avoid depending on the aliversion. override_dh_compress: dh_compress --exclude=-dev/examples/ dh_compress --remaining-packages ###################################################################### RUN_TESTS_TMP := lib$(LIB_NAME)-run-tests-XXXXXXXXXX # The plural is a lie: only link-with-shared is executed. # You may run the other test with a manual modification. # TODO: use adttest and remove all this. run-tests: ADTTMP=`mktemp --tmpdir --directory $(RUN_TESTS_TMP)` && \ ADTTMP=$$ADTTMP sh debian/tests/link-with-shared 2> $$ADTTMP/stderr; \ status=$$?; cat $$ADTTMP/stderr; \ if test $$status != 0; then \ echo "Test failed: non zero exit status ($$status)."; \ elif test -s $$ADTTMP/stderr; then \ echo "Test failed: activity on stderr."; \ fi; \ rm -f -r $$ADTTMP debian/source.lintian-overrides0000644000000000000000000000032512246452304014050 0ustar # This dependency has a versioned name per debian-ada-policy, so we # generate it at build time via deb-substvars. This causes a lintian # false positive. libaunit source: dbg-package-missing-depends libaunit-dbg debian/aunit.gpr0000644000000000000000000000306712246454756011045 0ustar -- Build the aunit package -- Copyright (c) 2009-2010 Stephen Leake -- Copyright (c) 2013 Nicolas Boulenguez -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see . project AUnit is type Library_Kind is ("dynamic", "static"); Kind : Library_Kind := External ("KIND"); for Library_Name use Project'Name; case Kind is when "dynamic" => for Library_Version use "lib" & Project'Library_Name & ".so." & External ("SOVERSION"); for Library_Options use External_As_List ("LDFLAGS", " "); when "static" => null; end case; for Library_Kind use Kind; for Library_Dir use Project'Name & "-lib-" & Kind; for Object_Dir use Project'Name & "-obj-" & Kind; package Compiler is for Default_Switches ("Ada") use External_As_List ("ADAFLAGS", " "); end Compiler; for Source_Dirs use ("../aunit/framework", "../aunit/text_reporter"); end AUnit; debian/docs0000644000000000000000000000020712246447546010056 0ustar # The name of this file does not mention the aliversion. # Instead we use that -dev is the first package in debian/control. AUnit.html debian/README.Debian0000644000000000000000000000044412246451735011242 0ustar aunit for Debian ---------------- See the Debian Ada policy at http://people.debian.org/~lbrenta/debian-ada-policy.html The template files mentioned in the documentation are in /usr/share/doc/aunit-dev/examples. -- Nicolas Boulenguez , Sat, 30 Nov 2013 22:08:45 +0100 debian/aunit-lib-static/0000755000000000000000000000000012246452351012343 5ustar debian/examples0000644000000000000000000000020712246447570010741 0ustar # The name of this file does not mention the aliversion. # Instead we use that -dev is the first package in debian/control. template/* debian/tests/0000755000000000000000000000000012246457050010335 5ustar debian/tests/control0000644000000000000000000000004712246454063011742 0ustar Tests: link-with-shared upstream-tests debian/tests/link-with-shared0000644000000000000000000000052212246456535013440 0ustar #!/bin/sh set -C -e -f -u cd "$ADTTMP" MAIN=test cat > "$MAIN.adb" < p.gpr < p.gpr <