Control: tags -1 patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/compat: Bump to 9.
  * debian/control:
    - Build-depend on debhelper (>= 9).
    - Add comma between dependencies.
  * debian/rules: Convert to dh sequencer.
  * debian/{manpages,install}: Add.
  * debian/dirs: Remove.

Thanks for considering the patch.

Logan Rosen
diff -Nru sredird-2.2.1/debian/compat sredird-2.2.1/debian/compat
--- sredird-2.2.1/debian/compat	2003-07-08 09:09:41.000000000 -0400
+++ sredird-2.2.1/debian/compat	2016-08-07 02:04:46.000000000 -0400
@@ -1 +1 @@
-4
+9
diff -Nru sredird-2.2.1/debian/control sredird-2.2.1/debian/control
--- sredird-2.2.1/debian/control	2003-07-08 09:13:04.000000000 -0400
+++ sredird-2.2.1/debian/control	2016-08-07 02:14:23.000000000 -0400
@@ -2,12 +2,12 @@
 Section: comm
 Priority: optional
 Maintainer: Russell Coker <russ...@coker.com.au>
-Build-Depends: debhelper (>> 4.0.0)
+Build-Depends: debhelper (>= 9)
 Standards-Version: 3.5.8
 
 Package: sredird
 Architecture: any
-Depends: ${shlibs:Depends} ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: RFC 2217 compliant Telnet serial port redirector
  Sredird is a serial port redirector that is compliant with the RFC 2217
  "Telnet Com Port Control Option" protocol. This protocol lets you share a
diff -Nru sredird-2.2.1/debian/dirs sredird-2.2.1/debian/dirs
--- sredird-2.2.1/debian/dirs	2003-07-08 09:09:41.000000000 -0400
+++ sredird-2.2.1/debian/dirs	1969-12-31 19:00:00.000000000 -0500
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
diff -Nru sredird-2.2.1/debian/install sredird-2.2.1/debian/install
--- sredird-2.2.1/debian/install	1969-12-31 19:00:00.000000000 -0500
+++ sredird-2.2.1/debian/install	2016-08-07 02:11:09.000000000 -0400
@@ -0,0 +1 @@
+sredird usr/sbin
diff -Nru sredird-2.2.1/debian/manpages sredird-2.2.1/debian/manpages
--- sredird-2.2.1/debian/manpages	1969-12-31 19:00:00.000000000 -0500
+++ sredird-2.2.1/debian/manpages	2016-08-07 02:10:53.000000000 -0400
@@ -0,0 +1 @@
+sredird.8
diff -Nru sredird-2.2.1/debian/rules sredird-2.2.1/debian/rules
--- sredird-2.2.1/debian/rules	2003-07-08 09:37:07.000000000 -0400
+++ sredird-2.2.1/debian/rules	2016-08-07 02:07:35.000000000 -0400
@@ -1,98 +1,3 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-
-	touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-	#/usr/bin/docbook-to-man debian/sredird.sgml > sredird.1
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/sredird.
-	#$(MAKE) install DESTDIR=$(CURDIR)/debian/sredird
-	cp sredird debian/sredird/usr/sbin
-
-
-# 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_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman sredird.8
-#	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_perl
-#	dh_python
-#	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+	dh $@

Reply via email to