Imported Debian patch 0.0~git20110716.8c27363-1
authorAndres Mejia <amejia@debian.org>
Sat, 16 Jul 2011 23:25:21 +0000 (19:25 -0400)
committerAndres Mejia <mcitadel@gmail.com>
Sat, 16 Jul 2011 23:48:11 +0000 (19:48 -0400)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/gbp.conf [new file with mode: 0644]
debian/libnfs-dev.install [new file with mode: 0644]
debian/libnfs-get-orig-source [new file with mode: 0755]
debian/libnfs0.install [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..304d4eb
--- /dev/null
@@ -0,0 +1,5 @@
+libnfs (0.0~git20110716.8c27363-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #634086)
+
+ -- Andres Mejia <amejia@debian.org>  Sat, 16 Jul 2011 19:25:21 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..ab684b8
--- /dev/null
@@ -0,0 +1,35 @@
+Source: libnfs
+Section: libs
+Priority: optional
+Maintainer: Andres Mejia <amejia@debian.org>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.9.2
+Homepage: https://github.com/sahlberg/libnfs
+
+Package: libnfs-dev
+Architecture: any
+Section: libdevel
+Depends: libnfs0 (= ${binary:Version}),
+         ${misc:Depends}
+Description: NFS client library (development files)
+ LIBNFS is a client library for accessing NFS shares over a network.
+ .
+ LIBNFS offers three different APIs, for different use :
+ 1, RAW : A fully async low level rpc library for nfs protocols
+ 2, NFS ASYNC : A fully asynchronous library for high level vfs functions
+ 3, NFS SYNC : A synchronous library for high level vfs functions
+ .
+ This package provides the necessary files needed for development.
+
+Package: libnfs0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: NFS client library (shared library)
+ LIBNFS is a client library for accessing NFS shares over a network.
+ .
+ LIBNFS offers three different APIs, for different use :
+ 1, RAW : A fully async low level rpc library for nfs protocols
+ 2, NFS ASYNC : A fully asynchronous library for high level vfs functions
+ 3, NFS SYNC : A synchronous library for high level vfs functions
+ .
+ This package provides the shared library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..900f8c4
--- /dev/null
@@ -0,0 +1,66 @@
+Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
+Upstream-Name: libnfs
+Upstream-Contact: Ronnie Sahlberg <ronniesahlberg@gmail.com>
+Source: https://github.com/sahlberg/libnfs
+
+Files: *
+Copyright: 2010-2011 Ronnie Sahlberg <ronniesahlberg@gmail.com>
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library. If not, see
+ <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU Lesser General Public
+ License version 2.1 can be found in the file
+ '/usr/share/common-licenses/LGPL-2.1'.
+
+Files: examples/*
+Copyright: 2010-2011 Ronnie Sahlberg <ronniesahlberg@gmail.com>
+License: GPL-3+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 3
+ of the License, or (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ '/usr/share/common-licenses/GPL-3'.
+
+Files: debian/*
+Copyright: 2011, Andres Mejia <amejia@debian.org>
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library. If not, see
+ <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU Lesser General Public
+ License version 2.1 can be found in the file
+ '/usr/share/common-licenses/LGPL-2.1'.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644 (file)
index 0000000..1615f89
--- /dev/null
@@ -0,0 +1,6 @@
+[DEFAULT]
+upstream-branch = upstream
+debian-branch = master
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+pristine-tar = True
diff --git a/debian/libnfs-dev.install b/debian/libnfs-dev.install
new file mode 100644 (file)
index 0000000..746c714
--- /dev/null
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/libnfs.so
+usr/lib/libnfs.a
diff --git a/debian/libnfs-get-orig-source b/debian/libnfs-get-orig-source
new file mode 100755 (executable)
index 0000000..fa4e56a
--- /dev/null
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# Script used to generate the orig source tarball for libnfs.
+
+LIBNFS_GIT_URL="git://github.com/sahlberg/libnfs.git"
+LIBNFS_GIT_COMMIT="8c27363e21f667a01e75f585b897c3b36d8f5245"
+DATE_RETRIEVED="20110716"
+COMMIT_SHORT_FORM="$(echo $LIBNFS_GIT_COMMIT | \
+                     sed -e 's/^\([[:xdigit:]]\{,7\}\).*/\1/')"
+LIBNFS_VERSION="0.0~git${DATE_RETRIEVED}.${COMMIT_SHORT_FORM}"
+
+git clone "$LIBNFS_GIT_URL" "libnfs-${LIBNFS_VERSION}"
+
+cd "libnfs-${LIBNFS_VERSION}"
+git checkout "$LIBNFS_GIT_COMMIT"
+./bootstrap
+cd ..
+
+# Remove temp files and other cruft from source tarball
+# The find command snippet here was taken from debhelper's dh_clean command
+# with some modification to delete more unneeded files.
+echo "Removing temp files and other cruft from source tarball"
+find libnfs-${LIBNFS_VERSION} \( \( -type f -a \
+  \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
+  -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
+  -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
+  -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
+  -o -name config.status -o -name config.cache -o -name config.log \
+  \) -exec rm -f "{}" \; \) -o \
+  \( -type d -a -name autom4te.cache -prune -exec rm -rf "{}" \; \) \)
+rm -rf libnfs-${LIBNFS_VERSION}/.git
+rm -f libnfs-${LIBNFS_VERSION}/.gitignore
+
+# Remove empty directories
+echo "Removing empty directories"
+find libnfs-${LIBNFS_VERSION} -type d -empty -delete
+
+tar --exclude-vcs -czf "libnfs_${LIBNFS_VERSION}.orig.tar.gz" \
+  "libnfs-${LIBNFS_VERSION}/"
diff --git a/debian/libnfs0.install b/debian/libnfs0.install
new file mode 100644 (file)
index 0000000..da98ed8
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/libnfs.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..fb9ca85
--- /dev/null
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+# Set CFLAGS to DEB_CFLAGS
+CFLAGS=$(DEB_CFLAGS)
+
+%:
+       dh $@ --parallel
+
+override_dh_clean:
+       dh_clean examples/Makefile
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..0d9c19a
--- /dev/null
@@ -0,0 +1,2 @@
+# There is currently no upstream source tarball. This package is generated
+# from upstream's git vcs.