debian/0000775000000000000000000000000012236745404007177 5ustar debian/copyright0000664000000000000000000000131112233673067011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Tofrodos Source: http://www.thefreecountry.com/tofrodos/index.shtml Comment: The only change to the original source tarball is the removal of fromdos.exe and todos.exe and recompression with xz. Files: * Copyright: 1996-2013 Christopher Heng License: GPL-2 Files: debian/* Copyright: 2005-2006, Florian Ernst 2008-2011, Alexander Reichle-Schmehl 2013, Markus Koschany License: GPL-2 License: GPL-2 On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/control0000664000000000000000000000175312236744513010610 0ustar Source: tofrodos Section: utils Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Markus Koschany Build-Depends: debhelper (>= 9) Standards-Version: 3.9.5 Homepage: http://www.thefreecountry.com/tofrodos/index.shtml Vcs-Git: git://anonscm.debian.org/collab-maint/tofrodos.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/tofrodos.git Package: tofrodos Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: Converts DOS <-> Unix text files, alias tofromdos DOS text files traditionally have CR/LF (carriage return/line feed) pairs as their new line delimiters while Unix text files traditionally have LFs (line feeds) to terminate each line. . Tofrodos comprises one program, "fromdos" alias "todos", which converts text files to and from these formats. Use "fromdos" to convert DOS text files to the Unix format, and "todos" to convert Unix text files to the DOS format. debian/compat0000664000000000000000000000000212233673067010377 0ustar 9 debian/docs0000664000000000000000000000003112233673067010046 0ustar readme.txt tofrodos.html debian/doc-base0000664000000000000000000000041212233673067010576 0ustar Document: tofrodos Title: Debian tofrodos manual Author: Christopher Heng Abstract: This manual describes the functionality of tofrodos. Section: File Management Format: HTML Index: /usr/share/doc/tofrodos/tofrodos.html Files: /usr/share/doc/tofrodos/tofrodos.html debian/watch0000664000000000000000000000036312233673067010234 0ustar version=3 opts=uversionmangle=s/(\d)[\.\-]?((rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,dversionmangle=s/\+(dfsg|debian|ds|repack|repacked)// \ http://www.thefreecountry.com/tofrodos/index.shtml .*/tofrodos-(\d.*)\.(?:tgz|tbz2|tar\.(?:gz|bz2|xz)) debian/changelog0000664000000000000000000002651012236745376011065 0ustar tofrodos (1.7.13+ds-1ubuntu1) trusty; urgency=low * Fix a FTBFS due to dpkg-parsechangelog failure. -- Chris J Arges Thu, 07 Nov 2013 11:04:29 -0600 tofrodos (1.7.13+ds-1) unstable; urgency=low [ Alexander Reichle-Schmehl ] * Fix last changelog entry, remove the "NOT RELEASED YET" entry. (Closes: #645830) Thanks to Josh Triplett for noticing! [ Markus Koschany ] * New Maintainer. (Closes: #726553) * New upstream release. (Closes: #692421) - Drop FTBFS_non-linux.patch. Merged upstream. * Switch to source format 3.0. * Bump compat level to 9 and require debhelper >= 9. * Bump Standards-Version to 3.9.5, no changes. * Improve watch file. Thanks to Bart Martens. * Drop README.source and build dependency on quilt. Source format 3.0 uses quilt by default. * Drop NEWS file because it is obsolete. * Register tofrodos.html with doc-base. * Switch to dh sequencer. * Add a get-orig-source target to debian/rules. * Enable all hardening build flags. * debian/control: - Maintain tofrodos in a Git repository. Change VCS-fields accordingly. - Drop Conflicts field in debian/control. It is obsolete. * Update debian/copyright to copyright format 1.0. -- Markus Koschany Tue, 29 Oct 2013 09:22:17 +0100 tofrodos (1.7.9.debian.1-1) unstable; urgency=low * Fix Vcs-Svn header in debian/control * New upstream release * Add recommended targets build-arch and build-indep to debian/rules * Enable LFS support (Closes: #616439), thanks to Lionel Elie Mamane for the hint * Bump standards to 3.9.2 (no changes needed) * Apply patch from Guillem Jover to fix build on linux arches (drop patches/FTBFS_kfreebsd.diff, new patch is patches/FTBFS_non-linux.diff). Also thanks to Svante Signell for his inital work! (Closes: #622365) -- Alexander Reichle-Schmehl Tue, 18 Oct 2011 16:46:35 +0200 tofrodos (1.7.8.debian.1-2) unstable; urgency=low * Change maintainer name * Drop dos2unix and unix2dos symlinks, to allow introduction of original dos2unix package. (remove dh_link call and add NEWS about that) * Add README.source * Bump standards version to 3.8.3 (no further changes needed) -- Alexander Reichle-Schmehl Thu, 21 Jan 2010 21:25:26 +0100 tofrodos (1.7.8.debian.1-1) unstable; urgency=low * New upstream release -- Alexander Schmehl Wed, 28 May 2008 21:03:03 +0200 tofrodos (1.7.7.debian.1-2) unstable; urgency=low * New upstream release * Fixed watchfile to mangle version correctly CLARIFICATION added after this upload got accepted: By accident this new upstream release got the package revision -2, but the orig.source was indeed included in this upload, so the package got accepted before I noticed this error. So if you wonder where 1.7.7.debian.1-1 is: There is none and will never be. Sorry. -- Alexander Schmehl Tue, 08 Apr 2008 02:50:01 +0200 tofrodos (1.7.6.debian.1-1) unstable; urgency=low * New Maintainer (Closes: #467287) * debian/control: - Moved Homepage semiheader to new one - Added Vcs-Svn and Vcs-Browser header - Bumped standards version to 3.7.3 (no changes needed) * Removed precompiled stuff from tarball (Closes: #126777) - Added explanation to debian/copyright - Added version mangle to debian/watch * Replaced debian/changelog by one in the more common based on the dh_make template * install HTML documentation * moved to quilt instead of dpatch -- Alexander Schmehl Sun, 24 Feb 2008 17:17:44 +0100 tofrodos (1.7.6-2) unstable; urgency=low * Fix FTBFS on GNU/kFreeBSD, patch by Robert Millan (Closes: #351417) -- Florian Ernst Tue, 7 Feb 2006 12:01:25 +0100 tofrodos (1.7.6-1) unstable; urgency=low * The sysutils package previously contained the utilities - memtester - procinfo - tofrodos - bogomips Except for the latter they are all split out into a separate package now as those utilities are fairly disconnected. This will eventually fix bug#253302. bogomips will be just dropped, use "cat /proc/cpuinfo | grep ^bogo" instead. * debian/watch: added -- Florian Ernst Thu, 29 Dec 2005 15:09:38 +0100 sysutils (2.0.0-1) unstable; urgency=low * A plethora of changes, so jumping to version 2.0.0 for now * New maintainer, taking over with the previous maintainer's consent + changing to non-native packaging for the time being + follow current standards / best practices - make sure the package includes a Section header (Closes: #226303) - correct copyright reference and manpage placement (Closes: #127123) - extend / clarify long description, thanks to Justin B Rye (Closes: #332818) - drop legacy Conflicts and Replaces that were once necessary for Potato + using dpatch for any in-package adjustments * New upstream releases of most subparts (Closes: #340153), like + bogomips updated to 1.4.1 - supposedly doesn't just fail on error (Closes: #198757) + memtester updated to 4.0.5 - doesn't segfault anymore on a 2.6 kernel (Closes: #287611) - rewritten to be 64-bit clean (Closes: #126776) - can be run as non-root user, thus allows special tests (Closes: #259425), so also moving to /usr/bin + tofrodos updated to 1.7.6 (Closes: #306191) - dos2unix errors now go to stderr, not stdout (Closes: #140956) - dos2unix now behaves as expected (Closes: #149116) - clarifies symlinks (Closes: #180723) - corrects -d and -u explanation in manpage (Closes: #177874) * Further changes: + procinfo: - add 41_procinfo_use_HZ_from_kernel.dpatch, thanks to Guus Sliepen (Closes: #94337) - add 42_procinfo_paging_swap_disk_statistics_on_2.6.dpatch and 43_procinfo_fix_CPU_percentage_display_on_2.6.dpatch, thanks to Arkadi Shishlov for the pointer and patch (Closes: #293429, #266589); this combined with 48_procinfo_simplify_counting_CPUs.dpatch allows procinfo to add up correctly on sparc, thanks to Peter Hunter (Closes: #174645) - add 44_procinfo_extend_load_average_in_manpage.dpatch, thanks to Kingsley G. Morse Jr. (Closes: #153946) - add 45_procinfo_prevent_buffer_overflows.dpatch, thanks to Benoit Dejean (Closes: #319980) - reinclude socklist utility, even though better alternatives such as lsof exist (Closes: #161237) - add 46_procinfo_manpage_typo.dpatch, thanks to A Costa (Closes: #305960) + tofrodos: - correct one typo in manpage, the others are actually correct, by adding 61_tofrodos_manpage_typo.dpatch (Closes: #305959) + debian/copyright: updated according to changes + debian/{postinst,prerm}: removed, not needed anymore; thus finally finishing the /usr/doc transition (Closes: #320084, #322798) + debian/sysutils.1: clarified (Closes: #305961) -- Florian Ernst Wed, 23 Nov 2005 22:51:49 +0100 sysutils (1.3.8.5.1) unstable; urgency=low * Non-maintainer upload, with the maintainer's permission. * Install /usr/doc symlink in the postinst and remove it in the prerm, rather than directly in the .deb (closes: #120025, #124304). * Call dh_clean in debian/rules' clean target. * Add 'Section: utils' to control file. -- Colin Watson Fri, 11 Jan 2002 02:14:29 +0000 sysutils (1.3.8.5) unstable; urgency=low * Fixed missing /usr/doc symlink (closes: bug#96211) -- Lonnie Sauter Thu, 03 May 2001 15:41:07 -0600 sysutils (1.3.8.4) unstable; urgency=low * Fixed missing debhelper in Build-Depends (closes: bug#92267) * New version of procinfo 18 -- Lonnie Sauter Sun, 22 Apr 2001 15:41:07 -0600 sysutils (1.3.8.3) unstable; urgency=low * Fixed missing depends (closes: bug#93611) -- Lonnie Sauter Sat, 7 Apr 2001 15:41:07 -0600 sysutils (1.3.8.2) unstable; urgency=low * Fixed missing build depends in source package (closes: bug#92267) -- Lonnie Sauter Sat, 7 Apr 2001 15:41:07 -0600 sysutils (1.3.8.1) stable; urgency=low * New version of memtester (2.93.1) * Fix typo in package description (closes: bug#74065) Patch received from Raphael Manfredi -- Lonnie Sauter Thu, 1 Nov 2000 15:41:07 -0400 sysutils (1.3.7.2) unstable; urgency=low * patch to fix running "procinfo -d" on SMP kernels. Patch received from Raphael Manfredi -- Lonnie Sauter Thu, 4 May 2000 15:41:07 -0400 sysutils (1.3.7.1) unstable; urgency=low * patch to fix SIGILL in procinfo on alpha/sparc/etc (closes: bug#46144). Patch received from Jason Gunthorpe . -- Lonnie Sauter Sat, 5 Feb 2000 15:41:07 -0400 sysutils (1.3.7) unstable; urgency=low * New version of memtest (closes: bug#52062) -- Lonnie Sauter Sun, 9 Jan 2000 15:41:07 -0400 sysutils (1.3.6.2) unstable; urgency=low * I just took over this package. -- Lonnie Sauter Sun, 9 Jan 2000 15:41:07 -0400 sysutils (1.3.6.1) unstable; urgency=low * Orphaned. I only ever took it because it needed to be moved to the new packaging scheme. I don't use it. I don't even have it installed. -- Michael Alan Dorman Sun, 10 Oct 1999 15:41:07 -0400 sysutils (1.3.6) unstable; urgency=low * Corrected perl dependency (closes: bug#41489, bug#41401) -- Michael Alan Dorman Mon, 19 Jul 1999 09:44:42 -0400 sysutils (1.3.5) unstable; urgency=low * New version of procinfo. (closes: bug#37794, bug#36468, bug#33924) * Perms bugs taken care of (closes: bug#36831) * Last update also corrected problems with absolute file names (closes: bug#29747) -- Michael Alan Dorman Sun, 11 Jul 1999 16:24:24 -0400 sysutils (1.3.4) unstable; urgency=low * Close old fixed bug (closes: bug#5989) * Close old fixed bug (closes: bug#7682) * Code in procinfo should cope with no /proc/modules (closes: bug#13515) * Updated procinfo (closes: bug#29392) * Corrected description of included packages (closes: bug#30125) * procinfo update prints all irqs (closes: bug#31036) * tofrodos does work (closes: bug#33535) * tofrodos now has switch to preserve ownership (closes: bug#35172) -- Michael Alan Dorman Mon, 29 Mar 1999 14:02:41 -0500 sysutils (1.3.3) unstable; urgency=low * New release. * Correct package description. (Bug#10375,18966) * Update version of procinfo to latest. (Bug#12079,18269,19929,23010) * Correct extention of manpage symlinks. (Bug#18562,24952) * Correct declaration of argv in memtest. (Bug#23581) -- Michael Alan Dorman Sun, 1 Nov 1998 14:59:59 -0500 sysutils (1.3.2) unstable; urgency=low * New release corrected a couple of debian/rules issues. -- Michael Alan Dorman Sun, 17 Dec 2017 03:53:58 -0500 sysutils (1.3.1) unstable; urgency=low * Nonmaintainerrelease for libc6 -- Christoph Lameter Thu, 13 Nov 1997 10:45:08 +0000 sysutils (1.3) unstable; urgency=low * New packaging scheme instituted -- Michael Alan Dorman Fri, 4 Jul 1997 20:57:19 -0400 debian/dirs0000664000000000000000000000003312233673067010061 0ustar usr/bin usr/share/man/man1 debian/rules0000775000000000000000000000332212236744026010256 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) PKD = $(abspath $(dir $(MAKEFILE_LIST))) PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source)) UVER = $(shell dpkg-parsechangelog -l$(PKD)/changelog | grep Version: | cut -d' ' -f2-) DTYPE = +ds VER ?= $(subst $(DTYPE),,$(UVER)) %: dh $@ override_dh_auto_clean: cd $(CURDIR)/src \ && $(MAKE) clean \ && $(RM) -r -v fromdos todos override_dh_auto_build: cd $(CURDIR)/src && $(MAKE) CDEBUG="$(CFLAGS)" LDEBUG="$(LDFLAGS)" override_dh_auto_install: cd $(CURDIR)/src && $(MAKE) install \ BINDIR=$(CURDIR)/debian/tofrodos/usr/bin \ MANDIR=$(CURDIR)/debian/tofrodos/usr/share/man/man1 ## http://wiki.debian.org/onlyjob/get-orig-source .PHONY: get-orig-source get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.xz $(info I: $(PKG)_$(VER)$(DTYPE)) @ $(PKG)_$(VER)$(DTYPE).orig.tar.xz: @echo "# Downloading..." uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(PKD) $(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exist, aborting..)) @echo "# Extracting..." mkdir $(PKG)-$(VER) \ && tar -xf $(PKG)_$(VER).orig.tar.* --directory $(PKG)-$(VER) --strip-components 1 \ || $(RM) -r $(PKG)-$(VER) @echo "# Cleaning-up..." cd $(PKG)-$(VER) \ && $(RM) -v \ *.exe @echo "# Packing..." find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \ | XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \ && $(RM) -r "$(PKG)-$(VER)" debian/source/0000775000000000000000000000000012233673067010501 5ustar debian/source/format0000664000000000000000000000001412233673067011707 0ustar 3.0 (quilt)