23 Commits

Author SHA1 Message Date
Jonas Stein
704b5dd7dd Version bump to 2.0.1 2025-07-24 01:32:28 +02:00
Jonas Stein
1bb64e6408 Fix typo in configure
Superflous ] dropped
2025-07-24 00:47:42 +02:00
James Wilson
57591d01a9 clang-format and include-what-you-use run (#111) 2023-05-02 06:57:47 +02:00
James Wilson
22e21715f2 Remove unneeded STDC header check, reference https://www.gnu.org/software/autoconf/manual/autoconf-2.70/html_node/Default-Includes.html (#106)
remove DEFAULT_ALGORITHM config parameter
2023-05-01 19:32:07 +02:00
Jonas Stein
8b1756eb89 Add SPDX License information (#96)
Adding license information according to the SPDX stanard.
Used the reuse tool.
Bug: https://github.com/scsitape/stenc/issues/95
2022-08-24 22:41:43 +02:00
James Wilson
13af87abaa Fix FreeBSD build issues (#89) 2022-06-18 21:48:53 +02:00
Paweł Marciniak
e6f7f1b7b3 Add bash completion (#84)
Co-authored-by: Paweł Marciniak <sunwire+git@gmail.com>
2022-06-05 16:41:08 +02:00
James Wilson
1200fe92ee Use hardcoded CEEM value instead of configure script parameter (#81)
The default CEEM (check external encryption mode) parameter is undocumented, and default of 0 makes behavior vendor-specific. The standard allows for a drive to report an error when trying to read a block that was pre-encrypted before written to the drive, such as is done with a keyless copy of a tape. This sounds like a very rare scenario to need to support. For the widest compatibility with data sources, this should be set to 1 for general-purpose use.
2022-05-28 11:50:08 +02:00
James Wilson
88975cc9ed Use CAM and the pass(4) device instead of the optional sg(4) device on FreeBSD (#30) 2022-05-09 11:53:49 +02:00
James Wilson
e6ac5fa3f0 Remove AIX support (#59) 2022-05-09 01:11:07 +02:00
James Wilson
fbba173a1f Remove device renaming and select default device (#48) 2022-05-09 00:52:07 +02:00
Jonas Stein
fb588dda64 Fix version number
Closes: https://github.com/scsitape/stenc/issues/50
2022-04-30 16:38:09 +02:00
Paweł Marciniak
1ece43b1cb Add pandoc to makefile (#51)
* Add check for pandoc
* Generate the man page from reStructuredText
* Install man page after generation by pandoc

Closes: https://github.com/scsitape/stenc/issues/44
Co-authored-by: Paweł Marciniak <sunwire+git@gmail.com>
2022-04-30 16:34:51 +02:00
James Wilson
ff413aac3e Add unit tests and add const 2022-04-24 20:09:08 +02:00
Jonas Stein
8ff2e4c4eb Codecleanup, Version bump 1.1.0 2022-04-22 00:47:33 +02:00
Jonas Stein
0ad0a208d5 Drop AC_CHECK_INCLUDES_DEFAULT
AC_CHECK_INCLUDES_DEFAULT requires autoconf at least version 2.70
Bug: https://github.com/scsitape/stenc/issues/33
2022-04-21 22:44:41 +02:00
Jonas Stein
aa2244308d cleaned code
removed std namespace
initialized variables
cleaned endl
added const for constants
tagged new version 1.0.8
2022-04-20 00:12:52 +02:00
Jonas Stein
d9d8b158c5 Release 1.0.8 2020-06-17 01:11:56 +02:00
Adam Nielsen
a43678d209 Use Automake 'foreign' option
This avoids errors on missing files NEWS and README.
2018-12-21 00:02:34 +10:00
Adam Nielsen
9022262489 $VARS are not permitted in AC_INIT 2018-12-21 00:02:34 +10:00
Denys Berkovskyy
5e3ce59ce8 Initial port to FreeBSD 2018-02-14 04:38:05 +01:00
Denys Berkovskyy
10cc56b84e Update AC_INIT and AM_INIT_AUTOMAKE invocations in configure.ac 2018-02-14 04:37:52 +01:00
Denys Berkovskyy
80bc7cc9d0 Rename configure.in to configure.ac for Automake 2.0 2018-02-14 04:37:17 +01:00