head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.38 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.36 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.34 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.32 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.30 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.28 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.26 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.24 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.22 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.20 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.18 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.16 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.14 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.12 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.10 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.8 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.6 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.4 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.2 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.4.0.4 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.3.0.2 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.2.0.12 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.10 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.8 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.6 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.4 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 netbsd-1-6:1.1.0.2; locks; strict; comment @# @; 1.5 date 2005.12.15.21.28.48; author wennmach; state dead; branches; next 1.4; 1.4 date 2005.03.25.17.40.25; author wennmach; state Exp; branches; next 1.3; 1.3 date 2005.03.15.15.58.52; author wennmach; state dead; branches; next 1.2; 1.2 date 2002.12.23.18.28.20; author cjep; state Exp; branches; next 1.1; 1.1 date 2002.08.20.17.47.43; author wennmach; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2002.08.20.17.47.43; author agc; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2002.08.21.09.58.31; author agc; state Exp; branches; next ; desc @@ 1.5 log @Update arla to 0.41. The update is necessary to support NetBSD-2.1 and NetBSD-3.0 and should fix the broken bulk build. Tested on NetBSD-2.0.2/i386 and NetBSD-2.1/i386. @ text @$NetBSD: patch-bh,v 1.4 2005/03/25 17:40:25 wennmach Exp $ Portability fix for output conversion. --- rx/rxperf.c.orig 2005-03-22 16:02:32.000000000 +0100 +++ rx/rxperf.c 2005-03-22 16:05:46.000000000 +0100 @@@@ -776,8 +776,8 @@@@ if (ptr != 0 && ptr[0] != '\0') errx (1, "can't resolve readsize"); if (rxread_size > sizeof(somebuf)) - errx(1, "%d > sizeof(somebuf) (%d)", - rxread_size, sizeof(somebuf)); + errx(1, "%d > sizeof(somebuf) (%ld)", + rxread_size, (unsigned long)sizeof(somebuf)); break; case 'p': port = strtol(optarg, &ptr, 0); @@@@ -789,8 +789,8 @@@@ if (ptr != 0 && ptr[0] != '\0') errx (1, "can't resolve writesize"); if (rxwrite_size > sizeof(somebuf)) - errx(1, "%d > sizeof(somebuf) (%d)", - rxwrite_size, sizeof(somebuf)); + errx(1, "%d > sizeof(somebuf) (%ld)", + rxwrite_size, (unsigned long)sizeof(somebuf)); break; default: usage(); @@@@ -870,8 +870,8 @@@@ if (ptr != 0 && ptr[0] != '\0') errx (1, "can't resolve readsize"); if (rxread_size > sizeof(somebuf)) - errx(1, "%d > sizeof(somebuf) (%d)", - rxread_size, sizeof(somebuf)); + errx(1, "%d > sizeof(somebuf) (%ld)", + rxread_size, (unsigned long)sizeof(somebuf)); break; case 's': host = strdup(optarg); @@@@ -883,8 +883,8 @@@@ if (ptr != 0 && ptr[0] != '\0') errx (1, "can't resolve writesize"); if (rxwrite_size > sizeof(somebuf)) - errx(1, "%d > sizeof(somebuf) (%d)", - rxwrite_size, sizeof(somebuf)); + errx(1, "%d > sizeof(somebuf) (%ld)", + rxwrite_size, (unsigned long)sizeof(somebuf)); break; case 'T': times = strtol (optarg, &ptr, 0); @ 1.4 log @Fix a number of issues: - LP64 and other portability issues - Find the correct in order to get the right prototype for kafs_settoken_rxkad. - Find the correct - Add support for -DMULTIPROCESSOR and other kernel compile options Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update arla to 0.38. The update is necessary to support NetBSD-2.0. The update during the pkgsrc freeze has been approved by . Two patches have been provided by . Tested on NetBSD-1.6.1/i386 and NetBSD-2.0/i386. Closes PR pkg/20906. @ text @d1 1 a1 1 $NetBSD: patch-bh,v 1.2 2002/12/23 18:28:20 cjep Exp $ d3 1 a3 1 On NetBSD, comment out call to setgetprogname(). d5 46 a50 19 --- xfs/bsd/bin/mount_xfs.c.orig Tue Aug 20 17:34:04 2002 +++ xfs/bsd/bin/mount_xfs.c Tue Aug 20 17:34:52 2002 @@@@ -62,7 +62,16 @@@@ #ifdef HAVE_OPTRESET optreset = 1; #endif +/* + * The setprogname(3) function was introduced in NetBSD 1.6. + * It is a function provided for compatibility, and in NetBSD, + * calling setprogname() from main() has no effect. + * In order to for this to work on older NetBSD systems, + * we just comment the call to setprogname() out. + */ +#if !defined(__NetBSD__) setprogname(argv[0]); +#endif while ((ch = getopt(argc, argv, "o:F:")) != -1) switch (ch) { case 'o': @ 1.2 log @Fix RCS tag line so that pkglint does not complain. @ text @d1 1 a1 1 $NetBSD: patch-bh,v 1.1 2002/08/20 17:47:43 wennmach Exp $ @ 1.1 log @Upgrade arla to 0.35.9 Fixes two security holes: 'xdr'-bug (in vos, not in arlad), and xfs failes to check for negative numbers in pioctl. Additional changes: NetBSD/sparc64 now supported, 'themis' added, local locking, bug fixes. See http://www.stacken.kth.se/lists/arla-drinkers/2002-08/msg00019.html @ text @d1 1 a1 1 # $NetBSD$ @ 1.1.2.1 log @file patch-bh was added on branch netbsd-1-6 on 2002-08-21 09:58:31 +0000 @ text @d1 23 @ 1.1.2.2 log @Pullup the update of the arla package to version 0.35.9 onto the 1.6 pkgsrc branch. This is necessary for security - arla-0.35.8 and older contain two security problems. Requested by Lex Wennmacher. > From: Lex Wennmacher > Date: 08/20/2002 20:47:47 > > Module Name: pkgsrc > Committed By: wennmach > Date: Tue Aug 20 17:47:46 UTC 2002 > > Modified Files: > pkgsrc/net/arla: Makefile PLIST distinfo > Added Files: > pkgsrc/net/arla/patches: patch-bd patch-be patch-bf patch-bg patch-bh > patch-bi patch-bj patch-bk patch-bl patch-bm patch-bn patch-bo > patch-bp patch-bq patch-br patch-bs > > Log Message: > Upgrade arla to 0.35.9 > > Fixes two security holes: 'xdr'-bug (in vos, not in arlad), and > xfs failes to check for negative numbers in pioctl. > > Additional changes: NetBSD/sparc64 now supported, 'themis' added, > local locking, bug fixes. > > See http://www.stacken.kth.se/lists/arla-drinkers/2002-08/msg00019.html @ text @a0 23 # $NetBSD: patch-bh,v 1.1.2.1 2002/08/21 09:58:31 agc Exp $ On NetBSD, comment out call to setgetprogname(). --- xfs/bsd/bin/mount_xfs.c.orig Tue Aug 20 17:34:04 2002 +++ xfs/bsd/bin/mount_xfs.c Tue Aug 20 17:34:52 2002 @@@@ -62,7 +62,16 @@@@ #ifdef HAVE_OPTRESET optreset = 1; #endif +/* + * The setprogname(3) function was introduced in NetBSD 1.6. + * It is a function provided for compatibility, and in NetBSD, + * calling setprogname() from main() has no effect. + * In order to for this to work on older NetBSD systems, + * we just comment the call to setprogname() out. + */ +#if !defined(__NetBSD__) setprogname(argv[0]); +#endif while ((ch = getopt(argc, argv, "o:F:")) != -1) switch (ch) { case 'o': @