ports/169749: [PATCH] sysutils/cdrkit: update to 1.1.11

John Hein jhein at symmetricom.com
Mon Jul 9 20:10:12 UTC 2012


>Number:         169749
>Category:       ports
>Synopsis:       [PATCH] sysutils/cdrkit: update to 1.1.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 09 20:10:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     John Hein
>Release:        
>Organization:
>Environment:
>Description:
- Update to 1.1.11

Added file(s):
- files/patch-genisomage


>From Changelog...

cdrkit (1.1.11) RELEASED; urgency=low

  [ Steve McIntyre ]
  * genisoimage: Fix silly bug in MD5 output in template files. (Debian
    bug #596681)
  * genisoimage: Minor tweaks to the the genisoimage.1 man page.
  * genisoimage: Update references to atterer.org (Debian bug #596860)
  * genisoimage.1: Make the description of the md5-list format clearer.

  [ Mike Paul ]
  * genisoimage: Use memmove() instead of strcpy() when cleaning
    up graft points.

 -- Steve McIntyre <93sam at debian.org>  Fri, 23 Apr 2010 00:30:18 +0100

cdrkit (1.1.10) RELEASED; urgency=low

  [ Steve McIntyre ]
  * genisoimage: add support for sha256 and sha512 checksum generation
    when making jigdo files.
  * genisoimage: checksumming with lots of algorithms can be very
    time-consuming, so split it out into multiple threads if possible.
  * genisoimage: allow user to specify which checksum algorithms to run
    on the command line.
  * Fix FTBFS with missing xconfig.h. Thanks to Matt Kraai for the patch.

  [ Nikola Pajkovsky ]
  * genisoimage: fix string overflow breakage when using the -root
    option (https://bugzilla.redhat.com/show_bug.cgi?id=508449)

  [ Peter Samuelson ]
  * librols: remove or rename several functions that clash with POSIX.
    Fix up callers.

 -- Steve McIntyre <93sam at debian.org>  Thu, 14 May 2009 00:28:48 +0100


Port maintainer (pav at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:

--- cdrkit-1.1.11.patch begins here ---
Index: Makefile
===================================================================
RCS file: /base/FreeBSD-CVS/ports/sysutils/cdrkit/Makefile,v
retrieving revision 1.14
diff -u -p -u -r1.14 Makefile
--- Makefile	15 Jan 2012 20:20:06 -0000	1.14
+++ Makefile	6 Jul 2012 19:49:12 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	cdrkit
-PORTVERSION=	1.1.9
-PORTREVISION=	1
+PORTVERSION=	1.1.11
 CATEGORIES=	sysutils
 MASTER_SITES=	http://cdrkit.org/releases/ \
 		http://debburn.alioth.debian.org/
Index: distinfo
===================================================================
RCS file: /base/FreeBSD-CVS/ports/sysutils/cdrkit/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo	19 Mar 2011 12:32:03 -0000	1.5
+++ distinfo	6 Jul 2012 19:39:21 -0000
@@ -1,2 +1,2 @@
-SHA256 (cdrkit-1.1.9.tar.gz) = d5d58ab4c7bef036a53ef9742b4e57621f61310cd0cd28f558ba0b88c354efa2
-SIZE (cdrkit-1.1.9.tar.gz) = 1430065
+SHA256 (cdrkit-1.1.11.tar.gz) = d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da
+SIZE (cdrkit-1.1.11.tar.gz) = 1445133
Index: files/patch-genisomage
===================================================================
RCS file: files/patch-genisomage
diff -N files/patch-genisomage
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-genisomage	6 Jul 2012 19:39:21 -0000
@@ -0,0 +1,87 @@
+$FreeBSD$
+
+Use <sys/endian.h> instead of the linux-ish <endian.h>
+
+Use __attribute__ ((__nothrow__)) instead of the linux-ish __THROW (from the
+linux sys/cdefs.h) macro - should work with clang and gcc on FreeBSD.
+
+--- genisoimage/sha256.c.orig	2009-10-11 12:27:59.000000000 -0600
++++ genisoimage/sha256.c	2011-10-27 14:55:25.000000000 -0600
+@@ -24,9 +24,9 @@
+ 
+ /* Written by Ulrich Drepper <drepper at redhat.com>, 2007.  */
+ 
+-#include <endian.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <sys/endian.h>
+ #include <sys/types.h>
+ 
+ #include "sha256.h"
+--- genisoimage/sha256.h.orig	2009-05-10 15:49:54.000000000 -0600
++++ genisoimage/sha256.h	2011-10-27 14:58:30.000000000 -0600
+@@ -42,14 +42,14 @@
+ 
+ /* Initialize structure containing state of computation.
+    (FIPS 180-2: 5.3.2)  */
+-extern void sha256_init_ctx (struct sha256_ctx *ctx) __THROW;
++extern void sha256_init_ctx (struct sha256_ctx *ctx) __attribute__ ((__nothrow__));
+ 
+ /* Starting with the result of former calls of this function (or the
+    initialization function update the context for the next LEN bytes
+    starting at BUFFER.
+    It is NOT required that LEN is a multiple of 64.  */
+ extern void sha256_process_bytes (const void *buffer, size_t len,
+-				    struct sha256_ctx *ctx) __THROW;
++				    struct sha256_ctx *ctx) __attribute__ ((__nothrow__));
+ 
+ /* Process the remaining bytes in the buffer and put result from CTX
+    in first 32 bytes following RESBUF.
+@@ -57,6 +57,6 @@
+    IMPORTANT: On some systems it is required that RESBUF is correctly
+    aligned for a 32 bits value.  */
+ extern void *sha256_finish_ctx (struct sha256_ctx *ctx, void *resbuf)
+-  __THROW;
++  __attribute__ ((__nothrow__));
+ 
+ #endif /* sha256.h */
+--- genisoimage/sha512.h.orig	2009-05-10 15:49:54.000000000 -0600
++++ genisoimage/sha512.h	2011-10-27 14:58:35.000000000 -0600
+@@ -42,14 +42,14 @@
+ 
+ /* Initialize structure containing state of computation.
+    (FIPS 180-2: 5.3.3)  */
+-extern void sha512_init_ctx (struct sha512_ctx *ctx) __THROW;
++extern void sha512_init_ctx (struct sha512_ctx *ctx) __attribute__ ((__nothrow__));
+ 
+ /* Starting with the result of former calls of this function (or the
+    initialization function update the context for the next LEN bytes
+    starting at BUFFER.
+    It is NOT required that LEN is a multiple of 128.  */
+ extern void sha512_process_bytes (const void *buffer, size_t len,
+-				    struct sha512_ctx *ctx) __THROW;
++				    struct sha512_ctx *ctx) __attribute__ ((__nothrow__));
+ 
+ /* Process the remaining bytes in the buffer and put result from CTX
+    in first 64 bytes following RESBUF.
+@@ -57,6 +57,6 @@
+    IMPORTANT: On some systems it is required that RESBUF is correctly
+    aligned for a 64 bits value.  */
+ extern void *sha512_finish_ctx (struct sha512_ctx *ctx, void *resbuf)
+-  __THROW;
++  __attribute__ ((__nothrow__));
+ 
+ #endif /* sha512.h */
+--- genisoimage/sha512.c.orig	2009-10-11 12:27:59.000000000 -0600
++++ genisoimage/sha512.c	2011-10-27 14:59:01.000000000 -0600
+@@ -24,9 +24,9 @@
+ 
+ /* Written by Ulrich Drepper <drepper at redhat.com>, 2007.  */
+ 
+-#include <endian.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <sys/endian.h>
+ #include <sys/types.h>
+ 
+ #include "sha512.h"
--- cdrkit-1.1.11.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list