Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 816C671947 for ; Mon, 3 Jun 2013 08:13:22 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id EAA2014A292; Mon, 3 Jun 2013 08:13:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0411F14A291 for ; Mon, 3 Jun 2013 08:13:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id gOBRaTKjg74Y for ; Mon, 3 Jun 2013 08:13:14 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id D5C1614A28F for ; Mon, 3 Jun 2013 08:13:13 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 932A096; Mon, 3 Jun 2013 08:13:13 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 3 Jun 2013 08:13:13 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/sysutils/cdrtools To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20130603081313.932A096@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk 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 Documented the "LINKMODE=" macro to explain how to create dynamically linked bynaries. Libschily: - Added #include to libschily/fnmatch.c Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): - Added #include Libdeflt: - Added #include 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 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.