Package: fusesmb
Version: 0.8.7-1.2
Severity: wishlist
Tags: patch

Hi.

Attached are some updates to the packaging of fusesmb. I have uploaded a
new package to mentors.debian.net. The package is here:

dget http://mentors.debian.net/debian/pool/main/f/fusesmb/fusesmb_0.8.7-1.2.dsc


Regards, Rogério Brito.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fusesmb depends on:
ii  fuse-utils                    2.8.1-1.1  Filesystem in USErspace (utilities
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libfuse2                      2.8.1-1.1  Filesystem in USErspace library
ii  libsmbclient                  2:3.4.3-1  shared library for communication w
ii  samba-common                  2:3.4.3-1  common files used by both the Samb
ii  samba-common-bin              2:3.4.3-1  common files used by both the Samb

fusesmb recommends no packages.

fusesmb suggests no packages.

-- no debconf information

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
diff -Nru fusesmb-0.8.7/debian/changelog fusesmb-0.8.7/debian/changelog
--- fusesmb-0.8.7/debian/changelog	2009-12-10 11:03:32.000000000 -0200
+++ fusesmb-0.8.7/debian/changelog	2009-12-10 10:54:43.000000000 -0200
@@ -1,3 +1,32 @@
+fusesmb (0.8.7-1.2) unstable; urgency=low
+
+  * NMU upload.
+  * use format "3.0 (quilt)" to expose spurious changes in the build process.
+  * debian/copyright:
+    + point to a versioned license to be correct (GPL -> GPL-2).
+    + change (c), and (C) to ©.
+  * debian/{compat,control}:
+    + increase debhelper dependency to 5.
+  * debian/rules:
+    + copy config.{sub,guess} *before* configuration, and delete then when
+      clean target. It is wrong otherwise.
+    + wrap configuration file for legibility.
+    + separate LDFLAGS from CFLAGS to keep things tidy.
+    + include --as-needed and -O1 linker flags.
+    + remove useless comments in the makefile.
+    + made sure that that the package builds with binutils-gold.
+  * debian/control:
+    + put homepage field.
+    + include misc-depends (due to debhelper).
+    + wrap fields for legibility.
+    + remove samba-common from build-depends (only samba-common-bin is needed).
+    + update standards-version to 3.8.3 (no further changes needed).
+  * debian/{links,manpages}:
+    + create as a step to allow easier minimization of debian/rules.
+    + avoid creating a duplicate manpage when a symlink is enough.
+
+ -- Rogério Brito <[email protected]>  Thu, 10 Dec 2009 10:54:11 -0200
+
 fusesmb (0.8.7-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru fusesmb-0.8.7/debian/compat fusesmb-0.8.7/debian/compat
--- fusesmb-0.8.7/debian/compat	2005-06-05 07:09:24.000000000 -0300
+++ fusesmb-0.8.7/debian/compat	2009-12-08 17:25:33.000000000 -0200
@@ -1 +1 @@
-4
+5
diff -Nru fusesmb-0.8.7/debian/control fusesmb-0.8.7/debian/control
--- fusesmb-0.8.7/debian/control	2009-12-10 11:03:32.000000000 -0200
+++ fusesmb-0.8.7/debian/control	2009-12-10 10:51:52.000000000 -0200
@@ -2,12 +2,14 @@
 Section: utils
 Priority: optional
 Maintainer: Samuel Mimram <[email protected]>
-Build-Depends: debhelper (>= 4.0.0), autotools-dev, samba-common, libsmbclient-dev, libfuse-dev, samba-common-bin
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5), autotools-dev, libsmbclient-dev,
+	       libfuse-dev, samba-common-bin
+Standards-Version: 3.8.3
+Homepage: http://www.ricardis.tudelft.nl/~vincent/fusesmb/
 
 Package: fusesmb
 Architecture: any
-Depends: ${shlibs:Depends}, fuse-utils, samba-common, samba-common-bin
+Depends: ${shlibs:Depends}, ${misc:Depends}, fuse-utils, samba-common, samba-common-bin
 Description: filesystem client based on the SMB file transfer protocol
  fusesmb is a filesystem client based on the SMB file transfer protocol. This
  gives the ability to transparently exchange files with Microsoft Windows
diff -Nru fusesmb-0.8.7/debian/copyright fusesmb-0.8.7/debian/copyright
--- fusesmb-0.8.7/debian/copyright	2009-12-10 11:03:32.000000000 -0200
+++ fusesmb-0.8.7/debian/copyright	2009-12-10 10:54:06.000000000 -0200
@@ -22,7 +22,7 @@
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
 On Debian systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL'.
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
 
 
 
@@ -34,7 +34,7 @@
 
   The MIT License
  
-  Copyright (c) 2006 Vincent Wagelaar
+  Copyright © 2006 Vincent Wagelaar
  
   Permission is hereby granted, free of charge, to any person obtaining a
   copy of this software and associated documentation files (the
@@ -59,7 +59,7 @@
 * hash.c is under the following license:
 
   Hash Table Data Type
-  Copyright (C) 1997 Kaz Kylheku <[email protected]>
+  Copyright © 1997 Kaz Kylheku <[email protected]>
  
   Free Software License:
  
diff -Nru fusesmb-0.8.7/debian/links fusesmb-0.8.7/debian/links
--- fusesmb-0.8.7/debian/links	1969-12-31 21:00:00.000000000 -0300
+++ fusesmb-0.8.7/debian/links	2009-12-10 11:02:31.000000000 -0200
@@ -0,0 +1 @@
+usr/share/man/man1/fusesmb.1 usr/share/man/man1/fusesmb.cache.1
diff -Nru fusesmb-0.8.7/debian/manpages fusesmb-0.8.7/debian/manpages
--- fusesmb-0.8.7/debian/manpages	1969-12-31 21:00:00.000000000 -0300
+++ fusesmb-0.8.7/debian/manpages	2009-12-10 10:39:09.000000000 -0200
@@ -0,0 +1,2 @@
+fusesmb.1
+fusesmb.conf.5
diff -Nru fusesmb-0.8.7/debian/rules fusesmb-0.8.7/debian/rules
--- fusesmb-0.8.7/debian/rules	2009-12-10 11:03:32.000000000 -0200
+++ fusesmb-0.8.7/debian/rules	2009-12-10 10:49:18.000000000 -0200
@@ -1,21 +1,11 @@
 #!/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.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-CFLAGS = -Wall -g
+CFLAGS += -Wall -g
+LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
@@ -31,10 +21,17 @@
 
 config.status: configure
 	dh_testdir
-	CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure $(confflags) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+	cp -f /usr/share/misc/config.sub config.sub
+	cp -f /usr/share/misc/config.guess config.guess
+
+	CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure $(confflags) \
+		--prefix=/usr \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info
 
 build: build-stamp
-build-stamp:  config.status
+build-stamp: config.status
 	dh_testdir
 	$(MAKE)
 	touch build-stamp
@@ -45,14 +42,8 @@
 	rm -f build-stamp
 
 	[ ! -f Makefile ] || $(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
 
-	dh_clean
+	dh_clean config.sub config.guess
 
 install: build
 	dh_testdir
@@ -61,12 +52,9 @@
 	dh_installdirs
 
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/fusesmb
-	cp fusesmb.1 $(CURDIR)/debian/fusesmb/usr/share/man/man1/fusesmb.cache.1
 
-# Build architecture-independent files here.
 binary-indep: build install
 
-# Build architecture-dependent files here.
 binary-arch: build install
 	dh_testdir
 	dh_testroot
diff -Nru fusesmb-0.8.7/debian/source/format fusesmb-0.8.7/debian/source/format
--- fusesmb-0.8.7/debian/source/format	1969-12-31 21:00:00.000000000 -0300
+++ fusesmb-0.8.7/debian/source/format	2009-12-10 11:03:33.000000000 -0200
@@ -0,0 +1 @@
+3.0 (quilt)

Reply via email to