[Pkg-ocaml-maint-commits] r966 - in packages/rpc: . trunk trunk/debian trunk/debian/patches

Thomas Petazzoni tpetazzo-guest@costa.debian.org
Sun, 13 Feb 2005 15:14:22 +0100


Author: tpetazzo-guest
Date: 2005-02-13 15:14:12 +0100 (Sun, 13 Feb 2005)
New Revision: 966

Added:
   packages/rpc/tags/
   packages/rpc/trunk/
   packages/rpc/trunk/camlrpc_0.4.1.orig.tar.gz
   packages/rpc/trunk/debian/
   packages/rpc/trunk/debian/README.Debian
   packages/rpc/trunk/debian/changelog
   packages/rpc/trunk/debian/compat
   packages/rpc/trunk/debian/control
   packages/rpc/trunk/debian/copyright
   packages/rpc/trunk/debian/dirs
   packages/rpc/trunk/debian/docs
   packages/rpc/trunk/debian/librpc-ocaml-dev.dirs
   packages/rpc/trunk/debian/librpc-ocaml-dev.docs
   packages/rpc/trunk/debian/librpc-ocaml-dev.examples
   packages/rpc/trunk/debian/librpc-ocaml-dev.install
   packages/rpc/trunk/debian/librpc-ocaml-dev.manpages
   packages/rpc/trunk/debian/ocamlrpcgen.1
   packages/rpc/trunk/debian/patches/
   packages/rpc/trunk/debian/patches/00list
   packages/rpc/trunk/debian/rules
   packages/rpc/trunk/debian/watch
Log:
Add the camlrpc source package that generates the librpc-ocaml-dev binary package.

Added: packages/rpc/trunk/camlrpc_0.4.1.orig.tar.gz
===================================================================
(Binary files differ)


Property changes on: packages/rpc/trunk/camlrpc_0.4.1.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: packages/rpc/trunk/debian/README.Debian
===================================================================
--- packages/rpc/trunk/debian/README.Debian	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/README.Debian	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1,6 @@
+camlrpc for Debian
+------------------
+
+OCaml-RPC is configured so that it generates ocamlrpcgen, the generator for the RPC language mapping and so that it includes the HTTP tunnel. Support for Diffie-Hellman authentication and authenticated Unix domain sockets is not included.
+
+ -- Paquet OCAML-RPC <demexp.contact@demexp.org>, Thu,  4 Nov 2004 22:55:02 +0100

Added: packages/rpc/trunk/debian/changelog
===================================================================
--- packages/rpc/trunk/debian/changelog	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/changelog	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1,30 @@
+camlrpc (0.4.1-4) unstable; urgency=low
+
+  * In fact, modifying DISTCLEAN targets of Makefile is useless, because
+    DISTCLEAN is run before the compilation process, and 'depend' files
+    are created during the compilation process. So, we go back to a 'find'
+    solution in debian/rules.
+
+ -- Thomas Petazzoni <thomas.petazzoni@enix.org>  Sun, 13 Feb 2005 14:48:49 +0100
+
+camlrpc (0.4.1-3) unstable; urgency=low
+
+  * Fixed Makefiles to add DISTCLEAN everywhere it is needed. It is required
+    in order to handle the 'depend' files generated everywhere in the source
+    tree. 
+
+ -- Thomas Petazzoni <thomas.petazzoni@enix.org>  Mon,  7 Feb 2005 23:30:02 +0100
+
+camlrpc (0.4.1-2) unstable; urgency=low
+
+  * Manpage added for ocamlrpcgen
+  * Remove useless 'depend' files in examples/
+  * Fix upstream-author warning of Lintian
+
+ -- Thomas Petazzoni <thomas.petazzoni@enix.org>  Sun,  6 Feb 2005 19:17:02 +0100
+
+camlrpc (0.4.1-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Thomas Petazzoni <thomas.petazzoni@enix.org>  Thu,  4 Nov 2004 22:55:02 +0100

Added: packages/rpc/trunk/debian/compat
===================================================================
--- packages/rpc/trunk/debian/compat	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/compat	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1 @@
+4

Added: packages/rpc/trunk/debian/control
===================================================================
--- packages/rpc/trunk/debian/control	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/control	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1,14 @@
+Source: camlrpc
+Section: devel
+Priority: optional
+Maintainer: Paquet OCAML-RPC <demexp.contact@demexp.org>
+Build-Depends: debhelper (>= 4.0.0), ocaml-nox-3.08, ocaml-findlib, libequeue-ocaml-dev, dpatch (>= 1.19)
+Standards-Version: 3.6.1
+
+Package: librpc-ocaml-dev
+Section: libdevel
+Architecture: any
+Depends: ocaml-nox-3.08
+Description: ocaml rpc libraries
+ This package contains the development part of the camlrpc package.
+

Added: packages/rpc/trunk/debian/copyright
===================================================================
--- packages/rpc/trunk/debian/copyright	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/copyright	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1,28 @@
+This package was debianized by Thomas Petazzoni <thomas.petazzoni@enix.org> on
+Thu,  4 Nov 2004 22:55:02 +0100.
+
+It was downloaded from http://www.ocaml-programming.de/programming/rpc.html
+
+Copyright (C) 1999 by Gerd Stolpmann
+
+Upstream Author: Gerd Stolpmann <gerd@gerd-stolpmann.de>
+
+License:
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the "rpc" software (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 Gerd Stolpmann 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.

Added: packages/rpc/trunk/debian/dirs
===================================================================
--- packages/rpc/trunk/debian/dirs	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/dirs	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1 @@
+usr/lib/ocaml/3.08

Added: packages/rpc/trunk/debian/docs
===================================================================
--- packages/rpc/trunk/debian/docs	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/docs	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1 @@
+README

Added: packages/rpc/trunk/debian/librpc-ocaml-dev.dirs
===================================================================
--- packages/rpc/trunk/debian/librpc-ocaml-dev.dirs	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/librpc-ocaml-dev.dirs	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1,2 @@
+usr/lib/ocaml/3.08
+usr/bin

Added: packages/rpc/trunk/debian/librpc-ocaml-dev.docs
===================================================================
--- packages/rpc/trunk/debian/librpc-ocaml-dev.docs	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/librpc-ocaml-dev.docs	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1 @@
+doc/README

Added: packages/rpc/trunk/debian/librpc-ocaml-dev.examples
===================================================================
--- packages/rpc/trunk/debian/librpc-ocaml-dev.examples	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/librpc-ocaml-dev.examples	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1 @@
+examples/*

Added: packages/rpc/trunk/debian/librpc-ocaml-dev.install
===================================================================
--- packages/rpc/trunk/debian/librpc-ocaml-dev.install	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/librpc-ocaml-dev.install	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1,4 @@
+usr/lib/ocaml/3.08/rpc/META
+usr/lib/ocaml/3.08/rpc/*.a
+usr/lib/ocaml/3.08/rpc/*.cm*
+usr/lib/ocaml/3.08/rpc/*.ml*

Added: packages/rpc/trunk/debian/librpc-ocaml-dev.manpages
===================================================================
--- packages/rpc/trunk/debian/librpc-ocaml-dev.manpages	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/librpc-ocaml-dev.manpages	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1 @@
+debian/ocamlrpcgen.1

Added: packages/rpc/trunk/debian/ocamlrpcgen.1
===================================================================
--- packages/rpc/trunk/debian/ocamlrpcgen.1	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/ocamlrpcgen.1	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1,42 @@
+.TH ocamlrpcgen 1 "2004"
+.SH NAME
+ocamlrpcgen \- Ocaml module generator for RPC message handling
+.SH SYNOPSIS
+.B ocamlrpcgen
+[\fIOPTION\fR] \fIfile.xdr\fR...
+.SH DESCRIPTION
+.B ocamlrpcgen
+is a command-line tool that generates O'Caml modules which greatly
+simplify the creation and invocation of remote procedures. It uses
+description files in the XDR format.
+.TP
+\fB\-aux\fR
+Generates file_aux.ml file
+.TP
+\fB\-clnt\fR
+Generates file_clnt.ml file
+.TP
+\fB\-srv\fR
+Generates file_srv.ml file
+.TP
+\fB\-int v\fR
+Set the default variant of the language mapping of int
+.TP
+\fB\-hyper v\fR
+Set the default variant of the language mapping of hyper
+.TP
+\fB\-cpp p\fR
+Call the command p as preprocessor
+.TP
+\fB\-D var=value\fR
+Define the preprocessor variable var
+.TP
+\fB\-U var\fR
+Undefine the preprocessor variable var
+.TP
+\fB\-help\fR, \fB\--help\fR
+Display the list of options
+.SH AUTHOR
+This manual page was written by Thomas Petazzoni
+<thomas.petazzoni@enix.org> for the Debian GNU/Linux system (but may
+be used by others).

Added: packages/rpc/trunk/debian/patches/00list
===================================================================

Added: packages/rpc/trunk/debian/rules
===================================================================
--- packages/rpc/trunk/debian/rules	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/rules	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1,82 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+PACKAGE = camlrpc
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+OCAML_LIBDIR=`ocamlc -where`
+
+DESTDIR=$(CURDIR)/debian/librpc-ocaml-dev/$(OCAML_LIBDIR)
+BINDIR=$(CURDIR)/debian/librpc-ocaml-dev/usr/bin/
+
+# We use dpatch
+include /usr/share/dpatch/dpatch.make
+PACKAGE = camlrpc
+
+configure-stamp: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	./configure -with-ocamlrpcgen -bindir $(BINDIR)
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: patch-stamp configure-stamp
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) all
+	if [ -x /usr/bin/ocamlopt ]; then \
+		$(MAKE) opt; \
+	fi
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore
+	find . -name 'depend' -exec rm {} \;
+
+# 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_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 


Property changes on: packages/rpc/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/rpc/trunk/debian/watch
===================================================================
--- packages/rpc/trunk/debian/watch	2005-02-12 12:30:56 UTC (rev 965)
+++ packages/rpc/trunk/debian/watch	2005-02-13 14:14:12 UTC (rev 966)
@@ -0,0 +1,2 @@
+version=2
+http://www.ocaml-programming.de/packages/rpc-([0-9\.]*)\.tar\.gz