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
View File
@@ -0,0 +1,7 @@
radmind is a suite of Unix command-line tools and a server designed
to remotely administer the file systems of multiple Unix machines.
At its core, radmind operates as a tripwire. It is able to detect
changes to any managed filesystem object, e.g. files, directories,
links, etc. However, radmind goes further than just integrity
checking: once a change is detected, radmind can optionally reverse
the change.
+11
View File
@@ -0,0 +1,11 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2008/06/23 08:43:12 hauke Exp $
Since Radmind 1.11, the default server port is the IANA-registered
6222. Clients now try to connect to port 6222 by default, failing over
to the legacy port 6662 if necessary.
If your Radmind server needs to support old clients, add
radmind_flags="-p 6662" to /etc/rc.conf.
===========================================================================
+38
View File
@@ -0,0 +1,38 @@
# $NetBSD: Makefile,v 1.32 2013/03/26 14:38:11 hauke Exp $
#
DISTNAME= radmind-1.14.1
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=radmind/}
MAINTAINER= hauke@NetBSD.org
HOMEPAGE= http://rsug.itd.umich.edu/software/radmind/
COMMENT= Remote file administration and integrity tool
LICENSE= modified-bsd
# Not yet 64 bit time_t safe, see PR pkg/46555
NOT_FOR_PLATFORM= NetBSD-5.99.*-* NetBSD-[6-9]*-*
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+= --with-radminddir=${RADMINDDIR}
CONFIGURE_ENV+= diffpath=${TOOLS_DIFF:Q}
# XXX configure script checks for path to echo, which pkgsrc does not
# provide, so we need to side-step {echopath}.
CONFIGURE_ENV+= ac_cv_path_echopath=${TOOLS_ECHO:Q}
BUILD_TARGET= all man rash
RADMINDDIR= ${VARBASE}/radmind
BUILD_DEFS+= VARBASE
OWN_DIRS_PERMS+= ${RADMINDDIR} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0750
OWN_DIRS_PERMS+= ${RADMINDDIR}/client ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0750
OWN_DIRS_PERMS+= ${RADMINDDIR}/preapply ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0750
OWN_DIRS_PERMS+= ${RADMINDDIR}/postapply ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0750
OWN_DIRS_PERMS+= ${RADMINDDIR}/cert ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
RCD_SCRIPTS= radmind
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+27
View File
@@ -0,0 +1,27 @@
@comment $NetBSD: PLIST,v 1.4 2007/05/09 09:58:08 hauke Exp $
bin/fsdiff
bin/ktcheck
bin/lapply
bin/lcksum
bin/lcreate
bin/lfdiff
bin/lmerge
bin/lsort
bin/ra.sh
bin/repo
bin/twhich
man/man1/fsdiff.1
man/man1/ktcheck.1
man/man1/lapply.1
man/man1/lcksum.1
man/man1/lcreate.1
man/man1/lfdiff.1
man/man1/lmerge.1
man/man1/lsort.1
man/man1/rash.1
man/man1/repo.1
man/man1/twhich.1
man/man5/applefile.5
man/man8/radmind.8
sbin/radmind
share/examples/rc.d/radmind
+9
View File
@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.18 2010/12/14 16:27:29 hauke Exp $
SHA1 (radmind-1.14.1.tar.gz) = 26f37f1c002384a9c609e688d6cee2fa15b6d0d2
RMD160 (radmind-1.14.1.tar.gz) = 6b925083ef9dce2de21ebb0ffef287b1ffe9173d
Size (radmind-1.14.1.tar.gz) = 403553 bytes
SHA1 (patch-aa) = e82fdc59bfc79f736ca135af9ed9923c09de488f
SHA1 (patch-ab) = 52683f62bd36e22dcf56f6d19968ba2efd8926ed
SHA1 (patch-ac) = b4aa18fcd8eb0b9dd36def555e7505a3ed557017
SHA1 (patch-ae) = c42712bbc9494cc6cbb1300abadfa0b5a05f03f9
+15
View File
@@ -0,0 +1,15 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: radmind.sh,v 1.1.1.1 2004/12/28 14:04:39 wiz Exp $
# PROVIDE: radmind
# REQUIRE: DAEMON
. /etc/rc.subr
name="radmind"
rcvar=$name
command="@PREFIX@/sbin/${name}"
load_rc_config $name
run_rc_command "$1"
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.5 2007/08/23 14:10:29 hauke Exp $
--- Makefile.in.orig 2007-06-18 23:02:05.000000000 +0200
+++ Makefile.in
@@ -253,6 +253,8 @@ rash : FRC
-e 's@_RADMIND_MAIL_DOMAIN@${RADMIND_MAIL_DOMAIN}@g' \
-e 's@_RADMIND_COMMANDFILE@${COMMANDFILE}@g' \
-e 's@_RADMIND_VERSION@$(shell cat VERSION)@g' \
+ -e 's@_PKG_SYSCONFDIR@${PKG_SYSCONFDIR}@g' \
+ -e 's@_LOCALBASE@${LOCALBASE}@g' \
-e 's@_RADMIND_ECHO_PATH@${ECHO}@g' \
${srcdir}/ra.sh > tmp/ra.sh;
+37
View File
@@ -0,0 +1,37 @@
$NetBSD: patch-ab,v 1.8 2008/11/20 13:45:29 hauke Exp $
--- ra.sh.orig 2008-06-05 02:08:07.000000000 +0200
+++ ra.sh
@@ -30,7 +30,7 @@ EDITOR=${EDITOR:-vi}
PAGER=${PAGER:-cat}
USER=${SUDO_USER:-$USER}
TMPDIR="${TMPDIR:=/tmp}"
-DEFAULTS="/etc/defaults/radmind"
+DEFAULTS="_PKG_SYSCONFDIR/radmind.defaults"
FSDIFFROOT="."
DEFAULTWORKDIR="/"
FLAG="_RADMIND_DIR/client/.RadmindRunning"
@@ -42,7 +42,7 @@ VERSION=_RADMIND_VERSION
PREAPPLY="_RADMIND_PREAPPLY"
POSTAPPLY="_RADMIND_POSTAPPLY"
-PATH=/usr/local/bin:/usr/bin:/bin; export PATH
+PATH=_LOCALBASE/bin:/usr/bin:/bin; export PATH
RETRY=10
MKTEMP="_RADMIND_MKTEMP"
@@ -58,14 +58,6 @@ fi
LTMP="${RASHTMP}/lapply.out"
FTMP="${RASHTMP}/fsdiff.out"
-# different systems use different default dirs
-if [ ! -f "${DEFAULTS}" ]; then
- DEFAULTS="/etc/default/radmind"
- if [ ! -f "${DEFAULTS}" ]; then
- DEFAULTS="/etc/radmind.defaults"
- fi
-fi
-
Yn() {
$ECHO -n "$*" "[Yn] "
read ans
+20
View File
@@ -0,0 +1,20 @@
$NetBSD: patch-ac,v 1.5 2010/11/29 15:24:23 hauke Exp $
--- libsnet/snet.c.orig 2010-11-28 20:37:52.000000000 +0000
+++ libsnet/snet.c
@@ -792,7 +792,6 @@ snet_read1( sn, buf, len, tv )
fd_set fds;
ssize_t rc;
struct timeval default_tv;
- extern int errno;
int oflags = 0, dontblock = 0;
if (( tv == NULL ) && ( sn->sn_flag & SNET_READ_TIMEOUT )) {
@@ -976,7 +975,6 @@ snet_getline( sn, tv )
{
char *eol, *line;
ssize_t rc;
- extern int errno;
for ( eol = sn->sn_rcur; ; eol++ ) {
if ( eol >= sn->sn_rend ) { /* fill */
+12
View File
@@ -0,0 +1,12 @@
$NetBSD: patch-ae,v 1.2 2007/09/04 11:55:44 hauke Exp $
--- retr.c.orig 2007-07-11 05:01:42.000000000 +0200
+++ retr.c
@@ -47,7 +47,6 @@ extern int verbose;
extern int showprogress;
extern int dodots;
extern int cksum;
-extern int errno;
extern int create_prefix;
extern SSL_CTX *ctx;