1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= ZOO archive extractor
8 HOMEPAGE= http://freshmeat.sourceforge.net/projects/unzoo/
12 SITES[main]= FREELOCAL/ehaupt
13 DISTFILE[1]= unzoo_4.4.orig.tar.gz:main
14 DISTFILE[2]= unzoo_4.4-4.diff.gz:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
25 LICENSE= PUBDOM:single
26 LICENSE_FILE= PUBDOM:{{WRKSRC}}/debian/copyright
29 FPC_EQUIVALENT= archivers/unzoo
39 cd ${WRKSRC} && ${CC} ${CFLAGS} -o unzoo unzoo.c
42 ${INSTALL_PROGRAM} ${WRKSRC}/unzoo ${STAGEDIR}${PREFIX}/bin
43 ${INSTALL_MAN} ${WRKSRC}/debian/unzoo.1 \
44 ${STAGEDIR}${MANPREFIX}/man/man1
46 [FILE:195:descriptions/desc.single]
47 Unzoo is a zoo archive extractor written by Martin Schoenert. If unzoo is
48 called with no arguments, it will first print a summary of the commands
49 and then prompt for command lines interactively.
53 977bb2147a52370d3fce87947f66ea18eb927654d732f685d977a1f68ac35ef6 25737 unzoo_4.4.orig.tar.gz
54 67b8e05465448cfad88c20dfebc4cce9b3fc62326231a83f3e3fb41ab746d283 8567 unzoo_4.4-4.diff.gz
57 [FILE:36:manifests/plist.single]
59 share/man/man1/unzoo.1.gz
62 [FILE:2220:patches/patch-unzoo.c]
63 --- unzoo.c.orig 2021-01-10 02:37:57 UTC
65 @@ -949,7 +949,7 @@ int MacOpenWritBinr ( patl )
68 fndrInfo.ioFlFndrInfo.fdType = 'BINA';
69 - fndrInfo.ioFlFndrInfo.fdCreator = '????';
70 + fndrInfo.ioFlFndrInfo.fdCreator = '____';
71 if ( PBSetFInfo( (ParmBlkPtr)&fndrInfo, 0 ) ) {
74 @@ -2590,20 +2590,20 @@ int ExtrArch ( bim, out, ovr
75 /* but only if the user did not request otherwise */
77 /* building the universal path of this member */
79 char patu [sizeof(Entry.diru) + sizeof(Entry.namu) + 2];
80 strcpy( patu, Entry.diru );
81 if ( strlen(patu) && patu[strlen(patu)-1] != '/') strcat( patu, "/" );
82 strcat( patu, (Entry.lnamu ? Entry.namu : Entry.nams) );
86 if ( strstr( patu, "/../" )) {
89 /* remove "/../" from the path */
90 char tmp [sizeof(patu)];
94 memset(tmp, 0, sizeof(tmp));
97 @@ -2625,10 +2625,10 @@ int ExtrArch ( bim, out, ovr
98 printf("unzoo: skipped \"/../\" path component(s) in '%s'\n", Entry.patl);
100 if ( *patu == '/' && !strlen( pre ) ) {
103 char *p = malloc(sizeof(patu));
106 memset(p, 0, sizeof(patu));
108 while ( q[0] == '/' ) q++;
109 @@ -2638,9 +2638,9 @@ int ExtrArch ( bim, out, ovr
110 printf("unzoo: skipped root directory path component in '%s'\n", patl);
112 if ( !strncmp( patu, "../", 3 )) {
115 char tmp [sizeof(patu)];
117 memset(tmp, 0, sizeof(tmp));
118 strcpy(tmp, patu + 3);