--- adacgi-1.6.orig/cgi.adb +++ adacgi-1.6/cgi.adb @@ -761,7 +761,6 @@ end Cookie_Count; procedure Read_Cookie is - Temp_Ptr : Access_Key_Value_Sequence; Raw_Data: Unbounded_String; Number_of_Cookies : Natural; begin -- read_cookie --- adacgi-1.6.orig/debian/Makefile +++ adacgi-1.6/debian/Makefile @@ -0,0 +1,26 @@ +# This makefile automates generates the CGI demo programs and +# compressed files. + +VERSION=1.6 + +# By default, compile all of the demo programs: + +EXAMPLES=demo minimal search test_cookie test_send test_encode + +all: $(EXAMPLES) + +$(EXAMPLES): FORCE + gnatmake -Pexamples + + +# "FORCE" just forces the depending rule to always be run. +# In particular, we always want to invoke gnatmake, which then checks to see if +# anything needs recompiling. + +FORCE: + + +clean: + rm -f $(EXAMPLES) *.o *.ali + + --- adacgi-1.6.orig/debian/README.Debian +++ adacgi-1.6/debian/README.Debian @@ -0,0 +1,6 @@ +AdaCGI can be used by adding + -I/usr/share/ada/adainclude/adacgi -aO/usr/lib/ada/adalib/adacgi +on gnatmake's command line, or by using the project file: see + /usr/share/doc/adacgi/examples/Makefile +and + /usr/share/doc/adacgi/examples/examples.gpr --- adacgi-1.6.orig/debian/adacgi.gpr +++ adacgi-1.6/debian/adacgi.gpr @@ -0,0 +1,5 @@ +project Adacgi is + for Source_Dirs use ("/usr/share/ada/adainclude/adacgi"); + for Object_Dir use "/usr/lib/ada/adalib/adacgi"; + for Externally_Built use "true"; +end Adacgi; --- adacgi-1.6.orig/debian/changelog +++ adacgi-1.6/debian/changelog @@ -0,0 +1,183 @@ +adacgi (1.6-18) unstable; urgency=medium + + * Update GNAT version to 4.9. Also rename to adacgi2 and bump + ALIVERSION in debian/rules. (Closes: 755007, 753955.) + * Bump to standards version 3.9.5. + + -- Phil Brooke Tue, 22 Jul 2014 13:46:45 +0100 + +adacgi (1.6-17) unstable; urgency=low + + * Fix GNAT project file that was missing Externally_Built attribute + (closes: 679638). + + -- Phil Brooke Mon, 02 Jul 2012 14:24:02 +0100 + +adacgi (1.6-16) unstable; urgency=low + + * Rename adacgi0 to adacgi1; should have been done at the same time + as changing gnat version. + + -- Phil Brooke Wed, 07 Dec 2011 15:42:42 +0000 + +adacgi (1.6-15) unstable; urgency=low + + * Bump gnat version to 4.6 (closes: 642610). + * Bump to standards version 3.9.2. + * Fix build targets in debian/rules. + + -- Phil Brooke Wed, 07 Dec 2011 11:40:57 +0000 + +adacgi (1.6-14) unstable; urgency=low + + * Fix build-depends properly this time. (Closes: 587648). + * Set debian/source/format. + * Bump to standards version 3.9.0. + + -- Phil Brooke Wed, 30 Jun 2010 17:12:34 +0100 + +adacgi (1.6-13) unstable; urgency=low + + * Modify build-depends to fix on gnat-4.4. + * Rename binary package from adacgi to adacgi0 to handle Ada + ALI version issues. (Closes: 585129). + + -- Phil Brooke Tue, 22 Jun 2010 10:26:23 +0100 + +adacgi (1.6-12) unstable; urgency=low + + * Bump gnat version to 4.4. + * Change architecture to any (to match gnat-4.4). + (Closes: #568431, #542408). + * Bump standards version to 3.8.4. + + -- Phil Brooke Sat, 06 Feb 2010 15:26:08 +0000 + +adacgi (1.6-11) unstable; urgency=low + + * Bump debian/compat to 6 and build-depends on debhelper. + * Bump standards version to 3.8.2. + + -- Phil Brooke Wed, 24 Jun 2009 09:01:08 +0100 + +adacgi (1.6-10) unstable; urgency=low + + * Bump gnat version to 4.3. + * Add mips and mipsel architectures. + * Fix debian/compat. + * Fix copyright file. + * Bump standards version to 3.8.0. + + -- Phil Brooke Fri, 18 Jul 2008 07:30:54 +0100 + +adacgi (1.6-9) unstable; urgency=low + + * Corrected architecture for new gnat -- it's not `any'. + * Assorted suggestions from Ludovic Brenta (thanks!): + * Changed build-depends to include version >= 4.1 on gnat. + * Changed installation directories to use + /usr/share/ada/adainclude/adacgi and + /usr/lib/ada/adalib/adacgi. + * No longer needed to explicitly chmod the .ali files: dh_fixperms + will do it. + * No longer need lintian overrides. + * Added Debian specific GNAT project file, + /usr/share/ada/adainclude/adacgi.gpr. + * Using -g when builder cgi.o and ustrings.o. + * The example files are now excluded from compression by dh_compress. + Closes: #383440. + * Replaced existing makefile with a new Makefile and project file. + * Reverted most changes from cgi.adb -- not needed anymore. + + -- Phil Brooke Mon, 2 Oct 2006 11:10:20 +0100 + +adacgi (1.6-8) unstable; urgency=medium + + * Fixed FTBFS by changing (build-)depends to gnat (closes: #377985). + * Change to newer gnat means that architecture can be `any'. + * Removed bashisms in debian/rules (closes: #376492). + * Bumped standards-version to 3.7.2. + + -- Phil Brooke Wed, 26 Jul 2006 18:29:20 +0000 + +adacgi (1.6-7) unstable; urgency=low + + * Changed build-depends for GNU/kFreeBSD (closes: #345056). + * Bumped DH_COMPAT and debhelper version to 4. + * Bumped standards-version to 3.6.2. + + -- Phil Brooke Tue, 17 Jan 2006 14:27:21 +0000 + +adacgi (1.6-6) unstable; urgency=low + + * Bumped Debian revision to fix problem with previous upload. + + -- Phil Brooke Wed, 10 Dec 2003 22:07:06 +0000 + +adacgi (1.6-5) unstable; urgency=low + + * Moved from GNAT 3.14 to GNAT 3.15. + * Update to standards version 3.6.1.0. + * Modified debian/rules to set the .ali files to read-only. This is + to stop gnatmake trying to rebuild the .ali and .o files in a + local directory when they're used. + + -- Phil Brooke Mon, 9 Dec 2003 23:38:40 +0000 + +adacgi (1.6-4) unstable; urgency=low + + * Provided better description (closes: #209445). + + -- Phil Brooke Wed, 10 Sep 2003 12:58:03 +0100 + +adacgi (1.6-3) unstable; urgency=low + + * Repackaging (using debhelper, not yada). + * Update to standards version 3.5.8. + * Lock against GNAT version 3.14 (cf. bug 171509 -- this bug will + only be closed when versions in stable and unstable are fixed -- + see the tags). + * Tidying up licence and other documentation. + * Removed unused Temp_Ptr in cgi.adb. + + -- Phil Brooke Mon, 16 Feb 2003 12:53:35 +0000 + +adacgi (1.6-2) unstable; urgency=low + + * Repackaged pristine source due to timestamp problems. + + -- Phil Brooke Tue, 3 Sep 2002 21:50:17 +0100 + +adacgi (1.6-1) unstable; urgency=low + + * New upstream release. + * New maintainer (closes: #154089). + + -- Phil Brooke Wed, 28 Aug 2002 20:43:05 +0100 + +adacgi (1.4-4) unstable; urgency=low + + * Use section web to remove disparity. + + -- Samuel Tardieu Sun, 10 Jun 2001 20:58:24 +0200 + +adacgi (1.4-3) unstable; urgency=low + + * GNAT is no longer Architecture: any, so this package has to follow. + Closes: #100292. + + -- Samuel Tardieu Sat, 9 Jun 2001 18:20:12 +0200 + +adacgi (1.4-2) unstable; urgency=low + + * Build with GNAT 3.13p. + * Add Build-Depends. Closes: 70065. + + -- Samuel Tardieu Wed, 30 Aug 2000 12:23:41 +0200 + +adacgi (1.4-1) unstable; urgency=low + + * Initial Debian version. + + -- Samuel Tardieu Fri, 22 Oct 1999 20:25:34 +0200 + --- adacgi-1.6.orig/debian/compat +++ adacgi-1.6/debian/compat @@ -0,0 +1 @@ +6 --- adacgi-1.6.orig/debian/control +++ adacgi-1.6/debian/control @@ -0,0 +1,19 @@ +Source: adacgi +Maintainer: Phil Brooke +Section: devel +Priority: optional +Standards-Version: 3.9.5 +Build-Depends: debhelper (>> 6.0.0), gnat, gnat-4.9 + +Package: adacgi2 +Architecture: any +Section: web +Depends: gnat, gnat-4.9, ${misc:Depends} +Conflicts: adacgi, adacgi0, adacgi1 +Replaces: adacgi, adacgi0, adacgi1 +Description: Ada CGI interface + This is David A. Wheeler's Ada 95 interface to the "Common Gateway + Interface" (CGI). This makes it easier to create Ada programs that + can be invoked by HTTP servers using the standard CGI interface. + . + http://www.dwheeler.com/adacgi/ --- adacgi-1.6.orig/debian/copyright +++ adacgi-1.6/debian/copyright @@ -0,0 +1,25 @@ +This package was originally debianized by Samuel Tardieu in October +1999. This file was added by Phil Brooke in February +2003. + +The upstream package was downloaded from + http://www.dwheeler.com/adacgi + AdaCGI is copyright (C) 1995-2000 David A. Wheeler + +The original copyright notice, COPYING contained the text: + + The different components in this distribution have different licenses. + See cgi.html for information on licenses. + + The main AdaCGI library is covered by the LGPL (see lesser.txt) + with some modifications (see cgi.ads). + The demonstration programs and documentation + are covered by the GPL (see gpl.txt). + + See http://www.gnu.org/copyleft for more information (and copies + of these licenses, in case you don't have them). + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License and LGPL can be found in `/usr/share/common-licenses/GPL' +and `/usr/share/common-licenses/LGPL' respectively (rather than the +gpl.txt and lesser.txt in the upstream distribution). --- adacgi-1.6.orig/debian/dirs +++ adacgi-1.6/debian/dirs @@ -0,0 +1,2 @@ +usr/share/ada/adainclude/adacgi +usr/lib/ada/adalib/adacgi --- adacgi-1.6.orig/debian/docs +++ adacgi-1.6/debian/docs @@ -0,0 +1,2 @@ +README +cgi.html --- adacgi-1.6.orig/debian/examples.gpr +++ adacgi-1.6/debian/examples.gpr @@ -0,0 +1,9 @@ +with "adacgi"; +project Examples is + for Main use ("demo", + "search", + "minimal", + "test_cookie", + "test_encode", + "test_send"); +end Examples; --- adacgi-1.6.orig/debian/rules +++ adacgi-1.6/debian/rules @@ -0,0 +1,85 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ALIVERSION=2 + +configure: + # Nothing to do. + +build: + dh_testdir + + # Commands to compile the package. + # Here, we only need to make .o and .ali files for cgi and ustrings. + gnatgcc -c -g -O2 cgi.adb ustrings.adb + +build-arch: build + +build-indep: build + +clean: + dh_testdir + dh_testroot + # Clean up the stuff we've made. + rm -f *.o *.ali demo minimal search test_cookie test_send test_encode + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/adacgi$(ALIVERSION). + # Must use -p -- otherwise the timestamps get changed, and gnatmake + # gets annoyed when the package is used. + cp -pf cgi.ads cgi.adb ustrings.ads ustrings.adb debian/adacgi$(ALIVERSION)/usr/share/ada/adainclude/adacgi + cp -pf cgi.o cgi.ali ustrings.o ustrings.ali debian/adacgi$(ALIVERSION)/usr/lib/ada/adalib/adacgi + # Debian specific project file + cp -f debian/adacgi.gpr debian/adacgi$(ALIVERSION)/usr/share/ada/adainclude/adacgi.gpr + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdebconf + dh_installdocs + dh_installexamples debian/Makefile debian/examples.gpr demo.adb minimal.adb search.adb test_cookie.adb test_send.adb test_encode.adb +# dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installman +# dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress -X.adb -X.ads -Xmakefile + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- adacgi-1.6.orig/debian/source/format +++ adacgi-1.6/debian/source/format @@ -0,0 +1 @@ +1.0