]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Imported Debian patch 1.1.2-6 debian/1%1.1.2-6
authorSteinar H. Gunderson <sesse@debian.org>
Mon, 14 Jul 2008 09:20:59 +0000 (11:20 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 14 Jul 2010 02:00:35 +0000 (03:00 +0100)
debian/README.source [new file with mode: 0644]
debian/changelog
debian/control
debian/nfs-common.init
debian/patches/04-eacces-is-a-permanent-error.patch
debian/rules

diff --git a/debian/README.source b/debian/README.source
new file mode 100644 (file)
index 0000000..66a5588
--- /dev/null
@@ -0,0 +1,29 @@
+nfs-utils for Debian
+====================
+
+nfs-utils for Debian is packaged using quilt. To get started:
+
+  sudo aptitude install quilt
+  export QUILT_PATCHES=debian/patches/
+
+To get the complete source as built, use the "patch" target in debian/rules or,
+equivalently:
+
+  quilt push -a
+
+To make a new modification, first apply all patches as described above, and
+then
+
+  quilt new 99-my-local-patch.patch
+  quilt edit foo/bar.c
+  quilt edit baz/quux.c
+  quilt refresh
+
+To get the tree back in pristine form, use the "unpatch" target in debian/rules
+or, equivalently:
+
+  quilt pop -a
+
+Happy hacking!
+
+ -- Steinar H. Gunderson <sesse@debian.org>, Mon, 14 Jul 2008 11:20:34 +0200
index f2a0c7913783a39f8435d615418c7d767330b17d..1b7ab491639ff3e1fe9eac6608e38d34d00e33fd 100644 (file)
@@ -1,3 +1,18 @@
+nfs-utils (1:1.1.2-6) unstable; urgency=high
+
+  * Load nfsd.ko before starting idmapd, to hopefully fix NFSv4 export issues.
+    (Closes: #490181)
+  * Bump to Standards-Version 3.8.0.1.
+    * Added README.source with basic information on use of quilt.
+    * Added (adapted from the example in Policy) debian/rules code to 
+      parse DEB_BUILD_OPTIONS and support noopt and parallel= targets.
+      (nostrip is already handled by debhelper.)
+  * Remove DEB_HOST_ARCH setting from debian/rules, as it was not used
+    anywhere.
+  * Refresh 04-eacces-is-a-permanent-error.patch to get rid of the offset.
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Mon, 14 Jul 2008 11:20:59 +0200
+
 nfs-utils (1:1.1.2-5) unstable; urgency=high
 
   * 05-default-use-old-mount-interface.patch: New patch, disables the
index a8f337d32509e8e3e6b476b79179fa2ec1ae6a00..7062153d6f779878c135bc2038f6da555477cbd8 100644 (file)
@@ -4,7 +4,7 @@ Section: net
 Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
 Uploaders: Steinar H. Gunderson <sesse@debian.org>, Daniel Baumann <daniel@debian.org>
 Build-Depends: debhelper (>= 5), libwrap0-dev, libevent-dev, libnfsidmap-dev, libkrb5-dev, libgssglue-dev (>= 0.1-1), librpcsecgss-dev (>= 0.16-1), libblkid-dev, libkeyutils-dev, pkg-config, quilt (>= 0.40), libldap2-dev
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0.1
 Homepage: http://nfs.sourceforge.net/
 
 Package: nfs-kernel-server
index 3364207f42d45cc1c1e81b40ecacdbf353b3f775..dc93bea0846a3a13f080b793259339b26982ab19 100644 (file)
@@ -149,6 +149,7 @@ case "$1" in
        then
            do_modprobe sunrpc
            do_modprobe nfs
+           do_modprobe nfsd
            if do_mount rpc_pipefs $PIPEFS_MOUNTPOINT
            then
                if [ "$NEED_IDMAPD" = yes ]
index d3d2406026de4ba8f359651cc864f4e317fea3a0..fe5dae6dcdd5e7b9feacdcfb691faf6194dbbf51 100644 (file)
@@ -2,7 +2,7 @@ Index: nfs-utils-1.1.2/utils/mount/stropts.c
 ===================================================================
 --- nfs-utils-1.1.2.orig/utils/mount/stropts.c
 +++ nfs-utils-1.1.2/utils/mount/stropts.c
-@@ -252,7 +252,6 @@ static int set_mandatory_options(const c
+@@ -289,7 +289,6 @@ static int set_mandatory_options(const c
  static int is_permanent_error(int error)
  {
        switch (error) {
index 5a65ec5ccf949a0c8361a25f7caad1c770e3eed4..1386ba1d852008e102e3188c2384b238f273017c 100755 (executable)
@@ -2,7 +2,18 @@
 
 include /usr/share/quilt/quilt.make
 
-DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+# Parsing of DEB_BUILD_OPTIONS flags.
+# Note that nostrip is handled automatically by debhelper.
+CFLAGS := -g -Wall
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+    CFLAGS += -O0
+else
+    CFLAGS += -O2
+endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+    NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+    MAKEFLAGS += -j$(NUMJOBS)
+endif
 
 # Temporary root
 DEBTMP := $(CURDIR)/debian/tmp
@@ -10,11 +21,11 @@ DEBTMP := $(CURDIR)/debian/tmp
 build: patch build-stamp
 build-stamp:
        dh_testdir
-       CFLAGS="-g -O2 -Wall" ./configure \
+       CFLAGS="$(CFLAGS)" ./configure \
                --mandir='$${prefix}/share/man' \
                --enable-secure-statd \
                --with-tcp-wrappers
-       $(MAKE)
+       $(MAKE) $(MAKEFLAGS)
        touch build-stamp
 
 clean: unpatch