Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

7
sysutils/cdrkit/DESCR Normal file
View File

@@ -0,0 +1,7 @@
cdrkit is a suite of programs for recording CDs and DVDs, blanking
CD-RW media, creating ISO-9660 filesystem images, extracting audio
CD data, and more. The programs included in the cdrkit package were
originally derived from several sources, most notably mkisofs by
Eric Youngdale and others, cdda2wav by Heiko Eissfeldt, and cdrecord
by Joerg Schilling. However, cdrkit is not affiliated with any of
these authors; it is now an independent project.

23
sysutils/cdrkit/Makefile Normal file
View File

@@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.9 2013/05/31 12:41:59 wiz Exp $
#
DISTNAME= cdrkit-1.1.9
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://cdrkit.org/releases/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cdrkit.org/
COMMENT= Portable command-line CD/DVD recorder software
CONFLICTS= cdrtools-[0-9]*
USE_CMAKE= yes
USE_TOOLS+= perl:run
USE_LANGUAGES= c c++
CMAKE_ARGS+= -DMANSUBDIR=${PKGMANDIR}
REPLACE_PERL= 3rd-party/dirsplit/dirsplit
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

31
sysutils/cdrkit/PLIST Normal file
View File

@@ -0,0 +1,31 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/01 00:26:14 wiz Exp $
bin/cdda2mp3
bin/cdda2ogg
bin/devdump
bin/dirsplit
bin/genisoimage
bin/icedax
bin/isodebug
bin/isodump
bin/isoinfo
bin/isovfy
bin/pitchplay
bin/readmult
bin/readom
bin/wodim
man/man1/cdda2ogg.1
man/man1/devdump.1
man/man1/dirsplit.1
man/man1/genisoimage.1
man/man1/icedax.1
man/man1/isodebug.1
man/man1/isodump.1
man/man1/isoinfo.1
man/man1/isovfy.1
man/man1/list_audio_tracks.1
man/man1/pitchplay.1
man/man1/readmult.1
man/man1/readom.1
man/man1/wodim.1
man/man5/genisoimagerc.5
sbin/netscsid

15
sysutils/cdrkit/distinfo Normal file
View File

@@ -0,0 +1,15 @@
$NetBSD: distinfo,v 1.2 2009/06/07 22:02:24 hasso Exp $
SHA1 (cdrkit-1.1.9.tar.gz) = 44c9d85c300803e6b9a415e79f3f0c9ddf1a65ee
RMD160 (cdrkit-1.1.9.tar.gz) = ce3c62b98c82f3d524a345a6360d24e1d7ac73d7
Size (cdrkit-1.1.9.tar.gz) = 1430065 bytes
SHA1 (patch-aa) = b83c5b64b957db9f2c0b003b2c6088ca9d17aa9a
SHA1 (patch-ab) = 07e110ec3165c697f80f8fc2dbb104863f2bac97
SHA1 (patch-ac) = c8d1387ececa092b2e652711228fba9aef612ad5
SHA1 (patch-ad) = 07329be04bef1570c0777d8169b76077ab192794
SHA1 (patch-ae) = b54038cf3dcd3e93d7115c8c6f590d8944d66254
SHA1 (patch-af) = ee12df06d9ca023820d0f2fecbb205b03ae64ccb
SHA1 (patch-ag) = 4107264722dc7985d31a1e4ad49196ca01a6f8a1
SHA1 (patch-ah) = af9379e9690808fe7a3adc59c16a9548b9941b9f
SHA1 (patch-ai) = f4c2c6e52e29c3fb8b00150504c58f82ce9dc161
SHA1 (patch-aj) = bba9ac440f040bab9b12c25cffd80e07493d4011

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.1.1.1 2007/07/01 00:26:14 wiz Exp $
--- genisoimage/genisoimage.c.orig 2007-01-09 09:41:51.000000000 +0000
+++ genisoimage/genisoimage.c
@@ -1337,7 +1337,7 @@ int main(int argc, char *argv[])
longopts[il].name = NULL;
}
- while ((c = getopt_long_only(argc, argv, shortopts,
+ while ((c = getopt_long(argc, argv, shortopts,
longopts, &longind)) != EOF)
switch (c) {
case 1:

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ab,v 1.1.1.1 2007/07/01 00:26:14 wiz Exp $
--- icedax/CMakeLists.txt.orig 2006-11-30 02:05:00.000000000 +0000
+++ icedax/CMakeLists.txt
@@ -7,6 +7,7 @@ include(../include/AddNetworkBits.cmake)
FIND_FILE (HAVE_SYS_SOUNDCARD_H sys/soundcard.h)
IF(HAVE_SYS_SOUNDCARD_H)
ADD_DEFINITIONS(-DHAVE_SYS_SOUNDCARD_H)
+ LIST(APPEND EXTRA_LIBS ossaudio)
ENDIF(HAVE_SYS_SOUNDCARD_H)
FIND_FILE (HAVE_LINUX_SOUNDCARD_H linux/soundcard.h)
IF(HAVE_LINUX_SOUNDCARD_H)

View File

@@ -0,0 +1,9 @@
$NetBSD: patch-ac,v 1.2 2009/06/07 22:02:24 hasso Exp $
--- 3rd-party/dirsplit/CMakeLists.txt.orig 2006-08-24 17:36:32.000000000 +0000
+++ 3rd-party/dirsplit/CMakeLists.txt
@@ -1,3 +1,3 @@
PROJECT (DIRSPLIT C)
INSTALL(PROGRAMS dirsplit DESTINATION bin)
-INSTALL(FILES dirsplit.1 DESTINATION share/man/man1)
+INSTALL(FILES dirsplit.1 DESTINATION ${MANSUBDIR}/man1)

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-ad,v 1.1 2009/06/07 22:02:24 hasso Exp $
--- include/schily.h.orig
+++ include/schily.h
@@ -116,7 +116,7 @@ extern int fexecl(const char *, FILE *,
extern int fexecle(const char *, FILE *, FILE *, FILE *, const char *, ...);
/* 6th arg not const, fexecv forces av[ac] = NULL */
extern int fexecv(const char *, FILE *, FILE *, FILE *, int, char **);
-extern int fexecve(const char *, FILE *, FILE *, FILE *, char * const *,
+extern int f_execve(const char *, FILE *, FILE *, FILE *, char * const *,
char * const *);
extern int fspawnv(FILE *, FILE *, FILE *, int, char * const *);
extern int fspawnl(FILE *, FILE *, FILE *, const char *, const char *, ...);
@@ -190,7 +190,7 @@ extern int schily_error(const char *, ..
extern char *fillbytes(void *, int, char);
extern char *findbytes(const void *, int, char);
extern int findline(const char *, char, const char *, int, char **, int);
-extern int getline(char *, int);
+extern int get_line(char *, int);
extern int getstr(char *, int);
extern int breakline(char *, char, char **, int);
extern int getallargs(int *, char * const**, const char *, ...);

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-ae,v 1.1 2009/06/07 22:02:24 hasso Exp $
--- librols/fexec.c.orig
+++ librols/fexec.c
@@ -170,7 +170,7 @@ fexecle(name, in, out, err, va_alist)
} while (p != NULL);
va_end(args);
- ret = fexecve(name, in, out, err, av, env);
+ ret = f_execve(name, in, out, err, av, env);
if (av != xav)
free(av);
return (ret);
@@ -184,11 +184,11 @@ fexecv(name, in, out, err, ac, av)
char *av[];
{
av[ac] = NULL; /* force list to be null terminated */
- return (fexecve(name, in, out, err, av, environ));
+ return (f_execve(name, in, out, err, av, environ));
}
EXPORT int
-fexecve(name, in, out, err, av, env)
+f_execve(name, in, out, err, av, env)
const char *name;
FILE *in, *out, *err;
char * const av[], * const env[];

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.1 2009/06/07 22:02:24 hasso Exp $
--- librols/stdio/fgetline.c.orig
+++ librols/stdio/fgetline.c
@@ -76,7 +76,7 @@ fgetline(f, buf, len)
}
EXPORT int
-getline(buf, len)
+get_line(buf, len)
char *buf;
int len;
{

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ag,v 1.1 2009/06/07 22:02:24 hasso Exp $
--- libusal/scsitransp.c.orig
+++ libusal/scsitransp.c
@@ -301,7 +301,7 @@ usal_yes(char *msg)
printf("%s", msg);
flush();
- if (getline(okbuf, sizeof (okbuf)) == EOF)
+ if (get_line(okbuf, sizeof (okbuf)) == EOF)
exit(EX_BAD);
if (streql(okbuf, "y") || streql(okbuf, "yes") ||
streql(okbuf, "Y") || streql(okbuf, "YES"))

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-ah,v 1.1 2009/06/07 22:02:24 hasso Exp $
--- readom/io.c.orig
+++ readom/io.c
@@ -130,7 +130,7 @@ BOOL getvalue(char *s, long *lp, long mi
(*prt)(s, *lp, mini, maxi, dp);
flush();
line[0] = '\0';
- if (getline(line, 80) == EOF)
+ if (get_line(line, 80) == EOF)
exit(EX_BAD);
linep = skipwhite(line);
@@ -178,7 +178,7 @@ again:
vprintf(form, args);
va_end(args);
flush();
- if (getline(okbuf, sizeof(okbuf)) == EOF)
+ if (get_line(okbuf, sizeof(okbuf)) == EOF)
exit(EX_BAD);
if (okbuf[0] == '?') {
printf("Enter 'y', 'Y', 'yes' or 'YES' if you agree with the previous asked question.\n");

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-ai,v 1.1 2009/06/07 22:02:24 hasso Exp $
--- readom/readom.c.orig
+++ readom/readom.c
@@ -1605,7 +1605,7 @@ read_generic(SCSI *usalp, parm_t *parmp,
fprintf(stderr, "Copy from SCSI (%d,%d,%d) disk to file\n",
usal_scsibus(usalp), usal_target(usalp), usal_lun(usalp));
fprintf(stderr, "Enter filename [%s]: ", defname); flush();
- (void) getline(filename, sizeof (filename));
+ (void) get_line(filename, sizeof (filename));
}
if (askrange) {
@@ -1772,7 +1772,7 @@ write_disk(SCSI *usalp, parm_t *parmp)
fprintf(stderr, "Copy from file to SCSI (%d,%d,%d) disk\n",
usal_scsibus(usalp), usal_target(usalp), usal_lun(usalp));
fprintf(stderr, "Enter filename [%s]: ", defname); flush();
- (void) getline(filename, sizeof (filename));
+ (void) get_line(filename, sizeof (filename));
fprintf(stderr, "Notice: reading from file always starts at file offset 0.\n");
getlong("Enter starting sector for copy:", &addr, 0L, end-1);

View File

@@ -0,0 +1,31 @@
$NetBSD: patch-aj,v 1.1 2009/06/07 22:02:24 hasso Exp $
--- wodim/cue.c.orig
+++ wodim/cue.c
@@ -253,7 +253,7 @@ static char *skipwhite(const char *s);
static char *peekword(void);
static char *lineend(void);
static char *markword(char *delim);
-static char getdelim(void);
+static char get_delim(void);
static char *getnextitem(char *delim);
static char *neednextitem(char *delim);
static char *nextword(void);
@@ -746,7 +746,7 @@ parse_track(track_t trackp[], state_t *s
if (kp == NULL)
cueabort("Unknown filetype '%s'", word);
- if (getdelim() == '/') {
+ if (get_delim() == '/') {
word = needitem();
if (*astol(++word, &secsize) != '\0')
cueabort("Not a number '%s'", word);
@@ -1128,7 +1128,7 @@ linelen--;
}
static char
-getdelim()
+get_delim()
{
return (wordendc);
}