diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-06-24 18:30:18 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-06-24 18:30:18 +0000 |
commit | 6fce4ec062ec0d9a75b9e313aee6c8a0248912d3 (patch) | |
tree | ca8c90ee849acf46314fb1fa2869eeafa0bb986a /sysutils | |
parent | 58866fe5022c9598592685bcada1929910759c96 (diff) | |
download | pkgsrc-6fce4ec062ec0d9a75b9e313aee6c8a0248912d3.tar.gz |
Initial import of ccd2iso-0.9.
ccd2iso converts CloneCD images (.img) to ISO.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ccd2iso/DESCR | 1 | ||||
-rw-r--r-- | sysutils/ccd2iso/Makefile | 18 | ||||
-rw-r--r-- | sysutils/ccd2iso/PLIST | 2 | ||||
-rw-r--r-- | sysutils/ccd2iso/distinfo | 5 | ||||
-rw-r--r-- | sysutils/ccd2iso/patches/patch-aa | 25 |
5 files changed, 51 insertions, 0 deletions
diff --git a/sysutils/ccd2iso/DESCR b/sysutils/ccd2iso/DESCR new file mode 100644 index 00000000000..1e35b0b96f8 --- /dev/null +++ b/sysutils/ccd2iso/DESCR @@ -0,0 +1 @@ +ccd2iso converts CloneCD images (.img) to ISO. diff --git a/sysutils/ccd2iso/Makefile b/sysutils/ccd2iso/Makefile new file mode 100644 index 00000000000..66c2b503c7a --- /dev/null +++ b/sysutils/ccd2iso/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/06/24 18:30:18 xtraeme Exp $ +# + +DISTNAME= ccd2iso +PKGNAME= ${DISTNAME}-0.9 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ccd2iso/} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://ccd2iso.sourceforge.net/ +COMMENT= CloneCD to ISO converter + +USE_BUILDLINK3= yes +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/ccd2iso/PLIST b/sysutils/ccd2iso/PLIST new file mode 100644 index 00000000000..9744fbedd9a --- /dev/null +++ b/sysutils/ccd2iso/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/24 18:30:18 xtraeme Exp $ +bin/ccd2iso diff --git a/sysutils/ccd2iso/distinfo b/sysutils/ccd2iso/distinfo new file mode 100644 index 00000000000..0b7df078729 --- /dev/null +++ b/sysutils/ccd2iso/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/06/24 18:30:18 xtraeme Exp $ + +SHA1 (ccd2iso.tar.gz) = 9116e2f3551e33a50662b5224dc9c4b99320696b +Size (ccd2iso.tar.gz) = 540276 bytes +SHA1 (patch-aa) = d251de1ea9adb23591da3e8c1495ee5678164a0d diff --git a/sysutils/ccd2iso/patches/patch-aa b/sysutils/ccd2iso/patches/patch-aa new file mode 100644 index 00000000000..aec6dafc081 --- /dev/null +++ b/sysutils/ccd2iso/patches/patch-aa @@ -0,0 +1,25 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/06/24 18:30:18 xtraeme Exp $ + +--- src/ccd2iso.c.orig Thu Nov 13 06:43:41 2003 ++++ src/ccd2iso.c Thu Jun 24 15:31:04 2004 +@@ -22,6 +22,7 @@ + #include <config.h> + #endif + ++#include <err.h> + #include <stdio.h> + #include <stdlib.h> + #include <sys/stat.h> +@@ -47,7 +48,12 @@ + } + + src_file = fopen(argv[1], "r"); ++ if (src_file == NULL) ++ err(1, "%s", argv[1]); ++ + dst_file = fopen(argv[2], "w"); ++ if (dst_file == NULL) ++ err(1, "%s", argv[2]); + + stat(argv[1], &stat_file); + total_bytes = stat_file.st_size; |