summaryrefslogtreecommitdiff
path: root/sysutils/depot
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-02-12 17:12:03 +0000
committeragc <agc@pkgsrc.org>1998-02-12 17:12:03 +0000
commit7a72eb69165690feb1925033036c17bd5c441825 (patch)
tree112f8de932b9015c5150f7aa4356acf2d1f3166a /sysutils/depot
parent27305e22c1f32e86a146f131ca4b10cb096d8ca8 (diff)
downloadpkgsrc-7a72eb69165690feb1925033036c17bd5c441825.tar.gz
Import of the CMU depot 5.14 utility, for managing directory
trees of symbolic links, to the NetBSD packages collection. This package was done by Todd Vierling, in PR pkg/4975. Minor modification to the patch by me to generalise for other BSD systems.
Diffstat (limited to 'sysutils/depot')
-rw-r--r--sysutils/depot/Makefile23
-rw-r--r--sysutils/depot/files/md51
-rw-r--r--sysutils/depot/patches/patch-aa15
-rw-r--r--sysutils/depot/pkg/COMMENT1
-rw-r--r--sysutils/depot/pkg/DESCR4
-rw-r--r--sysutils/depot/pkg/PLIST10
6 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/depot/Makefile b/sysutils/depot/Makefile
new file mode 100644
index 00000000000..8d1adfdef56
--- /dev/null
+++ b/sysutils/depot/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: depot
+# Version required: 5.14
+# Date created: 10 Feb 1998
+# Whom: tv@netbsd.org
+#
+# $NetBSD: Makefile,v 1.1 1998/02/12 17:12:03 agc Exp $
+#
+
+DISTNAME= depot-5.14
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/depot/alpha/
+
+GNU_CONFIGURE= yes
+
+MAN1=depot.1 fsi_generate.1 hintservice.1
+MAN5=depot.conf.5 depot.pref.5
+
+do-install:
+ @cd ${WRKSRC}/src/cmd && ${MAKE} DESTDIR=${PREFIX} install
+ @cd ${WRKSRC}/man/man1 && ${MAKE} DESTDIR=${PREFIX} install
+ @cd ${WRKSRC}/man/man5 && ${MAKE} DESTDIR=${PREFIX} install
+
+.include <bsd.port.mk>
diff --git a/sysutils/depot/files/md5 b/sysutils/depot/files/md5
new file mode 100644
index 00000000000..dfb254c344f
--- /dev/null
+++ b/sysutils/depot/files/md5
@@ -0,0 +1 @@
+MD5 (depot-5.14.tar.gz) = f5a3cb7437927db716892c6706c6e38a
diff --git a/sysutils/depot/patches/patch-aa b/sysutils/depot/patches/patch-aa
new file mode 100644
index 00000000000..2de9d74e5e5
--- /dev/null
+++ b/sysutils/depot/patches/patch-aa
@@ -0,0 +1,15 @@
+--- src/lib/DepotDB/DepotDB_Write.c.orig Tue Feb 10 18:54:48 1998
++++ src/lib/DepotDB/DepotDB_Write.c Tue Feb 10 18:55:52 1998
+@@ -45,6 +45,12 @@
+ #include "CollectionList.h"
+ #include "DepotDB.h"
+
++#include <sys/param.h>
++
++#if (defined(BSD) && BSD >= 199306)
++#include <limits.h>
++#define MAXLONG LONG_MAX
++#endif
+
+ static int DepotDB_LongSkipSize();
+
diff --git a/sysutils/depot/pkg/COMMENT b/sysutils/depot/pkg/COMMENT
new file mode 100644
index 00000000000..37b58b1f3eb
--- /dev/null
+++ b/sysutils/depot/pkg/COMMENT
@@ -0,0 +1 @@
+Maps several separate packages into a tree without merging them.
diff --git a/sysutils/depot/pkg/DESCR b/sysutils/depot/pkg/DESCR
new file mode 100644
index 00000000000..38dae92ab94
--- /dev/null
+++ b/sysutils/depot/pkg/DESCR
@@ -0,0 +1,4 @@
+Depot manages packages similar to pkg_* and RPM, but does so by mapping
+several installation trees into a common base (such as /usr/local) using
+symbolic links. GNU's `stow' was inspired by Depot, though both have
+features that the other does not.
diff --git a/sysutils/depot/pkg/PLIST b/sysutils/depot/pkg/PLIST
new file mode 100644
index 00000000000..d14d619f43c
--- /dev/null
+++ b/sysutils/depot/pkg/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 1998/02/12 17:12:24 agc Exp $
+bin/depot
+bin/depot_getcollectioninfo
+bin/fsi_generate
+bin/hintservice
+man/man1/depot.1.gz
+man/man1/fsi_generate.1.gz
+man/man1/hintservice.1.gz
+man/man5/depot.conf.5.gz
+man/man5/depot.pref.5.gz