debian/0000755000000000000000000000000012256061100007157 5ustar debian/libcurl-ocaml.install.in0000644000000000000000000000005411553064765013723 0ustar @OCamlStdlibDir@/curl/dll*.so @OCamlDllDir@ debian/changelog0000644000000000000000000001303712256061100011035 0ustar ocurl (0.5.3-2build4) trusty; urgency=medium * Rebuild for ocaml-4.01. -- Matthias Klose Mon, 23 Dec 2013 16:18:08 +0000 ocurl (0.5.3-2build3) precise; urgency=low * Rebuild with ocamlopt on armhf. -- Colin Watson Tue, 24 Jan 2012 10:51:21 +0000 ocurl (0.5.3-2build2) precise; urgency=low * Rebuild for OCaml 3.12.1. -- Colin Watson Sat, 19 Nov 2011 00:58:32 +0000 ocurl (0.5.3-2build1) oneiric; urgency=low * Rebuild to pick up ocaml fixes on armel. -- Adam Conrad Wed, 24 Aug 2011 16:28:18 -0600 ocurl (0.5.3-2) unstable; urgency=low * Team upload * Ignore CURLE_URL_MALFORMAT_USER (fixes FTBFS with recent curl) * Add debian/watch * Switch source package format to 3.0 (quilt) * Bump Standards-Version to 3.9.2 (no changes) -- Stéphane Glondu Mon, 18 Apr 2011 18:46:28 +0200 ocurl (0.5.3-1) unstable; urgency=low * New upstream release (Closes: #576824) * Use quilt (convert patches to quilt format) * Update standards version to 3.8.4 (no changes needed) -- Mehdi Dogguy Wed, 07 Apr 2010 22:34:47 +0200 ocurl (0.5.1-2) unstable; urgency=low [ Pietro Abate ] * Switch packaging to git [ Stephane Glondu ] * Use ocaml.mk as a CDBS "rules" file (Closes: #549775) [ Mehdi Dogguy ] * Use ocaml section * Add myself as uploader * Bump Standards-Versions to 3.8.3 - Add a README.source * Use new features of dh-ocaml (>= 0.9) - Generate documentation using dh_ocamldoc * Reorder included files in debian/rules to workaround a CDBS bug -- Mehdi Dogguy Thu, 08 Oct 2009 14:29:35 +0200 ocurl (0.5.1-1) unstable; urgency=low [ Pietro Abate ] * new upstream release (0.5.1) * Bumped Standards-Versions to 3.8.1, no changes needed [ Enrico Tassi ] * updated to debhelper 7 -- Enrico Tassi Mon, 16 Mar 2009 18:39:44 +0100 ocurl (0.2.1-14) unstable; urgency=low * Rebuild against ocaml 3.11 * Added dh-ocaml to build-depends * Bumped Standards-Versions to 3.8.0, no changes needed * Switched to @OCamlStdlibDir@ and @OCamlDllDir@ * Added ${misc:Depends} to make lintian happy -- Enrico Tassi Mon, 09 Mar 2009 22:13:55 +0100 ocurl (0.2.1-13) unstable; urgency=low [ Enrico Tassi ] * rebuild against ocaml 3.10.1 * added Homepage field in control file * bumped Standards-version to 3.7.3, no changes needed [ Stefano Zacchiroli ] * fix vcs-svn field to point just above the debian/ dir -- Enrico Tassi Sat, 09 Feb 2008 16:56:39 +0100 ocurl (0.2.1-12) unstable; urgency=low * Fixed clean target (Closes: #442693) -- Enrico Tassi Sun, 16 Sep 2007 21:52:45 +0200 ocurl (0.2.1-11) unstable; urgency=low * rebuilt against ocaml 3.10.0 * added automatic generation of documentation -- Enrico Tassi Wed, 16 May 2007 11:52:03 +0200 ocurl (0.2.1-9) unstable; urgency=low * Fixed typo in description (Closes: #404556) -- Enrico Tassi Wed, 16 May 2007 11:49:11 +0200 ocurl (0.2.1-8) unstable; urgency=low * moved to ocaml CBDS class * rebuilt against curl abi 4 (Closes: #423816) -- Enrico Tassi Mon, 14 May 2007 17:30:13 +0200 ocurl (0.2.1-7) unstable; urgency=low * rebuilt against 3.09.2 -- Enrico Tassi Thu, 18 May 2006 19:32:07 +0200 ocurl (0.2.1-6) unstable; urgency=low * updated maintainer email addres to gareuselesinge@debian.org * rebuilt against 3.09.1 -- Enrico Tassi Sat, 14 Jan 2006 10:54:52 +0100 ocurl (0.2.1-5) unstable; urgency=low * fixed missing curl.a in -dev package -- Enrico Tassi Sun, 27 Nov 2005 17:29:28 +0100 ocurl (0.2.1-4) unstable; urgency=low * rebuilt against ocaml 3.09.0 (Closes: #338568) * moved debian/rules to cdbs * no more ocaml-version hardcoded inside any file. @OCamlABI@ is substituted in any FILE.in file (except control.in) at build time by the ocamlinit: rule producing the corresponding FILE in debian/. -- Enrico Tassi Sun, 27 Nov 2005 16:13:19 +0100 ocurl (0.2.1-3) unstable; urgency=low * waited libcurl3-gnutls-dev 7.15.0-2 entered unstable on all archs. now build-depends are enough (Closes: #333692) -- Enrico Tassi Wed, 19 Oct 2005 23:59:17 +0200 ocurl (0.2.1-2) unstable; urgency=low * linked against libcurl3-gnutls(-dev) (Closes: #333261) -- Enrico Tassi Tue, 11 Oct 2005 14:46:39 +0200 ocurl (0.2.1-1) unstable; urgency=low * new upstream release -- Enrico Tassi Mon, 22 Aug 2005 14:05:02 +0200 ocurl (0.2.0-4) unstable; urgency=low * fixed description -- Enrico Tassi Mon, 18 Jul 2005 21:06:21 +0200 ocurl (0.2.0-3) unstable; urgency=low * Fixed -fPIC issue, now we use ocamlc instead of gcc to compile curl-helper.c (Closes: Bug#302645) -- Enrico Tassi Mon, 4 Apr 2005 20:40:29 +0200 ocurl (0.2.0-2) unstable; urgency=low * Rebuilt against ocaml 3.08.3 -- Enrico Tassi Tue, 29 Mar 2005 11:30:45 +0200 ocurl (0.2.0-1) unstable; urgency=low * Initial Release. -- Enrico Tassi Mon, 17 Jan 2005 17:51:22 +0100 debian/rules0000755000000000000000000000067611553064765010273 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/ocaml.mk PKGNAME = libcurl-ocaml-dev DESTDIR := $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR) DEB_MAKE_BUILD_TARGET = all NO_CUSTOM=y DEB_MAKE_CLEAN_TARGET = clean DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DESTDIR) OCAML_OCAMLDOC_PACKAGES= $(OCAML_LIBDEV_PACKAGES) build/$(PKGNAME):: mkdir -p $(DESTDIR) debian/libcurl-ocaml-dev.dirs.in0000644000000000000000000000002611553064765013771 0ustar @OCamlStdlibDir@/curl debian/README.source0000644000000000000000000000026511553064765011364 0ustar This package use dpatch for patching the source. Please consider reading dpatch manpage to patch the source. -- Mehdi Dogguy , Thu, 8 Oct 2009 13:54:45 +0200 debian/libcurl-ocaml-dev.ocamldoc0000644000000000000000000000005111553064765014202 0ustar # Documentation generated by dh_ocamldoc debian/gbp.conf0000644000000000000000000000003611553064765010620 0ustar [DEFAULT] pristine-tar = True debian/libcurl-ocaml-dev.install.in0000644000000000000000000000015511553064765014501 0ustar @OCamlStdlibDir@/curl/META @OCamlStdlibDir@/curl/*.a @OCamlStdlibDir@/curl/*.cm* @OCamlStdlibDir@/curl/*.ml* debian/control0000644000000000000000000000263611553065477010615 0ustar Source: ocurl Section: ocaml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Enrico Tassi , Mehdi Dogguy , Pietro Abate Build-Depends: debhelper (>= 7.0.50~), libcurl4-gnutls-dev (>= 7.15.0-2), ocaml-nox (>= 3.10.1), ocaml-findlib (>= 1.2.5), libkrb5-dev, cdbs, dh-ocaml (>= 0.9) Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocurl.git Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocurl.git Homepage: http://sourceforge.net/projects/ocurl Package: libcurl-ocaml-dev Architecture: any Depends: ${ocaml:Depends}, libcurl4-gnutls-dev (>= 7.15.0-2), ocaml-findlib (>= 1.2.5), ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Description: OCaml libcurl bindings (Development package) This Objective Caml library provides multi-protocol file transfer facilities based on the curl library. . This package contains the development part of the OCaml curl package. Package: libcurl-ocaml Architecture: any Depends: ${shlibs:Depends}, ${ocaml:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Description: OCaml curl bindings (Runtime Library) This Objective Caml library provides multi-protocol file transfer facilities based on the curl library. . This package contains only the shared runtime stub libraries. debian/copyright0000644000000000000000000000250711553064765011141 0ustar This package was debianized by Enrico Tassi on Mon, 17 Jan 2005 17:51:22 +0100. It was downloaded from http://sourceforge.net/projects/ocurl Copyright: Upstream Author: Lars Nilsson License: Copyright (c) 2003, Lars Nilsson, Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/source/0000755000000000000000000000000011553064765010502 5ustar debian/source/format0000644000000000000000000000001411553064765011710 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000005611553064765010234 0ustar version=3 http://sf.net/ocurl/ocurl-(.*)\.tgz debian/patches/0000755000000000000000000000000011553065013010614 5ustar debian/patches/0001-fixes-makefile-to-use-ocamlfind-and-support-both-byt.patch0000644000000000000000000000504211553065013024251 0ustar From: Enrico Tassi Date: Wed, 7 Apr 2010 22:42:24 +0200 Subject: [PATCH] fixes makefile to use ocamlfind and support both byte and opt compilation --- Makefile.in | 30 ++++++++++++++++-------------- 1 files changed, 16 insertions(+), 14 deletions(-) diff --git a/Makefile.in b/Makefile.in index 5eff392..13df227 100644 --- a/Makefile.in +++ b/Makefile.in @@ -10,7 +10,7 @@ INSTALLDIR = @INSTALLDIR@ INSTALL = @INSTALL@ INSTALLDATA = @INSTALL_DATA@ -FINDLIB = @OCAMLFIND@ +FINDLIB = ocamlfind OCBYTE = @OCAMLC@ OCOPT = @OCAMLOPT@ @@ -31,9 +31,9 @@ CURLFLAGS = -ccopt @CURLFLAGS@ CURLCLIBS = -cclib -lcurl-helper -cclib "@CURLLIBS@" ifeq (@OCAMLBEST@,opt) -TARGETS = curl.cma curl.cmxa libcurl-helper.a +TARGETS = curl.cma curl.cmxa libcurl-helper.a dllcurl-helper.so else -TARGETS = curl.cma libcurl-helper.a +TARGETS = curl.cma libcurl-helper.a dllcurl-helper.so endif all: @@ -45,11 +45,11 @@ targets: $(TARGETS) examples examples: (cd examples; $(MAKE)) -curl.cma: $(CURLBCOBJS) libcurl-helper.a - $(OCBYTE) -custom -a $(FLAGS) $(CURLFLAGS) -o $@ $(CURLBCOBJS) $(CURLCLIBS) +curl.cma: $(CURLBCOBJS) libcurl-helper.so + ocamlmklib -o curl $(CURLBCOBJS) -oc curl-helper @CURLLIBS@ -curl.cmxa: $(CURLOBJS) libcurl-helper.a - $(OCOPT) -a $(FLAGS) $(CURLFLAGS) $(LIBS) $(CURLOBJS) -o $@ $(CURLCLIBS) +curl.cmxa: $(CURLOBJS) libcurl-helper.so + ocamlmklib -o curl $(CURLOBJS) -oc curl-helper @CURLLIBS@ .ml.cmx: $(OCOPT) -c $(FLAGS) $< -o $@ @@ -60,17 +60,18 @@ curl.cmxa: $(CURLOBJS) libcurl-helper.a .ml.cmo: $(OCBYTE) -c $(FLAGS) $< -o $@ -libcurl-helper.a: $(CURLHELPEROBJS) - ar crus libcurl-helper.a $(CURLHELPEROBJS) - ranlib libcurl-helper.a +libcurl-helper.a libcurl-helper.so: $(CURLHELPEROBJS) + ocamlmklib -oc curl-helper $(CURLHELPEROBJS) @CURLLIBS@ .c.o: - $(CC) -c -Wall $(CFLAGS) $(CAMLINCDIR) $< -o $@ + $(OC) -c -ccopt "$(CFLAGS)" $< install: ifeq ($(FINDLIB),ocamlfind) - ocamlfind install curl META $(wildcard *.cmi) \ - $(wildcard *.a) $(wildcard *.cma) $(wildcard *.cmxa) + ocamlfind install -destdir $(DESTDIR) -ldconf ignore \ + curl META $(wildcard *.cmi) \ + $(wildcard *.a) $(wildcard *.cma) \ + $(wildcard *.cmxa) $(wildcard *.so) $(wildcard *.mli) else mkdir -p $(INSTALLDIR) $(INSTALLDATA) curl.cma $(INSTALLDIR) @@ -83,7 +84,8 @@ endif clean: - @rm -f $(TARGETS) *~ *.cm* *.o *.a .depend core + @rm -f $(TARGETS) *~ *.cm* *.o *.a *.so .depend core + @rm -f foo.ld.conf config.log config.status @(cd examples; $(MAKE) clean) depend: -- debian/patches/series0000644000000000000000000000022111553064765012041 0ustar 0001-fixes-makefile-to-use-ocamlfind-and-support-both-byt.patch 0002-fix-compilation-flags.patch 0003-CURLE_URL_MALFORMAT_USER-is-obsolete.patch debian/patches/0002-fix-compilation-flags.patch0000644000000000000000000000107111553065013016407 0ustar From: Enrico Tassi Date: Wed, 7 Apr 2010 22:44:32 +0200 Subject: [PATCH] fix compilation flags --- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 84a7df9..55d45bf 100755 --- a/configure +++ b/configure @@ -1655,8 +1655,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu CURLDIR=`curl-config --cflags` -CURLFLAGS=`curl-config --libs | cut -d ' ' -f 1` -CURLLIBS=`curl-config --libs | cut -d ' ' -f 2-` +CURLFLAGS='-L .' +CURLLIBS=`curl-config --libs` CFLAGS=$CURLDIR -- debian/patches/0003-CURLE_URL_MALFORMAT_USER-is-obsolete.patch0000644000000000000000000000116211553064765020311 0ustar From: Stephane Glondu Date: Mon, 18 Apr 2011 18:41:40 +0200 Subject: CURLE_URL_MALFORMAT_USER is obsolete Signed-off-by: Stephane Glondu --- curl-helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/curl-helper.c b/curl-helper.c index ce99890..0fe7483 100644 --- a/curl-helper.c +++ b/curl-helper.c @@ -172,7 +172,7 @@ CURLErrorMapping errorMap[] = #else {"CURLE_URL_MALFORMAT", -1}, #endif -#if HAVE_DECL_CURLE_URL_MALFORMAT_USER +#if 0 {"CURLE_URL_MALFORMAT_USER", CURLE_URL_MALFORMAT_USER}, #else {"CURLE_URL_MALFORMAT_USER", -1}, -- debian/compat0000644000000000000000000000000211553064765010400 0ustar 7 debian/libcurl-ocaml.dirs.in0000644000000000000000000000003211553064765013212 0ustar @OCamlStdlibDir@/stublibs debian/clean0000644000000000000000000000004411553065477010206 0ustar Makefile config.h examples/Makefile