summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-12-19 14:44:07 +0000
committeragc <agc@pkgsrc.org>2001-12-19 14:44:07 +0000
commit056de27b6b0d6f7b1a836c8096286541642735dd (patch)
treee60014d440f5c7630f01865bc6fdbd11f7da8478 /security
parent7e7f5be712c1925a370eae401660d0e184eebeda (diff)
downloadpkgsrc-056de27b6b0d6f7b1a836c8096286541642735dd.tar.gz
Initial import of mirrordir-0.10.49 into the NetBSD packages collection.
Mirrordir is a suite of functions in one package. It contains the following programs: * pslogin: A remote login utility and daemon that provides a secure shell. This can be considered as a GPL replacement to Ssh. * copydir: A cp equivalent which additionally copies to and from ftp servers. Use it to upload and download via ftp and via mirrordir's secure daemon. Use it as a rigorous cp to correctly reproduce hardlinks, permissions and access times. * mirrordir: Mirrors filesystems over ftp or locally via a minimal set of changes. It is optimised for locally mirroring a device as an alternative to RAID devices. It duplicates file-systems in every detail, even correctly recreating hardlinks, devices and access times. It works well mirroring ftp sites that don't support ls-lR summaries. Mirrordir can take a C script to customise the kind of files to mirror based on their stat info, name, or other information. * recursdir: Pass a C script to recursdir to recursively perform operations on files. This is a fast and overkill equivalent of find. Taken from a suggestion by Jeff Sheinberg.
Diffstat (limited to 'security')
-rw-r--r--security/mirrordir/DESCR22
-rw-r--r--security/mirrordir/Makefile21
-rw-r--r--security/mirrordir/PLIST32
-rw-r--r--security/mirrordir/distinfo6
-rw-r--r--security/mirrordir/patches/patch-aa15
-rw-r--r--security/mirrordir/patches/patch-ab16
6 files changed, 112 insertions, 0 deletions
diff --git a/security/mirrordir/DESCR b/security/mirrordir/DESCR
new file mode 100644
index 00000000000..f9f58fc1264
--- /dev/null
+++ b/security/mirrordir/DESCR
@@ -0,0 +1,22 @@
+Mirrordir is a suite of functions in one package. It contains the
+following programs:
+
+* pslogin: A remote login utility and daemon that provides a secure
+shell. This can be considered as a GPL replacement to Ssh.
+
+* copydir: A cp equivalent which additionally copies to and from ftp
+servers. Use it to upload and download via ftp and via mirrordir's
+secure daemon. Use it as a rigorous cp to correctly reproduce
+hardlinks, permissions and access times.
+
+* mirrordir: Mirrors filesystems over ftp or locally via a minimal
+set of changes. It is optimised for locally mirroring a device as
+an alternative to RAID devices. It duplicates file-systems in every
+detail, even correctly recreating hardlinks, devices and access
+times. It works well mirroring ftp sites that don't support ls-lR
+summaries. Mirrordir can take a C script to customise the kind of
+files to mirror based on their stat info, name, or other
+information.
+
+* recursdir: Pass a C script to recursdir to recursively perform
+operations on files. This is a fast and overkill equivalent of find.
diff --git a/security/mirrordir/Makefile b/security/mirrordir/Makefile
new file mode 100644
index 00000000000..7a91ba85904
--- /dev/null
+++ b/security/mirrordir/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/12/19 14:44:07 agc Exp $
+#
+
+DISTNAME= mirrordir-0.10.49
+CATEGORIES= security net
+MASTER_SITES= http://mirrordir.sourceforge.net/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://mirrordir.sourceforge.net/
+COMMENT= directory mirroring tool
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+EGDIR= ${PREFIX}/share/examples/mirrordir
+
+CONF_FILES= ${EGDIR}/secure-mcservusers ${PKG_SYSCONFDIR}/secure-mcservusers
+
+.include "../../mk/bsd.pkg.install.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/mirrordir/PLIST b/security/mirrordir/PLIST
new file mode 100644
index 00000000000..5ed0df7d37c
--- /dev/null
+++ b/security/mirrordir/PLIST
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/12/19 14:44:07 agc Exp $
+bin/mirrordir
+bin/forward
+bin/copydir
+bin/recursdir
+bin/pslogin
+bin/secure-mcserv
+etc/pam.d/secure-mcserv
+etc/ssocket/accept.cs
+etc/ssocket/connect.cs
+etc/ssocket/arcencrypt.cs
+etc/ssocket/arcinit.cs
+lib/libmirrordirz.so.1.0
+lib/libmirrordirz.so.1
+lib/libmirrordirz.so
+lib/libmirrordirz.la
+lib/libmirrordirz.a
+lib/libdiffie.so.1.0
+lib/libdiffie.so.1
+lib/libdiffie.so
+lib/libdiffie.la
+lib/libdiffie.a
+man/man1/mirrordir.1
+man/man1/copydir.1
+man/man1/recursdir.1
+man/man1/pslogin.1
+man/man1/secure-mcserv.1
+man/man1/forward.1
+share/examples/mirrordir/secure-mcservusers
+@dirrm share/examples/mirrordir
+@dirrm etc/ssocket
+@dirrm etc/pam.d
diff --git a/security/mirrordir/distinfo b/security/mirrordir/distinfo
new file mode 100644
index 00000000000..e765735250a
--- /dev/null
+++ b/security/mirrordir/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/12/19 14:44:07 agc Exp $
+
+SHA1 (mirrordir-0.10.49.tar.gz) = 71fe3178d59fbfd0f76b11626ae50d3a3fbbb691
+Size (mirrordir-0.10.49.tar.gz) = 459867 bytes
+SHA1 (patch-aa) = 92f875f5e9d22abc8304b602675d5d1775b9471f
+SHA1 (patch-ab) = 790c3a80bc45f04f43c8fed59631f56505d82e59
diff --git a/security/mirrordir/patches/patch-aa b/security/mirrordir/patches/patch-aa
new file mode 100644
index 00000000000..354e6f1948f
--- /dev/null
+++ b/security/mirrordir/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/12/19 14:44:07 agc Exp $
+
+Problems with "test -f symlink" returning true.
+
+--- src/Makefile.in 2001/12/19 13:04:22 1.1
++++ src/Makefile.in 2001/12/19 13:28:42
+@@ -176,7 +176,7 @@
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
+- if test -f $$p; then \
++ if test -f $$p -a ! -h $$p; then \
+ echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+ else :; fi; \
diff --git a/security/mirrordir/patches/patch-ab b/security/mirrordir/patches/patch-ab
new file mode 100644
index 00000000000..9950c24a5de
--- /dev/null
+++ b/security/mirrordir/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/12/19 14:44:07 agc Exp $
+
+--- pam/Makefile.in 2001/12/19 13:54:20 1.1
++++ pam/Makefile.in 2001/12/19 13:54:39
+@@ -75,9 +75,9 @@
+ system = @system@
+
+ pkgdata_DATA = secure-mcserv
+-pkgdatadir = /etc/pam.d
++pkgdatadir = ${PKG_SYSCONFDIR}/pam.d
+ sysconf_DATA = secure-mcservusers
+-sysconfdir = /etc
++sysconfdir = ${prefix}/share/examples/mirrordir
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES =