--- cutils-1.6.orig/debian/changelog
+++ cutils-1.6/debian/changelog
@@ -0,0 +1,74 @@
+cutils (1.6-3) unstable; urgency=low
+
+ * Change build-depends to use flex-old rather than flex;
+ builds now (closes: #253654)
+ * Updated standards-version to 3.6.1
+ * Updated debhelper to 4
+
+ -- Hamish Moffatt <hamish@debian.org> Sun, 15 Aug 2004 15:26:29 +1000
+
+cutils (1.6-2) unstable; urgency=low
+
+ * Downgraded DH_COMPAT to 2 since it doesn't need 3 anyway (closes: #119977)
+ * Fixed bug in debian/rules clean target (forgot to run dh_clean)
+
+ -- Hamish Moffatt <hamish@debian.org> Sun, 25 Nov 2001 14:04:40 +1100
+
+cutils (1.6-1) unstable; urgency=low
+
+ * New upstream release (closes: #107859)
+
+ -- Hamish Moffatt <hamish@debian.org> Sat, 11 Aug 2001 11:42:09 +1000
+
+cutils (1.5.2-8) unstable; urgency=low
+
+ * Applied patch to fix bug in cobfusc (closes: #69580)
+ * Updated Standards-Version
+
+ -- Hamish Moffatt <hamish@debian.org> Wed, 6 Dec 2000 20:47:18 +1100
+
+cutils (1.5.2-7) unstable; urgency=low
+
+ * Added build-deps for debhelper, flex and bison | byacc (closes: #70281)
+
+ -- Hamish Moffatt <hamish@debian.org> Tue, 7 Nov 2000 17:57:50 +1100
+
+cutils (1.5.2-6) unstable; urgency=low
+
+ * FHS compliant
+ * Converted from debstd to debhelper
+
+ -- Hamish Moffatt <hamish@debian.org> Fri, 1 Oct 1999 18:31:21 +1000
+
+cutils (1.5.2-5) unstable; urgency=low
+
+ * Removed misleading README.Debian, fixes: #39300
+
+ -- Hamish Moffatt <hamish@debian.org> Fri, 25 Jun 1999 22:08:00 +1000
+
+cutils (1.5.2-4) frozen unstable; urgency=low
+
+ * Fixes for glibc-2.1, fixes #29541
+
+ -- Hamish Moffatt <hamish@debian.org> Sun, 22 Nov 1998 10:17:00 +1000
+
+cutils (1.5.2-3) unstable; urgency=low
+
+ * Removed the /usr/doc/cutils/examples files, as the only thing
+ present was a Makefile without corresponding source (fixes#27457)
+
+ -- Hamish Moffatt <hamish@debian.org> Tue, 06 Oct 1998 20:35:00 +1000
+
+cutils (1.5.2-2) frozen unstable; urgency=low
+
+ * Recompiled with debmake 3.5.10 (was 3.5.4) to fix uncompressed
+ changelog problems found by lintian
+
+ -- Hamish Moffatt <hamish@debian.org> Mon, 13 Apr 1998 12:30:00 +1000
+
+cutils (1.5.2-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Hamish Moffatt <hamish@debian.org> Thu, 11 Dec 1997 00:47:19 +1100
+
--- cutils-1.6.orig/debian/copyright
+++ cutils-1.6/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Hamish Moffatt <hamish@debian.org>.
+The original source was downloaded from
+ftp.vix.com:/guests/ssigala/pub/cutils
+
+Copyright (c) 1995, 1996, 1997
+ Sandro Sigala, Brescia, Italy. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- cutils-1.6.orig/debian/cutils.dirs
+++ cutils-1.6/debian/cutils.dirs
@@ -0,0 +1 @@
+usr/share
--- cutils-1.6.orig/debian/control
+++ cutils-1.6/debian/control
@@ -0,0 +1,20 @@
+Source: cutils
+Section: devel
+Priority: optional
+Maintainer: Hamish Moffatt <hamish@debian.org>
+Standards-Version: 3.6.1
+Build-Depends: debhelper (>= 4), flex-old, bison | byacc
+
+Package: cutils
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: cweb
+Description: C source code utilities
+ This package contains several utilities which may be useful to
+ developers of C source code utilities, namely:
+ cdecl and cundecl - decode and encode C type declarations
+ cobfusc - make a C source file unreadable but compilable
+ chilight - highlight C source files
+ cunloop - unloop C loops
+ yyextract - extract grammar rules from yacc grammar
+ yyref - yacc grammar reference program
--- cutils-1.6.orig/debian/rules
+++ cutils-1.6/debian/rules
@@ -0,0 +1,50 @@
+#!/usr/bin/make -f
+
+export DH_COMPAT=4
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ ./configure --prefix=/usr
+ make
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_clean
+ -rm -f build-stamp
+ -make distclean
+ -rm -f `find . -name "*~"`
+ -rm -rf debian/cutils debian/files* core debian/substvars
+
+binary-indep:
+
+# There are no architecture-independent files to be uploaded
+# generated by this package. If there were any they would be
+# made here.
+
+binary-arch: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) install prefix=`pwd`/debian/cutils/usr
+ rm -rf debian/cutils/usr/info
+ mv debian/cutils/usr/man debian/cutils/usr/share
+
+ dh_installdocs NEWS README CREDITS
+ dh_installinfo doc/cutils.info
+ dh_installchangelogs
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+
+binary: binary-indep binary-arch
+.PHONY: binary binary-arch binary-indep clean