Sync from SUSE:ALP:Source:Standard:1.0 dos2unix revision 10f263bbd1f1324e166ca942035a9742

This commit is contained in:
Adrian Schröter 2023-12-18 17:08:15 +01:00
commit 51655210ba
6 changed files with 571 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
dos2unix-7.5.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

10
dos2unix-7.5.1.tar.gz.asc Normal file
View File

@ -0,0 +1,10 @@
-----BEGIN PGP SIGNATURE-----
iQEcBAABAgAGBQJk7kbGAAoJEDjB9XKxJyW+4DUH/RfqnHViH8/532oZRycIz3Di
hYYqkziR2DwJaW07VU13HtQFS2iLr1FXDgnOnkVFWP4EKqxTPiS1DO5Wlblb0iVN
p9xurEJ2SfvAtlgtXxH2RynLSukg9YBfXGi4MTsodxQouAgmjFFo/KOODI5M+A+R
ZmG/4VtYmarBskhzY0oEeCLAjMmIQMXZKDOmd2uNeXuibQWBa/F/k/OwXqLKBo+M
70nHAqQOqfRRX6myY7jAH/rmEZZIInwTx7LJ1uNvzVJFpV9Jxj9MAGZl2CWmD712
FmJRY9Ys0vwjPbsLtJlMkXafATNHBEIXgN/nm94ddxteI6QYRAy3u6WT+o+EhAI=
=CSer
-----END PGP SIGNATURE-----

446
dos2unix.changes Normal file
View File

@ -0,0 +1,446 @@
-------------------------------------------------------------------
Wed Aug 30 16:43:37 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 7.5.1:
* Fix problem of converting a symbolic link target that is on
another file system
* Updated Chinese and Serbian translations
-------------------------------------------------------------------
Thu May 18 08:21:08 UTC 2023 - Andreas Stieger <Andreas.Stieger@gmx.de>
- update to 7.5.0:
* New option -e, --add-eol to add a line break to the last line
if the isn't one
* New option -O, --to-stdout to write to standard output
-------------------------------------------------------------------
Sun Feb 12 10:02:30 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 7.4.4:
* translation updates
-------------------------------------------------------------------
Mon Jun 6 16:03:41 UTC 2022 - Илья Индиго <ilya@ilya.cf>
- Added directory with localized man pages.
-------------------------------------------------------------------
Sun Jun 5 18:37:10 UTC 2022 - Erwin Waterlander <waterlan@xs4all.nl>
- update to 7.4.3:
* translation update
-------------------------------------------------------------------
Thu Feb 11 23:10:58 UTC 2021 - Antoine Belvire <antoine.belvire@opensuse.org>
- Remove localized man directories from file list: Already provided
by filesystem.
-------------------------------------------------------------------
Thu Oct 15 19:37:37 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 7.4.2:
* translation update
- add upstream signing key and verify source signature
-------------------------------------------------------------------
Wed Sep 25 15:16:51 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 7.4.1:
* translation updates
* code cleanup
-------------------------------------------------------------------
Wed Oct 11 21:55:03 UTC 2017 - waterlan@xs4all.nl
- Update to 7.3.5
* New option --allow-chown to allow file ownership change
in old file mode.
-------------------------------------------------------------------
Mon Jul 10 23:01:17 UTC 2017 - jengelh@inai.de
- Replace suboptimal find \;
-------------------------------------------------------------------
Thu Jul 6 07:50:15 UTC 2017 - dimstar@opensuse.org
- Use find -exec instead of find | xargs: helps handle cases for
files with spaces and quotes in their filenames.
-------------------------------------------------------------------
Wed Jul 5 19:33:38 UTC 2017 - waterlan@xs4all.nl
- Update to 7.3.5
-------------------------------------------------------------------
Wed May 25 20:59:41 UTC 2016 - waterlan@xs4all.nl
- Update to 7.3.4
-------------------------------------------------------------------
Sun Feb 14 13:20:51 UTC 2016 - waterlan@xs4all.nl
- Update to 7.3.3
-------------------------------------------------------------------
Fri Nov 20 22:21:01 UTC 2015 - waterlan@xs4all.nl
- Update to 7.3.2
* New: Swedish translation of messages and manual.
* Updated: Danish and Brazilian Portuguese translations.
* Fix: The -iso option was misinterpreted as a corrupted -i option.
* Fix: Compilation for MSYS 1.
-------------------------------------------------------------------
Thu Oct 1 20:56:26 UTC 2015 - waterlan@xs4all.nl
- Update to 7.3.1
* New: Simplified Chinese translation of messages and manual.
* Fix: Compilation error "'wchar_t' undeclared" when Unicode support is disabled.
* Fix: Compilation errors when MinGW compiler was used (MinGW-w64 was OK).
-------------------------------------------------------------------
Tue Aug 25 20:01:40 UTC 2015 - waterlan@xs4all.nl
- Update to 7.3
* New: Unicode file name support on Windows.
* Fix: Options -ul and -ub caused option -i to report wrong BOM for no_bom.
-------------------------------------------------------------------
Fri Jul 3 18:13:26 UTC 2015 - waterlan@xs4all.nl
- Update to 7.2.3
* Fix: Check for file I/O errors while reading input files, and added
a few missing checks while writing output files.
* Fix: Compilation for msys.
-------------------------------------------------------------------
Sat May 23 15:04:36 UTC 2015 - waterlan@xs4all.nl
- Update to 7.2.2
* Fix: Fixed symlink support on FreeBSD.
* Fix: Skip GB18030 test on FreeBSD.
* Fix: When conversion of an UTF-16 file with binary symbols was forced,
null characters were not written in the output.
* Fix: Check UTF-16 input for invalid surrogate pairs.
-------------------------------------------------------------------
Thu Apr 2 18:29:54 UTC 2015 - waterlan@xs4all.nl
- Update to 7.2.1
* Fix: Skip the GB18030 tests when the system does not support the
Chinese locale with GB18030 character encoding.
* Fix: Small corrections in the manual in section GB18030 and OPTIONS -m.
-------------------------------------------------------------------
Sun Feb 15 11:18:35 UTC 2015 - waterlan@xs4all.nl
- Update to 7.2
* New: Japanese translation of the UI messages.
* New: Support Chinese GB18030 locale.
* Change: On Unix/Linux convert UTF-16 to the locale encoding. It is
no longer required that the locale encoding is UTF-8.
-------------------------------------------------------------------
Sun Oct 26 14:31:04 UTC 2014 - waterlan@xs4all.nl
- Fixed license type: BSD-2-Clause
- Added missing manual translations: da, fr, pt_BR.
- Update to 7.1:
* New: Option -i, --info to print file information.
This new option prints number of DOS, Unix, and Mac line breaks, the byte
order mark, and if the file is text or binary. And it can print the names
of files that would be converted.
Version 7.0
* New: automated self-tests.
* New: option -u to keep UTF-16 encoding.
* New: option -v to print information about BOMs and converted line breaks.
* Change: stdio mode does not automatically set quiet mode.
* Change: stdio mode does not automatically force conversion of binaries.
An error is returned when the stdin stream contains a binary symbol.
* Bugfix: dos2unix -l created DOS line breaks from Mac line breaks.
* Bugfix: system error number was not always returned.
* Bugfix: an Unicode input file disabled 7bit and iso mode for next input files.
* Bugfix: mac2unix help text, options -b and -r.
* The code has been cleaned up.
-------------------------------------------------------------------
Mon Aug 4 15:31:58 CEST 2014 - pth@suse.de
- Update to 6.0.6:
* Bugfix: mac2unix conversion produced corrupted output from
UTF-16 input file.
* New options -b (keep BOM) and -r (remove BOM).
* New translation of the UI messages: Norwegian Bokmaal.
-------------------------------------------------------------------
Tue Apr 22 22:09:20 UTC 2014 - tabraham@suse.com
- Update to 6.0.5
* Dos2unix is part of the Translation Project (TP).
All translations go via the Translation Project.
See http://translationproject.org/
* New translations of UI messages: Brazilian Portuguese, Chinese (traditional),
Danish, French, Hungarian, Polish, Serbian, Ukrainian, Vietnamese.
* New translations of the manual: Brazilian Portuguese, French, German,
Polish, Ukrainian.
* Generated man pages are included in the source package to prevent
compilation problems with very old or very new perl/pod2man versions.
* Manuals are now generated from gettext PO files with po4a for easier
translation.
* All manuals are now in UTF-8 encoding.
* Skip symbolic links on Windows by default (same as on Unix).
-------------------------------------------------------------------
Sun Jan 5 23:26:06 UTC 2014 - tabraham@suse.com
- Update to 6.0.4.
* New options -ul and -ub to conver UTF-16 files without BOM
* New Russian translation of the messages
* Build 32 bit Windows binaries with Large File Support (LFS) by
using mingw-w64 for 32 bit Windows
* When a binary symbol is encountered the value is printed
-------------------------------------------------------------------
Tue Apr 16 11:32:22 CEST 2013 - pth@suse.de
- Update to 6.0.3. Changes since 6.0:
-Version 6.0.3
* Source code compiles with Microsoft Visual C.
* Print system error when writing output fails.
- Version 6.0.2
* The locale encoding detection when NLS was disabled has been fixed.
* Print line number when a binary symbol is found.
* Updated makefiles for Watcom C, and added a new one for OS/2.
- Version 6.0.1
* Update Spanish translations.
* Update manual.
-------------------------------------------------------------------
Mon Jul 16 23:13:43 UTC 2012 - andreas.stieger@gmx.de
- fix build against openSUSE:Factory / standard: man page paths
-------------------------------------------------------------------
Sun May 06 19:30:19 UTC 2012 - pascal.bleser@opensuse.org
- update to 6.0:
* Conversion of Windows UTF-16 files to Unix UTF-8 files
* Conversion of Unix UTF-8 files to Windows UTF-8 files with byte
order mark
-------------------------------------------------------------------
Mon Mar 12 18:25:19 UTC 2012 - tabraham@novell.com
- Update to 5.3.3:
- enabled wildcard expansion
- small update in RETURN VALUE section of man page
- removed dos2unix-correct_ending.patch (instead pass HTMLEXT="html"
to make)
-------------------------------------------------------------------
Mon Jan 30 13:05:59 CET 2012 - pth@suse.de
- Update to 5.3.2:
- Change of hmoepage URL.
- All other changes are for non Unix platforms.
- Don't recompress the package anymore.
-------------------------------------------------------------------
Fri Sep 30 14:49:47 UTC 2011 - uli@suse.com
- cross-build fix: use %__cc macro
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
(cf. packaging guidelines)
-------------------------------------------------------------------
Wed Aug 10 12:46:41 CEST 2011 - pth@suse.de
- Update to 5.3.1:
* Spanish tranlation of messages and manual.
* File ownership is maintained in old file mode (Unix only).
* Dos2unix and Unix2dos share the same language files.
* Code cleanup.
-------------------------------------------------------------------
Wed May 25 07:01:35 UTC 2011 - aj@suse.de
- Add buildrequire on xz.
-------------------------------------------------------------------
Mon May 23 13:32:41 CEST 2011 - pth@suse.de
- Repackage with xz.
-------------------------------------------------------------------
Sat May 21 18:17:55 UTC 2011 - crrodriguez@opensuse.org
- Open all fds with O_CLOEXEC.
-------------------------------------------------------------------
Sat May 21 16:59:14 UTC 2011 - vlado.paskov@gmail.com
- Version update to 5.3
- removed patch dos2unix-no_pdf.patch, this version doesn't
generate pdf/ps documents.
- updated dos2unix-correct_ending.patch
- fixed Url: in the spec file
-------------------------------------------------------------------
Tue Feb 15 17:50:05 CET 2011 - pth@suse.de
- Don't generate ps/pdf documents, thus no need for ghostscript.
-------------------------------------------------------------------
Thu Feb 3 18:03:40 CET 2011 - pth@suse.de
- Update to 5.2:
ISO conversion mode supports same DOS code pages as SunOS dos2unix does:
CP437 (US), CP850 (Western European), CP860 (Portuguese),
CP863 (French Canadian), and CP865 (Nordic).
ISO conversion mode supports Windows code page CP1252 (Western).
SunOS compatible options -ascii, -iso, -7, -437, -850, -860, -863, and -865.
Active code page detection for ISO mode.
Fixed ISO conversion of non-breaking space (NBSP).
Treat ASCII Form Feed control characters as valid text.
Update manual pages.
Don't include generated documentation files in Unix source package.
- Suffix for HTML pages is .html not .htm
-------------------------------------------------------------------
Fri Jan 14 20:08:59 UTC 2011 - coolo@novell.com
- remove unsupported locales
-------------------------------------------------------------------
Wed Nov 10 13:07:17 UTC 2010 - coolo@novell.com
- fix file list
-------------------------------------------------------------------
Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de
- Use %_smp_mflags
-------------------------------------------------------------------
Tue Aug 24 15:24:08 CEST 2010 - pth@suse.de
- Update 5.1.1:
* Added Dutch translation of the manual
* Updated German translation
-------------------------------------------------------------------
Sat Apr 10 14:59:22 UTC 2010 - aj@suse.de
- Add eo-x directories to fix build.
-------------------------------------------------------------------
Tue Apr 6 16:10:23 UTC 2010 - pth@novell.com
- Update to 5.1:
* Esperanto translations have been added.
* Command-line options can be set in stdio mode.
* Localization information has been added to the manual.
* Man pages have been merged.
* Man page generation from Perl POD file.
-------------------------------------------------------------------
Wed Feb 17 16:59:09 CET 2010 - pth@suse.de
- Update to 5.0:
* Dos2unix and Unix2dos have been bundled in a single package.
* German translations have been added.
* Dos2unix -l --newline also works in MAC mode.
* Unix2dos also got option -l, --newline.
* Added MAC mode to Unix2dos: Convert Unix line endings to Mac line endings.
* Cleanup of messages and manual.
-------------------------------------------------------------------
Wed Feb 3 10:33:53 CET 2010 - pth@suse.de
- Update to 4.1.2:
* dos2unix.c: Preserve file mode in 'new file mode'.
* Makefile: Allow CFLAGS to be set externally.
- Adapt Makefile patch and German message catalog.
-------------------------------------------------------------------
Tue Dec 22 12:26:07 UTC 2009 - coolo@novell.com
- fix translation
-------------------------------------------------------------------
Wed Dec 16 14:23:06 CET 2009 - pth@suse.de
- Update to 4.0:
* version 4.0
* Added internationalisation using gettext.
* Added Dutch translation.
* New option -L/--license that prints software license.
* Code cleanup
* Update manual
* version 3.2
* version.mk: New file.
* README: New file.
* INSTALL: Updated.
* Makefile: Makefile according GNU standards.
* ChangeLog : New file.
* Applied all patches from RedHat:
- Use DESTDIR only in install makefile targets.
- Add a German translation.
-------------------------------------------------------------------
Tue Dec 15 22:27:07 CET 2009 - jengelh@medozas.de
- enable parallel building
-------------------------------------------------------------------
Mon Apr 20 15:03:31 CEST 2009 - pth@suse.de
- Don't destroy original file if the output is on a different file
system (bnc#488261).
-------------------------------------------------------------------
Tue Dec 9 17:10:36 CET 2008 - schwab@suse.de
- Fix last change.
-------------------------------------------------------------------
Mon Sep 15 14:04:46 CEST 2008 - ro@suse.de
- let mac2unix be a hardlink (instead of duplicate binary)
-------------------------------------------------------------------
Tue Apr 11 12:12:57 CEST 2006 - pth@suse.de
- Make dos2unix preserve file modes (bugzilla #119350).
-------------------------------------------------------------------
Wed Jan 25 21:35:33 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Oct 5 13:21:19 CEST 2005 - dmueller@suse.de
- add norootforbuild
-------------------------------------------------------------------
Mon Aug 12 17:52:01 MEST 2002 - bk@suse.de
- update to dos2unix-3.1(no longer uses hd2u, but real dos2unix)
-------------------------------------------------------------------
Wed Jun 19 17:58:10 CEST 2002 - postadal@suse.cz
- new package dos2unix verison 0.8.0

29
dos2unix.keyring Normal file
View File

@ -0,0 +1,29 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.1.6
Comment: Hostname: sks.pod02.fleetstreetops.com
mQENBFLEHEMBCAC9kzAdk8RYR7UB38kbLJjxfbevvP/yAfZE0RCTjWeMVB1TpeUIbJA8As7q
OfYvxe/ADwr9RmdIXN3w9zJjexsyxGTT84wj6+dGlwoLoCC38PsbTykPd/OhF+Poh0DczXk+
EEVKWkWYZ8y+c80kPTWKDu++URHhReb9R+ns93XtYdCCjqhrorEQJK/Z6VOs+9190Uo11qcY
m9nx9ryNx4l8BSvkPS7nf9Nak+XkCUFgifaGp3lVH/0eAI7bJ7TnbeeuqcBQBS7LUwe25nrP
rZhKNCnQzCr6TXJfXNzDp2odRRHrhWmHk8ooCkCpMBv19v0V4HlcejyWRWHdRTTurAItABEB
AAG0M0Vyd2luIFdhdGVybGFuZGVyIChGb3V0ZSBib2VsKSA8d2F0ZXJsYW5AeHM0YWxsLm5s
PokBOAQTAQIAIgUCUsQcQwIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQOMH1crEn
Jb6oIwgAi/OlDF/tGOn5KBY14pKHhMALass8EBG47cF80ixFWTkUlPeKhkZFkL6SN5bfFhu7
bg7cwbBPFMgTVvocZwZDkhELwILWx9nPh4ZXcxwWql4Q3ccjoaCNhgCL9istZvSqZNlITHR9
i7yTc2mPI0DhOu9jR0abBL45GtV2Inw/AzjdWi1gGrjkt/SAY+d22X24DUuUQqS/fB7u4Hy1
GA4K/4kOjtUt7HbzZffoxG3H6iFEUw8PIEirdF3X8LVfIvOJFzM6HL1xd5HJIa1uIEnvp8MM
QAtznwtxQI2EvmgzTo02SVWvO4pMYXVijZYnbKjXzIzMBggeUIyhUnF8UJOJvLkBDQRSxBxD
AQgA2hW/xSMvgH8IF4JAkmF19L5IM/LG9Sz3LocWAzN1fKlNQZHiXMBnKsVSHnKoV903YpWQ
1XtqpJCt3Nxwo/sLJLRGkyRKrZ8dYfEVlPyF6Ol8BYt0vjxoycrIZOBBNT0bV/4R8+YC9z50
hzZD6XAZzBm9MQinmQCEAOmBxWPIElqsrM9CTfT6n4CerTUNiE8/GsmSD1RsBZVn/mPedfwM
h51MHBbGbpj63tNdvwB6G15kxDlXaMjw0DnAKI7jFoFGqZygaqdChDJQHZJ9beohKd9BhsGa
3m8oprPP+KGki8oHM+s1SzqRNNjY2viOEf72cW0sGxQTMK8q6mGk0WTl/QARAQABiQEfBBgB
AgAJBQJSxBxDAhsMAAoJEDjB9XKxJyW+TZoH/2pG+QN0KRj++1HDjQ3JiO0sYoRZQRMuvZSs
Du/ZpohjVw0pJmNidDgTwYAIyTD+Y6mJYZkyDVOidePS1kpHmLIW+eTUtz9mfryWOcszYWa1
1nlCg1Wp0iIIMK8qN76kGnh8YymC83AkW6/Kqa80/Mn2sCmjUBtobER0galmgwC+EOHSYUHB
ujVJsfaP0xdnBIiweVz92eq27fpd+/w/TKJh91Yg1g6+y69Jslv2tSpuRGo/80l/Cx3QZWPF
43S81e7O+sHutI+e6Uh+4mWW2RNFfLC6RKpMonmaXSGFQCtcn/0V2GK7SRqhZrPnlwEMz0tg
2lTgaCLZKG40JMOsBng=
=t4n0
-----END PGP PUBLIC KEY BLOCK-----

60
dos2unix.spec Normal file
View File

@ -0,0 +1,60 @@
#
# spec file for package dos2unix
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: dos2unix
Version: 7.5.1
Release: 0
Summary: Text converters to and from DOS/MAC to UNIX
License: BSD-2-Clause
Group: Productivity/Text/Convertors
URL: https://waterlan.home.xs4all.nl/dos2unix.html
Source0: https://waterlan.home.xs4all.nl/dos2unix/dos2unix-%{version}.tar.gz
Source1: https://waterlan.home.xs4all.nl/dos2unix/dos2unix-%{version}.tar.gz.asc
# http://keys.gnupg.net/pks/lookup?op=get&search=0x38C1F572B12725BE
Source2: %{name}.keyring
Provides: unix2dos = %{version}
Obsoletes: unix2dos < %{version}
%description
Dos2unix is used to convert plain text from DOS (CR/LF) format. Mac2unix
converts plain text from MAC (CR) format to UNIX format (LF).
Unix2dos converts plain text files from UNIX
format to DOS format and unix2dos converts from UNIX to MAC format.
%prep
%setup -q
find . -type f -exec chmod -x '{}' +
%build
export RPM_OPT_FLAGS
%make_build CC="gcc" HTMLEXT="html"
%install
%make_install docdir=%{_defaultdocdir}/%{name} HTMLEXT="html"
%find_lang dos2unix --all-name --with-man
rm %{buildroot}%{_defaultdocdir}/%{name}/COPYING.txt
%files -f dos2unix.lang
%license COPYING.txt
%doc %{_defaultdocdir}/%{name}
%{_bindir}/{%{name},mac2unix,unix2dos,unix2mac}
%{_mandir}/man1/{%{name},mac2unix,unix2dos,unix2mac}.1%{?ext_man}
%dir %{_mandir}/??
%changelog