head 1.4; access; symbols pkgsrc-2026Q3:1.3.0.8 pkgsrc-2026Q3-base:1.3 pkgsrc-2026Q2:1.3.0.6 pkgsrc-2026Q2-base:1.3 pkgsrc-2026Q1:1.3.0.4 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.2 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.2.0.76 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.74 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.72 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.70 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.68 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.66 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.64 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.62 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.60 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.58 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.56 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.54 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.52 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.50 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.48 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.46 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.44 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.42 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.40 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.38 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.36 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.32 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.12 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.34 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.30 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.28 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.26 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.24 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.22 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.20 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.18 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.16 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.14 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.10 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.8 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.6 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.4 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.2 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.1.0.20 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.18 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.16 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.14 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.12 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.10 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.8 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.6 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.4 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.2; locks; strict; comment @ * @; 1.4 date 2026.10.31.20.45.41; author hauke; state dead; branches; next 1.3; commitid XMWQFgRCfMiGFF1H; 1.3 date 2025.11.21.19.46.40; author hauke; state Exp; branches; next 1.2; commitid j8x4SoReqY7OpsjG; 1.2 date 2016.04.14.11.17.31; author hauke; state Exp; branches; next 1.1; commitid i9w20d4oDmbTlA2z; 1.1 date 2014.01.08.11.54.04; author hauke; state Exp; branches 1.1.2.1 1.1.20.1; next ; commitid ptD62ZWvIhxw7jkx; 1.1.2.1 date 2014.01.08.11.54.04; author tron; state dead; branches; next 1.1.2.2; commitid UQbNiIoeMpZZslkx; 1.1.2.2 date 2014.01.08.18.53.27; author tron; state Exp; branches; next ; commitid UQbNiIoeMpZZslkx; 1.1.20.1 date 2016.04.15.07.33.22; author bsiegert; state Exp; branches; next ; commitid AgjPHT9C6yCz5H2z; desc @@ 1.4 log @sysutils/radmind -- update to v1.15.0 1.15.0 - 2026-10-22 Added fsdiff -E generates shell-safe transcript paths and link targets: spaces are encoded as \ rather than \b. Readers now also accept \ , so transcripts can be copied into shell commands without changing their paths. fsdiff -t omits differences for files whose only changed attribute is the modification timestamp, allowing smaller transcripts when timestamps are not significant. rash -C generate prints a SHA-1 checksum for the difference transcript of applied changes. rash -C verifies that checksum in auto mode and warns about a mismatch in update and force modes. contrib/specialist helps generate special-file transcript entries from a path list or an existing transcript. Docker image, multi-architecture (including ARM64), Docker Compose, macOS package, Ubuntu binary, Homebrew, and GitHub release build workflows. bootstrap.sh prepares a source checkout for the ./configure && make build workflow. Changed Updated the bundled libsnet dependency and moved its source to the GitHub-hosted project. Modernized TLS support for OpenSSL 1.1 and later, while retaining compatibility shims for older OpenSSL releases. Configuration now detects the current OpenSSL version symbol. Improved macOS support: APFS resource-fork writes work even when the target has no existing resource fork; builds and packages support current macOS environments; and the macOS installer now uses pkgbuild/productbuild. The build supports parallel make, has corrected program prerequisites, and produces uniquely named distribution archives. --with-pam accepts a path; configure also detects the appropriate makedev(3) header and common Fink installation prefixes. Radmind now uses libsnet as a Git submodule; checkout and build documentation has been updated accordingly. Reworked the project documentation into README.md, with build, Docker, Homebrew, and project-history guidance. Fixed Eliminated EVP digest-context leaks and double frees in transfer operations, along with several other memory and file-handle leaks. Prevented a base64 encode/decode buffer overrun and corrected Finder-info encoding length handling. Fixed OpenSSL API deprecation and opaque-structure build failures, including FreeBSD and Apple-system-OpenSSL compatibility. Fixed potential path-buffer overflow when processing file_root. Fixed 64-bit time_t support on NetBSD and formatting of custom file mode, user, and group metadata. lapply -F now warns rather than fails when a file to remove is already absent; it also handles APFS resource forks correctly. fsdiff -1 - applies exclusions to stdin paths, skips missing stdin paths with a warning, and has more robust relative/absolute path canonicalization. Special-file metadata lookup now checks a per-file transcript, the special directory transcript, and the default special transcript, with clearer diagnostics and safe path handling. Improved configuration parsing: allocation failures are checked, nested @@include depth is counted correctly, and rejected hosts report the configuration file involved. t2pkg no longer relies on unnecessary realpath calls; existing output directories are accepted. The lcreate manual page was also corrected. Notes The default transcript space encoding remains \b for compatibility with older Radmind readers. Use fsdiff -E only where consumers support \ . Development infrastructure, CI maintenance, formatting cleanup, and release automation changes are included in this release but do not alter Radmind's runtime protocol. @ text @$NetBSD: patch-command.c,v 1.3 2025/11/21 19:46:40 hauke Exp $ Fix for Radmind bug #221, accomodating for 64 bit time_t Adjust use of pam_handle_t, per gcc 15 --- command.c.orig 2010-12-13 03:42:49.000000000 +0000 +++ command.c @@@@ -82,7 +82,7 @@@@ int f_starttls( SNET *, int, char *[] ) int f_repo( SNET *, int, char *[] ); #ifdef HAVE_LIBPAM int f_login( SNET *, int, char *[] ); -int exchange( int num_msg, struct pam_message **msgm, +int exchange( int num_msg, const struct pam_message **msgm, struct pam_response **response, void *appdata_ptr ); #endif /* HAVE_LIBPAM */ #ifdef HAVE_ZLIB @@@@ -624,11 +624,11 @@@@ f_stat( SNET *sn, int ac, char *av[] ) switch ( key ) { case K_COMMAND: if ( ac == 2 ) { - snet_writef( sn, "%s %s %o %d %d %d %" PRIofft "d %s\r\n", + snet_writef( sn, RADMIND_STAT_FMT, "f", "command", DEFAULT_MODE, DEFAULT_UID, DEFAULT_GID, st.st_mtime, st.st_size, cksum_b64 ); } else { - snet_writef( sn, "%s %s %o %d %d %d %" PRIofft "d %s\r\n", + snet_writef( sn, RADMIND_STAT_FMT, "f", av[ 2 ], DEFAULT_MODE, DEFAULT_UID, DEFAULT_GID, st.st_mtime, st.st_size, cksum_b64 ); } @@@@ -636,7 +636,7 @@@@ f_stat( SNET *sn, int ac, char *av[] ) case K_TRANSCRIPT: - snet_writef( sn, "%s %s %o %d %d %d %" PRIofft "d %s\r\n", + snet_writef( sn, RADMIND_STAT_FMT, "f", av[ 2 ], DEFAULT_MODE, DEFAULT_UID, DEFAULT_GID, st.st_mtime, st.st_size, cksum_b64 ); @@@@ -655,7 +655,7 @@@@ f_stat( SNET *sn, int ac, char *av[] ) "f_stat: transcript path longer than MAXPATHLEN" ); /* return constants */ - snet_writef( sn, "%s %s %o %d %d %d %" PRIofft "d %s\r\n", + snet_writef( sn, RADMIND_STAT_FMT, "f", av[ 2 ], DEFAULT_MODE, DEFAULT_UID, DEFAULT_GID, st.st_mtime, st.st_size, cksum_b64 ); @@@@ -682,7 +682,7 @@@@ f_stat( SNET *sn, int ac, char *av[] ) if (( av = special_t( path, enc_file )) == NULL ) { if (( av = special_t( "transcript/special.T", enc_file )) == NULL ) { - snet_writef( sn, "%s %s %o %d %d %d %" PRIofft "d %s\r\n", + snet_writef( sn, RADMIND_STAT_FMT, "f", enc_file, DEFAULT_MODE, DEFAULT_UID, DEFAULT_GID, st.st_mtime, st.st_size, cksum_b64 ); @@@@ -690,7 +690,11 @@@@ f_stat( SNET *sn, int ac, char *av[] ) return( 0 ); } } - snet_writef( sn, "%s %s %s %s %s %d %" PRIofft "d %s\r\n", + /* + * Cannot use RADMIND_STAT_FMT shorthand here, since custom + * permission, user and group information are strings. + */ + snet_writef( sn, "%s %s %s %s %s %" PRItimet "d %" PRIofft "d %s\r\n", av[ 0 ], enc_file, av[ 2 ], av[ 3 ], av[ 4 ], st.st_mtime, st.st_size, cksum_b64 ); @@@@ -1016,7 +1020,7 @@@@ f_starttls( SNET *sn, int ac, char **av #ifdef HAVE_LIBPAM int -exchange( int num_msg, struct pam_message **msg, +exchange( int num_msg, const struct pam_message **msg, struct pam_response **resp, void *appdata_ptr) { int count = 0; @@@@ -1092,7 +1096,7 @@@@ f_login( SNET *sn, int ac, char **av ) int retval; pam_handle_t *pamh; struct pam_conv pam_conv = { - (int (*)())exchange, + exchange, NULL }; @ 1.3 log @sysutils/radmind: Adjust use of pam_handle_t, per gcc 15 (Arch Linux) @ text @d1 1 a1 1 $NetBSD: patch-command.c,v 1.2 2016/04/14 11:17:31 hauke Exp $ @ 1.2 log @Fix setting custom permission bits, user and group information from a special transcript. Late fallout from Radmind bug #221. @ text @d1 1 a1 1 $NetBSD$ d5 2 d9 9 d72 18 @ 1.1 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 @d3 2 d48 1 a48 1 @@@@ -690,7 +690,7 @@@@ f_stat( SNET *sn, int ac, char *av[] ) d53 5 a57 1 + snet_writef( sn, RADMIND_STAT_FMT, @ 1.1.20.1 log @Pullup ticket #4959 - requested by hauke sysutils/radmind: bugfix Revisions pulled up: - sysutils/radmind/Makefile 1.37 - sysutils/radmind/distinfo 1.21 - sysutils/radmind/patches/patch-command.c 1.2 --- Module Name: pkgsrc Committed By: hauke Date: Thu Apr 14 11:17:31 UTC 2016 Modified Files: pkgsrc/sysutils/radmind: Makefile distinfo pkgsrc/sysutils/radmind/patches: patch-command.c Log Message: Fix setting custom permission bits, user and group information from a special transcript. Late fallout from Radmind bug #221. @ text @a2 2 Fix for Radmind bug #221, accomodating for 64 bit time_t d46 1 a46 1 @@@@ -690,7 +690,11 @@@@ f_stat( SNET *sn, int ac, char *av[] ) d51 1 a51 5 + /* + * Cannot use RADMIND_STAT_FMT shorthand here, since custom + * permission, user and group information are strings. + */ + snet_writef( sn, "%s %s %s %s %s %" PRItimet "d %" PRIofft "d %s\r\n", @ 1.1.2.1 log @file patch-command.c was added on branch pkgsrc-2013Q4 on 2014-01-08 18:53:27 +0000 @ text @d1 54 @ 1.1.2.2 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 @a0 54 $NetBSD$ --- command.c.orig 2010-12-13 03:42:49.000000000 +0000 +++ command.c @@@@ -624,11 +624,11 @@@@ f_stat( SNET *sn, int ac, char *av[] ) switch ( key ) { case K_COMMAND: if ( ac == 2 ) { - snet_writef( sn, "%s %s %o %d %d %d %" PRIofft "d %s\r\n", + snet_writef( sn, RADMIND_STAT_FMT, "f", "command", DEFAULT_MODE, DEFAULT_UID, DEFAULT_GID, st.st_mtime, st.st_size, cksum_b64 ); } else { - snet_writef( sn, "%s %s %o %d %d %d %" PRIofft "d %s\r\n", + snet_writef( sn, RADMIND_STAT_FMT, "f", av[ 2 ], DEFAULT_MODE, DEFAULT_UID, DEFAULT_GID, st.st_mtime, st.st_size, cksum_b64 ); } @@@@ -636,7 +636,7 @@@@ f_stat( SNET *sn, int ac, char *av[] ) case K_TRANSCRIPT: - snet_writef( sn, "%s %s %o %d %d %d %" PRIofft "d %s\r\n", + snet_writef( sn, RADMIND_STAT_FMT, "f", av[ 2 ], DEFAULT_MODE, DEFAULT_UID, DEFAULT_GID, st.st_mtime, st.st_size, cksum_b64 ); @@@@ -655,7 +655,7 @@@@ f_stat( SNET *sn, int ac, char *av[] ) "f_stat: transcript path longer than MAXPATHLEN" ); /* return constants */ - snet_writef( sn, "%s %s %o %d %d %d %" PRIofft "d %s\r\n", + snet_writef( sn, RADMIND_STAT_FMT, "f", av[ 2 ], DEFAULT_MODE, DEFAULT_UID, DEFAULT_GID, st.st_mtime, st.st_size, cksum_b64 ); @@@@ -682,7 +682,7 @@@@ f_stat( SNET *sn, int ac, char *av[] ) if (( av = special_t( path, enc_file )) == NULL ) { if (( av = special_t( "transcript/special.T", enc_file )) == NULL ) { - snet_writef( sn, "%s %s %o %d %d %d %" PRIofft "d %s\r\n", + snet_writef( sn, RADMIND_STAT_FMT, "f", enc_file, DEFAULT_MODE, DEFAULT_UID, DEFAULT_GID, st.st_mtime, st.st_size, cksum_b64 ); @@@@ -690,7 +690,7 @@@@ f_stat( SNET *sn, int ac, char *av[] ) return( 0 ); } } - snet_writef( sn, "%s %s %s %s %s %d %" PRIofft "d %s\r\n", + snet_writef( sn, RADMIND_STAT_FMT, av[ 0 ], enc_file, av[ 2 ], av[ 3 ], av[ 4 ], st.st_mtime, st.st_size, cksum_b64 ); @