head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.128 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.126 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.124 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.122 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.120 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.118 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.116 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.114 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.112 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.110 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.108 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.106 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.104 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.102 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.100 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.98 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.96 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.94 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.92 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.90 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.88 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.86 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.84 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.80 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.60 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.82 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.78 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.76 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.74 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.72 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.70 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.68 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.66 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.64 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.62 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.58 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.56 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.54 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.52 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.50 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.48 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.46 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.44 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.42 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.40 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.38 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.36 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.34 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.32 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.30 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.28 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.26 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.24 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.22 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.20 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.18 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.16 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.14 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.12 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.10 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.8 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.6 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.4 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.2 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.3.0.2 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.2.0.8 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.6 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.4 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.2 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.1.0.30 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.28 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.26 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.24 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.22 pkgsrc-2008Q1:1.1.0.20 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.18 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.16 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.14 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.12 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.10 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.8 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.6 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.4 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.2 pkgsrc-2005Q4-base:1.1; locks; strict; comment @# @; 1.5 date 2010.06.15.04.18.04; author dholland; state Exp; branches; next 1.4; 1.4 date 2010.04.20.10.26.40; author is; state Exp; branches; next 1.3; 1.3 date 2010.01.15.23.47.14; author dholland; state Exp; branches; next 1.2; 1.2 date 2009.02.15.20.12.18; author dholland; state Exp; branches; next 1.1; 1.1 date 2005.12.19.00.13.39; author joerg; state Exp; branches 1.1.30.1; next ; 1.1.30.1 date 2009.02.15.22.23.50; author tron; state Exp; branches; next ; desc @@ 1.5 log @Add patch comment. I had this lying around uncommitted for some reason. @ text @$NetBSD: patch-ae,v 1.4 2010/04/20 10:26:40 is Exp $ - Include fixes for modern Unix. - Suppress mktemp() warning on NetBSD; callers use O_EXCL. Upstream: as far as I know not actively maintained upstream. --- unixpk.c.orig 2003-07-21 22:50:41.000000000 +0200 +++ unixpk.c @@@@ -22,8 +22,16 @@@@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. */ + +#ifdef __NetBSD__ +/* Use of mktemp() below is ok - resulting names are opened with O_EXCL. */ +#define __MKTEMP_OK__ +#endif + #include +#include #include +#include #include #include "common.h" #include "version.h" @@@@ -31,9 +39,6 @@@@ #define MAXADDRESS 100 -extern char *getenv(); - -extern int errno; extern int optind; extern char *optarg; @@@@ -164,7 +169,11 @@@@ int main(int argc, char **argv) strcpy(fnamebuf, getenv("TMPDIR")); } else { - strcpy(fnamebuf, "/usr/tmp"); +#if defined(P_tmpdir) + strcpy(fnamebuf, P_tmpdir); +#else + strcpy(fnamebuf, "/var/tmp"); +#endif } strcat(fnamebuf, "/mpackXXXXXX"); mktemp(fnamebuf); @ 1.4 log @Remove one more /usr/tmp. @ text @d1 6 a6 1 $NetBSD$ @ 1.3 log @Add comments to two patches. These changes were sitting uncommitted in one of my trees; I don't remember why they didn't get committed when I updated the package a while back. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.2 2009/02/15 20:12:18 dholland Exp $ d3 2 a4 7 - Include fixes for modern Unix. - Suppress mktemp() warning on NetBSD; callers use O_EXCL. Upstream: as far as I know not actively maintained upstream. --- unixpk.c.orig 2003-07-21 16:50:41.000000000 -0400 +++ unixpk.c 2009-02-15 15:09:47.000000000 -0500 d32 13 @ 1.2 log @Update to 1.6. pkgsrc changes: - Destdir support. - Include fixes for implicit function declarations probably broken on LP64. - Fix for 64-bit time_t world in netbsd-current. - Fix some pkglint. - Suppress warning about mktemp() on NetBSD; usage checked. Upstream changes: 1.6 -- Jul 21 2003 Use automake and a little bit of autoconf convert K&R declarations/definitions to ANSI Fixed buffer overflow in getParam and getDispositionFilename (debian patch) Fixed possible crash in ParseContent (debian patch) fix typo in getDispositionFilename (from Steve Friedl) use system strcasecmp and getopt where possible. use O_EXCL where available when creating files. @ text @d1 6 a6 1 $NetBSD: patch-ae,v 1.1 2005/12/19 00:13:39 joerg Exp $ @ 1.1 log @Fix errno. Use stdlib.h in one place as well. @ text @d1 1 a1 1 $NetBSD$ d3 20 a22 3 --- unixpk.c.orig 2005-12-19 00:09:00.000000000 +0000 +++ unixpk.c @@@@ -33,7 +33,6 @@@@ ww * Permission to use, copy, modify, di d24 1 a24 1 extern char *getenv(); d26 2 @ 1.1.30.1 log @Pullup ticket #2671 - requested by dholland mpack: security update Revisions pulled up: - converters/mpack/Makefile 1.19 - converters/mpack/PLIST 1.2 - converters/mpack/distinfo 1.8 - converters/mpack/patches/patch-aa delete - converters/mpack/patches/patch-ab 1.7 - converters/mpack/patches/patch-ae 1.2 - converters/mpack/patches/patch-af 1.2 --- Module Name: pkgsrc Committed By: dholland Date: Sun Feb 15 20:12:18 UTC 2009 Modified Files: pkgsrc/converters/mpack: Makefile PLIST distinfo pkgsrc/converters/mpack/patches: patch-ab patch-ae patch-af Removed Files: pkgsrc/converters/mpack/patches: patch-aa Log Message: Update to 1.6. pkgsrc changes: - Destdir support. - Include fixes for implicit function declarations probably broken on LP64. - Fix for 64-bit time_t world in netbsd-current. - Fix some pkglint. - Suppress warning about mktemp() on NetBSD; usage checked. Upstream changes: 1.6 -- Jul 21 2003 Use automake and a little bit of autoconf convert K&R declarations/definitions to ANSI Fixed buffer overflow in getParam and getDispositionFilename (debian patch) Fixed possible crash in ParseContent (debian patch) fix typo in getDispositionFilename (from Steve Friedl) use system strcasecmp and getopt where possible. use O_EXCL where available when creating files. @ text @d3 3 a5 20 --- unixpk.c.orig 2003-07-21 16:50:41.000000000 -0400 +++ unixpk.c 2009-02-15 15:09:47.000000000 -0500 @@@@ -22,8 +22,16 @@@@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. */ + +#ifdef __NetBSD__ +/* Use of mktemp() below is ok - resulting names are opened with O_EXCL. */ +#define __MKTEMP_OK__ +#endif + #include +#include #include +#include #include #include "common.h" #include "version.h" @@@@ -31,9 +39,6 @@@@ d7 1 a7 1 #define MAXADDRESS 100 a8 2 -extern char *getenv(); - @