Package: adacgi
Version: 1.6-8
Severity: serious
Justification: violation of Debian policy for Ada
Since AdaCGI is a library, it must consist of two binary packages:
libadacgi-dev and libadacgi1.
The source package, adacgi, must build-depend on gnat (>= 4.1)
(currently not versioned).
libadacgi-dev must provide the Ada specs (cgi.ads and ustrings.ads) in
the directory /usr/share/ada/adainclude/adacgi. Optionally, it may
also provide the corresponding bodies (*.adb) (this is mandatory if
these are bodies of generic units).
libadacgi-dev must provide the Ada library information files (*.ali) in
/usr/lib/ada/adalib/adacgi. These files must be read-only for all
users; dh_fixperms knows about that and does the right thing (do not
--exclude .ali files when calling it).
libadacgi-dev must also provide a GNAT project file,
/usr/share/ada/adainclude/adacgi.gpr.
libadacgi-dev must provide the static library, /usr/lib/libadacgi.a,
and the symlink /usr/lib/libadacgi.so. The static library must contain
object files compiled with -g.
libadacgi-dev must Depend on gnat-4.1.
The examples can be in libadacgi-dev, but they must not be compressed;
currently the file search.adb is compressed. Please pass -X.adb -X.ads
-Xmakefile to dh_compress. This allows gnat to compile the examples
directly.
libadacgi1 must provide the shared library, /usr/lib/libadacgi.so.1.6,
with appropriate symlink (libadacgi.so.1). The shared library must
contain object files compiled with -fPIC and WITHOUT -g.
libadacgi1 must Depend on libgnat-4.1; this is normally done
automatically by dh_shlibdeps.
Since the files contained in the binary package adacgi do not conflict
with the standard paths in the proposed -dev and library packages, it is
not necessary that packages conflict with each other. However,
libadacgi-dev should Replace adacgi.
Finally: please revisit the lintian overrides, as they may not be
necessary anymore. Both linda and lintian know about Ada libraries now.
Since this is a very simple package, consider looking at the
debian/rules that I use for libtemplates-parser. It builds the Ada
files in two directories, obj-static and obj-shared, and makes the
libraries from there.
--
Ludovic Brenta.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]