pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/cdrtools



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jun  3 08:13:13 UTC 2013

Modified Files:
        pkgsrc/sysutils/cdrtools: Makefile distinfo

Log Message:
Update to 3.01a15:

All:

-       Due to an incorrect message from last release, here is corrected
        information on when a Linux installation is potentially dangerous:

        New autoconf tests for sys/capability.h and cap_*() functions
        from Linux -lcap

        WARNING: If you do not see this:

                checking for sys/capability.h... yes

                ...

                checking for cap_get_proc in -lcap... yes
                checking for cap_get_proc... yes
                checking for cap_set_proc... yes
                checking for cap_set_flag... yes
                checking for cap_clear_flag... yes

        your Linux installation is insecure in case you ever use the
        command "setcap" to set up file capabilities for executable commands.

        Note that cdrtools (as any other command) need to be capabylity aware
        in order to avoid security leaks with enhanced privileges. In most
        cases, privileges are only needed for a very limited set of operations.
        If cdrtools (cdrecord, cdda2wav, readcd) are installed suid-root, the
        functions to control privileges are in the basic set of supported
        functions and thus there is no problem for any program to control it's
        privileges - if they have been obtained via suid root, you are on a
        secure system.

        If you are however on an incomplete installation, that supports to
        raise privileges via fcaps but that does not include developer support
        for caps, the programs get the privileges without being able to know
        about the additional privileges and thus keep them because they cannot
        control them.

        WARNING: If you are on a Linux system that includes support for
        fcaps (this is seems to be true for all newer systems with
        Linux >= 2.6.24) and there is no development support for capabilities
        in the base system, you are on an inherently insecure system that allows
        to compile and set up programs with enhanced privileges that cannot
        control them.

        In such a case, try to educate the security manager for the related
        Linux distribution. Note that you may turn your private installation
        into a secure installation by installing development support for libcap.

-       WARNING: the include structure of include/schily/*.h and several sources
        has been restructured to cause less warnings with older OS platforms.
        If you see any new problem on your personal platform, please report.

-       New includefiles:

        schily/poll.h           Support poll()
        schily/stdarg.h         An alias to schily/varargs.h (but using the std 
name)
        schily/sunos4_proto.h   Missing prototypes for SunOS-4.x to make gcc 
quiet
        schily/timeb.h          Needed for users of ftime()

-       Many minor bug-fixes for the files include/schily/*.h

-       include/schily/archconf.h now defines __SUNOS5 for easier coding

-       include/schily/priv.h now defines platform independent fine grained 
privileges

-       Updated README.compile:

        Some typo patches from Jan Engelhardt <jengelh%inai.de@localhost>

        Documented the "LINKMODE=" macro to explain how to create dynamically
        linked bynaries.

Libschily:

-       Added #include <schily/libport.h> to libschily/fnmatch.c

Libedc (Optimized by J�rg Schilling, originated by Heiko Ei�feldt 
heiko%hexco.de@localhost):

-       Added #include <schily/libport.h>

Libdeflt:

-       Added #include <schily/libport.h>

Libfind:

-       dirname -> dir_name to avoid a gcc warning

Libhfs_iso:

-       Rename variable "utime" to "uxtime" to avoid a compiler warning

Libscg:

-       Repositioned #ifdefs to avoid unused variable definitions in
        libscg/scsi-sun.c

-       libscg/scsi-linux-ata.c now aborts early if errno == EPERM. This now
        makes it behave like libscg/scsi-linux-sg.c

-       A new scg flag SCGF_PERM_PRINT tells libscg to print a more verbose 
error
        in case that a SCSI comand was aborted with errno == EPERM.

Cdrecord:

-       Allow to compile without Linux libcap using "smake 
COPTX=-DNO_LINUX_CAPS LIB_CAP="

-       Cdrecord now checks whether there are sufficient fine grained 
privileges.

-       Cdrecord now uses the new flag SCGF_PERM_PRINT to get better warnings 
if the
        permissions granted by the OS are not sufficient.

Cdda2wav (Maintained/enhanced by J�rg Schilling, originated by Heiko Ei�feldt 
heiko%hexco.de@localhost):

-       Include file reordering to avoid warnings on older platforms

-       Allow to compile without Linux libcap using "smake 
COPTX=-DNO_LINUX_CAPS LIB_CAP="

-       Repositioned #ifdefs to avoid unused variable definitions in
        cdda2wav/sndconfig.c

-       Cdda2wav now checks whether there are sufficient fine grained 
privileges.

-       Work around a bug in sys/param.h FreeBSD-9.1, that #define's 
__FreeBSD_kernel__
        instead of #define __FreeBSD_kernel__ 9 that would be needed for Debian
        k-FreeBSD compatibility.
        The bug affects cdda2wav/mycdrom.h

Readcd:

-       Allow to compile without Linux libcap using "smake 
COPTX=-DNO_LINUX_CAPS LIB_CAP="

-       Readcd now checks whether there are sufficient fine grained privileges.

Mkisofs (Maintained/enhanced by J�rg Schilling since 1997, originated by Eric 
Youngdale):

-       Make mkisofs compile without -DUDF and without -DDVD_VIDEO
        Thanks to a hint from rmd4work%mail.ru@localhost


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/sysutils/cdrtools/Makefile
cvs rdiff -u -r1.73 -r1.74 pkgsrc/sysutils/cdrtools/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index