head 1.9; access; symbols pkgsrc-2013Q4:1.8.0.42 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.40 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.38 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.36 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.34 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.32 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.30 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.28 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.26 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.24 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.22 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.20 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.18 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.16 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.14 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.12 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.10 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.8 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.6 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.4 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.2 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.7.0.14 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.12 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.10 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.8 pkgsrc-2008Q1:1.7.0.6 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.4 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.2 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.6.0.2 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.5.0.4 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.2 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.4.0.2 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.3.0.4 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.2 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.2.0.8 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.6 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.4 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.2 pkgsrc-2005Q1-base:1.2; locks; strict; comment @# @; 1.9 date 2014.01.08.11.54.04; author hauke; state dead; branches; next 1.8; commitid ptD62ZWvIhxw7jkx; 1.8 date 2008.11.20.13.45.29; author hauke; state Exp; branches 1.8.42.1; next 1.7; 1.7 date 2007.08.23.14.10.29; author hauke; state Exp; branches; next 1.6; 1.6 date 2007.05.07.14.14.06; author hauke; state Exp; branches; next 1.5; 1.5 date 2006.10.05.02.49.30; author rillig; state Exp; branches; next 1.4; 1.4 date 2006.07.17.17.59.05; author wiz; state Exp; branches; next 1.3; 1.3 date 2006.01.18.13.11.56; author joerg; state Exp; branches; next 1.2; 1.2 date 2005.02.17.15.31.34; author wiz; state Exp; branches; next 1.1; 1.1 date 2005.01.19.12.54.13; author wiz; state Exp; branches; next ; 1.8.42.1 date 2014.01.08.18.53.27; author tron; state dead; branches; next ; commitid UQbNiIoeMpZZslkx; desc @@ 1.9 log @Back-port and complete the fixes from radmind HEAD to support 64 bit time_t on NetBSD 6+. The configure patch had to be generated with autoconf downgraded to 2.61 - leave it to autohell to ruin your day... While we are here, shake, rattle & roll the patches. The resulting gyrations finally fix PR pkg/46555 @ text @$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 @ 1.8 log @Update Radmind to v1.13.0 Radmind 1.13.0 features the following changes: * Exclude patterns apply to transcript lines. [Bug #2038036] * Automatically convert paths between absolute and relative paths based on the path given to fsdiff. [Patch #2020818] * If path doesn't contain a directory, canonicalize it by prepending "./". * Mac Package can be installed on any volume. [Feature Request #2025217] * Add -e to ktcheck and lapply to allow changing the event type that is reported to the radmind server. [Patch #1951140] Thanks Karl Kuehn of Stanford University for the patch. * Added -T option to lmerge to merge only transcripts, not files. [Patch #2014521] Thanks to Eric Garver from the University of Michigan for the patch. Changelog entry for v1.12 Major changes from 1.11.0: - Support for includes in the config file (Patch 1919220). - Support symlink ownership (Feature request 1834497). - Support for lchown and lchmod, expanded 'l' type to include owner, group, mode. Minor changes from 1.11.0: - Fixed bug causing twhich to print out bad special file lines. - Fixed bug in wildcard {} matching reported by , improved [] processing. - ktcheck -I support, fixing bug 1436097 and case-insensitive special.T. - ktcheck -n now reports correct info and exits with correct value when dealing with special.T. - ra.sh now supports ktcheck -I. - ra.sh -D support, allowing admin to change working directory before running update. - If PAGER is set, ra.sh will use it to display difference transcript. - twhich usage output now includes -r. - Added instructions for building from CVS. - Added bin/getsnet to retrieve libsnet from SF.net. - Improved universal binary building (Mac OS X). @ text @d1 1 a1 1 $NetBSD$ @ 1.8.42.1 log @Pullup ticket #4289 - requested by hauke sysutils/radmind: bug fix patch Revisions pulled up: - sysutils/radmind/Makefile 1.33-1.34 - sysutils/radmind/distinfo 1.19 - sysutils/radmind/patches/patch-Makefile.in 1.1 - sysutils/radmind/patches/patch-aa deleted - sysutils/radmind/patches/patch-ab deleted - sysutils/radmind/patches/patch-ac deleted - sysutils/radmind/patches/patch-ae deleted - sysutils/radmind/patches/patch-command.c 1.1 - sysutils/radmind/patches/patch-command.h 1.1 - sysutils/radmind/patches/patch-config.h.in 1.1 - sysutils/radmind/patches/patch-configure 1.1 - sysutils/radmind/patches/patch-configure.ac 1.1 - sysutils/radmind/patches/patch-ktcheck.c 1.1 - sysutils/radmind/patches/patch-largefile.h 1.1 - sysutils/radmind/patches/patch-lcksum.c 1.1 - sysutils/radmind/patches/patch-libsnet_snet.c 1.1 - sysutils/radmind/patches/patch-ra.sh 1.1 - sysutils/radmind/patches/patch-retr.c 1.1 - sysutils/radmind/patches/patch-transcript.c 1.1 - sysutils/radmind/patches/patch-update.c 1.1 --- Module Name: pkgsrc Committed By: hauke Date: Wed Jan 8 11:54:04 UTC 2014 Modified Files: pkgsrc/sysutils/radmind: Makefile distinfo Added Files: pkgsrc/sysutils/radmind/patches: patch-Makefile.in patch-command.c patch-command.h patch-config.h.in patch-configure patch-configure.ac patch-ktcheck.c patch-largefile.h patch-lcksum.c patch-libsnet_snet.c patch-ra.sh patch-retr.c patch-transcript.c patch-update.c Removed Files: pkgsrc/sysutils/radmind/patches: patch-aa patch-ab patch-ac patch-ae Log Message: Back-port and complete the fixes from radmind HEAD to support 64 bit time_t on NetBSD 6+. The configure patch had to be generated with autoconf downgraded to 2.61 - leave it to autohell to ruin your day... While we are here, shake, rattle & roll the patches. The resulting gyrations finally fix PR pkg/46555 --- Module Name: pkgsrc Committed By: hauke Date: Wed Jan 8 12:11:40 UTC 2014 Modified Files: pkgsrc/sysutils/radmind: Makefile Log Message: The package's build system does not ensure libsnet is built before linking to it, so mark unsafe for parallel makes. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.8 2008/11/20 13:45:29 hauke Exp $ @ 1.7 log @Update to radmind 1.9 Major changes from 1.8.1: - Added support for minus transcripts and special files in command files - Ported to HP/UX Thanks to Jim Foraker for the patch. [ PATCH 1733645 ] Minor changes from 1.8.1: - Daemon no longer displays -R in usage. Users should begin using -B - Fixed bug where path to echo wasn't being set in ra.sh - Fixed bug where fsdiff wasn't displaying correct version number @ text @d3 1 a3 1 --- ra.sh.orig 2007-06-18 23:01:07.000000000 +0200 d5 2 a6 2 @@@@ -29,7 +29,7 @@@@ TLSLEVEL="_RADMIND_AUTHLEVEL" EDITOR=${EDITOR:-vi} d12 1 d14 1 a14 2 CHECKEDOUT="_RADMIND_DIR/client/.CheckedOut" @@@@ -40,7 +40,7 @@@@ VERSION=_RADMIND_VERSION d23 1 a23 1 @@@@ -56,14 +56,6 @@@@ fi @ 1.6 log @Maintainer update to Radmind 1.8.0 Major changes from 1.7.2: - Added reporting capabilities Clients will automatically report to the serve the success or failures of ktcheck and lapply. Also added a new tool "repo" that will log custom messages to the radmind server. Other Changes: - Fixed bug in daemon that caused "success" or "no error" to be logged instead of actual error message. [BUG #1660749] Thanks to Gabrielle Singleton for reporting the problem. - ra.sh uses more portable find options. [ Bug #1385630 ] Thanks Sean Sweda for the patch. - fsdiff displays the command file name when reporting command file line errors. [ Feature #1592739 ] - Makefile.in using POSIX sub-make methodology [ Bug #1641044 ] - Fixed build problem for Suse 10. [ Bug #1677170 ] Thanks cdr3 for reporting the problem. - ktcheck exits on all non 2xx server responses to avoid all cascading error messages - Added optional path to ra.sh for update & create - Including configure.ac in source distribution - ra.sh auto now does pre/post apply. Thanks Sean Sweda for the patch. - Updated copyright information - Cleaned up formatting of STAT SPEC - Cleaned up server's debug information @ text @d3 1 a3 1 --- ra.sh.orig 2007-02-27 16:20:09.000000000 +0100 d14 1 a14 1 @@@@ -39,7 +39,7 @@@@ VERSION=_RADMIND_VERSION d23 1 a23 1 @@@@ -55,14 +55,6 @@@@ fi d36 1 a36 1 echo -n "$*" "[Yn] " @ 1.5 log @Updated radmind to 1.7.1. Major changes from 1.6.1: - Performance improvements to fsdiff In testing on linux, we've seen an 80x increase without checksums and a 4x increase with checksums. Other Changes: - Added -I to ra.sh for case insensitive compares - Automated building of universal binaries on OS X - lcksum supports multiple transcripts on the command line (patch #1448910) - ra.sh supports alternative fsdiff root paths thanks to Jeremy Reichman - ra.sh -V displays correct version number - fixed a loop in ra.sh auto when ktcheck finds changes but fsdiff doesn't - fixed lapply -w usage in ra.sh auto. - twhich supports -r to recursively twhich all path elements (patch #1470196) - twhich -I actually ignores case - lcksum returns correct exit value when verifying multiple transcripts - Server only loging POSIX stats for children - Fixed type-o in base64.c - Eliminated some warnings in base64 code @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2006/07/17 17:59:05 wiz Exp $ d3 3 a5 4 --- ra.sh.orig 2006-07-19 22:17:51.000000000 +0200 +++ ra.sh 2006-10-05 04:45:56.000000000 +0200 @@@@ -25,7 +25,7 @@@@ SERVER="_RADMIND_HOST" TLSLEVEL="_RADMIND_AUTHLEVEL" d8 1 d14 1 a14 1 @@@@ -35,7 +35,7 @@@@ VERSION=_RADMIND_VERSION d23 3 a25 3 @@@@ -51,14 +51,6 @@@@ fi LTMP="${TMPDIR}/lapply.out" FTMP="${TMPDIR}/fsdiff.out" a37 18 @@@@ -89,7 +81,7 @@@@ cleanup() { dopreapply() { if [ -d ${PREAPPLY} ]; then - SCRIPTS=`find ${PREAPPLY} -perm +u+x \! -type d | sort` + SCRIPTS=`find ${PREAPPLY} -perm -u+x \! -type d | sort` if [ "${SCRIPTS}" ]; then for script in ${SCRIPTS}; do ${script} "$1" @@@@ -100,7 +92,7 @@@@ dopreapply() { dopostapply() { if [ -d ${POSTAPPLY} ]; then - SCRIPTS=`find ${POSTAPPLY} -perm +u+x \! -type d | sort` + SCRIPTS=`find ${POSTAPPLY} -perm -u+x \! -type d | sort` if [ "${SCRIPTS}" ]; then for script in ${SCRIPTS}; do ${script} "$1" @ 1.4 log @Update to 1.6.1, provided by the maintainer Hauke Fath in PR 33938. Changes from 1.6.0: - Fixed non OS X compile bug Major changes from 1.5.1: - Added support for network communication compression ( patch #1348172 ) Thanks Maarten Thibaut for the original code - OS X Package contains universal binaries. Other Changes - config file now supports optional comment in third column - lapply fix for OS X symlink permission bug ( bug #1441965 ) - Fixes for AppleSingle support on i386. ( bug #1438290 ) - lmerge -f no longer duplicates some minus lines ( bug 1346368 ) - Server logs child process stats including blocks in and out - specify user to ra.sh with -U ( patch #1435665 ) Thanks Sean Sweda - ra.sh prompt for username when USER=root ( patch #1420980 ) Thanks Sean Sweda - ra.sh uses $SUDO_USER if set - fixed errno assignment if FD_ISSET fails ( libsnet bug #1436043 ) Thanks Matt Selsky - ktcheck not sending quit if special file is created ( bug #1429169 ) - twhich can deal with null/empty transcript ( bug 1372729 ) - Pass correct configure args to libsnet for ssl and sasl ( bug #1435999 ) Thanks Matt Selsky - ./configure now warns if tmp exists ( patch #1384558 ) Thanks Jose Calhariz - ./configure now supports DISTDIR ( patch #1384555 ) Thanks Jose Calhariz - Explaining the numeric range in radmind.8 ( patch #1408441 ) Thanks David Coulthart - moved MIN and MAX to config.h - Added COMP info to SPEC - Apple package will install /var/radmind/client, preapply and postapply - make dist now follows symlinks @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- ra.sh.orig 2006-02-21 22:57:54.000000000 +0100 +++ ra.sh d44 1 a44 1 if [ ${SCRIPTS} ]; then d53 1 a53 1 if [ ${SCRIPTS} ]; then @ 1.3 log @Maintainer update of radmind from PR 32339. New in 1.5.1: Added support for case insensitive file systems Add lsort to sort transcripts ktcheck: Fixed -D usage Added -D to specify radmind path Added -C to remove unused command files and transcripts fsdiff: Fixed bug that would calculate unnecessary checksums Fixed bug that required two runs to fix hardlinks for objects other then files. lapply: Fixed bug that would exit if a socket or a door didn't exist lcreate: -n correctly checks files. Fixed bug where -N wouldn't use correct size on applefiles lfdiff: Better special handling. If precedent_transcript returns special, make lfdiff handle it. Check to make sure local file exists. Check return value of precedent_transcript. uses highest precedence transcript for path if no -T or -S given twhich: Fixed error with new transcript code daemon: Changed -L to specify syslog level Added -F to specify syslog facility lcksum: removes temp files on error libsnet: made timed reads non-blocking SSL_read bug fix, amohave contents. docs: BUG 1352578: Added CN to special file path description Added lsort man page build: Fixed most warnings on OS X 10.4 Fixed bug with SASL builds @ text @d3 1 a3 1 --- ra.sh.orig 2005-12-07 21:10:01.000000000 +0100 d5 1 a5 2 @@@@ -24,7 +24,7 @@@@ KFILE="_RADMIND_COMMANDFILE" SERVER="_RADMIND_HOST" d8 1 d14 1 a14 1 @@@@ -34,7 +34,7 @@@@ VERSION=_RADMIND_VERSION d23 1 a23 1 @@@@ -50,14 +50,6 @@@@ fi d38 1 a38 1 @@@@ -88,7 +80,7 @@@@ cleanup() { d47 1 a47 1 @@@@ -99,7 +91,7 @@@@ dopreapply() { @ 1.2 log @Update to 1.5.0, provided by the maintainer Hauke Fath in PR 29420: New in 1.5.0: * Major networking/speed improvements * fsdiff path argument can be used to limit scan - Thanks Wout Mertens * ktcheck -n bug fix for included command files * twhich displays transcript name for '-' lines * Added checkin and checkout to ra.sh * Added -V to ra.sh * ra.sh create gives useful default transcript name @ text @d3 1 a3 1 --- ra.sh.orig 2005-02-10 19:17:57.000000000 +0100 d5 1 a5 1 @@@@ -23,7 +23,7 @@@@ d14 10 a23 1 @@@@ -49,14 +49,6 @@@@ fi d38 18 @ 1.1 log @Update to 1.4.0, provided by Hauke Fath in PR 29010. Changes since 1.3.2: 1.4.0 * Added support for command file in a command file * Added support for alternative certificate names. Thanks Maarten Thibaut * Added -D option to lmerge and lcksum that specifies the radmind working directory. Thanks Dave Alden * fsdiff -A always lists associated transcript * lcksum -A verifies AppleSingle headers * lcksum -a continues checking on error. Requires -n option * lcksum -i forces line buffering * mkdirs works with existing directories on read-only filesystems * fsdiff clips trailing '/' on path * fixed double line listing bug in lmerge * lapply correctly handles sockets * Reduced number of open calls in checksum code * Fixed double free in server * Corrected error message in daemon * Sharing server TLS code * Added defaults to ra.sh * Improvements to ra.sh on solaris @ text @d3 1 a3 1 --- ra.sh.orig 2004-12-21 17:48:00.000000000 +0100 d12 3 a14 3 FLAG="/var/radmind/client/.RadmindRunning" @@@@ -46,14 +46,6 @@@@ fi @