head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.90 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.88 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.86 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.84 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.82 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.80 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.78 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.76 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.74 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.72 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.70 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.68 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.66 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.64 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.62 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.60 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.58 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.56 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.54 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.52 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.50 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.48 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.46 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.42 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.22 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.44 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.40 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.38 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.36 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.34 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.32 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.30 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.28 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.26 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.24 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.20 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.18 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.16 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.14 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.12 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.10 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.8 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.6 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.4 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.2 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.2.0.74 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.72 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.70 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.68 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.66 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.64 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.62 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.60 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.58 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.56 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.54 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.52 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.50 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.48 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.46 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.44 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.42 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.40 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.38 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.36 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.34 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.32 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.30 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.28 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.26 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.24 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.22 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.20 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.18 pkgsrc-2008Q1:1.2.0.16 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.14 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.12 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.10 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.8 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.6 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.4 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.2 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.1.0.8 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.6 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.4 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.2 pkgsrc-2005Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2015.01.04.10.43.44; author wiz; state Exp; branches; next 1.2; commitid IdhjCQEYxelx9H4y; 1.2 date 2006.05.02.19.06.45; author wiz; state Exp; branches; next 1.1; 1.1 date 2005.05.08.05.45.42; author minskim; state Exp; branches; next ; desc @@ 1.3 log @Update to 5.21p: CHANGES IN VERSION 5.21p (Klaus Reimer , 07 Aug 2010) Replaced mktemp with mkstemp. Set correct version number and updated creation date in command-line help. Corrected content of PATCHLEVEL file. Added man page for marc. Added install make target. Added -Wall compiler flag. @ text @$NetBSD: patch-ad,v 1.2 2006/05/02 19:06:45 wiz Exp $ --- marc.c.orig 2010-08-07 13:06:42.000000000 +0000 +++ marc.c @@@@ -49,12 +49,13 @@@@ char *pinbuf; /* block input buffer * static char **lst; /* files list */ static int lnum; /* length of files list */ +char *makefnam(char*, char*, char*); /* filename fixup routine */ + int main(nargs,arg) /* system entry point */ int nargs; /* number of arguments */ char *arg[]; /* pointers to arguments */ { - char *makefnam(); char *envfind(); #if !_MTS char *arctemp2; /* temp file stuff */ @ 1.2 log @Update to 5.21o: CHANGES IN VERSION 5.21o (Howard Chu, 12 Oct 2005) Silence warnings about unused results. CHANGES IN VERSION 5.21n (Howard Chu, 08 Oct 2005) Better fix for temporary file creations, previous patch did not fix marc. Silence all gcc-4.0.0 -Wall warnings. CHANGES IN VERSION 5.21m (Klaus Reimer, 21 Sep 2005) Applied patch from Joey Schulze fixing the following problems: - Fixed insecure permissions of a temporary file [arcsvc.c, CAN-2005-2945] - Fixed insecure temporary file creation [arcsvc.c, CAN-2005-2992] CHANGES IN VERSION 5.21l (Klaus Reimer, 13 Mar 2005) Fixed warnings because missing inclusion of string.h and fixed a gcc-4.0 problem with marc.c (Missing declaration of makefnam). CHANGES IN VERSION 5.21k (Klaus Reimer, 6 Nov 2004) Ulf Harnhammar found some buffer overflows causing segfaults and provided a patch which is now applied to arc to close these bugs. CHANGES IN VERSION 5.21 The following changes have been made in ARC version 5.21, but have not yet been included in the manual: o When adding files to an archive, ARC now shows the stowage facter achieved on each file. o A bug was found that would keep an archive entry from being encrypted if it was stored without compression. This has now been fixed. o If changes are made to a corrupted archive, the corrupted entries are discarded. This makes it possible to lose data accidentally. ARC will now only make changes to a corrupted archive if the W (suppress Warnings) option has been given. o The N (suppress Notes) option now suppresses the "Creating archive" note when a new archive is being created. o The N (suppress Notes) option formerly did nothing useful when used with the L (List files) command. It now causes a terse listing of filenames only, suitable for use with pipes and redirection. o The list of filenames given to ARC may now include indirect references. If a filename begins with an "at sign" ("@@"), it is taken to be the name of a file which contains a list of file names. The list of file names may include further indirection. If no extension is given, ".CMD" is assumed. For example, the command: arc a waste junk.txt @@trash would cause ARC to add JUNK.TXT plus all files listed in the file TRASH.CMD to an archive named WASTE.ARC. If no file is specified, then the list is read from standard input. For example, the command: arc ln waste | arc a trash @@ would cause ARC to add files to TRASH.ARC based on the names of the files stored in WASTE.ARC. It is probably a good idea to give the O (Overwrite) option if you are extracting files this way. Version 5.21 of MARC also allows for indirection. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2005/05/08 05:45:42 minskim Exp $ d3 1 a3 1 --- marc.c.orig 2005-10-09 03:38:22.000000000 +0200 d5 1 a5 1 @@@@ -48,12 +48,13 @@@@ char *pinbuf; /* block input buffer * d19 1 a19 1 char *arctemp2, *mktemp(); /* temp file stuff */ @ 1.1 log @Make this package build with gcc-4. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- marc.c.orig 1992-04-14 17:59:21.000000000 -0500 d5 1 a5 1 @@@@ -42,12 +42,13 @@@@ char srcname[STRLEN]; /* source d9 1 a9 1 +char *makefnam(char*, char*, char*); /* filename fixup routine */ d16 1 a16 1 - char *makefnam(); /* filename fixup routine */ @