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/xhfs/DESCR Normal file
View File

@@ -0,0 +1,7 @@
This package installs "xhfs", an elegant graphical browser for HFS
(Apple Macintosh) volumes. Also "hfs", a command line interface, and
"hfssh", the Tcl program that drives them both. The latter enables
scripted manipulation of HFS volumes using the powerful Tcl language.
This is the Tcl/Tk portion of Robert Leslie's hfsutils. The traditional
command line tools may be found in the systutils/hfsutils package.

29
sysutils/xhfs/Makefile Normal file
View File

@@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.21 2013/06/06 12:55:06 wiz Exp $
#
DISTNAME= hfsutils-3.2.6
PKGNAME= xhfs-3.2.6
PKGREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.mars.org/pub/hfs/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mars.org/home/rob/proj/hfs/
COMMENT= Tk GUI + Tcl Shell for accessing HFS volumes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}/lib
CONFIGURE_ARGS+= --disable-cli
CPPFLAGS+= -I${BUILDLINK_PREFIX.libhfs}/include/libhfs
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
MANDEST=${DESTDIR}${PREFIX}/${PKGMANDIR}
.include "../../devel/libhfs/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

7
sysutils/xhfs/PLIST Normal file
View File

@@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:54:21 zuntum Exp $
bin/hfssh
bin/hfs
bin/xhfs
man/man1/hfssh.1
man/man1/hfs.1
man/man1/xhfs.1

15
sysutils/xhfs/distinfo Normal file
View File

@@ -0,0 +1,15 @@
$NetBSD: distinfo,v 1.4 2006/06/08 15:34:52 joerg Exp $
SHA1 (hfsutils-3.2.6.tar.gz) = 6d71dfb2c93c0d8082972d39f3f75ae53a438d5d
RMD160 (hfsutils-3.2.6.tar.gz) = a8b8c0c6556f3be2b701baab80b933dc6691a6ea
Size (hfsutils-3.2.6.tar.gz) = 207697 bytes
SHA1 (patch-aa) = 1fd9844c74a980ae1348c551750c4e4a5aa5c29f
SHA1 (patch-ab) = ad0a03015ce1a0d484505f373b3d1bcc5412b432
SHA1 (patch-ac) = 735d69552aa88b5cc8d4fa67b1beb0766851bd73
SHA1 (patch-ad) = 8ab1cc21a8a728d29ab49f5b96d01141b325a39a
SHA1 (patch-ae) = 0ef878024091cda74589c4ddddbf745bc341306b
SHA1 (patch-af) = 0b0b661d6eafa7955d66ce7d0be2a75406408d14
SHA1 (patch-ag) = daf03f998e2458ec185bfcf61e4e84a8bf11d965
SHA1 (patch-ah) = d45f2999beb635ab45644f7e8af4c4f1eb0bbcad
SHA1 (patch-ai) = bc225c9707f929d8695146d7b3546d3d8b379cb7
SHA1 (patch-aj) = 0f3975375111a37fc580aded0e29909d5494c81a

View File

@@ -0,0 +1,78 @@
$NetBSD: patch-aa,v 1.2 1999/10/22 10:15:48 fredb Exp $
--- Makefile.in.orig Mon Aug 31 13:40:14 1998
+++ Makefile.in Fri Oct 22 05:00:50 1999
@@ -37,12 +37,13 @@
MANEXT = 1
INSTALL = @INSTALL@
-BININSTALL = @INSTALL_PROGRAM@ -m 755
+BININSTALL = @INSTALL_PROGRAM@
LIBINSTALL = @INSTALL_DATA@
+SCRIPTINSTALL= @INSTALL_SCRIPT@
HARDLINK = ln -f
CC = @CC@
-INCLUDES = @CPPFLAGS@ -Ilibhfs @TCL_INCLUDES@ @TK_INCLUDES@
+INCLUDES = @CPPFLAGS@ @TCL_INCLUDES@ @TK_INCLUDES@
DEFINES = @DEFS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
@@ -51,7 +52,7 @@
TKLIBS = @TK_LIB_SPEC@ @TCL_LIB_SPEC@ @TK_LIBS@
COPTS = @CFLAGS@
-LDOPTS = @LDFLAGS@ -Llibhfs
+LDOPTS = @LDFLAGS@
### END OF USER CUSTOMIZATION #################################################
@@ -67,11 +68,11 @@
TCLTARGETS = hfssh hfs
TKTARGETS = xhfs
-LIBHFS = libhfs/libhfs.a
-INCHFS = libhfs/hfs.h
+LIBHFS =
+INCHFS =
-LIBRSRC = librsrc/librsrc.a
-INCRSRC = librsrc/rsrc.h
+LIBRSRC =
+INCRSRC =
HFSUTIL = hfsutil
HFSCK = hfsck/hfsck
@@ -125,15 +126,14 @@
done
install_tcl :: all_tcl
- for file in $(TCLTARGETS); do \
- $(BININSTALL) $$file "$(BINDEST)/."; \
- done
+ $(BININSTALL) hfssh "$(BINDEST)/."
+ $(SCRIPTINSTALL) hfs "$(BINDEST)/."
- if [ -f "$(BINDEST)/hfs" ]; then \
- sed -e '1d' "$(BINDEST)/hfs" > "$(BINDEST)/hfs.new"; \
- $(BININSTALL) "$(BINDEST)/hfs.new" "$(BINDEST)/hfs"; \
- rm -f "$(BINDEST)/hfs.new"; \
- fi
+# if [ -f "$(BINDEST)/hfs" ]; then \
+# sed -e '1d' "$(BINDEST)/hfs" > "$(BINDEST)/hfs.new"; \
+# $(BININSTALL) "$(BINDEST)/hfs.new" "$(BINDEST)/hfs"; \
+# rm -f "$(BINDEST)/hfs.new"; \
+# fi
for file in $(TCLDOCS); do \
$(LIBINSTALL) doc/man/$$file \
@@ -239,8 +239,7 @@
-lhfs $(LIBS) $(TCLLIBS) $(LIBOBJS) -o $@
hfs: hfs.tcl hfssh
- ( echo "#!./hfssh"; \
- echo "#! /bin/sh"; \
+ ( echo "#! /bin/sh"; \
echo "# Start hfssh ... \\"; \
echo 'exec hfssh "$$0" "$$@"'; \
echo; \

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-ab,v 1.1 1999/10/22 10:15:48 fredb Exp $
--- configure.orig Mon Nov 2 17:33:47 1998
+++ configure Fri Oct 22 05:02:04 1999
@@ -849,6 +849,8 @@
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL} -m 755'
+
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
@@ -1787,6 +1789,7 @@
s%@CC@%$CC%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
+s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
s%@RANLIB@%$RANLIB%g
s%@CPP@%$CPP%g
s%@LIBOBJS@%$LIBOBJS%g

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.1 2006/06/08 15:34:52 joerg Exp $
--- binhex.c.orig 2006-06-08 15:21:56.000000000 +0000
+++ binhex.c
@@ -38,8 +38,6 @@ int dup(int);
const char *bh_error = "no error";
-extern int errno;
-
# define ERROR(code, str) (bh_error = (str), errno = (code))
static FILE *file; /* input/output file */

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.1 2006/06/08 15:34:52 joerg Exp $
--- copyin.c.orig 2006-06-08 15:22:15.000000000 +0000
+++ copyin.c
@@ -48,8 +48,6 @@ int dup(int);
const char *cpi_error = "no error";
-extern int errno;
-
# define ERROR(code, str) (cpi_error = (str), errno = (code))
# define MACB_BLOCKSZ 128

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ae,v 1.1 2006/06/08 15:34:52 joerg Exp $
--- copyout.c.orig 2006-06-08 15:23:16.000000000 +0000
+++ copyout.c
@@ -49,8 +49,6 @@ int dup(int);
const char *cpo_error = "no error";
-extern int errno;
-
# define ERROR(code, str) (cpo_error = (str), errno = (code))
# define MACB_BLOCKSZ 128

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.1 2006/06/08 15:34:52 joerg Exp $
--- hcwd.c.orig 2006-06-08 15:25:19.000000000 +0000
+++ hcwd.c
@@ -43,8 +43,6 @@ static mountent *mounts = 0;
static int mtabsz = 0, nmounts = 0;
static int curvol = -1, dirty = 0;
-extern int errno;
-
/*
* NAME: addent()
* DESCRIPTION: insert mount entry into table

View File

@@ -0,0 +1,11 @@
$NetBSD: patch-ag,v 1.1 2006/06/08 15:34:52 joerg Exp $
--- hfsutil.h.orig 2006-06-08 15:28:08.000000000 +0000
+++ hfsutil.h
@@ -20,5 +20,5 @@
*/
-extern int errno;
+#include <errno.h>
# define ERROR(code, str) (hfs_error = (str), errno = (code))

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ah,v 1.1 2006/06/08 15:34:52 joerg Exp $
--- libhfs/libhfs.h.orig 2006-06-08 15:28:29.000000000 +0000
+++ libhfs/libhfs.h
@@ -22,7 +22,7 @@
# include "hfs.h"
# include "apple.h"
-extern int errno;
+#include <errno.h>
# define ERROR(code, str) \
do { hfs_error = (str), errno = (code); goto fail; } while (0)

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ai,v 1.1 2006/06/08 15:34:52 joerg Exp $
--- librsrc/librsrc.h.orig 2006-06-08 15:28:41.000000000 +0000
+++ librsrc/librsrc.h
@@ -21,7 +21,7 @@
# include "rsrc.h"
-extern int errno;
+#include <errno.h>
# define ERROR(code, str) \
do { rsrc_error = (str), errno = (code); goto fail; } while (0)

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aj,v 1.1 2006/06/08 15:34:52 joerg Exp $
--- tclhfs.c.orig 1998-11-02 22:08:32.000000000 +0000
+++ tclhfs.c
@@ -44,7 +44,7 @@
# include "suid.h"
# include "version.h"
-extern int errno;
+#include <errno.h>
# define ERROR(code, str) (hfs_error = (str), errno = (code))