summaryrefslogtreecommitdiff
path: root/sysutils/mkisofs-devel
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-08-02 09:04:08 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-08-02 09:04:08 +0000
commit58da4a7acbd0d744ffe56706389670a829905c37 (patch)
treeb692584237e735e79896587f14d85d2fe57a1b49 /sysutils/mkisofs-devel
parentRemove cdrecord (was renamed to cdrtools). (diff)
Cut down to a slave port for cdrtools-1.10 and thus upgrade to 1.14.
Notes
Notes: svn path=/head/; revision=45727
Diffstat (limited to 'sysutils/mkisofs-devel')
-rw-r--r--sysutils/mkisofs-devel/Makefile43
-rw-r--r--sysutils/mkisofs-devel/distinfo1
-rw-r--r--sysutils/mkisofs-devel/files/patch-ac11
-rw-r--r--sysutils/mkisofs-devel/files/patch-ad31
-rw-r--r--sysutils/mkisofs-devel/files/patch-aj42
-rw-r--r--sysutils/mkisofs-devel/files/patch-bb13
-rw-r--r--sysutils/mkisofs-devel/files/patch-bc42
-rw-r--r--sysutils/mkisofs-devel/files/patch-bd47
-rw-r--r--sysutils/mkisofs-devel/files/patch-be33
-rw-r--r--sysutils/mkisofs-devel/pkg-comment1
-rw-r--r--sysutils/mkisofs-devel/pkg-plist7
11 files changed, 9 insertions, 262 deletions
diff --git a/sysutils/mkisofs-devel/Makefile b/sysutils/mkisofs-devel/Makefile
index 83daa13e3ebd..277e8556d222 100644
--- a/sysutils/mkisofs-devel/Makefile
+++ b/sysutils/mkisofs-devel/Makefile
@@ -1,44 +1,19 @@
# New ports collection makefile for: mkisofs
-# Date created: 07 Aug 1996
-# Whom: jhk
+# Date created: Sun Jul 29 15:04:38 CEST 2001
+# Whom: Dirk Froemberg <dirk@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mkisofs
-PORTVERSION= 1.13
-PORTREVISION= 1
+PORTVERSION= 1.14
CATEGORIES= sysutils
-MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/mkisofs/ \
- ftp://ftp.gwdg.de/pub/linux/misc/cdrecord/mkisofs/ \
- ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/mkisofs/
-MAINTAINER= dirk@FreeBSD.org
+MASTERDIR= ${.CURDIR}/../cdrtools
+COMMENT= ${PKGDIR}/pkg-comment.mkisofs
+DESCR= ${PKGDIR}/pkg-descr.mkisofs
+PLIST= ${PKGDIR}/pkg-plist.mkisofs
-MAN8= apple_driver.8 isoinfo.8 mkhybrid.8 mkisofs.8
-USE_GMAKE= yes
-MAKE_ENV= COPTX="-DBSD_SCSI_SENSE_BUG"
+MKISOFS= yes
-.if ${MACHINE_ARCH} == "alpha"
-post-extract:
- ${LN} -s ${WRKSRC}/RULES/i386-freebsd-cc.rul \
- ${WRKSRC}/RULES/alpha-freebsd-cc.rul
-.endif
-
-post-build:
- @(cd ${WRKSRC}/mkisofs; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} apple_driver)
-
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/OBJ/${ARCH}-freebsd-cc/mkisofs ${PREFIX}/bin
- @${LN} ${PREFIX}/bin/mkisofs ${PREFIX}/bin/mkhybrid
- @${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/apple_driver ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/devdump ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/isodump ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/isoinfo ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/isovfy ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/mkisofs/mkisofs.8 ${PREFIX}/man/man8
- @${INSTALL_MAN} ${WRKSRC}/mkisofs/mkhybrid.8 ${PREFIX}/man/man8
- @${INSTALL_MAN} ${WRKSRC}/mkisofs/apple_driver.8 ${PREFIX}/man/man8
- @${INSTALL_MAN} ${WRKSRC}/mkisofs/diag/isoinfo.8 ${PREFIX}/man/man8
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/sysutils/mkisofs-devel/distinfo b/sysutils/mkisofs-devel/distinfo
deleted file mode 100644
index 3f2489028f79..000000000000
--- a/sysutils/mkisofs-devel/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (mkisofs-1.13.tar.gz) = 8d802d9f5892c214562c6af71e6a5714
diff --git a/sysutils/mkisofs-devel/files/patch-ac b/sysutils/mkisofs-devel/files/patch-ac
deleted file mode 100644
index c729a75dfe76..000000000000
--- a/sysutils/mkisofs-devel/files/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- include/schily.h.orig Mon Aug 30 16:50:46 1999
-+++ include/schily.h Sat Sep 18 17:25:57 1999
-@@ -34,7 +34,7 @@
- #define _SCHILY_H
-
- #ifndef _STANDARD_H
--#include <standard.h.h>
-+#include <standard.h>
- #endif
-
- #if defined(_SIZE_T) || defined(_T_SIZE_) || defined(_T_SIZE) || \
diff --git a/sysutils/mkisofs-devel/files/patch-ad b/sysutils/mkisofs-devel/files/patch-ad
deleted file mode 100644
index 7b89394c29d7..000000000000
--- a/sysutils/mkisofs-devel/files/patch-ad
+++ /dev/null
@@ -1,31 +0,0 @@
---- RULES/i386-freebsd-cc.rul.orig Sun Aug 29 16:09:56 1999
-+++ RULES/i386-freebsd-cc.rul Wed Sep 22 13:21:08 1999
-@@ -24,7 +24,8 @@
- ###########################################################################
-
- CPPFLAGS= $(CPPOPTS) $(CPPOPTX)
--CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
-+XCFLAGS:= $(CFLAGS)
-+CFLAGS= $(COPTS) $(CWARNOPTS) $(XCFLAGS) $(COPTX)
-
- CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
- COPTS=
-@@ -57,14 +58,13 @@
-
- FLOAT_OPTIONS=
-
--CC= @echo " ==> COMPILING \"$@\""; gcc
--LDCC= @echo " ==> LINKING \"$@\""; gcc
--DYNLD= @echo " ==> LINKING dynamic library \"$@\""; gcc
--RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib
-+LDCC= $(CC)
-+DYNLD= $(CC)
-+RANLIB= ranlib
- ARFLAGS= cr
- LORDER= lorder
- TSORT= tsort
-
- RMDEP= :
--MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); gcc -M
-+MKDEP= $(CC) -M
- MKDEP_OUT=
diff --git a/sysutils/mkisofs-devel/files/patch-aj b/sysutils/mkisofs-devel/files/patch-aj
deleted file mode 100644
index fbc2f5ad3a22..000000000000
--- a/sysutils/mkisofs-devel/files/patch-aj
+++ /dev/null
@@ -1,42 +0,0 @@
---- lib/cvt.c.orig Wed Sep 8 15:03:20 1999
-+++ lib/cvt.c Sun Feb 25 10:06:50 2001
-@@ -31,7 +31,7 @@
- #include <standard.h>
-
- #ifdef HAVE_DTOA /* 4.4BSD floating point implementation */
--extern char *__dtoa __PR((double value, int mode, int ndigit, int *decpt, int *sign, char **ep));
-+extern char *__dtoa __PR((double value, int mode, int ndigit, int *decpt, int *sign, char **ep, char **resultp));
- #endif
-
- #ifndef HAVE_ECVT
-@@ -57,7 +57,13 @@
- static char *buf;
- char *bufend;
- char *ep;
-- char *bp = __dtoa(value, 2, ndigit, decpt, sign, &ep);
-+ char *bp;
-+ static char *dtoaresult = NULL;
-+
-+ free(dtoaresult);
-+ dtoaresult = NULL;
-+
-+ bp = __dtoa(value, 2, ndigit, decpt, sign, &ep, &dtoaresult);
-
- if (value == 0.0) {
- /*
-@@ -102,7 +108,13 @@
- static char *buf;
- char *bufend;
- char *ep;
-- char *bp = __dtoa(value, 3, ndigit, decpt, sign, &ep);
-+ char *bp;
-+ static char *dtoaresult = NULL;
-+
-+ free(dtoaresult);
-+ dtoaresult = NULL;
-+
-+ bp = __dtoa(value, 3, ndigit, decpt, sign, &ep, &dtoaresult);
-
- if (value == 0.0) {
- /*
-
diff --git a/sysutils/mkisofs-devel/files/patch-bb b/sysutils/mkisofs-devel/files/patch-bb
deleted file mode 100644
index b37ea2f81308..000000000000
--- a/sysutils/mkisofs-devel/files/patch-bb
+++ /dev/null
@@ -1,13 +0,0 @@
---- mkisofs/tree.c.orig Thu Apr 27 11:44:57 2000
-+++ mkisofs/tree.c Sat Apr 29 11:34:23 2000
-@@ -538,8 +538,8 @@
- table->de_flags |= INHIBIT_JOLIET_ENTRY;
- /* table->name = strdup("<translation table>");*/
- table->name = strdup(trans_tbl);
-- table->table = (char *) e_malloc(ISO_ROUND_UP(tablesize));
-- memset(table->table, 0, ISO_ROUND_UP(tablesize));
-+ table->table = (char *) e_malloc(ISO_ROUND_UP(tablesize+1));
-+ memset(table->table, 0, ISO_ROUND_UP(tablesize+1));
- iso9660_file_length(trans_tbl, table, 0);
-
- if (use_RockRidge) {
diff --git a/sysutils/mkisofs-devel/files/patch-bc b/sysutils/mkisofs-devel/files/patch-bc
deleted file mode 100644
index b8e8c1f84a8f..000000000000
--- a/sysutils/mkisofs-devel/files/patch-bc
+++ /dev/null
@@ -1,42 +0,0 @@
---- mkisofs/modes.c.orig Sun May 7 14:49:37 2000
-+++ mkisofs/modes.c Thu Aug 17 21:02:57 2000
-@@ -58,7 +58,7 @@
- int hdlen;
- int len = 1; /* Nach SCSI Norm */
- int try = 0;
-- struct scsi_mode_page_header *mp;
-+ struct scg_scsi_mode_page_header *mp;
-
- again:
- fillbytes((caddr_t)mode, sizeof(mode), '\0');
-@@ -77,7 +77,7 @@
- scgp->silent--;
- return (FALSE);
- } else {
-- len = ((struct scsi_mode_header *)mode)->sense_data_len + 1;
-+ len = ((struct scg_scsi_mode_header *)mode)->sense_data_len + 1;
- }
- if (mode_sense(scgp, mode, len, page, 0) < 0) { /* Page n current */
- scgp->silent--;
-@@ -87,9 +87,9 @@
-
- if (scgp->verbose)
- scsiprbytes("Mode Sense Data", mode, len - scsigetresid(scgp));
-- hdlen = sizeof(struct scsi_mode_header) +
-- ((struct scsi_mode_header *)mode)->blockdesc_len;
-- mp = (struct scsi_mode_page_header *)(mode + hdlen);
-+ hdlen = sizeof(struct scg_scsi_mode_header) +
-+ ((struct scg_scsi_mode_header *)mode)->blockdesc_len;
-+ mp = (struct scg_scsi_mode_page_header *)(mode + hdlen);
- if (scgp->verbose)
- scsiprbytes("Mode Page Data", (u_char *)mp, mp->p_len+2);
-
-@@ -223,7 +223,7 @@
- ((struct scsi_modesel_header *)modep)->sense_data_len = 0;
- ((struct scsi_modesel_header *)modep)->res2 = 0;
-
-- i = ((struct scsi_mode_header *)modep)->blockdesc_len;
-+ i = ((struct scg_scsi_mode_header *)modep)->blockdesc_len;
- if (i > 0) {
- i_to_3_byte(
- ((struct scsi_mode_data *)modep)->blockdesc.nlblock,
diff --git a/sysutils/mkisofs-devel/files/patch-bd b/sysutils/mkisofs-devel/files/patch-bd
deleted file mode 100644
index 12e64251973f..000000000000
--- a/sysutils/mkisofs-devel/files/patch-bd
+++ /dev/null
@@ -1,47 +0,0 @@
---- libscg/scg/scsireg.h.orig Sun May 28 23:31:20 2000
-+++ libscg/scg/scsireg.h Thu Aug 17 20:31:45 2000
-@@ -170,7 +170,7 @@
-
- #if defined(_BIT_FIELDS_LTOH) /* Intel byteorder */
-
--struct scsi_mode_header {
-+struct scg_scsi_mode_header {
- Ucbit sense_data_len : 8;
- u_char medium_type;
- Ucbit res2 : 4;
-@@ -182,7 +182,7 @@
-
- #else /* Motorola byteorder */
-
--struct scsi_mode_header {
-+struct scg_scsi_mode_header {
- Ucbit sense_data_len : 8;
- u_char medium_type;
- Ucbit write_prot : 1;
-@@ -244,7 +244,7 @@
-
- #if defined(_BIT_FIELDS_LTOH) /* Intel byteorder */
-
--struct scsi_mode_page_header {
-+struct scg_scsi_mode_page_header {
- Ucbit p_code : 6;
- Ucbit res : 1;
- Ucbit parsave : 1;
-@@ -262,7 +262,7 @@
-
- #else /* Motorola byteorder */
-
--struct scsi_mode_page_header {
-+struct scg_scsi_mode_page_header {
- Ucbit parsave : 1;
- Ucbit res : 1;
- Ucbit p_code : 6;
-@@ -988,7 +988,7 @@
-
-
- struct scsi_mode_data {
-- struct scsi_mode_header header;
-+ struct scg_scsi_mode_header header;
- struct scsi_mode_blockdesc blockdesc;
- union pagex {
- struct acb_mode_data acb;
diff --git a/sysutils/mkisofs-devel/files/patch-be b/sysutils/mkisofs-devel/files/patch-be
deleted file mode 100644
index 422bb3d976fa..000000000000
--- a/sysutils/mkisofs-devel/files/patch-be
+++ /dev/null
@@ -1,33 +0,0 @@
---- mkisofs/scsi_cdr.c.orig Sun Jul 2 23:11:23 2000
-+++ mkisofs/scsi_cdr.c Thu Aug 17 21:02:04 2000
-@@ -1791,7 +1791,7 @@
- int secsize;
- {
- struct scsi_mode_data md;
-- int count = sizeof(struct scsi_mode_header) +
-+ int count = sizeof(struct scg_scsi_mode_header) +
- sizeof(struct scsi_mode_blockdesc);
-
- (void)test_unit_ready(scgp); /* clear any error situation */
-@@ -2462,8 +2462,8 @@
- return (NULL);
-
- mp = (struct cd_mode_page_2A *)
-- (mode + sizeof(struct scsi_mode_header) +
-- ((struct scsi_mode_header *)mode)->blockdesc_len);
-+ (mode + sizeof(struct scg_scsi_mode_header) +
-+ ((struct scg_scsi_mode_header *)mode)->blockdesc_len);
-
- /*
- * Do some heuristics against pre SCSI-3/mmc VU page 2A
-@@ -2481,8 +2481,8 @@
- if (val != 0 && val < 176)
- return (NULL);
-
-- len -= sizeof(struct scsi_mode_header) +
-- ((struct scsi_mode_header *)mode)->blockdesc_len;
-+ len -= sizeof(struct scg_scsi_mode_header) +
-+ ((struct scg_scsi_mode_header *)mode)->blockdesc_len;
- if (modep)
- mp2 = (struct cd_mode_page_2A *)modep;
- else
diff --git a/sysutils/mkisofs-devel/pkg-comment b/sysutils/mkisofs-devel/pkg-comment
deleted file mode 100644
index 3b56ca683c02..000000000000
--- a/sysutils/mkisofs-devel/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Create iso9660/Rock Ridge/Joliet filesystems
diff --git a/sysutils/mkisofs-devel/pkg-plist b/sysutils/mkisofs-devel/pkg-plist
deleted file mode 100644
index a22bb4037b45..000000000000
--- a/sysutils/mkisofs-devel/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/apple_driver
-bin/devdump
-bin/isodump
-bin/isoinfo
-bin/isovfy
-bin/mkhybrid
-bin/mkisofs