Hello community,

here is the log from the commit of package cdrtools for openSUSE:Factory 
checked in at 2015-01-09 20:49:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cdrtools (Old)
 and      /work/SRC/openSUSE:Factory/.cdrtools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cdrtools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cdrtools/cdrtools.changes        2014-09-25 
09:33:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cdrtools.new/cdrtools.changes   2015-01-09 
20:49:55.000000000 +0100
@@ -1,0 +2,13 @@
+Thu Dec  4 12:49:13 UTC 2014 - [email protected]
+
+- run permission handling code unconditionally. bnc#899718
+
+-------------------------------------------------------------------
+Sat Nov 29 23:42:11 UTC 2014 - [email protected]
+
+- Update to new upstream release 3.01~a25
+* Precursory work for localization
+- Run spec-beautifier for spec files
+- Reenable missing capability support [bnc#899718]
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/cdrtools/schily-libs.changes     2014-09-25 
09:33:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cdrtools.new/schily-libs.changes        
2015-01-09 20:49:55.000000000 +0100
@@ -1,0 +2,8 @@
+Sat Nov 29 23:42:11 UTC 2014 - [email protected]
+
+- Update to new upstream release 3.01~a25
+* Precursory work for localization
+- Run spec-beautifier for spec files
+- Reenable missing capability support
+
+-------------------------------------------------------------------

Old:
----
  cdrtools-3.01a24.tar.bz2

New:
----
  cdrtools-3.01a25.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cdrtools.spec ++++++
--- /var/tmp/diff_new_pack.4tsWmB/_old  2015-01-09 20:49:56.000000000 +0100
+++ /var/tmp/diff_new_pack.4tsWmB/_new  2015-01-09 20:49:56.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cdrtools
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,16 @@
 
 
 Name:           cdrtools
-Version:        3.01~a24
+Version:        3.01~a25
 Release:        0
-# ^This really is a prerelease and thus sorts before 3.01
+# Upstream confirms that 3.01a25 is intended to sort before 3.01
 %define sversion 3.01
 Summary:        Tools for recording CD/DVD/BluRay media
 License:        CDDL-1.0 and GPL-2.0 and GPL-2.0+ and BSD-2-Clause and 
BSD-3-Clause and HPND and ISC
 Group:          Productivity/Multimedia/CD/Record
 Url:            http://cdrtools.sourceforge.net/private/cdrecord.html
 
-Source:         http://downloads.sf.net/cdrtools/cdrtools-3.01a24.tar.bz2
+Source:         http://downloads.sf.net/cdrtools/cdrtools-3.01a25.tar.bz2
 Source1:        cdrecord.easy
 Source2:        cdrecord.secure
 Source3:        cdrecord.paranoid
@@ -34,27 +34,28 @@
 Source5:        cdda2wav.secure
 Source6:        cdda2wav.paranoid
 Source7:        pre_checkin.sh
-# Please honor Jörg Schilling's (the author) request for an "Upstream First"
-# policy on patches, to ensure your patch really does the right thing and not
-# just the thing you *thought* it does.
-# —Jan Engelhardt <[email protected]>
 Patch1:         gcc48wa.diff
+# Honor 
https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Upstream_policy
+# and submit patches upstream FIRST (cc to the bspkg maintainer perhaps).
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  fdupes
 BuildRequires:  libcap-devel
 BuildRequires:  libscg-devel
 BuildRequires:  libschily-devel
 BuildRequires:  makedepend
 # Requiring version-release is nessecary for this rpm to pull in the latest 
cdrtools.
-Requires:       cdda2wav = %{version}-%{release}
-Requires:       cdrecord = %{version}-%{release}
-Requires:       mkisofs = %{version}-%{release}
-Provides:       schily-cdrtools = %{version}
-Obsoletes:      schily-cdrtools < %{version}
+Requires:       cdda2wav = %version-%release
+Requires:       cdrecord = %version-%release
+Requires:       mkisofs = %version-%release
+Provides:       schily-cdrtools = %version
+Obsoletes:      schily-cdrtools < %version
 Conflicts:      cdrkit-cdrtools-compat
 
+# 0: completely disable caps in this build
 %define with_caps 0
+# 0: permission definitions provided through the "permissions" openSUSE package
+# 1: provide permission.d files ourselves
+%define standalone_permissions 0
 %if 0%{?with_caps}
 %define caps_cdda2wav 
%caps(cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio=ep)
 %define caps_cdrecord 
%caps(cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio=ep)
@@ -86,9 +87,7 @@
 Summary:        A CD Digital Audio Extraction tool
 License:        CDDL-1.0
 Group:          Productivity/Multimedia/CD/Grabbers
-%if %with_caps
 Requires(post): permissions
-%endif
 
 %description -n cdda2wav
 cdda2wav can retrieve CDDA audio tracks from CDROM drives that are
@@ -98,9 +97,7 @@
 Summary:        A CD/DVD/BD recording program
 License:        CDDL-1.0
 Group:          Productivity/Multimedia/CD/Record
-%if %with_caps
 Requires(post): permissions
-%endif
 
 %description -n cdrecord
 cdrecord is a program to record data or audio Compact Discs on an
@@ -118,13 +115,13 @@
 ISO-9660/JOLIET/HFS/UDF hybrid filesystem.
 
 %prep
-%setup -q -n %{name}-%{sversion}
+%setup -q -n %name-%sversion
 %patch -P 1 -p1
 
 %build
 #
 # We want to prefer the files from /usr/include, but gcc blatantly ignores
-# -I arguments pointing to system paths. (CFLAGS=-I/usr/include is therefore
+# -I arguments pointing to system paths. (CFLAGS=-I%_includedir is therefore
 # out of the question.)
 #
 rm -Rf include/schily/*.h libscg/scg/*.h
@@ -159,68 +156,59 @@
        "$b/%_mandir/man5"/makefiles.5* \
        "$b/%_mandir/man5"/makerules.5*
 
-%if %with_caps
-mkdir -p "%{buildroot}%{_sysconfdir}/permissions.d/"
+%if %standalone_permissions
+mkdir -p "$b/%_sysconfdir/permissions.d/"
 install -pm 0644 "%_sourcedir"/{cdrecord,cdda2wav}.{easy,secure,paranoid} \
-       "%buildroot/%_sysconfdir/permissions.d/"
+       "$b/%_sysconfdir/permissions.d/"
 %endif
 
 #
-cd "%{buildroot}%{_prefix}"
-[[ -d "./%{_lib}" ]] || mv -T ./lib "./%{_lib}"
-cd -
+pushd "$b/%_prefix"
+test -d "./%_lib" || mv -T ./lib "./%_lib"
+popd
 
 # Needed by cdda2wav (see cdda2wav.c)
-ln -sf cdda2wav %{buildroot}%{_bindir}/list_audio_tracks
+ln -sf cdda2wav "$b/%_bindir/list_audio_tracks"
 
-# Remove documentation (will be added in /usr/share/doc/packages/*)
-rm -rf %{buildroot}%{_datadir}/doc/*
+# Remove documentation (will be added in %_datadir/doc/packages/*)
+rm -Rf "$b/%_datadir/doc"/*
 
 # Install additional programs
-install -pm 0755 cdda2wav/cdda2mp3.new %{buildroot}%{_bindir}/
-install -pm 0755 cdda2wav/inf2cdtext.pl %{buildroot}%{_bindir}/
-install -pm 0755 cdda2wav/pitchplay %{buildroot}%{_bindir}/
-install -pm 0755 cdda2wav/readmult %{buildroot}%{_bindir}/
-install -pm 0755 cdda2wav/tracknames.pl %{buildroot}%{_bindir}/
-install -pm 0755 mkisofs/hdisk.pl %{buildroot}%{_bindir}/
+install -pm 0755 
cdda2wav/{cdda2mp3.new,inf2cdtext.pl,pitchplay,readmult,tracknames.pl} \
+       mkisofs/hdisk.pl "$b/%_bindir/"
 
 # Fix perl path
-perl -pi -e 's#/usr/local/bin/perl#/usr/bin/perl#g' 
%{buildroot}%{_bindir}/tracknames.pl
+perl -pi -e 's#/usr/local/bin/perl#%_bindir/perl#g' "$b/%_bindir/tracknames.pl"
 
 # Rename in order to not conflict with mkisofs/README in rpm doc section
 mv mkisofs/diag/README mkisofs/diag/README.diag
 
-%fdupes -s %{buildroot}%{_mandir}
-%fdupes -s %{buildroot}%{_sysconfdir}
+%fdupes -s %buildroot/%_prefix
 
-%if %with_caps && 0%{?suse_version} >= 1120
+%if 0%{?suse_version} >= 1120
 %verifyscript -n cdrecord
-%{verify_permissions -e %{_bindir}/cdrecord -e %{_bindir}/readcd}
+%{verify_permissions -e %_bindir/cdrecord -e %_bindir/readcd}
 
 %verifyscript -n cdda2wav
-%{verify_permissions -e %{_bindir}/cdda2wav}
+%{verify_permissions -e %_bindir/cdda2wav}
 
 %endif
 
-%if %with_caps
 %post -n cdrecord
 %if 0%{?set_permissions:1} > 0
-     %set_permissions %{_bindir}/cdrecord %{_bindir}/readcd
+%set_permissions %_bindir/cdrecord %_bindir/readcd
 %else
-    %{run_permissions}
+%run_permissions
 %endif
 true
-%endif
 
-%if %with_caps
 %post -n cdda2wav
 %if 0%{?set_permissions:1} > 0
-     %set_permissions %{_bindir}/cdda2wav
+%set_permissions %_bindir/cdda2wav
 %else
-    %{run_permissions}
+%run_permissions
 %endif
 true
-%endif
 
 %files
 %defattr(-,root,root)
@@ -230,8 +218,8 @@
 %files -n btcflash
 %defattr(-,root,root)
 %doc CDDL.Schily.txt COPYING
-%{_bindir}/btcflash
-%doc %{_mandir}/man1/btcflash.1%{ext_man}
+%_bindir/btcflash
+%doc %_mandir/man1/btcflash.1%ext_man
 
 %files -n cdda2wav
 %defattr(-,root,root)
@@ -240,19 +228,19 @@
 %doc cdda2wav/NEEDED cdda2wav/README cdda2wav/THANKS cdda2wav/TODO
 %doc cdda2wav/tracknames.txt
 %doc libparanoia/README.paranoia
-%{_bindir}/cdda2mp3
-%{_bindir}/cdda2mp3.new
-%{_bindir}/cdda2ogg
-%attr(0755,root,root) %caps_cdda2wav %verify(not mode caps) %{_bindir}/cdda2wav
-%{_bindir}/inf2cdtext.pl
-%{_bindir}/list_audio_tracks
-%{_bindir}/pitchplay
-%{_bindir}/readmult
-%{_bindir}/tracknames.pl
-%doc %{_mandir}/man1/cdda2mp3.1%{ext_man}
-%doc %{_mandir}/man1/cdda2ogg.1%{ext_man}
-%doc %{_mandir}/man1/cdda2wav.1%{ext_man}
-%if %with_caps
+%_bindir/cdda2mp3
+%_bindir/cdda2mp3.new
+%_bindir/cdda2ogg
+%attr(0755,root,root) %caps_cdda2wav %verify(not mode caps) %_bindir/cdda2wav
+%_bindir/inf2cdtext.pl
+%_bindir/list_audio_tracks
+%_bindir/pitchplay
+%_bindir/readmult
+%_bindir/tracknames.pl
+%doc %_mandir/man1/cdda2mp3.1%ext_man
+%doc %_mandir/man1/cdda2ogg.1%ext_man
+%doc %_mandir/man1/cdda2wav.1%ext_man
+%if %standalone_permissions
 %config %_sysconfdir/permissions.d/cdda2wav.*
 %endif
 
@@ -266,21 +254,21 @@
 %doc cdrecord/README.parallel cdrecord/README.raw cdrecord/README.rscsi
 %doc cdrecord/README.sony cdrecord/README.verify cdrecord/README.volmgt
 %doc rscsi/default-rscsi.sample
-%config %{_sysconfdir}/default/cdrecord
-%config %{_sysconfdir}/default/rscsi
-%if %with_caps
-%config %{_sysconfdir}/permissions.d/cdrecord.*
-%endif
-%verify(not mode caps) %caps_cdrecord %attr(0755,root,root) %{_bindir}/cdrecord
-%verify(not mode caps) %caps_readcd %attr(0755,root,root) %{_bindir}/readcd
-%{_bindir}/scgcheck
-%{_bindir}/scgskeleton
-%{_sbindir}/rscsi
-%doc %{_mandir}/man1/cdrecord.1%{ext_man}
-%doc %{_mandir}/man1/readcd.1%{ext_man}
-%doc %{_mandir}/man1/rscsi.1%{ext_man}
-%doc %{_mandir}/man1/scgcheck.1%{ext_man}
-%doc %{_mandir}/man1/scgskeleton.1%{ext_man}
+%config %_sysconfdir/default/cdrecord
+%config %_sysconfdir/default/rscsi
+%if %standalone_permissions
+%config %_sysconfdir/permissions.d/cdrecord.*
+%endif
+%verify(not mode caps) %caps_cdrecord %attr(0755,root,root) %_bindir/cdrecord
+%verify(not mode caps) %caps_readcd %attr(0755,root,root) %_bindir/readcd
+%_bindir/scgcheck
+%_bindir/scgskeleton
+%_sbindir/rscsi
+%doc %_mandir/man1/cdrecord.1%ext_man
+%doc %_mandir/man1/readcd.1%ext_man
+%doc %_mandir/man1/rscsi.1%ext_man
+%doc %_mandir/man1/scgcheck.1%ext_man
+%doc %_mandir/man1/scgskeleton.1%ext_man
 
 %files -n mkisofs
 %defattr(-,root,root)
@@ -288,21 +276,21 @@
 %doc mkisofs/COPYING mkisofs/ChangeLog mkisofs/ChangeLog.mkhybrid
 %doc mkisofs/README mkisofs/README.* mkisofs/RELEASE mkisofs/TODO
 %doc mkisofs/diag/README.diag
-%{_bindir}/devdump
-%{_bindir}/hdisk.pl
-%{_bindir}/isodebug
-%{_bindir}/isodump
-%{_bindir}/isoinfo
-%{_bindir}/isovfy
-%{_bindir}/mkhybrid
-%{_bindir}/mkisofs
-%{_libdir}/siconv/
-%doc %{_mandir}/man8/devdump.8%{ext_man}
-%doc %{_mandir}/man8/isodebug.8%{ext_man}
-%doc %{_mandir}/man8/isodump.8%{ext_man}
-%doc %{_mandir}/man8/isoinfo.8%{ext_man}
-%doc %{_mandir}/man8/isovfy.8%{ext_man}
-%doc %{_mandir}/man8/mkhybrid.8%{ext_man}
-%doc %{_mandir}/man8/mkisofs.8%{ext_man}
+%_bindir/devdump
+%_bindir/hdisk.pl
+%_bindir/isodebug
+%_bindir/isodump
+%_bindir/isoinfo
+%_bindir/isovfy
+%_bindir/mkhybrid
+%_bindir/mkisofs
+%_libdir/siconv/
+%doc %_mandir/man8/devdump.8%ext_man
+%doc %_mandir/man8/isodebug.8%ext_man
+%doc %_mandir/man8/isodump.8%ext_man
+%doc %_mandir/man8/isoinfo.8%ext_man
+%doc %_mandir/man8/isovfy.8%ext_man
+%doc %_mandir/man8/mkhybrid.8%ext_man
+%doc %_mandir/man8/mkisofs.8%ext_man
 
 %changelog

++++++ schily-libs.spec ++++++
--- /var/tmp/diff_new_pack.4tsWmB/_old  2015-01-09 20:49:56.000000000 +0100
+++ /var/tmp/diff_new_pack.4tsWmB/_new  2015-01-09 20:49:56.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package schily-libs
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           schily-libs
-Version:        3.01~a24
+Version:        3.01~a25
 Release:        0
 %define sversion 3.01
 Summary:        A collection of libraries to support cdrtools
@@ -25,7 +25,7 @@
 Group:          Development/Libraries/C and C++
 Url:            http://cdrtools.sourceforge.net/private/cdrecord.html
 
-Source:         http://downloads.sf.net/cdrtools/cdrtools-3.01a24.tar.bz2
+Source:         http://downloads.sf.net/cdrtools/cdrtools-3.01a25.tar.bz2
 Source7:        pre_checkin.sh
 Patch1:         gcc48wa.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -99,7 +99,7 @@
        # not fully parallel safe, so stick to default
        gmake GMAKE_NOWARN=true LINKMODE=dynamic RUNPATH="" \
                CCCC=cc LDCC=cc DYNLD=cc \
-               LDOPTX='$(_MAPVERS:%=-Wl,--version-script=%)' \
+Ldoptx='$(_mapvers:%=-Wl,--version-script=%)' \
                COPTX="%optflags -fno-strict-aliasing -fno-omit-frame-pointer \
                        -finput-charset=ISO-8859-1"
        popd
@@ -111,7 +111,7 @@
        pushd "$i"
        gmake GMAKE_NOWARN=true LINKMODE=dynamic RUNPATH="" \
                CCCC=cc LDCC=cc DYNLD=cc \
-               LDOPTX='$(_MAPVERS:%=-Wl,--version-script=%)' \
+Ldoptx='$(_mapvers:%=-Wl,--version-script=%)' \
                DESTDIR="$b" INS_BASE="%_prefix" \
                install %{?_smp_mflags}
        popd

++++++ cdrtools-3.01a24.tar.bz2 -> cdrtools-3.01a25.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/.links new/cdrtools-3.01/.links
--- old/cdrtools-3.01/.links    2014-04-15 17:36:14.000000000 +0200
+++ new/cdrtools-3.01/.links    2014-09-30 15:00:37.000000000 +0200
@@ -77,6 +77,9 @@
 ./RULES/alpha-netbsd-gcc.rul
 ./RULES/alphaserver_ds20_500_mhz-openvms-cc.rul
 ./RULES/amd64-freebsd-cc.rul
+./RULES/amd64-freebsd-clang64.rul
+./RULES/amd64-freebsd-clang32.rul
+./RULES/amd64-freebsd-clang.rul
 ./RULES/amd64-freebsd-gcc.rul
 ./RULES/amd64-gnu-kfreebsd-cc.rul
 ./RULES/amd64-gnu-kfreebsd-gcc.rul
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/AN-3.01a25 new/cdrtools-3.01/AN-3.01a25
--- old/cdrtools-3.01/AN-3.01a25        1970-01-01 01:00:00.000000000 +0100
+++ new/cdrtools-3.01/AN-3.01a25        2014-09-30 14:38:03.000000000 +0200
@@ -0,0 +1,197 @@
+Please have a look at the German open Source Center BerliOS at www.berlios.de
+BerliOS will continue to support free hosting of cryptography projects even
+when US laws change and don't allow to host cryptography projects in the USA.
+Also look at sourcewell.berlios.de, the first Open Source announcement service
+that itself is implemented as Open Source project.
+
+***************** Important news ****************************
+
+For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM
+
+***************** Please Test *********************************
+
+NEW features of cdrtools-3.01a25:
+
+This is the first localization step for cdrtools. All programs now (hopefully)
+call gettext() for all strings that need localization.
+
+-      The next step will include dgettext() calls for the libraries.
+
+-      The following step will include the extracted strings
+
+-      The last step will include German translations and install support
+       for the resulting binary message object files.
+
+----------> Please test and report compilation problems! <---------
+
+***** NOTE: As mentioned since 2004, frontends to cdrtools should *****
+*****          call all programs from cdrtools in the "C" locale *****
+*****          by e.g. calling: LC_ALL=C cdrecord ....           *****
+*****          unless these frontends support localized strings  *****
+*****          used by the cdrtools with NLS support.            *****
+
+This version compiles on Win-DOS using the Microsoft compiler cl.exe but
+warning: due to missing POSIX compliance with basic features (e.g. stat()
+does not return inode numbers), there are many problems with the resulting
+code and thus it is recommended to better use a POSIX layer on top of 
+WIN-DOS.
+
+               *** WARNING        ***
+               *** Need new smake ***
+
+       *** Due to the fact that schily-2014-04-03 introduced to use new macro
+       *** expansions and a related bug fix in smake, you need a new smake
+       *** to compile this source. To ensure this, get a recent "schily"
+       *** tarball from ftp://ftp.berlios.de/pub/schily/ or 
+       *** from https://sourceforge.net/projects/schilytools/files/ and call:
+
+       cd ./psmake
+       ./MAKE-all
+       cd ..
+       psmake/smake
+       psmake/smake install
+
+       Now you have a new smake that is able to compile this source.
+
+       Note that the major makefile restructuring introduced in
+       schily-2014-04-03 is now more than am month ago and thus seems
+       to work without problems.
+
+       WARNING: the new version of the isoinfo program makes use of the 
+               *at() series of functions that have been introduced by Sun
+               in August 2001 and added to POSIX.1-2008. For older platforms,
+               libschily now includes emulations for these functions but
+               these emulations have not yet been tested thouroughly.
+               Please report problems!
+
+
+All:
+
+-      Fixed a typo in autoconf/xconfig.h.in that caused the Win-DOS function
+       LoadLibrary() not to be recognised correctly.
+
+-      Added compile support for: amd64-freebsd-clang*.rul
+
+-      include/schily/unistd.h now extends some exceptions to work around
+       problems with the MS C-compiler to MinGW32.
+
+Libschily:
+
+-      libschily/faccessat.c with a faccessat() was added. This has been 
forgotten
+       when the *at() functions have been implemented.
+
+-      libschily/eaccess.c no longer calls access() in case the the OS does not
+       implement eaccess() but rather first checks whether uid == euid and gid 
== egid.
+
+-      libschily/eaccess.c compiles again in HP-UX using the HP C-compiler
+
+-      libschily/dlfcn.c new file to emulate dlopen() and friends on Win-DOS
+       and HP-UX
+
+-      libschily/lchmod.c was added
+
+-      libschily/fchmodat.c no longer contains lchmod()
+
+-      The linker mapfile libschily/libschily-mapvers now correctly
+       makes the entry faccessat() depend on HAVE_FACCESSAT
+
+
+
+Libparanoia (Ported/enhanced by J�rg Schilling, originated by Monty 
[email protected]):
+
+Libedc (Optimized by J�rg Schilling, originated by Heiko Ei�feldt 
[email protected]):
+
+
+Libcdrdeflt:
+
+Libdeflt:
+
+Libfind:
+
+Libfile:
+
+Libhfs_iso:
+
+
+Libmdigest:
+
+Libsiconv:
+
+
+Libscg:
+
+
+Libscgcmd:
+
+Libmdigest:
+
+Rscsi:
+
+Cdrecord:
+
+Cdda2wav (Maintained/enhanced by J�rg Schilling, originated by Heiko Ei�feldt 
[email protected]):
+
+-      Flush stderr before a question in cdda2wav. This is a workaround
+       for a Linux libc bug (stderr must be unbuffered acording to the
+       standard).
+
+Readcd:
+
+Scgcheck:
+
+Scgskeleton:
+
+Btcflash:
+
+Mkisofs (Maintained/enhanced by J�rg Schilling since 1997, originated by Eric 
Youngdale):
+
+-      Fixed a bug in mkisofs: -eltorito-platform Mac no longer uses the
+       constant EL_TORITO_ARCH_PPC but EL_TORITO_ARCH_MAC as expected.
+       Thanks to Ady <[email protected]> for reporting.
+
+-      Fixed an option parsing bug in mkisofs that was a result from
+       option names that are beginning substrings of others. Mkisofs did
+       try to fix this in 2006, but it seems that one option was missed
+       in 2006. Now -hide-hfs was fixed, thanks to: Valery Ushakov
+
+
+       HELIOS TODO:
+
+       -       Add the HELIOS UNICODE mapping code. This needs to be done 
+               at UCS-2 level for Joliet and UDF (instead of UTF-8) and only
+               for Rock Ridge (in case of a UTF-8 based target locale) using
+               UTF-8 based translations.
+
+       -       Make the Apple extensions work again with "mkisofs -find"
+
+TODO:
+
+       -       read Joliet filenames with multi-session if no TRANS.TBL
+               or RR is present. I am looking for a volunteer for this task!
+
+               Note that this can never be 100% correct as there is no relation
+               between the names on the master (UNIX) filesystem, the ISO-9660
+               names and the Joliet names. Only the Rock Ridge names are
+               untranslated with respect to the original files on the
+               master (UNIX) filesystem.
+
+       -       add libecc/edc for CDI and similar.
+
+
+CYGWIN NT-4.0 NOTES:
+
+To compile on Cygwin32, get Cygwin and install it.
+For more information read README.win32
+
+The files are located on:
+
+ftp://ftp.berlios.de/pub/cdrecord/alpha ...
+
+NOTE:  These tar archives are 100% POSIX compatible. GNU tar may get some
+       minor trouble. If you like a 100% POSIX compliant tar, get star from
+       ftp://ftp.berlios.de/pub/star/
+
+WARNING: Do not use 'winzip' to extract the tar file!
+       Winzip cannot extract symbolic links correctly.
+
+Joerg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/DEFAULTS_CSW/sparc-cc.defs 
new/cdrtools-3.01/DEFAULTS_CSW/sparc-cc.defs
--- old/cdrtools-3.01/DEFAULTS_CSW/sparc-cc.defs        2014-03-27 
22:30:58.000000000 +0100
+++ new/cdrtools-3.01/DEFAULTS_CSW/sparc-cc.defs        2014-03-27 
22:30:58.000000000 +0100
@@ -8,7 +8,17 @@
 ###########################################################################
 # Copyright (c) J. Schilling
 ###########################################################################
-#@@C@@
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License").  You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+# A copy of the CDDL is also available via the Internet at
+# http://www.opensource.org/licenses/cddl1.txt
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
 ###########################################################################
 #
 # Enforce to use the generic 32 bit Sparc instruction set (Sparc-V8).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/RULES/MKLINKS 
new/cdrtools-3.01/RULES/MKLINKS
--- old/cdrtools-3.01/RULES/MKLINKS     2014-04-16 22:19:42.000000000 +0200
+++ new/cdrtools-3.01/RULES/MKLINKS     2014-06-06 00:12:13.000000000 +0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 ###########################################################################
-#ident "@(#)MKLINKS    1.117 14/04/16 "
+#ident "@(#)MKLINKS    1.118 14/06/06 "
 ###########################################################################
 # Written 1996-2014 by J. Schilling
 ###########################################################################
@@ -153,6 +153,9 @@
 $symlink       i386-freebsd-cc.rul     sparc64-freebsd-cc.rul
 $symlink       i386-freebsd-clang.rul  i386-freebsd-clang32.rul
 $symlink       i386-freebsd-clang.rul  i386-freebsd-clang64.rul
+$symlink       i386-freebsd-clang.rul  amd64-freebsd-clang.rul
+$symlink       i386-freebsd-clang.rul  amd64-freebsd-clang32.rul
+$symlink       i386-freebsd-clang.rul  amd64-freebsd-clang64.rul
 $symlink       i386-freebsd-gcc.rul    sparc64-freebsd-gcc.rul
 $symlink       i386-freebsd-cc.rul     amd64-freebsd-cc.rul
 $symlink       i386-freebsd-gcc.rul    amd64-freebsd-gcc.rul
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/RULES/local.cnf 
new/cdrtools-3.01/RULES/local.cnf
--- old/cdrtools-3.01/RULES/local.cnf   2014-04-03 14:18:03.000000000 +0200
+++ new/cdrtools-3.01/RULES/local.cnf   2014-04-03 14:18:03.000000000 +0200
@@ -8,7 +8,17 @@
 ###########################################################################
 # Copyright (c) J. Schilling
 ###########################################################################
-#@@C@@
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License").  You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+# A copy of the CDDL is also available via the Internet at
+# http://www.opensource.org/licenses/cddl1.txt
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
 ###########################################################################
 
 configure: autoconf.m4 acgeneral.m4 acspecific.m4 acoldnames.m4 aclocal.m4 \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/autoconf/xconfig.h.in 
new/cdrtools-3.01/autoconf/xconfig.h.in
--- old/cdrtools-3.01/autoconf/xconfig.h.in     2014-04-02 17:38:12.000000000 
+0200
+++ new/cdrtools-3.01/autoconf/xconfig.h.in     2014-05-15 21:04:57.000000000 
+0200
@@ -1,4 +1,4 @@
-/* @(#)xconfig.h.in    1.243 14/04/02 Copyright 1998-2014 J. Schilling */
+/* @(#)xconfig.h.in    1.244 14/05/15 Copyright 1998-2014 J. Schilling */
 /*
  *     Dynamic autoconf C-include code.
  *     Do not edit, this file has been created automatically.
@@ -612,7 +612,7 @@
 #undef HAVE_SHL_LOAD           /* shl_load() is present in libc */
 #undef HAVE_SHL_UNLOAD         /* shl_unload() is present in libc */
 #undef HAVE_SHL_GETHANDLE      /* shl_gethandle() is present in libc */
-#undef HAVE_LOADLOBRARY                /* LoadLibrary() as present in libc */
+#undef HAVE_LOADLIBRARY                /* LoadLibrary() as present in libc */
 #undef HAVE_FREELIBRARY                /* FreeLibrary() is present in libc */
 #undef HAVE_GETPROCADDRESS     /* GetProcAddress() is present in libc */
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/cdda2wav/interface.c 
new/cdrtools-3.01/cdda2wav/interface.c
--- old/cdrtools-3.01/cdda2wav/interface.c      2013-12-24 14:29:06.000000000 
+0100
+++ new/cdrtools-3.01/cdda2wav/interface.c      2014-08-17 15:55:50.000000000 
+0200
@@ -1,13 +1,13 @@
-/* @(#)interface.c     1.79 13/12/24 Copyright 1998-2002 Heiko Eissfeldt, 
Copyright 2006-2013 J. Schilling */
+/* @(#)interface.c     1.80 14/08/17 Copyright 1998-2002 Heiko Eissfeldt, 
Copyright 2006-2014 J. Schilling */
 #include "config.h"
 #ifndef lint
 static UConst char sccsid[] =
-"@(#)interface.c       1.79 13/12/24 Copyright 1998-2002 Heiko Eissfeldt, 
Copyright 2006-2013 J. Schilling";
+"@(#)interface.c       1.80 14/08/17 Copyright 1998-2002 Heiko Eissfeldt, 
Copyright 2006-2014 J. Schilling";
 
 #endif
 /*
  * Copyright (C) 1994-1997 Heiko Eissfeldt [email protected]
- * Copyright (c) 2006-2013 J. Schilling
+ * Copyright (c) 2006-2014 J. Schilling
  *
  * Interface module for cdrom drive access
  *
@@ -495,6 +495,7 @@
 
                        fprintf(outfp,
                        _("load cdrom please and press enter"));
+                       fflush(outfp);
                        while ((c = getchar()) != '\n') {
                                if (c == EOF)
                                        break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/cdrecord/version.h 
new/cdrtools-3.01/cdrecord/version.h
--- old/cdrtools-3.01/cdrecord/version.h        2014-05-06 23:52:17.000000000 
+0200
+++ new/cdrtools-3.01/cdrecord/version.h        2014-09-30 22:56:58.000000000 
+0200
@@ -1,6 +1,6 @@
-/* @(#)version.h       1.78 14/05/06 Copyright 2007-2014 J. Schilling */
+/* @(#)version.h       1.79 14/09/30 Copyright 2007-2014 J. Schilling */
 
 /*
  * The version for cdrtools programs
  */
-#define        VERSION "3.01a24"
+#define        VERSION "3.01a25"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/include/schily/libport.h 
new/cdrtools-3.01/include/schily/libport.h
--- old/cdrtools-3.01/include/schily/libport.h  2014-05-04 16:00:00.000000000 
+0200
+++ new/cdrtools-3.01/include/schily/libport.h  2014-05-11 17:46:34.000000000 
+0200
@@ -1,4 +1,4 @@
-/* @(#)libport.h       1.42 14/05/04 Copyright 1995-2014 J. Schilling */
+/* @(#)libport.h       1.43 14/05/11 Copyright 1995-2014 J. Schilling */
 /*
  *     Prototypes for POSIX standard functions that may be missing on the
  *     local platform and thus are implemented inside libschily.
@@ -305,6 +305,10 @@
 #endif
 #endif
 
+#ifndef        HAVE_FACCESSAT
+extern int             faccessat __PR((int fd, const char *name,
+                                       int amode, int flag));
+#endif
 #ifndef        HAVE_FCHMODAT
 extern int             fchmodat __PR((int fd, const char *name,
                                        mode_t mode, int flag));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/include/schily/unistd.h 
new/cdrtools-3.01/include/schily/unistd.h
--- old/cdrtools-3.01/include/schily/unistd.h   2013-04-24 23:17:03.000000000 
+0200
+++ new/cdrtools-3.01/include/schily/unistd.h   2014-06-19 23:05:26.000000000 
+0200
@@ -1,8 +1,8 @@
-/* @(#)unistd.h        1.26 13/04/24 Copyright 1996-2013 J. Schilling */
+/* @(#)unistd.h        1.27 14/06/19 Copyright 1996-2014 J. Schilling */
 /*
  *     Definitions for unix system interface
  *
- *     Copyright (c) 1996-2013 J. Schilling
+ *     Copyright (c) 1996-2014 J. Schilling
  */
 /*
  * The contents of this file are subject to the terms of the
@@ -11,6 +11,8 @@
  * with the License.
  *
  * See the file CDDL.Schily.txt in this distribution for details.
+ * A copy of the CDDL is also available via the Internet at
+ * http://www.opensource.org/licenses/cddl1.txt
  *
  * When distributing Covered Code, include this CDDL HEADER in each
  * file and include the License file CDDL.Schily.txt from this distribution.
@@ -135,7 +137,7 @@
  * Maybe we need a lot more definitions here...
  * It is not clear whether we should have prototyped definitions.
  */
-#ifndef        _MSC_VER
+#if !defined(_MSC_VER) && !defined(__MINGW32__)
 /*
  * MS C comes with broken prototypes in wrong header files (in our case, the
  * wrong prototype is in io.h). Avoid to redefine the broken MS stuff with
@@ -150,7 +152,7 @@
 extern int     unlink  __PR((const char *));
 extern int     write   __PR((int, const void *, size_t));
 #endif
-#ifndef        _MSC_VER
+#if !defined(_MSC_VER) && !defined(__MINGW32__)
 /*
  * MS C comes with broken prototypes in wrong header files (in our case, the
  * wrong prototype is in stdlib.h). Avoid to redefine the broken MS stuff with
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/libschily/Targets 
new/cdrtools-3.01/libschily/Targets
--- old/cdrtools-3.01/libschily/Targets 2014-05-01 16:07:37.000000000 +0200
+++ new/cdrtools-3.01/libschily/Targets 2014-06-03 20:34:47.000000000 +0200
@@ -1,4 +1,4 @@
-# @(#)Targets  1.45 14/05/01 Copyright 1995-2014 J. Schilling
+# @(#)Targets  1.48 14/06/03 Copyright 1995-2014 J. Schilling
 
 CFILES_STDIO=  cvmod.c dat.c fcons.c fdown.c fdup.c \
                ffileread.c ffilewrite.c \
@@ -21,8 +21,9 @@
                chown.c \
                cmpbytes.c cmpmbytes.c cmpnullbytes.c \
                dirent.c dirname.c diropen.c \
+               dlfcn.c \
                eaccess.c error.c \
-               fchdir.c \
+               faccessat.c fchdir.c \
                fchmodat.c fchownat.c fconv.c fdopendir.c fexec.c fillbytes.c \
                findinpath.c \
                findbytes.c findline.c fnmatch.c format.c \
@@ -43,7 +44,7 @@
                handlecond.c \
                jsprintf.c jssnprintf.c jssprintf.c \
                kill.c \
-               linkat.c lutimens.c \
+               lchmod.c linkat.c lutimens.c \
                lxchdir.c \
                match.c matchl.c matchw.c matchwl.c movebytes.c \
                mkdirat.c mkdirs.c mkfifo.c mkfifoat.c mkgmtime.c mknodat.c \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/libschily/dlfcn.c 
new/cdrtools-3.01/libschily/dlfcn.c
--- old/cdrtools-3.01/libschily/dlfcn.c 1970-01-01 01:00:00.000000000 +0100
+++ new/cdrtools-3.01/libschily/dlfcn.c 2014-05-15 22:12:20.000000000 +0200
@@ -0,0 +1,220 @@
+/* @(#)dlfcn.c 1.1 14/05/15 Copyright 2014 J. Schilling */
+/*
+ *     Functions to support POSIX shared library handling
+ *
+ *     Copyright (c) 2014 J. Schilling
+ */
+/*
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License").  You may not use this file except in compliance
+ * with the License.
+ *
+ * See the file CDDL.Schily.txt in this distribution for details.
+ * A copy of the CDDL is also available via the Internet at
+ * http://www.opensource.org/licenses/cddl1.txt
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file CDDL.Schily.txt from this distribution.
+ */
+
+#include <schily/standard.h>
+#include <schily/dlfcn.h>
+#include <schily/errno.h>
+
+#ifndef        HAVE_DLOPEN
+
+#if !defined(DID_DLOPEN) && defined(HAVE_LOADLIBRARY)  /* Win-DOS */
+#define        DID_DLOPEN
+
+#include <schily/windows.h>
+
+LOCAL  int     _dl_lasterror;
+
+EXPORT void *
+dlopen(pathname, mode)
+       const char      *pathname;
+       int             mode;
+{
+       void    *ret = NULL;
+
+       /*
+        * Nur eine Directory, kein PATH:
+        *
+        * BOOL SetDllDirectory(char *pathname)
+        * DWORD GetDllDirectory(DWORD nBufferLength, LPTSTR lpBuffer) -> len
+        */
+       ret = LoadLibrary(pathname);
+       if (ret == NULL)
+               _dl_lasterror = GetLastError();
+
+       return (ret);
+}
+
+EXPORT int
+dlclose(handle)
+       void            *handle;
+{
+       int     ret = 0;
+
+       if (!FreeLibrary(handle)) {
+               _dl_lasterror = GetLastError();
+               ret = -1;
+       }
+
+       return (ret);
+}
+
+EXPORT void *
+dlsym(handle, name)
+       void            *handle;
+       const char      *name;
+{
+       void    *ret = NULL;
+
+       ret = GetProcAddress(handle, name);
+       if (ret == NULL)
+               _dl_lasterror = GetLastError();
+
+       return (ret);
+}
+
+#define        ERROR_BUFFER_SIZE       1024
+EXPORT const char *
+dlerror()
+{
+       const char      *ret = NULL;
+       DWORD           dwMsgLen;
+static char    buff[ERROR_BUFFER_SIZE + 1];
+
+       if (_dl_lasterror == 0)
+               return (ret);
+
+       buff[0] = 0;
+       dwMsgLen = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM
+                               |FORMAT_MESSAGE_IGNORE_INSERTS
+                               |FORMAT_MESSAGE_MAX_WIDTH_MASK,
+                               NULL,
+                               _dl_lasterror,
+                               MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
+                               (LPSTR)buff,
+                               ERROR_BUFFER_SIZE,
+                               NULL);
+       _dl_lasterror = 0;
+       ret = (const char *)buff;
+
+       return (ret);
+}
+
+#endif /* HAVE_LOADLOBRARY */
+
+#if !defined(DID_DLOPEN) && defined(HAVE_SHL_LOAD)     /* HP-UX */
+#define        DID_DLOPEN
+
+#include <schily/string.h>                             /* for sterror() */
+
+LOCAL  int     _dl_lasterror;
+
+EXPORT void *
+dlopen(pathname, mode)
+       const char      *pathname;
+       int             mode;
+{
+       void    *ret;
+       int     flags = BIND_IMMEDIATE;
+
+       if (mode == RTLD_LAZY)
+               flags = BIND_DEFERRED;
+
+       ret = shl_load(pathname, flags, 0L);
+       if (ret == NULL)
+               _dl_lasterror = errno;
+
+       return (ret);
+}
+
+EXPORT int
+dlclose(handle)
+       void            *handle;
+{
+       return (shl_unload(handle));
+}
+
+EXPORT void *
+dlsym(handle, name)
+       void            *handle;
+       const char      *name;
+{
+       void    *ret = NULL;
+
+       if (shl_findsym(handle, name, TYPE_UNDEFINED, &ret) != 0)
+               _dl_lasterror = errno;
+
+       return (ret);
+}
+
+EXPORT const char *
+dlerror()
+{
+       const char      *ret = NULL;
+
+       if (_dl_lasterror == 0)
+               return (ret);
+       ret = strerror(_dl_lasterror);
+       _dl_lasterror = 0;
+
+       return (ret);
+}
+
+#endif /* HAVE_SHL_LOAD */
+
+#if !defined(DID_DLOPEN)                       /* unknown OS */
+#define        DID_DLOPEN
+
+/*
+ * If we do not have dlopen(), we at least need to define a
+ * dummy function of that name.
+ */
+
+EXPORT void *
+dlopen(pathname, mode)
+       const char      *pathname;
+       int             mode;
+{
+       void    *ret = NULL;
+
+       return (ret);
+}
+
+EXPORT int
+dlclose(handle)
+       void            *handle;
+{
+       int     ret = 0;
+
+       return (ret);
+}
+
+EXPORT void *
+dlsym(handle, name)
+       void            *handle;
+       const char      *name;
+{
+       void    *ret = NULL;
+
+       return (ret);
+}
+
+EXPORT const char *
+dlerror()
+{
+       const char      *ret = NULL;
+
+       return (ret);
+}
+
+#endif /* HAVE_SHL_LOAD */
+
+
+#else  /* HAVE_DLOPEN */
+#endif /* HAVE_DLOPEN */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/libschily/eaccess.c 
new/cdrtools-3.01/libschily/eaccess.c
--- old/cdrtools-3.01/libschily/eaccess.c       2010-05-08 13:48:17.000000000 
+0200
+++ new/cdrtools-3.01/libschily/eaccess.c       2014-05-15 22:11:04.000000000 
+0200
@@ -1,13 +1,13 @@
-/* @(#)eaccess.c       1.4 10/05/08 Copyright 2004-2010 J. Schilling */
+/* @(#)eaccess.c       1.6 14/05/15 Copyright 2004-2014 J. Schilling */
 #include <schily/mconfig.h>
 #ifndef lint
 static UConst char sccsid[] =
-       "@(#)eaccess.c  1.4 10/05/08 Copyright 2004-2010 J. Schilling";
+       "@(#)eaccess.c  1.6 14/05/15 Copyright 2004-2014 J. Schilling";
 #endif
 /*
  * Implement the best possible emulation for eaccess()
  *
- * Copyright 2004-2010 J. Schilling
+ * Copyright 2004-2014 J. Schilling
  */
 /*
  * The contents of this file are subject to the terms of the
@@ -16,6 +16,8 @@
  * with the License.
  *
  * See the file CDDL.Schily.txt in this distribution for details.
+ * A copy of the CDDL is also available via the Internet at
+ * http://www.opensource.org/licenses/cddl1.txt
  *
  * When distributing Covered Code, include this CDDL HEADER in each
  * file and include the License file CDDL.Schily.txt from this distribution.
@@ -23,6 +25,7 @@
 
 #include <schily/unistd.h>
 #include <schily/standard.h>
+#include <schily/errno.h>
 #include <schily/schily.h>
 
 #ifndef        HAVE_EACCESS
@@ -39,7 +42,14 @@
 #ifdef HAVE_ACCESS_E_OK
        return (access(name, E_OK|mode));
 #else
-       return (access(name, mode));
+       if (getuid() == geteuid() && getgid() == getegid())
+               return (access(name, mode));
+#ifdef EOPNOTSUPP
+       seterrno(EOPNOTSUPP);
+#else
+       seterrno(EINVAL);
+#endif
+       return (-1);
 #endif
 #endif
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/libschily/faccessat.c 
new/cdrtools-3.01/libschily/faccessat.c
--- old/cdrtools-3.01/libschily/faccessat.c     1970-01-01 01:00:00.000000000 
+0100
+++ new/cdrtools-3.01/libschily/faccessat.c     2014-05-11 17:49:36.000000000 
+0200
@@ -0,0 +1,58 @@
+/* @(#)faccessat.c     1.1 14/05/11 Copyright 2013-2014 J. Schilling */
+/*
+ *     Emulate the behavior of faccessat(int fd, const char *name,
+ *                                     int amode, int flag)
+ *
+ *     Note that emulation methods that do not use the /proc filesystem are
+ *     not MT safe. In the non-MT-safe case, we do:
+ *
+ *             savewd()/fchdir()/open(name)/restorewd()
+ *
+ *     Errors may force us to abort the program as our caller is not expected
+ *     to know that we do more than a simple open() here and that the
+ *     working directory may be changed by us.
+ *
+ *     Copyright (c) 2013-2014 J. Schilling
+ */
+/*
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License").  You may not use this file except in compliance
+ * with the License.
+ *
+ * See the file CDDL.Schily.txt in this distribution for details.
+ * A copy of the CDDL is also available via the Internet at
+ * http://www.opensource.org/licenses/cddl1.txt
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file CDDL.Schily.txt from this distribution.
+ */
+
+#include <schily/unistd.h>
+#include <schily/types.h>
+#include <schily/fcntl.h>
+#include <schily/maxpath.h>
+#include <schily/errno.h>
+#include <schily/standard.h>
+#include <schily/schily.h>
+#include "at-defs.h"
+
+#ifndef        HAVE_FACCESSAT
+
+/* CSTYLED */
+#define        PROTO_DECL      , int amode, int flag
+#define        KR_DECL         int amode; int flag;
+/* CSTYLED */
+#define        KR_ARGS         , amode, flag
+#define        FUNC_CALL(n)    (flag & AT_EACCESS ? \
+                               eaccess(n, amode) : access(n, amode))
+#define        FLAG_CHECK()    if (flag & ~(AT_EACCESS)) { \
+                               seterrno(EINVAL);                        \
+                               return (-1);                             \
+                       }
+#define        FUNC_NAME       faccessat
+#define        FUNC_RESULT     int
+
+#include "at-base.c"
+
+#endif /* HAVE_FCHOWNAT */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/libschily/fchmodat.c 
new/cdrtools-3.01/libschily/fchmodat.c
--- old/cdrtools-3.01/libschily/fchmodat.c      2014-05-01 16:06:54.000000000 
+0200
+++ new/cdrtools-3.01/libschily/fchmodat.c      2014-06-03 20:34:47.000000000 
+0200
@@ -1,4 +1,4 @@
-/* @(#)fchmodat.c      1.1 14/05/01 Copyright 2014 J. Schilling */
+/* @(#)fchmodat.c      1.2 14/06/03 Copyright 2014 J. Schilling */
 /*
  *     Emulate the behavior of fchmodat(int fd, const char *name, mode_t mode, 
int flag)
  *
@@ -60,33 +60,6 @@
 }
 #else  /* HAVE_CHMOD */
 
-#ifndef        HAVE_LCHMOD
-#ifdef PROTOTYPES
-EXPORT int
-lchmod(const char *name, mode_t mode)
-#else
-EXPORT int
-lchmod(name, mode)
-       const char      *name;
-       mode_t          mode;
-#endif
-{
-       struct stat     statbuf;
-
-       statbuf.st_mode = 0;
-       fstatat(AT_FDCWD, name, &statbuf, AT_SYMLINK_NOFOLLOW);
-
-       if (!S_ISLNK(statbuf.st_mode))
-               return (chmod(name, mode));
-#ifdef EOPNOTSUPP
-       seterrno(EOPNOTSUPP);
-#else
-       seterrno(EINVAL);
-#endif
-       return (-1);
-}
-#endif /* HAVE_LCHMOD */
-
 /* CSTYLED */
 #define        PROTO_DECL      , mode_t mode, int flag
 #define        KR_DECL         mode_t mode; int flag;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/libschily/lchmod.c 
new/cdrtools-3.01/libschily/lchmod.c
--- old/cdrtools-3.01/libschily/lchmod.c        1970-01-01 01:00:00.000000000 
+0100
+++ new/cdrtools-3.01/libschily/lchmod.c        2014-06-03 20:32:37.000000000 
+0200
@@ -0,0 +1,68 @@
+/* @(#)lchmod.c        1.1 14/06/03 Copyright 2014 J. Schilling */
+/*
+ *     Emulate the behavior of lchmod(const char *name, mode_t mode)
+ *
+ *     Copyright (c) 2014 J. Schilling
+ */
+/*
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License").  You may not use this file except in compliance
+ * with the License.
+ *
+ * See the file CDDL.Schily.txt in this distribution for details.
+ * A copy of the CDDL is also available via the Internet at
+ * http://www.opensource.org/licenses/cddl1.txt
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file CDDL.Schily.txt from this distribution.
+ */
+
+#include <schily/unistd.h>
+#include <schily/types.h>
+#include <schily/fcntl.h>
+#include <schily/stat.h>
+#include <schily/maxpath.h>
+#include <schily/errno.h>
+#include <schily/standard.h>
+#include <schily/schily.h>
+
+#ifndef        HAVE_LCHMOD
+#ifdef PROTOTYPES
+EXPORT int
+lchmod(const char *name, mode_t mode)
+#else
+EXPORT int
+lchmod(name, mode)
+       const char      *name;
+       mode_t          mode;
+#endif
+{
+       struct stat     statbuf;
+
+       statbuf.st_mode = 0;
+       fstatat(AT_FDCWD, name, &statbuf, AT_SYMLINK_NOFOLLOW);
+
+#ifdef HAVE_CHMOD
+       if (!S_ISLNK(statbuf.st_mode))
+               return (chmod(name, mode));
+
+#else  /* !HAVE_CHMOD */
+       if (!S_ISLNK(statbuf.st_mode)) {
+#ifdef ENOSYS
+               seterrno(ENOSYS);
+#else
+               seterrno(EINVAL);
+#endif
+               return (-1);
+       }
+#endif /* !HAVE_CHMOD */
+
+#ifdef EOPNOTSUPP
+       seterrno(EOPNOTSUPP);
+#else
+       seterrno(EINVAL);
+#endif
+       return (-1);
+}
+#endif /* HAVE_LCHMOD */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/libschily/libschily-mapvers 
new/cdrtools-3.01/libschily/libschily-mapvers
--- old/cdrtools-3.01/libschily/libschily-mapvers       2014-05-01 
16:07:37.000000000 +0200
+++ new/cdrtools-3.01/libschily/libschily-mapvers       2014-06-03 
20:34:16.000000000 +0200
@@ -1,4 +1,4 @@
-# /* @(#)libschily-mapvers     1.43 14/05/01 Copyright 2005-2014 J. Schilling 
*/
+# /* @(#)libschily-mapvers     1.46 14/06/03 Copyright 2005-2014 J. Schilling 
*/
 #include <schily/mconfig.h>
 
 SCHILY_1.6 {
@@ -13,6 +13,9 @@
        qftofs;
        restorewd;
        savewd;
+#ifndef        HAVE_FACCESSAT
+       faccessat;
+#endif
 #ifndef        HAVE_LCHMOD
        lchmod;
 #endif
@@ -82,6 +85,13 @@
        fspush;
        fspop;
        fspushed;
+
+#ifndef        HAVE_DLOPEN
+       dlopen;
+       dlclose;
+       dlsym;
+       dlerror;
+#endif
 } SCHILY_1.5;
 
 SCHILY_1.5 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/libschily/mkstemp.c 
new/cdrtools-3.01/libschily/mkstemp.c
--- old/cdrtools-3.01/libschily/mkstemp.c       2011-08-14 17:08:21.000000000 
+0200
+++ new/cdrtools-3.01/libschily/mkstemp.c       2014-05-15 22:11:42.000000000 
+0200
@@ -1,6 +1,6 @@
-/* @(#)mkstemp.c       1.1 11/08/14 Copyright 2011 J. Schilling */
+/* @(#)mkstemp.c       1.2 14/05/15 Copyright 2011-2014 J. Schilling */
 /*
- *     Copyright (c) 2011 J. Schilling
+ *     Copyright (c) 2011-2014 J. Schilling
  */
 /*
  * The contents of this file are subject to the terms of the
@@ -9,6 +9,8 @@
  * with the License.
  *
  * See the file CDDL.Schily.txt in this distribution for details.
+ * A copy of the CDDL is also available via the Internet at
+ * http://www.opensource.org/licenses/cddl1.txt
  *
  * When distributing Covered Code, include this CDDL HEADER in each
  * file and include the License file CDDL.Schily.txt from this distribution.
@@ -20,6 +22,7 @@
 #include <schily/types.h>
 #include <schily/fcntl.h>
 #include <schily/stat.h>
+#include <schily/errno.h>
 
 #ifndef        HAVE_MKSTEMP
 EXPORT int
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/mkisofs/mkisofs.8 
new/cdrtools-3.01/mkisofs/mkisofs.8
--- old/cdrtools-3.01/mkisofs/mkisofs.8 2014-02-17 23:49:17.000000000 +0100
+++ new/cdrtools-3.01/mkisofs/mkisofs.8 2014-02-17 23:49:17.000000000 +0100
@@ -2,7 +2,20 @@
 .\" To print, first run through tbl
 .\" -*- nroff -*-
 .\" @(#)mkisofs.8      1.152 14/02/17 Copyright 1997-2014 J. Schilling
-.\"@@C@@
+.\"
+.\" This program is free software; you can redistribute it and/or modify
+.\" it under the terms of the GNU General Public License version 2
+.\" as published by the Free Software Foundation.
+.\"
+.\" 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; see the file COPYING.  If not, write to the Free Software
+.\" Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+.\"
 .\"
 .if t .ds a \v'-0.55m'\h'0.00n'\z.\h'0.40n'\z.\v'0.55m'\h'-0.40n'a
 .if t .ds o \v'-0.55m'\h'0.00n'\z.\h'0.45n'\z.\v'0.55m'\h'-0.45n'o
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/mkisofs/mkisofs.c 
new/cdrtools-3.01/mkisofs/mkisofs.c
--- old/cdrtools-3.01/mkisofs/mkisofs.c 2014-02-11 23:38:45.000000000 +0100
+++ new/cdrtools-3.01/mkisofs/mkisofs.c 2014-08-23 21:18:31.000000000 +0200
@@ -1,8 +1,8 @@
-/* @(#)mkisofs.c       1.272 14/02/11 joerg */
+/* @(#)mkisofs.c       1.274 14/08/23 joerg */
 #include <schily/mconfig.h>
 #ifndef lint
 static UConst char sccsid[] =
-       "@(#)mkisofs.c  1.272 14/02/11 joerg";
+       "@(#)mkisofs.c  1.274 14/08/23 joerg";
 #endif
 /*
  * Program mkisofs.c - generate iso9660 filesystem  based upon directory
@@ -491,7 +491,7 @@
        } else if (streql(opt_arg, "PPC")) {
                val = EL_TORITO_ARCH_PPC;
        } else if (streql(opt_arg, "Mac")) {
-               val = EL_TORITO_ARCH_PPC;
+               val = EL_TORITO_ARCH_MAC;
        } else if (streql(opt_arg, "efi")) {
                val = EL_TORITO_ARCH_EFI;
        } else {
@@ -1364,7 +1364,7 @@
        __("\1FILE\1Set HFS AutoStart file name")},
        {{"no-desktop%0", &create_dt },
        __("Do not create the HFS (empty) Desktop files")},
-       {{"hide-hfs&", NULL, (getpargfun)hfs_add_match },
+       {{"hide-hfs& ", NULL, (getpargfun)hfs_add_match },
        __("\1GLOBFILE\1Hide HFS file")},
        {{"hide-hfs-list&", NULL, (getpargfun)hfs_add_list },
        __("\1FILE\1List of HFS files to hide")},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cdrtools-3.01/mkisofs/rock.h 
new/cdrtools-3.01/mkisofs/rock.h
--- old/cdrtools-3.01/mkisofs/rock.h    2014-04-29 00:22:12.000000000 +0200
+++ new/cdrtools-3.01/mkisofs/rock.h    2014-04-29 00:22:12.000000000 +0200
@@ -4,7 +4,20 @@
  *
  * Copyright (c) 2003-2014 J. Schilling
  */
-/*@@C@@*/
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2
+ * as published by the Free Software Foundation.
+ *
+ * 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; see the file COPYING.  If not, write to the Free Software
+ * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
 
 /*
  * Defines for SUSP and Rock Ridge signature flags.

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to