pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/cdparanoia Added missing copyright notices for S...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e8cd812c9690
branches: trunk
changeset: 533968:e8cd812c9690
user: heinz <heinz%pkgsrc.org@localhost>
date: Tue Oct 09 21:26:11 2007 +0000
description:
Added missing copyright notices for Simon 'corecode' Schubert.
This should fix PR pkg/34017.
diffstat:
audio/cdparanoia/distinfo | 8 ++--
audio/cdparanoia/patches/patch-ce | 29 +++++++++++------
audio/cdparanoia/patches/patch-cf | 65 ++++++++++++++++++++++----------------
audio/cdparanoia/patches/patch-cg | 45 ++++++++++++++++----------
4 files changed, 87 insertions(+), 60 deletions(-)
diffs (truncated from 517 to 300 lines):
diff -r 0ea1a6a3b6f4 -r e8cd812c9690 audio/cdparanoia/distinfo
--- a/audio/cdparanoia/distinfo Tue Oct 09 20:39:39 2007 +0000
+++ b/audio/cdparanoia/distinfo Tue Oct 09 21:26:11 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2007/03/08 19:24:24 rillig Exp $
+$NetBSD: distinfo,v 1.20 2007/10/09 21:26:11 heinz Exp $
SHA1 (cdparanoia-III-alpha9.8.src.tgz) = 04cc33a7d22d6255f6239e3e74195506b3bdde06
RMD160 (cdparanoia-III-alpha9.8.src.tgz) = d9225165f83b5386c58db263d6918a7006df1481
@@ -13,9 +13,9 @@
SHA1 (patch-cb) = c19ee04017b836842bb0f2d2c77e8f35aad0f9bb
SHA1 (patch-cc) = adea4fd9682c0543e5749c6f3fe73697d8663c6c
SHA1 (patch-cd) = 81d31fb55db0f982959395cdecc3da826bf23bfb
-SHA1 (patch-ce) = efbdd8b7f8908c9c4916f2356f9ff14658c27c15
-SHA1 (patch-cf) = 650de2a80235e42acd5670a06bd1e5bcf346100d
-SHA1 (patch-cg) = b9786ee81dcb7bd2f6572a20f424dd5291a8720d
+SHA1 (patch-ce) = 3a4e9a83753e2eb6595bcb4e7a47c42b72ef5702
+SHA1 (patch-cf) = d8cde95f9efa9c1941768468c30b1152c083830f
+SHA1 (patch-cg) = c962cbc84f021e399b6f210d0e7a140fd7004222
SHA1 (patch-ch) = 8d16dd8c80e8f1ee35ccc299ba927d685adde01c
SHA1 (patch-ci) = 60db1d1d2e8ec9c6d446543762218b22c597d986
SHA1 (patch-cj) = e2420e2ccadd2d6ea30d6bf48af9c141dc395afc
diff -r 0ea1a6a3b6f4 -r e8cd812c9690 audio/cdparanoia/patches/patch-ce
--- a/audio/cdparanoia/patches/patch-ce Tue Oct 09 20:39:39 2007 +0000
+++ b/audio/cdparanoia/patches/patch-ce Tue Oct 09 21:26:11 2007 +0000
@@ -1,8 +1,17 @@
-$NetBSD: patch-ce,v 1.4 2006/11/05 13:45:37 wiz Exp $
+$NetBSD: patch-ce,v 1.5 2007/10/09 21:26:11 heinz Exp $
---- interface/cooked_interface.c.orig Thu Apr 20 00:41:04 2000
+--- interface/cooked_interface.c.orig 2000-04-20 00:41:04.000000000 +0200
+++ interface/cooked_interface.c
-@@ -10,9 +10,11 @@
+@@ -1,6 +1,8 @@
+ /******************************************************************
+ * CopyPolicy: GNU Public License 2 applies
+ * Copyright (C) Monty xiphmont%mit.edu@localhost
++ * FreeBSD porting (c) 2003
++ * Simon 'corecode' Schubert <corecode%corecode.ath.cx@localhost>
+ *
+ * CDROM code specific to the cooked ioctl interface
+ *
+@@ -10,9 +12,11 @@
#include "common_interface.h"
#include "utils.h"
@@ -14,7 +23,7 @@
struct cdrom_tochdr hdr;
struct cdrom_tocentry entry;
-@@ -52,6 +54,45 @@ static int cooked_readtoc (cdrom_drive *
+@@ -52,6 +56,45 @@ static int cooked_readtoc (cdrom_drive *
d->disc_toc[i].dwStartSector = entry.cdte_addr.lba;
tracks=hdr.cdth_trk1+1;
@@ -60,7 +69,7 @@
d->cd_extra=FixupTOC(d,tracks);
return(--tracks); /* without lead-out */
}
-@@ -60,10 +101,15 @@ static int cooked_readtoc (cdrom_drive *
+@@ -60,10 +103,15 @@ static int cooked_readtoc (cdrom_drive *
/* Set operating speed */
static int cooked_setspeed(cdrom_drive *d, int speed)
{
@@ -76,7 +85,7 @@
}
-@@ -72,6 +118,7 @@ static int cooked_setspeed(cdrom_drive *
+@@ -72,6 +120,7 @@ static int cooked_setspeed(cdrom_drive *
*/
static long cooked_read (cdrom_drive *d, void *p, long begin, long sectors){
@@ -84,7 +93,7 @@
int retry_count,err;
struct cdrom_read_audio arg;
char *buffer=(char *)p;
-@@ -127,7 +174,147 @@ static long cooked_read (cdrom_drive *d,
+@@ -127,7 +176,147 @@ static long cooked_read (cdrom_drive *d,
} while (err);
return(sectors);
@@ -232,7 +241,7 @@
/* hook */
static int Dummy (cdrom_drive *d,int Switch){
-@@ -191,8 +378,11 @@ static void check_exceptions(cdrom_drive
+@@ -191,8 +380,11 @@ static void check_exceptions(cdrom_drive
/* set function pointers to use the ioctl routines */
int cooked_init_drive (cdrom_drive *d){
@@ -245,7 +254,7 @@
switch(d->drive_type){
case MATSUSHITA_CDROM_MAJOR: /* sbpcd 1 */
case MATSUSHITA_CDROM2_MAJOR: /* sbpcd 2 */
-@@ -243,6 +433,9 @@ int cooked_init_drive (cdrom_drive *d){
+@@ -243,6 +435,9 @@ int cooked_init_drive (cdrom_drive *d){
default:
d->nsectors=40;
}
@@ -255,7 +264,7 @@
d->enable_cdda = Dummy;
d->read_audio = cooked_read;
d->set_speed = cooked_setspeed;
-@@ -255,5 +448,6 @@ int cooked_init_drive (cdrom_drive *d){
+@@ -255,5 +450,6 @@ int cooked_init_drive (cdrom_drive *d){
if((ret=verify_read_command(d)))return(ret);
d->error_retry=1;
return(0);
diff -r 0ea1a6a3b6f4 -r e8cd812c9690 audio/cdparanoia/patches/patch-cf
--- a/audio/cdparanoia/patches/patch-cf Tue Oct 09 20:39:39 2007 +0000
+++ b/audio/cdparanoia/patches/patch-cf Tue Oct 09 21:26:11 2007 +0000
@@ -1,8 +1,17 @@
-$NetBSD: patch-cf,v 1.7 2006/09/03 17:13:30 ben Exp $
+$NetBSD: patch-cf,v 1.8 2007/10/09 21:26:11 heinz Exp $
---- interface/scan_devices.c.orig 2001-03-25 21:44:01.000000000 -0800
+--- interface/scan_devices.c.orig 2001-03-26 07:44:01.000000000 +0200
+++ interface/scan_devices.c
-@@ -19,6 +19,8 @@
+@@ -1,6 +1,8 @@
+ /******************************************************************
+ * CopyPolicy: GNU Public License 2 applies
+ * Copyright (C) 1998 Monty xiphmont%mit.edu@localhost
++ * FreeBSD porting (c) 2003
++ * Simon 'corecode' Schubert <corecode%corecode.ath.cx@localhost>
+ *
+ * Autoscan for or verify presence of a cdrom device
+ *
+@@ -19,6 +21,8 @@
#include "common_interface.h"
#include "utils.h"
@@ -11,7 +20,7 @@
#define MAX_DEV_LEN 20 /* Safe because strings only come from below */
/* must be absolute paths! */
static char *scsi_cdrom_prefixes[]={
-@@ -49,11 +51,24 @@ static char *cdrom_devices[]={
+@@ -49,11 +53,24 @@ static char *cdrom_devices[]={
"/dev/cm206cd",
"/dev/gscd",
"/dev/optcd",NULL};
@@ -36,7 +45,7 @@
/* Brute force... */
int i=0;
-@@ -75,10 +90,12 @@ cdrom_drive *cdda_find_a_cdrom(int messa
+@@ -75,10 +92,12 @@ cdrom_drive *cdda_find_a_cdrom(int messa
if((d=cdda_identify(buffer,messagedest,messages)))
return(d);
idmessage(messagedest,messages,"",NULL);
@@ -49,7 +58,7 @@
}
}else{
/* Name. Go for it. */
-@@ -97,8 +114,20 @@ cdrom_drive *cdda_find_a_cdrom(int messa
+@@ -97,8 +116,20 @@ cdrom_drive *cdda_find_a_cdrom(int messa
temp->pw_name);
}
return(NULL);
@@ -70,7 +79,7 @@
cdrom_drive *cdda_identify(const char *device, int messagedest,char **messages){
struct stat st;
cdrom_drive *d=NULL;
-@@ -117,8 +146,14 @@ cdrom_drive *cdda_identify(const char *d
+@@ -117,8 +148,14 @@ cdrom_drive *cdda_identify(const char *d
}
#endif
@@ -85,7 +94,7 @@
#ifdef CDDA_TEST
if(!d)d=cdda_identify_test(device,messagedest,messages);
-@@ -146,6 +181,7 @@ char *test_resolve_symlink(const char *f
+@@ -146,6 +183,7 @@ char *test_resolve_symlink(const char *f
cdrom_drive *cdda_identify_cooked(const char *dev, int messagedest,
char **messages){
@@ -93,7 +102,7 @@
cdrom_drive *d=NULL;
struct stat st;
int fd=-1;
-@@ -273,8 +309,60 @@ cdrom_drive *cdda_identify_cooked(const
+@@ -273,8 +311,60 @@ cdrom_drive *cdda_identify_cooked(const
idmessage(messagedest,messages,"\t\tCDROM sensed: %s\n",description);
return(d);
@@ -154,7 +163,7 @@
struct sg_id {
long l1; /* target | lun << 8 | channel << 16 | low_ino << 24 */
long l2; /* Unique id */
-@@ -289,12 +377,18 @@ typedef struct scsiid{
+@@ -289,12 +379,18 @@ typedef struct scsiid{
/* Even *this* isn't as simple as it bloody well should be :-P */
/* SG has an easy interface, but SCSI overall does not */
static int get_scsi_id(int fd, scsiid *id){
@@ -173,7 +182,7 @@
if(ioctl(fd,SCSI_IOCTL_GET_IDLUN,&argid))return(-1);
id->bus=argid.l2; /* for now */
id->id=argid.l1&0xff;
-@@ -302,6 +396,13 @@ static int get_scsi_id(int fd, scsiid *i
+@@ -302,6 +398,13 @@ static int get_scsi_id(int fd, scsiid *i
if(ioctl(fd,SCSI_IOCTL_GET_BUS_NUMBER,&busarg)==0)
id->bus=busarg;
@@ -187,7 +196,7 @@
return(0);
}
-@@ -390,6 +491,7 @@ matchfail:
+@@ -390,6 +493,7 @@ matchfail:
if(dev!=-1)close(dev);
return(NULL);
}
@@ -195,7 +204,7 @@
void strscat(char *a,char *b,int n){
int i;
-@@ -401,6 +503,7 @@ void strscat(char *a,char *b,int n){
+@@ -401,6 +505,7 @@ void strscat(char *a,char *b,int n){
strcat(a," ");
}
@@ -203,7 +212,7 @@
/* At this point, we're going to punt compatability before SG2, and
allow only SG2 and SG3 */
static int verify_SG_version(cdrom_drive *d,int messagedest,
-@@ -430,7 +533,9 @@ static int verify_SG_version(cdrom_drive
+@@ -430,7 +535,9 @@ static int verify_SG_version(cdrom_drive
idmessage(messagedest,messages,buffer,"");
return(major);
}
@@ -213,7 +222,7 @@
cdrom_drive *cdda_identify_scsi(const char *generic_device,
const char *ioctl_device, int messagedest,
char **messages){
-@@ -460,6 +565,7 @@ cdrom_drive *cdda_identify_scsi(const ch
+@@ -460,6 +567,7 @@ cdrom_drive *cdda_identify_scsi(const ch
generic_device);
return(NULL);
}
@@ -221,7 +230,7 @@
if((int)(g_st.st_rdev>>8)!=SCSI_GENERIC_MAJOR){
if((int)(g_st.st_rdev>>8)!=SCSI_CDROM_MAJOR){
idmessage(messagedest,messages,"\t\t%s is not a SCSI device",
-@@ -471,6 +577,7 @@ cdrom_drive *cdda_identify_scsi(const ch
+@@ -471,6 +579,7 @@ cdrom_drive *cdda_identify_scsi(const ch
ioctl_device=temp;
}
}
@@ -229,7 +238,7 @@
}
if(ioctl_device){
if(stat(ioctl_device,&i_st)){
-@@ -478,6 +585,7 @@ cdrom_drive *cdda_identify_scsi(const ch
+@@ -478,6 +587,7 @@ cdrom_drive *cdda_identify_scsi(const ch
ioctl_device);
return(NULL);
}
@@ -237,7 +246,7 @@
if((int)(i_st.st_rdev>>8)!=SCSI_CDROM_MAJOR){
if((int)(i_st.st_rdev>>8)!=SCSI_GENERIC_MAJOR){
idmessage(messagedest,messages,"\t\t%s is not a SCSI device",
-@@ -489,6 +597,7 @@ cdrom_drive *cdda_identify_scsi(const ch
+@@ -489,6 +599,7 @@ cdrom_drive *cdda_identify_scsi(const ch
ioctl_device=temp;
}
}
@@ -245,7 +254,7 @@
}
/* we need to resolve any symlinks for the lookup code to work */
-@@ -505,6 +614,7 @@ cdrom_drive *cdda_identify_scsi(const ch
+@@ -505,6 +616,7 @@ cdrom_drive *cdda_identify_scsi(const ch
}
if(!generic_device || !ioctl_device){
@@ -253,7 +262,7 @@
if(generic_device){
ioctl_device=
scsi_match(generic_device,scsi_cdrom_prefixes,
-@@ -520,6 +630,12 @@ cdrom_drive *cdda_identify_scsi(const ch
+@@ -520,6 +632,12 @@ cdrom_drive *cdda_identify_scsi(const ch
if(!generic_device)
goto cdda_identify_scsi_fail;
}
@@ -266,7 +275,7 @@
}
idmessage(messagedest,messages,"\t\tgeneric device: %s",generic_device);
-@@ -556,6 +672,7 @@ cdrom_drive *cdda_identify_scsi(const ch
+@@ -556,6 +674,7 @@ cdrom_drive *cdda_identify_scsi(const ch
type=(int)(i_st.st_rdev>>8);
@@ -274,7 +283,7 @@
if(type==SCSI_CDROM_MAJOR){
if (!S_ISBLK(i_st.st_mode)) {
idmessage(messagedest,messages,"\t\tSCSI CDROM device %s not a "
-@@ -567,8 +684,10 @@ cdrom_drive *cdda_identify_scsi(const ch
Home |
Main Index |
Thread Index |
Old Index