summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-06-03 08:13:13 +0000
committerwiz <wiz@pkgsrc.org>2013-06-03 08:13:13 +0000
commit2ecf271993f1d3783a6a228333f9104c1f81ff89 (patch)
tree16be4cb45ea74495686eb488f79f5b8a01a682c4
parent11da8dd51ab3eb6c662bd8d26ee6e1a82c028076 (diff)
downloadpkgsrc-2ecf271993f1d3783a6a228333f9104c1f81ff89.tar.gz
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> 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): - 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): - 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
-rw-r--r--sysutils/cdrtools/Makefile4
-rw-r--r--sysutils/cdrtools/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index 7b7f84f9642..61210d8ca76 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.95 2013/04/24 09:40:38 wiz Exp $
+# $NetBSD: Makefile,v 1.96 2013/06/03 08:13:13 wiz Exp $
-DISTNAME= cdrtools-3.01a14
+DISTNAME= cdrtools-3.01a15
PKGNAME= ${DISTNAME:S/a/alpha/:S/-pre/pre/}
CATEGORIES= sysutils
#MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/ \
diff --git a/sysutils/cdrtools/distinfo b/sysutils/cdrtools/distinfo
index 57de5842496..549527e3a1c 100644
--- a/sysutils/cdrtools/distinfo
+++ b/sysutils/cdrtools/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.73 2013/04/24 09:40:38 wiz Exp $
+$NetBSD: distinfo,v 1.74 2013/06/03 08:13:13 wiz Exp $
-SHA1 (cdrtools-3.01a14.tar.bz2) = 6ca420d07e34e2d1546671d1d8e62cec309d01f1
-RMD160 (cdrtools-3.01a14.tar.bz2) = b310cc346ff80244c24f974f15446135a20c3e3d
-Size (cdrtools-3.01a14.tar.bz2) = 2055811 bytes
+SHA1 (cdrtools-3.01a15.tar.bz2) = b0b9a8184e8c3520b07e5f884f364dd6795e4dc3
+RMD160 (cdrtools-3.01a15.tar.bz2) = 460ab215daa0027e323ad05c9a1669c27a122231
+Size (cdrtools-3.01a15.tar.bz2) = 2058342 bytes
SHA1 (patch-include_schily_sha2.h) = dab2dd40b20a37f1f2ff8cbd64f8361e800e1753