pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils Remove cdrecord-xcdroast. This package is not...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e666f3d7c7d0
branches: trunk
changeset: 506054:e666f3d7c7d0
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Wed Jan 11 15:20:48 2006 +0000
description:
Remove cdrecord-xcdroast. This package is not longer needed with
the current cdrtools/xcdroast version.
diffstat:
sysutils/Makefile | 3 +-
sysutils/cdrecord-xcdroast/DESCR | 9 --
sysutils/cdrecord-xcdroast/Makefile | 51 -------------
sysutils/cdrecord-xcdroast/PLIST | 7 -
sysutils/cdrecord-xcdroast/distinfo | 11 --
sysutils/cdrecord-xcdroast/patches/patch-ac | 23 ------
sysutils/cdrecord-xcdroast/patches/patch-ah | 40 ----------
sysutils/cdrecord-xcdroast/patches/patch-ai | 107 ----------------------------
sysutils/cdrecord-xcdroast/patches/patch-aj | 25 ------
sysutils/cdrecord-xcdroast/patches/patch-ba | 19 ----
sysutils/cdrecord-xcdroast/patches/patch-bb | 19 ----
11 files changed, 1 insertions(+), 313 deletions(-)
diffs (truncated from 368 to 300 lines):
diff -r 1d9b290e1ef5 -r e666f3d7c7d0 sysutils/Makefile
--- a/sysutils/Makefile Wed Jan 11 15:18:17 2006 +0000
+++ b/sysutils/Makefile Wed Jan 11 15:20:48 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.327 2006/01/09 12:47:19 manu Exp $
+# $NetBSD: Makefile,v 1.328 2006/01/11 15:20:48 xtraeme Exp $
#
COMMENT= System utilities
@@ -30,7 +30,6 @@
SUBDIR+= ccze
SUBDIR+= cdbkup
SUBDIR+= cdrdao
-SUBDIR+= cdrecord-xcdroast
SUBDIR+= cdrtools
SUBDIR+= cdrtools-ossdvd
SUBDIR+= cfengine2
diff -r 1d9b290e1ef5 -r e666f3d7c7d0 sysutils/cdrecord-xcdroast/DESCR
--- a/sysutils/cdrecord-xcdroast/DESCR Wed Jan 11 15:18:17 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-Cdrecord allows you to burn CDs with a CD-R/CD-RW recorder. It
-works as a burn engine for several applications. Cdrecord supports
-CD recorders from many different vendors; all SCSI-3/mmc and
-ATAPI/mmc compliant drives should also work. Supported features
-include: IDE/ATAPI, parallel-port, and SCSI drives; audio CDs, data
-CDs, and mixed CDs; full multi-session support, CD-RWs (rewritable),
-TAO, DAO and human-readable error messages.
-
-This is a development release of the software.
diff -r 1d9b290e1ef5 -r e666f3d7c7d0 sysutils/cdrecord-xcdroast/Makefile
--- a/sysutils/cdrecord-xcdroast/Makefile Wed Jan 11 15:18:17 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-# $NetBSD: Makefile,v 1.15 2005/12/05 20:50:59 rillig Exp $
-
-DISTNAME= cdrtools-2.01a21
-PKGNAME= cdrecord-xcdroast-0.98a15.2.01a21
-CATEGORIES= sysutils
-MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/alpha/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= tech-pkg%NetBSD.org@localhost
-HOMEPAGE= http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html
-COMMENT= cdrecord bits for xcdroast
-
-CONFLICTS+= cdrecord-xcdroast098a11-*
-CONFLICTS+= cdrecord-xcdroast098a13-*
-
-.include "../../mk/bsd.prefs.mk"
-
-WRKSRC= ${WRKDIR}/${DISTNAME:C/a.*//}
-USE_TOOLS+= gmake
-
-.if ${LOCALBASE} != "/opt/schily"
-BUILDLINK_TRANSFORM+= rmdir:/opt/schily
-.endif
-
-# avoid picking up a bad ${ARCH} during the build
-MAKE_ENV+= ARCH=""
-MAKE_ENV+= MAKEPROG="gmake"
-
-do-configure:
- cd ${WRKSRC}/RULES; \
- for suffix in netbsd-cc.rul netbsd-gcc.rul; do \
- if [ ! -f ${MACHINE}-$$suffix ]; then \
- ${LN} -sf i386-$$suffix ${MACHINE}-$$suffix; \
- fi; \
- done
-
-XCDRTOOLDIR= ${PREFIX}/lib/xcdroast-0.98/bin
-
-do-install:
- ${INSTALL_DATA_DIR} ${XCDRTOOLDIR}
- cd ${WRKSRC}/cdda2wav; \
- ${INSTALL_PROGRAM} OBJ/*/cdda2wav ${XCDRTOOLDIR}
- cd ${WRKSRC}/cdrecord; \
- ${INSTALL_PROGRAM} OBJ/*/cdrecord ${XCDRTOOLDIR}
- cd ${WRKSRC}/mkisofs; \
- ${INSTALL_PROGRAM} OBJ/*/mkisofs ${XCDRTOOLDIR}
- cd ${WRKSRC}/readcd; \
- ${INSTALL_PROGRAM} OBJ/*/readcd ${XCDRTOOLDIR}
-
-.include "../../mk/ossaudio.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 1d9b290e1ef5 -r e666f3d7c7d0 sysutils/cdrecord-xcdroast/PLIST
--- a/sysutils/cdrecord-xcdroast/PLIST Wed Jan 11 15:18:17 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/02 18:41:20 drochner Exp $
-lib/xcdroast-0.98/bin/cdda2wav
-lib/xcdroast-0.98/bin/cdrecord
-lib/xcdroast-0.98/bin/mkisofs
-lib/xcdroast-0.98/bin/readcd
-@dirrm lib/xcdroast-0.98/bin
-@dirrm lib/xcdroast-0.98
diff -r 1d9b290e1ef5 -r e666f3d7c7d0 sysutils/cdrecord-xcdroast/distinfo
--- a/sysutils/cdrecord-xcdroast/distinfo Wed Jan 11 15:18:17 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-$NetBSD: distinfo,v 1.6 2005/02/24 13:40:51 agc Exp $
-
-SHA1 (cdrtools-2.01a21.tar.bz2) = 8ae9b6c792d11df50be9f72643d19e0fe96e2e9d
-RMD160 (cdrtools-2.01a21.tar.bz2) = c299a3791555625311bc953345bb2c224570fc16
-Size (cdrtools-2.01a21.tar.bz2) = 1357956 bytes
-SHA1 (patch-ac) = 45c660e3d9f55e161614f29b0e94e177012213aa
-SHA1 (patch-ah) = 34ecab01125bcac2a28e295b198edce0de8b8777
-SHA1 (patch-ai) = 38f6bc8a9deee6861d5589dcf65dcd4968614457
-SHA1 (patch-aj) = 7e8328ad3478a43cc9311158c30b0acfe48fbb7b
-SHA1 (patch-ba) = 8d7038282ba5a6b133544cc8e440f6e12a475990
-SHA1 (patch-bb) = c5ee1e00e1f8723fe28d4d360bcede7680a7e4b9
diff -r 1d9b290e1ef5 -r e666f3d7c7d0 sysutils/cdrecord-xcdroast/patches/patch-ac
--- a/sysutils/cdrecord-xcdroast/patches/patch-ac Wed Jan 11 15:18:17 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2003/12/28 19:22:12 jmmv Exp $
-
---- include/btorder.h.orig 2003-06-15 23:41:22.000000000 +0200
-+++ include/btorder.h
-@@ -28,6 +28,9 @@
- #include <sys/types.h> /* try to load isa_defs.h on Solaris */
- #define _INCL_SYS_TYPES_H
- #endif
-+#ifdef __NetBSD__
-+#include <machine/endian.h>
-+#endif
-
- #ifndef _MCONFIG_H
- #include <mconfig.h> /* load bit/byte-oder from xmconfig.h*/
-@@ -108,7 +111,7 @@ error Only one of _BIT_FIELDS_LTOH or _
- # if defined(__ppc__) || defined(ppc) || defined(__ppc) || \
- defined(__PPC) || defined(powerpc) || defined(__powerpc__)
-
--# if defined(__BIG_ENDIAN__)
-+# if defined(__BIG_ENDIAN__) || BYTE_ORDER == BIG_ENDIAN
- # define _BIT_FIELDS_HTOL
- # else
- # define _BIT_FIELDS_LTOH
diff -r 1d9b290e1ef5 -r e666f3d7c7d0 sysutils/cdrecord-xcdroast/patches/patch-ah
--- a/sysutils/cdrecord-xcdroast/patches/patch-ah Wed Jan 11 15:18:17 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-$NetBSD: patch-ah,v 1.1.1.1 2002/12/02 18:41:20 drochner Exp $
-
---- cdda2wav/setuid.c.orig Thu Nov 21 16:12:35 2002
-+++ cdda2wav/setuid.c Sat Nov 30 18:17:51 2002
-@@ -92,7 +92,7 @@
-
- if (geteuid() == 0) return; /* nothing to do */
-
--#if defined _POSIX_SAVED_IDS && defined (HAVE_SETEUID)
-+#if defined (HAVE_SETEUID)
- if (seteuid(effective_uid)) {
- perror("seteuid in needroot()");
- exit(PERM_ERROR);
-@@ -126,7 +126,7 @@
- return;
- if (geteuid() != 0) return; /* nothing to do */
-
--#if defined _POSIX_SAVED_IDS && defined (HAVE_SETEUID)
-+#if defined (HAVE_SETEUID)
- if (seteuid(real_uid)) {
- perror("seteuid in dontneedroot()");
- exit(PERM_ERROR);
-@@ -186,7 +186,7 @@
-
- if (getegid() == effective_gid) return; /* nothing to do */
-
--#if defined _POSIX_SAVED_IDS && defined (HAVE_SETEGID)
-+#if defined (HAVE_SETEGID)
- if (setegid(effective_gid)) {
- perror("setegid in needgroup()");
- exit(PERM_ERROR);
-@@ -217,7 +217,7 @@
- exit(INTERNAL_ERROR);
- }
- if (getegid() != effective_gid) return; /* nothing to do */
--#if defined _POSIX_SAVED_IDS && defined (HAVE_SETEGID)
-+#if defined (HAVE_SETEGID)
- if (setegid(real_gid)) {
- perror("setegid in dontneedgroup()");
- exit(PERM_ERROR);
diff -r 1d9b290e1ef5 -r e666f3d7c7d0 sysutils/cdrecord-xcdroast/patches/patch-ai
--- a/sysutils/cdrecord-xcdroast/patches/patch-ai Wed Jan 11 15:18:17 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,107 +0,0 @@
-$NetBSD: patch-ai,v 1.1.1.1 2002/12/02 18:41:20 drochner Exp $
-
---- libscg/scsi-bsd.c.orig Mon Oct 21 15:57:07 2002
-+++ libscg/scsi-bsd.c Sat Nov 30 18:20:19 2002
-@@ -48,7 +48,7 @@
- * Choose your name instead of "schily" and make clear that the version
- * string is related to a modified source.
- */
--LOCAL char _scg_trans_version[] = "scsi-bsd.c-1.41"; /* The version for this transport*/
-+LOCAL char _scg_trans_version[] = "scsi-bsd.c-1.41nb1"; /* The version for this transport*/
-
- #define MAX_SCG 16 /* Max # of SCSI controllers */
- #define MAX_TGT 16
-@@ -108,7 +108,7 @@
- * return "schily" for the SCG_AUTHOR request.
- */
- case SCG_AUTHOR:
-- return (_scg_auth_schily);
-+ return ("frueauf");
- case SCG_SCCS_ID:
- return (__sccsid);
- }
-@@ -140,6 +140,15 @@
- register int l;
- register int nopen = 0;
- char devname[64];
-+#if defined(__NetBSD__)
-+ struct scsi_addr mysaddr;
-+#if defined(__i386__)
-+ char slicename[] = "d"; /* i386 is special */
-+#else
-+ char slicename[] = "c"; /* this is what the rest uses */
-+#endif
-+ char *myslicename = slicename;
-+#endif
-
- if (busno >= MAX_SCG || tgt >= MAX_TGT || tlun >= MAX_LUN) {
- errno = EINVAL;
-@@ -166,6 +175,60 @@
- if ((device != NULL && *device != '\0') || (busno == -2 && tgt == -2))
- goto openbydev;
-
-+
-+/*
-+ * I know of no method in NetBSD to probe the scsibus and get the mapping
-+ * busnumber,target,lun --> devicename.
-+ *
-+ * Because of this implement a true bruteforce hack to find
-+ * out what cdroms there are.
-+ *
-+ * Note that this method only finds cd0-cd7. Anything higher
-+ * than this needs additional tweaks.
-+ *
-+ * Feel free to implement this cleanly if you have better knowledge.
-+ * Until then this helps to get -scanbus und thus xcdroast working :-)
-+ *
-+ */
-+#if defined(__NetBSD__)
-+ if (busno >= 0 && tgt >= 0 && tlun >= 0) {
-+ for (l=0; l < MAX_LUN ; l++) {
-+ sprintf(devname, "/dev/rcd%d%s", l, myslicename);
-+ f = open(devname, O_RDWR);
-+ if (f >= 0) {
-+ if (ioctl(f, SCIOCIDENTIFY, &mysaddr) < 0) {
-+ close(f);
-+ errno = EINVAL;
-+ return (0);
-+ }
-+ if (busno == SADDR_BUS(mysaddr) && tgt == SADDR_TARGET(mysaddr) && tlun == SADDR_LUN(mysaddr)) {
-+ scglocal(scgp)->scgfiles[busno][tgt][tlun] = f;
-+ return(1);
-+ }
-+ } else goto openbydev;
-+ }
-+ } else for (l=0; l < MAX_LUN ; l++) {
-+ sprintf(devname, "/dev/rcd%d%s", l, myslicename);
-+ f = open(devname, O_RDWR);
-+ if (f >= 0) {
-+ if (ioctl(f, SCIOCIDENTIFY, &mysaddr) < 0) {
-+ close(f);
-+ errno = EINVAL;
-+ return (0);
-+ }
-+ scg_scsibus(scgp) = busno = SADDR_BUS(mysaddr);
-+ scg_target(scgp) = tgt = SADDR_TARGET(mysaddr);
-+ if ((tlun >= 0) && (tlun != SADDR_LUN(mysaddr))) {
-+ close(f);
-+ errno = EINVAL;
-+ return (0);
-+ }
-+ scg_lun(scgp) = tlun = SADDR_LUN(mysaddr);
-+ if (scg_setup(scgp, f, busno, tgt, tlun))
-+ nopen++;
-+ }
-+ }
-+#else /* not __NetBSD__ */
- if (busno >= 0 && tgt >= 0 && tlun >= 0) {
-
- js_snprintf(devname, sizeof(devname),
-@@ -202,6 +265,7 @@
- }
- }
- }
-+#endif /* end of not __NetBSD__ */
- /*
- * Could not open /dev/su-* or got dev=devname:b,l,l / dev=devname:@,l
- * We do the apropriate tests and try our best.
diff -r 1d9b290e1ef5 -r e666f3d7c7d0 sysutils/cdrecord-xcdroast/patches/patch-aj
--- a/sysutils/cdrecord-xcdroast/patches/patch-aj Wed Jan 11 15:18:17 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-aj,v 1.1.1.1 2002/12/02 18:41:20 drochner Exp $
-
---- cdrecord/scsi_cdr.c.orig Thu Sep 12 22:39:35 2002
Home |
Main Index |
Thread Index |
Old Index