debian/0000755000000000000000000000000013440111245007161 5ustar debian/README.Debian0000644000000000000000000000130713331414605011230 0ustar This package was built from a "_orig.tar.gz" tarball that had all Autotools-generated files removed from the upstream tarball. This was done using the "orig" target that is defined in "Makefile.am", which is part of the original upstream source package. The package is built using autoreconf, so all of those removed files are re-created upon building. Removing those files helps porting to new architectures and ensures building with the latest versions of all Autotools programs. By default, Autotools will convert a lex/flex ".l" file into a ".c" file, and leave the .c file in place during "make clean" or "make distclean". Therefore, debian/clean removes the generated ".c" file in the src directory. debian/changelog0000644000000000000000000000160213440111245011032 0ustar utfcheck (1.2-2) unstable; urgency=medium * QA upload. * debian/control: update Standards-Version. * debian/upstream/signing-key.asc: update file. -- Paul Hardy Wed, 06 Mar 2019 19:40:21 -0800 utfcheck (1.2-1) unstable; urgency=medium * Updated for Policy 4.2.1. * Simplified debian/tests/control by pointing to /usr/bin for executable. * Improved handling of undefined command line arguments (Closes: #905686). -- Paul Hardy Sun, 02 Sep 2018 17:56:58 -0700 utfcheck (1.1-2) unstable; urgency=medium * Changed compatibility level from 10 to 11. * Modified debian/tests/control. -- Paul Hardy Thu, 09 Aug 2018 06:38:56 -0700 utfcheck (1.1-1) unstable; urgency=medium * Initial release (Closes: #904943). -- Paul Hardy Sat, 04 Aug 2018 14:03:31 -0700 debian/clean0000644000000000000000000000001713331414517010173 0ustar src/utfcheck.c debian/compat0000644000000000000000000000000313333042022010355 0ustar 11 debian/control0000644000000000000000000000212713437145072010601 0ustar Source: utfcheck Maintainer: Debian QA Group Section: text Priority: optional Build-Depends: debhelper (>= 11), flex Standards-Version: 4.3.0 Homepage: http://unifoundry.com/utfcheck/ Package: utfcheck Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: check validity of UTF-8 and ASCII files The utfcheck program examines a text file and prints a summary of what the file contains: ASCII, UTF-8, UTF-16 (either big-endian or little-endian based on an initial Byte Order Mark), or binary data. ASCII and UTF-8 files are processed further; UTF-16 and binary files are not. For a UTF-8 file, the summary includes whether or not the file begins with the Unicode Byte Order Mark (U+FEFF). Any following data encountered that is not well-formed ASCII or UTF-8 Unicode is considered to be binary data; upon reading such data the input file is considered not to be a proper text file and the program exits with an error status. . The utfcheck program returns an exit status of EXIT_SUCCESS if the text file was well-formed, and EXIT_FAILURE otherwise. debian/copyright0000644000000000000000000000411013331414332011112 0ustar Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: utfcheck Upstream-Contact: Paul Hardy Source: http://unifoundry.com/pub/utfcheck Files-Excluded: aclocal.m4 autom4te.cache build-aux configure *~ */*~ INSTALL Makefile.in man/Makefile.in test/Makefile.in src/Makefile.in src/config.h.in src/utfcheck.c Files: * Copyright: Copyright 2018 Paul Hardy License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. Files: COPYING Copyright: Copyright (C) 1989, 1991 Free Software Foundation, Inc., License: GPL-2 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . Comment: This file contains the GPL 2 license, distributed but not installed. debian/docs0000644000000000000000000000002413322457047010044 0ustar AUTHORS NEWS README debian/rules0000755000000000000000000000067313331414413010251 0ustar #!/usr/bin/make -f # export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all CFLAGS = -Wall $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) %: dh $@ # # Exclude ChangeLog until dh_installchangelogs is updated, # to comply with Debian Policy Version 4.2.0. # override_dh_installchangelogs: dh_installchangelogs --exclude=ChangeLog debian/source/0000755000000000000000000000000013327377342010501 5ustar debian/source/format0000644000000000000000000000001412257502544011702 0ustar 3.0 (quilt) debian/tests/0000755000000000000000000000000013342605437010337 5ustar debian/tests/control0000644000000000000000000000007513342605437011744 0ustar Test-Command: cd test && utfcheck_bindir=/usr/bin ./test-all debian/upstream/0000755000000000000000000000000013437145216011034 5ustar debian/upstream/signing-key.asc0000644000000000000000000000766413437145201013757 0ustar -----BEGIN PGP PUBLIC KEY BLOCK----- mQINBFI9G/MBEADSuYOMN3qajJihjXpO6JQ/rpxQOSwpwUglG7gPej1krh8QkpPy GE5AydjgsMFSES1Hk1KkwSkULPYaR+omEBFBC6ZSM8li7HyPw1x6cJejY5uZ6NXu ryvmnJBQ3cb0dBhCZGMVt3qDv8KRZ3fB1GwOPF2M4oH04HFHBkxBmcpCDj/7f2sO 6BcRvqKlhGjm+w6jzyDgAvxpri/PvKsN+Os70DwOw3JzEegDrhoaW2V55v+ycXXK KRnRemBBRkM5yDtsRsrsNAWZhh9Kak2bV36Rv549+oLIvkt32e7Xeezgx5guVD1w /+oa+25ZUKwqLYvfA1cfb8wH93yR1Xy2tWoasN3XP7legHt2YsGIu5QDg9Bq1oQ+ Z1uNUYnLBYumjdlofThqAQwYxQ23DuWczAUaLZUc72r/iAN3rDLaW4rt3XpN+5fo yHV8BKRWQ/kMRlRTQADolClHog2bavj0FxYqwfChLHl9INsi2uDnzEgJWdstKq7J 3s1KRxhCt7i+D+K2ICZZMyuW0SD+N81V8gVXtAuCNvTj8kzYOaSUyn8kjJklVLwV wo3s2xSSMI4sZAwdPkwGiet+aqPn6AemGxsmmWONVpXCP9b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6+iCJlQFp4tBjK8iTGt9Y8f2 KVlf+RnpJgt6SDE1POXl2zRMdRPjBwG+7et0Qo8= =tGix -----END PGP PUBLIC KEY BLOCK----- debian/watch0000644000000000000000000000043013326673610010223 0ustar # Watch control file for uscan # See uscan(1) for format # Compulsory line; this is a version 4 file version=4 # Examine a Webserver directory opts=pgpsigurlmangle=s/$/.sig/ \ http://unifoundry.com/pub/utfcheck/utfcheck-([\d\.]+)/ \ utfcheck-([\d\.]+)\.tar\.gz