debian/0000755000000000000000000000000012230066331007162 5ustar debian/libdap-dev.install0000644000000000000000000000014712230066331012563 0ustar usr/lib/*/pkgconfig/*.pc usr/lib/*/*.so usr/lib/*/*.a usr/share/aclocal/libdap.m4 usr/include/libdap/* debian/control0000644000000000000000000001140512230066331010566 0ustar Source: libdap Section: utils Priority: optional Maintainer: Alastair McKinstry Build-Depends: zlib1g-dev, debhelper (>= 9), pkg-config, libxml2-dev, libcurl4-gnutls-dev, dejagnu, doxygen, graphviz, dh-autoreconf (>= 4~), autoconf, automake, libtool, flex, bison, uuid-dev, libjs-jquery Build-Conflicts: autoconf2.13 Standards-Version: 3.9.4 Homepage: http://www.opendap.org/ Package: libdap11 Section: libs Replaces: libdap10 Conflicts: libdap10 Breaks: libdap10 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: Open-source Project for a Network Data Access Protocol library OPeNDAP provides software that allows you to access data over the internet, from programs that weren't originally designed for that purpose, as well as some that were. While OPeNDAP is the original developer of the Data Access protocol which its software uses, many other groups have adopted DAP and provide compatible clients, servers and software development kits. . The DAP is a NASA community standard; here is the offical link to the specification. . With OPeNDAP software, you access data using a URL, just like a URL you would use to access a web page. However, before you request any data, you need to know how to request it in a form your browser can handle. OPeNDAP data is stored in binary form, and by default, it is transmitted that way, too. Package: libdapclient3 Section: libs Replaces: libdap10 Breaks: libdap10 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: libdap11 ( = ${binary:Version} ), ${misc:Depends}, ${shlibs:Depends} Description: Client library for the Network Data Access Protocol OPeNDAP provides software that allows you to access data over the internet, from programs that weren't originally designed for that purpose, as well as some that were. While OPeNDAP is the original developer of the Data Access protocol which its software uses, many other groups have adopted DAP and provide compatible clients, servers and software development kits. . This package provides the client library libdapclient3. Package: libdapserver7 Section: libs Breaks: libdap10 Replaces: libdap10 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: libdap11 ( = ${binary:Version} ), ${misc:Depends}, ${shlibs:Depends} Description: Server library for the Network Data Access Protocol OPeNDAP provides software that allows you to access data over the internet, from programs that weren't originally designed for that purpose, as well as some that were. While OPeNDAP is the original developer of the Data Access protocol which its software uses, many other groups have adopted DAP and provide compatible clients, servers and software development kits. . This package provides the server library libdapclient3. Package: libdap-bin Architecture: any Multi-Arch: foreign Depends: libdapclient3 ( = ${binary:Version} ), ${misc:Depends}, ${shlibs:Depends} Description: Binaries for the libdap Data Access Protocol library OPeNDAP provides software that allows you to access data over the internet, from programs that weren't originally designed for that purpose, as well as some that were. While OPeNDAP is the original developer of the Data Access protocol which its software uses, many other groups have adopted DAP and provide compatible clients, servers and software development kits. . This package contains the 'getdap' client binary. Package: libdap-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libdap11 ( = ${binary:Version} ), libdapserver7 (=${binary:Version}), libdapclient3 (=${binary:Version}) , ${misc:Depends}, libxml2-dev, libcurl4-gnutls-dev | libcurl-dev, uuid-dev, pkg-config Description: Development files (headers and static libraries) for libdap OPeNDAP provides software that allows you to access data over the internet, from programs that weren't originally designed for that purpose, as well as some that were. While OPeNDAP is the original developer of the Data Access protocol which its software uses, many other groups have adopted DAP and provide compatible clients, servers and software development kits. . This package contains header files, pkgconfig files and static libraries for DAP. Package: libdap-doc Section: doc Architecture: all Depends: ${misc:Depends}, libjs-jquery Description: Documentation for the libdap Data Access Protocol library OPeNDAP provides software that allows you to access data over the internet, from programs that weren't originally designed for that purpose, as well as some that were. While OPeNDAP is the original developer of the Data Access protocol which its software uses, many other groups have adopted DAP and provide compatible clients, servers and software development kits. debian/as-needed.patch0000644000000000000000000000242512230066331012033 0ustar Author: Alastair McKinstry Description: Patch to ensure -Wl,--as-needed is NOT reordered by libtool. Note that this patch is applied by ./debian/rules AFTER autoreconf is run; it cannot be applied in ./debian/patches Bug-Debian: http://bugs.debian.org/347650 Last-Updated: 2011-09-13 Forwarded: no --- ltmain.sh.orig 2011-09-13 10:05:45.000000000 +0100 +++ ltmain.sh 2011-09-13 10:22:40.000000000 +0100 @@ -5500,6 +5500,11 @@ continue ;; + -Wl,--as-needed) + deplibs="$deplibs $arg" + continue + ;; + -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then func_fatal_error "more than one -exported-symbols argument is not allowed" @@ -6150,6 +6155,15 @@ lib= found=no case $deplib in + -Wl,--as-needed) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + fi + continue + ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" debian/watch0000644000000000000000000000020412230066331010207 0ustar version=3 http://www.opendap.org/download/libdap \ (?:|.*/)libdap(?:[_\-]v?|)(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) debian/source/0000755000000000000000000000000012230066331010462 5ustar debian/source/format0000644000000000000000000000001412230066331011670 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012230066331010611 5ustar debian/patches/series0000644000000000000000000000007012230066331012023 0ustar xml_libs.patch testsuite-failures.patch pkgconfig.patch debian/patches/curl-types-remove.patch0000644000000000000000000000125412230066331015236 0ustar Description: Remove unnecessary include that has been removed from curl, and breaks things. Author: Alastair McKinstry Forwarded: no Last-Updated: 2011-08-13 Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=80;bug=637682 Bug-Debian: http://bugs.debian.org/637682 Index: libdap-3.11.1/HTTPConnect.h =================================================================== --- libdap-3.11.1.orig/HTTPConnect.h 2011-12-07 14:05:05.000000000 +0000 +++ libdap-3.11.1/HTTPConnect.h 2011-12-07 17:08:53.000000000 +0000 @@ -30,7 +30,6 @@ #include #include -#include #include #ifndef _rc_reader_h_ debian/patches/pkgconfig.patch0000644000000000000000000000112312230066331013576 0ustar Author: Alastair McKinstry Description: Fix missing depends Last-Updated: 2011-09-05 Forwarded: no Index: libdap-3.11.1/libdapclient.pc.in =================================================================== --- libdap-3.11.1.orig/libdapclient.pc.in 2011-12-07 14:05:05.000000000 +0000 +++ libdap-3.11.1/libdapclient.pc.in 2011-12-07 17:08:53.000000000 +0000 @@ -11,6 +11,6 @@ Requires: libdap Libs: -L${libdir} -ldapclient Libs.private: @curlprivatelibs@ -Requires.private: @curlprivatereq@ +Requires.private: @curlprivatereq@, uuid Cflags: -I${includedir}/libdap debian/patches/g++47-fix.patch0000644000000000000000000000115212230066331013144 0ustar Author: Alastair McKinstry Forwwarded: no Description: GCC-4.7 is more strict on including headers. Bug-Debian: http://bugs.debian.org/672008 Index: libdap-3.11.1/ResponseBuilder.cc =================================================================== --- libdap-3.11.1.orig/ResponseBuilder.cc 2012-05-08 16:57:16.000000000 +0100 +++ libdap-3.11.1/ResponseBuilder.cc 2012-05-08 16:57:50.000000000 +0100 @@ -29,7 +29,7 @@ #include #ifndef WIN32 -// #include // for getopt +#include // for getopt, and alarm() #include #else #include debian/patches/xml_libs.patch0000644000000000000000000000144512230066331013447 0ustar Author: Alastair McKinstry Description: Fix to link correctly with XML libs Forwarded: no Last-Updated: 2011-12-08 Index: libdap-3.12.0/Makefile.am =================================================================== --- libdap-3.12.0.orig/Makefile.am 2013-10-17 22:54:41.000000000 +0100 +++ libdap-3.12.0/Makefile.am 2013-10-17 22:55:52.000000000 +0100 @@ -71,7 +71,7 @@ libdapclient_la_SOURCES = $(CLIENT_SRC) libdapclient_la_LDFLAGS = -version-info $(CLIENTLIB_VERSION) libdapclient_la_CPPFLAGS = $(AM_CPPFLAGS) $(CURL_CFLAGS) -libdapclient_la_LIBADD = $(CURL_LIBS) libdap.la $(PTHREAD_LIBS) +libdapclient_la_LIBADD = $(XML2_LIBS) $(CURL_LIBS) libdap.la $(PTHREAD_LIBS) libdapserver_la_SOURCES = $(SERVER_SRC) libdapserver_la_LDFLAGS = -version-info $(SERVERLIB_VERSION) debian/patches/testsuite-failures.patch0000644000000000000000000000177712230066331015507 0ustar Description: Disable a broken test (code works, but testsuite is broken, tests 59,60 fail incorrectly). Issue reported upstream. Author: Alastair McKinstry Forwarded: no Last-Updated: 2013-10-17 Index: libdap-3.12.0/tests/EXPRTest.at =================================================================== --- libdap-3.12.0.orig/tests/EXPRTest.at 2013-10-17 22:56:27.000000000 +0100 +++ libdap-3.12.0/tests/EXPRTest.at 2013-10-17 22:56:27.000000000 +0100 @@ -74,7 +74,7 @@ EXPR_RESPONSE_P([test.8], ["data%20name,y"], [test.8b], [pass]) EXPR_RESPONSE_P([test.9], ["Data-Set-2.fakeDim0[[0:3]],Data-Set-2.fakeDim1[[0:3]]"], [test.9], [pass]) EXPR_RESPONSE_P([test.5], [g[[1:4:9]]], [test.5e], [pass]) -EXPR_RESPONSE_P([test.6], [i[[1:4:9]]], [test.6b], [pass]) +#EXPR_RESPONSE_P([test.6], [i[[1:4:9]]], [test.6b], [pass]) EXPR_RESPONSE_P([test.a], ["" -b], [test.a], [pass]) EXPR_RESPONSE_P([test.a], ["&i<2000" -b], [test.aa], [pass]) EXPR_RESPONSE_P([test.a], ["j&i>2000" -b], [test.ab], [pass]) debian/dap-config.pkg0000755000000000000000000000311312230066331011675 0ustar #! /bin/sh # # Rewrite of dap-config, reading from pkg-config file. # This is necessary under Debian, due to multiarch; # dap-config deprecated in favour of pkg-config # - Alastair McKinstry, , 2011-09-15 usage() { cat < Thu, 17 Oct 2013 22:12:11 +0100 libdap (3.11.1-15) unstable; urgency=low * Avoid exit 1 in conditional in ./rules by adding echo. -- Alastair McKinstry Wed, 10 Jul 2013 09:24:27 +0100 libdap (3.11.1-14) unstable; urgency=low * Make use of libjs-jquery conditional; not always present. -- Alastair McKinstry Tue, 09 Jul 2013 05:01:07 +0100 libdap (3.11.1-13) unstable; urgency=low * Now use debhelper >=9 versioned depends. * Now use libjs-jquery rather than embedded copy. -- Alastair McKinstry Mon, 08 Jul 2013 11:52:44 +0100 libdap (3.11.1-12) unstable; urgency=low * libdnet-dev no longer conflicts with libdap-dev. Closes: #694655. * Standards-Version: 3.9.4. No changes required. * Enable hardening. Only some false alarms on unprotected fns left. -- Alastair McKinstry Fri, 21 Dec 2012 09:20:52 +0000 libdap (3.11.1-11) unstable; urgency=low * Fix for gcc-4.7, which is stricter on including prototypes. Closes: #672008 -- Alastair McKinstry Tue, 08 May 2012 17:15:36 +0100 libdap (3.11.1-10) unstable; urgency=low * Switch to dh_autoreconf --as-needed for ltmain-as-needed instead of patching manually. Thanks to Iain Lane. Closes: #651285. -- Alastair McKinstry Wed, 07 Dec 2011 12:59:35 +0000 libdap (3.11.1-9) unstable; urgency=low * Rewrite dap-config to call pkg-config, to work correctly with Multiarch. Now depend rather than recommend pkg-config. -- Alastair McKinstry Thu, 15 Sep 2011 05:16:35 +0100 libdap (3.11.1-8) unstable; urgency=low * Remove unnecessary ${shlibs:Depends} from -dev package. * Add -Wl,--as-needed to remove unneeded dependencies * Multi-Arch enabled. -- Alastair McKinstry Tue, 13 Sep 2011 18:47:11 +0100 libdap (3.11.1-7) unstable; urgency=low * Fix dependencies of libdap-dev. Add Dependency on uuid-dev. Closes: #640260. * Fix missing dependency in libdapclient.pc -- Alastair McKinstry Mon, 05 Sep 2011 16:40:31 +0100 libdap (3.11.1-6) unstable; urgency=low * libdap-dev: Add dependencies on libdapserver, libdapclient. Closes: #640226. -- Alastair McKinstry Sat, 03 Sep 2011 16:02:44 +0100 libdap (3.11.1-5) unstable; urgency=low * Really upload to unstable!. -- Alastair McKinstry Thu, 01 Sep 2011 14:29:33 +0100 libdap (3.11.1-4) experimental; urgency=low * Upload to unstable. Closes: #639992. -- Alastair McKinstry Thu, 01 Sep 2011 13:55:41 +0100 libdap (3.11.1-3) experimental; urgency=low * Uploato unstable; for libdapcient10, libdapserver7, change Conflicts: to Breaks,add Replaces: libdap10 -- Alastair McKinstry Fri, 26 Aug 2011 05:58:06 +0100 libdap (3.11.1-2) experimental; urgency=low * Incompatible library change libdap.so.10 becomes libdap.so.11. As the libraries within it are not changing SONAMES in sync, libdap10 has been split into libdap11, libdapclient3, libdapserver7. Closes: #638294. -- Alastair McKinstry Fri, 19 Aug 2011 16:45:44 +0100 libdap (3.11.1-1) unstable; urgency=low * New upstream release. * SONAME bump as libdap::AISConnect symbol dropped. Closes: #638022. -- Alastair McKinstry Tue, 16 Aug 2011 23:00:06 +0100 libdap (3.10.2-2) unstable; urgency=low * New B-D uuid-dev. Closes: #637760. -- Alastair McKinstry Sat, 13 Aug 2011 11:26:01 +0100 libdap (3.10.2-1) unstable; urgency=low * New upstream release. Closes: #575090. Removed patches: gcc44.patch Build-Depend on flex, bison now needed. * Standards-Version: 3.9.3. No changes required. * Remove from HTTPConnect.h; deprecated and breaks other packages. Closes: #637682. -- Alastair McKinstry Sat, 13 Aug 2011 20:01:04 +0100 libdap (3.9.3-6) unstable; urgency=low * Acknowledge NMU with Thanks. Closes: #575894. * Supply dap-config in -dev package. Closes: #576809. * Standards-Version now 3.8.4. No changes required. * Moved to source format 3.0, removed quilt dependency. -- Alastair McKinstry Wed, 07 Apr 2010 20:44:03 +0100 libdap (3.9.3-5.1) unstable; urgency=low * Non-maintainer upload. * Fixed debian/copyright: OpenNDAP is LGPL 2.1 not GPL-2 as stated in that file. (closes: #575894) * Added minimal version to quilt build-dep to make lintian happy. -- Francesco Paolo Lovergine Sat, 03 Apr 2010 23:34:07 +0200 libdap (3.9.3-5) unstable; urgency=low * Fix build rule to enable quilt patches. Closes: #547178. -- Alastair McKinstry Mon, 19 Oct 2009 15:23:33 +0100 libdap (3.9.3-4) unstable; urgency=low * libtool now needed in Build-Depends. Closes: #550024. -- Alastair McKinstry Tue, 13 Oct 2009 14:51:29 +0100 libdap (3.9.3-3) unstable; urgency=low * Delete out-of-date config.sub, config.guess and autoreconf on build. Closes: #548927. * Patch from Martin MichlMayer to fix FTBFS with g++-4.4. Closes: #547178. -- Alastair McKinstry Tue, 06 Oct 2009 17:09:46 +0100 libdap (3.9.3-2) unstable; urgency=low * Confllict: libdap-dev and libdnet-dev, as they have an identical lib. Closes: #544388. * Added libxml2-dev, libcurl4-gnutls-dev to Depends: libdap-dev, for building static library with libdap.pc * Acknowledge OPeNDAP, Inc. in debian/copyright. * Add README.source -- Alastair McKinstry Sun, 13 Sep 2009 17:27:57 +0100 libdap (3.9.3-1) unstable; urgency=low * Initial release. (Closes: #541074). -- Alastair McKinstry Tue, 11 Aug 2009 14:09:39 +0100 debian/copyright0000644000000000000000000001147412230066331011124 0ustar This package was debianised by Alastair McKinstry, on 12 August 2009. It was downloaded from: http://opendap.org/download/libdap++.html Copyright (c) 2002,2003 OPeNDAP, Inc. Some files Copyright (C) 2008 Free Software Foundation, Inc. libdap is licensed under the GNU Lesser General Public Liensse, version 2.1. On Debian systems, a copy of this license is available at /usr/share/common-licenses/LGPL-2.1 COPYRIGHT_URI ============= $Id: COPYRIGHT_URI 11906 2005-08-08 19:51:43Z root $ (c) Copyright 1994-2000 by The University of Rhode Island and The Massachusetts Institute of Technology Portions of this software were developed by the Graduate School of Oceanography (GSO) at the University of Rhode Island (URI) in collaboration with The Massachusetts Institute of Technology (MIT). Access and use of this software shall impose the following obligations and understandings on the user. The user is granted the right, without any fee or cost, to use, copy, modify, alter, enhance and distribute this software, and any derivative works thereof, and its supporting documentation for any purpose whatsoever, provided that this entire notice appears in all copies of the software, derivative works and supporting documentation. The names URI, MIT and/or GSO, may not be used in any advertising or publicity to endorse or promote any products or commercial entity unless specific written permission is obtained from URI/MIT. The user also understands that URI/MIT is not obligated to provide the user with any support, consulting, training or assistance of any kind with regard to the use, operation and performance of this software nor to provide the user with any updates, revisions, new versions or "bug fixes". THIS SOFTWARE IS PROVIDED BY URI/MIT "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL URI/MIT BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE ACCESS, USE OR PERFORMANCE OF THIS SOFTWARE. COPYRIGHT_W3C ============= W3C# SOFTWARE NOTICE AND LICENSE Copyright # 1994-2002 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/ This W3C work (including software, documents, or other related items) is being provided by the copyright holders under the following license. By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions: Permission to use, copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications, that you make: 1. The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. 2. Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, a short notice of the following form (hypertext is preferred, text is permitted) should be used within the body of any redistributed or derivative code: "Copyright # [$date-of-software] World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/" 3. Notice of any changes or modifications to the W3C files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.) THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders. debian/libdapserver7.install0000644000000000000000000000004012230066331013315 0ustar usr/lib/*/libdapserver.so.7.5.0 debian/libdapclient3.install0000644000000000000000000000004012230066331013261 0ustar usr/lib/*/libdapclient.so.3.2.0