pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/filesystems/openafs



Module Name:    pkgsrc
Committed By:   jakllsch
Date:           Sat Sep 12 15:45:26 UTC 2026

Modified Files:
        pkgsrc/filesystems/openafs: Makefile PLIST distinfo
        pkgsrc/filesystems/openafs/patches: patch-src_cf_sysname.m4
            patch-src_config_afs__sysnames.h patch-src_config_param.nbsd100.h
            patch-src_config_param.nbsd80.h patch-src_config_param.nbsd90.h
Added Files:
        pkgsrc/filesystems/openafs/patches:
            patch-src_config_param.amd64__nbsd100.h
            patch-src_config_param.amd64__nbsd110.h
            patch-src_config_param.amd64__nbsd120.h
            patch-src_config_param.amd64__nbsd80.h
            patch-src_config_param.amd64__nbsd90.h
            patch-src_config_param.armv7__nbsd80.h
            patch-src_config_param.i386__nbsd100.h
            patch-src_config_param.i386__nbsd110.h
            patch-src_config_param.i386__nbsd120.h
            patch-src_config_param.i386__nbsd80.h
            patch-src_config_param.i386__nbsd90.h
            patch-src_config_param.nbsd110.h patch-src_config_param.nbsd120.h

Log Message:
update openafs to 1.8.16.1

Numerous (yet relatively minor) upstream changes since 1.8.13.

Make package build on newer NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/filesystems/openafs/Makefile \
    pkgsrc/filesystems/openafs/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/filesystems/openafs/PLIST
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/filesystems/openafs/patches/patch-src_cf_sysname.m4
cvs rdiff -u -r1.6 -r1.7 \
    pkgsrc/filesystems/openafs/patches/patch-src_config_afs__sysnames.h
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd100.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd110.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd120.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd80.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd90.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.armv7__nbsd80.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd100.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd110.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd120.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd80.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd90.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd110.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd120.h
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd100.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd80.h \
    pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd90.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/filesystems/openafs/Makefile
diff -u pkgsrc/filesystems/openafs/Makefile:1.28 pkgsrc/filesystems/openafs/Makefile:1.29
--- pkgsrc/filesystems/openafs/Makefile:1.28    Fri Jan 31 09:43:26 2025
+++ pkgsrc/filesystems/openafs/Makefile Sat Sep 12 15:45:25 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2025/01/31 09:43:26 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2026/09/12 15:45:25 jakllsch Exp $
 
-DISTNAME=      openafs-1.8.13-src
+DISTNAME=      openafs-1.8.16.1-src
 PKGNAME=       ${DISTNAME:C/-src//}
 CATEGORIES=    filesystems net sysutils
 MASTER_SITES=  http://www.openafs.org/dl/openafs/${PKGVERSION_NOREV}/
@@ -19,7 +19,7 @@ CONFLICTS+=   lwp-[0-9]*
 CONFLICTS+=    rx-[0-9]*
 
 # upstream build system needs to be adapted for each version of an operating system
-NOT_FOR_PLATFORM+=     NetBSD-1[0-9].*-*
+NOT_FOR_PLATFORM+=     NetBSD-1[3-9].*-*
 
 GNU_CONFIGURE=         yes
 USE_LIBTOOL=           yes
@@ -54,23 +54,12 @@ FILES_SUBST+=               HOSTNAME_CMD=${HOSTNAME_C
 
 BUILD_DEFS+=   VARBASE
 
-# attempt to future-proof configuration
-pre-patch:
-       cd ${WRKSRC}/src/config && for i in 80 90; do \
-               ${SED} -e 's|nbsd70|nbsd'$$i'|g' param.i386_nbsd70.h > param.i386_nbsd$$i.h; \
-               ${SED} -e 's|nbsd70|nbsd'$$i'|g' param.amd64_nbsd70.h > param.amd64_nbsd$$i.h; \
-               ${CP} param.nbsd70.h param.nbsd$$i.h; \
-       done
-
-post-patch:
-       ${CP} ${WRKSRC}/src/config/param.armv6_nbsd80.h ${WRKSRC}/src/config/param.armv7_nbsd80.h
-
 pre-configure:
        cd ${WRKSRC} && ./regen.sh -q
 
 MAKE_ENV+=     LD_RUN_PATH=${PREFIX}/lib
 
-# Can't do this yet.  Somehow doesn't work with pkgsrc heimdal,
-# but does with NetBSD base heimdal.
+# Can't do this yet.  Somehow doesn't work on NetBSD with pkgsrc
+# krb5/heimdal, but does with NetBSD base heimdal.
 #.include "../../mk/krb5.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/filesystems/openafs/distinfo
diff -u pkgsrc/filesystems/openafs/distinfo:1.28 pkgsrc/filesystems/openafs/distinfo:1.29
--- pkgsrc/filesystems/openafs/distinfo:1.28    Fri Nov 15 18:14:42 2024
+++ pkgsrc/filesystems/openafs/distinfo Sat Sep 12 15:45:26 2026
@@ -1,15 +1,28 @@
-$NetBSD: distinfo,v 1.28 2024/11/15 18:14:42 jakllsch Exp $
+$NetBSD: distinfo,v 1.29 2026/09/12 15:45:26 jakllsch Exp $
 
-BLAKE2s (openafs-1.8.13-src.tar.bz2) = 6a03988d8dba1027a945278b3b985da7836818ae9fda317419c130d687fe85dd
-SHA512 (openafs-1.8.13-src.tar.bz2) = f2b60b3942ba21a4f0fd837dfda1a9659ebe4d2f96edfbe7162e97faa8c5887fbea8fdef958af396356b78793f06e6744566a1aa6b70df2164c9ab37c06e2cd9
-Size (openafs-1.8.13-src.tar.bz2) = 15053864 bytes
+BLAKE2s (openafs-1.8.16.1-src.tar.bz2) = 86e5c051c3b04d9c4860d5d52d741d6410f9c4044d6e9cefd82a04ba8dc73db6
+SHA512 (openafs-1.8.16.1-src.tar.bz2) = 0e926c989e04a2876b8ec89143e4115400552b181cae55a268972cbf235bb586d8702239c3b5922cf695f4eefadec63e7564fa35762666dfdd11103f07441460
+Size (openafs-1.8.16.1-src.tar.bz2) = 15170795 bytes
 SHA1 (patch-src_cf_osconf.m4) = 6eae9ab0821c496f59ebd611c270b46d511a751f
-SHA1 (patch-src_cf_sysname.m4) = 7f45f6387bf959d2026be369cbbfec1a96ff424b
-SHA1 (patch-src_config_afs__sysnames.h) = b13d5f701e9df3d7bd943a97e4c60632c2df1196
+SHA1 (patch-src_cf_sysname.m4) = f9a72336e9d3f7ed33568a1b2106307a29cb5abd
+SHA1 (patch-src_config_afs__sysnames.h) = b57737207b01694c205aae46875a15feb879be4f
+SHA1 (patch-src_config_param.amd64__nbsd100.h) = 6e8b895acd6b2a0d8c40aa7e9a38a38293ecb4e8
+SHA1 (patch-src_config_param.amd64__nbsd110.h) = b733a295a8d5db8a3501ecf681e2af9f67a8a1d0
+SHA1 (patch-src_config_param.amd64__nbsd120.h) = 45b9fde44ee054421a6f3cdc288e84cf072fc039
+SHA1 (patch-src_config_param.amd64__nbsd80.h) = 80f89c0581c49c1b3e9004935030f88e0fc19116
+SHA1 (patch-src_config_param.amd64__nbsd90.h) = e2392b73cedc1b0e1ae9b0033c96deb55db23d75
 SHA1 (patch-src_config_param.armv6_nbsd80.h) = eea7a8f8a141d285ba5a2bb4317950f0b860528f
-SHA1 (patch-src_config_param.nbsd100.h) = 49ba081d163357ade1ad1c409b7276edb6e6e7dc
-SHA1 (patch-src_config_param.nbsd80.h) = 52335bea3c5ae9becab4d9e8248ecc3c2ac24749
-SHA1 (patch-src_config_param.nbsd90.h) = 0a958172a80e694f0b59c0e5e03c0956740b1ddb
+SHA1 (patch-src_config_param.armv7__nbsd80.h) = 4d066199cc11c999621fbbdd502870edbc284bac
+SHA1 (patch-src_config_param.i386__nbsd100.h) = 6cc8619960783caab55e51d70438cbc8bbaff182
+SHA1 (patch-src_config_param.i386__nbsd110.h) = 0704f660bfb6cf6f5a7362151b1858fe99d8523a
+SHA1 (patch-src_config_param.i386__nbsd120.h) = eb2257a7468064dd587b52792a6c755cd6baf798
+SHA1 (patch-src_config_param.i386__nbsd80.h) = 5901a79f839d9c4c7dc7cc8a4bc2e4575c05efa7
+SHA1 (patch-src_config_param.i386__nbsd90.h) = c0e9aa032092cc5479ad488542c3ccf03dc05644
+SHA1 (patch-src_config_param.nbsd100.h) = be7d0e2a6a5ef7d7fb21d46eaa2cbf54d6ede3f5
+SHA1 (patch-src_config_param.nbsd110.h) = 2c8d8f5ce1eb7a4a4ae486bcfd11bbc2056a9421
+SHA1 (patch-src_config_param.nbsd120.h) = c4ab8d46006f910a0d6f9be081616cde6daf5f91
+SHA1 (patch-src_config_param.nbsd80.h) = 638b8f366b06d45422a11867ff10cec10fbf0b1e
+SHA1 (patch-src_config_param.nbsd90.h) = 88b1c6c942882faee778a1abef95f6bfbd7e2c2d
 SHA1 (patch-src_config_param.ppc_nbsd100.h) = 68fbda277f8e1895785b99eee8da36618b7a5d26
 SHA1 (patch-src_lwp_lwp.c) = 6f80b16f5bb73dccc44c0e752be997398bf37f3a
 SHA1 (patch-src_lwp_process.amd64.s) = c0be87a82e201855d9004859e01c90d8016efc7f

Index: pkgsrc/filesystems/openafs/PLIST
diff -u pkgsrc/filesystems/openafs/PLIST:1.6 pkgsrc/filesystems/openafs/PLIST:1.7
--- pkgsrc/filesystems/openafs/PLIST:1.6        Sat Mar 19 16:19:02 2022
+++ pkgsrc/filesystems/openafs/PLIST    Sat Sep 12 15:45:25 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2022/03/19 16:19:02 jakllsch Exp $
+@comment $NetBSD: PLIST,v 1.7 2026/09/12 15:45:25 jakllsch Exp $
 bin/afs_compile_et
 bin/afsio
 bin/afsmonitor
@@ -31,6 +31,7 @@ include/afs/afs_args.h
 include/afs/afs_atomlist.h
 include/afs/afs_consts.h
 include/afs/afs_lhash.h
+include/afs/afs_lock.h
 include/afs/afs_stats.h
 include/afs/afs_sysnames.h
 include/afs/afs_trace.h

Index: pkgsrc/filesystems/openafs/patches/patch-src_cf_sysname.m4
diff -u pkgsrc/filesystems/openafs/patches/patch-src_cf_sysname.m4:1.1 pkgsrc/filesystems/openafs/patches/patch-src_cf_sysname.m4:1.2
--- pkgsrc/filesystems/openafs/patches/patch-src_cf_sysname.m4:1.1      Sat Mar 19 16:19:02 2022
+++ pkgsrc/filesystems/openafs/patches/patch-src_cf_sysname.m4  Sat Sep 12 15:45:26 2026
@@ -1,17 +1,18 @@
-$NetBSD: patch-src_cf_sysname.m4,v 1.1 2022/03/19 16:19:02 jakllsch Exp $
+$NetBSD: patch-src_cf_sysname.m4,v 1.2 2026/09/12 15:45:26 jakllsch Exp $
 
-- add support for NetBSD 8 and 9; try to support -current/10 and 10.99/11
+- add support for NetBSD 8, 9, 10, 11; try to support 11.99/12
 
---- src/cf/sysname.m4.orig     2021-12-09 17:07:41.000000000 +0000
+--- src/cf/sysname.m4.orig     2024-11-12 18:06:26.000000000 +0000
 +++ src/cf/sysname.m4
-@@ -342,6 +342,10 @@ case $AFS_SYSNAME in
+@@ -398,6 +398,11 @@ case $AFS_SYSNAME in
      *_nbsd50)   AFS_PARAM_COMMON=param.nbsd50.h  ;;
      *_nbsd60)   AFS_PARAM_COMMON=param.nbsd60.h  ;;
      *_nbsd70)   AFS_PARAM_COMMON=param.nbsd70.h  ;;
 +    *_nbsd80)   AFS_PARAM_COMMON=param.nbsd80.h  ;;
 +    *_nbsd90)   AFS_PARAM_COMMON=param.nbsd90.h  ;;
-+    *_nbsd100)  AFS_PARAM_COMMON=param.nbsd90.h  ;;
-+    *_nbsd110)  AFS_PARAM_COMMON=param.nbsd90.h  ;;
++    *_nbsd100)  AFS_PARAM_COMMON=param.nbsd100.h  ;;
++    *_nbsd110)  AFS_PARAM_COMMON=param.nbsd110.h  ;;
++    *_nbsd120)  AFS_PARAM_COMMON=param.nbsd120.h  ;;
      *_obsd31)   AFS_PARAM_COMMON=param.obsd31.h  ;;
      *_obsd32)   AFS_PARAM_COMMON=param.obsd32.h  ;;
      *_obsd33)   AFS_PARAM_COMMON=param.obsd33.h  ;;

Index: pkgsrc/filesystems/openafs/patches/patch-src_config_afs__sysnames.h
diff -u pkgsrc/filesystems/openafs/patches/patch-src_config_afs__sysnames.h:1.6 pkgsrc/filesystems/openafs/patches/patch-src_config_afs__sysnames.h:1.7
--- pkgsrc/filesystems/openafs/patches/patch-src_config_afs__sysnames.h:1.6     Thu Feb 16 18:56:44 2023
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_afs__sysnames.h Sat Sep 12 15:45:26 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_config_afs__sysnames.h,v 1.6 2023/02/16 18:56:44 he Exp $
+$NetBSD: patch-src_config_afs__sysnames.h,v 1.7 2026/09/12 15:45:26 jakllsch Exp $
 
 - Add SYS_NAME_IDs for NetBSD 8 to 9 on arm/i386/amd64
 
---- src/config/afs_sysnames.h.orig     2021-12-09 17:07:41.000000000 +0000
+--- src/config/afs_sysnames.h.orig     2026-06-25 20:03:19.000000000 +0000
 +++ src/config/afs_sysnames.h
-@@ -297,6 +297,12 @@
+@@ -311,6 +311,33 @@
  #define SYS_NAME_ID_i386_nbsd60         2543
  #define SYS_NAME_ID_amd64_nbsd70        2544
  #define SYS_NAME_ID_i386_nbsd70         2545
@@ -14,6 +14,27 @@ $NetBSD: patch-src_config_afs__sysnames.
 +#define SYS_NAME_ID_amd64_nbsd90        2549
 +#define SYS_NAME_ID_i386_nbsd90         2550
 +#define SYS_NAME_ID_macppc_nbsd100      2551
++#define SYS_NAME_ID_i386_nbsd100        SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_alpha_nbsd100       SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_sparc_nbsd100       SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_sparc64_nbsd100     SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_ppc_nbsd100         SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_amd64_nbsd100       SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_arm32_nbsd100       SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_i386_nbsd110        SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_alpha_nbsd110       SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_sparc_nbsd110       SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_sparc64_nbsd110     SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_ppc_nbsd110         SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_amd64_nbsd110       SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_arm32_nbsd110       SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_i386_nbsd120        SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_alpha_nbsd120       SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_sparc_nbsd120       SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_sparc64_nbsd120     SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_ppc_nbsd120         SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_amd64_nbsd120       SYS_NAME_ID_UNDEFINED
++#define SYS_NAME_ID_arm32_nbsd120       SYS_NAME_ID_UNDEFINED
  
  #define SYS_NAME_ID_i386_obsd31               2600
  #define SYS_NAME_ID_i386_obsd32               2601

Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd100.h
diff -u pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd100.h:1.2 pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd100.h:1.3
--- pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd100.h:1.2     Thu Oct 10 14:04:05 2024
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd100.h Sat Sep 12 15:45:26 2026
@@ -1,9 +1,9 @@
-$NetBSD: patch-src_config_param.nbsd100.h,v 1.2 2024/10/10 14:04:05 jakllsch Exp $
+$NetBSD: patch-src_config_param.nbsd100.h,v 1.3 2026/09/12 15:45:26 jakllsch Exp $
 
 Add configuration for NetBSD-10.
 
---- src/config/param.nbsd100.h.orig    2023-02-16 19:16:24.549771760 +0100
-+++ src/config/param.nbsd100.h 2023-02-16 19:23:09.070744023 +0100
+--- src/config/param.nbsd100.h.orig    2026-09-12 14:58:07.718468172 +0000
++++ src/config/param.nbsd100.h
 @@ -0,0 +1,164 @@
 +/* NetBSD shared section */
 +
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd80.h
diff -u pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd80.h:1.2 pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd80.h:1.3
--- pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd80.h:1.2      Sat Mar 19 16:19:02 2022
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd80.h  Sat Sep 12 15:45:26 2026
@@ -1,23 +1,155 @@
-$NetBSD: patch-src_config_param.nbsd80.h,v 1.2 2022/03/19 16:19:02 jakllsch Exp $
+$NetBSD: patch-src_config_param.nbsd80.h,v 1.3 2026/09/12 15:45:26 jakllsch Exp $
 
 - Add support for NetBSD 8
 
---- src/config/param.nbsd80.h.orig     2022-03-18 17:06:12.813417775 +0000
+--- src/config/param.nbsd80.h.orig     2026-09-11 23:37:39.959451500 +0000
 +++ src/config/param.nbsd80.h
-@@ -26,6 +26,7 @@
- #define AFS_NBSD50_ENV 1
- #define AFS_NBSD60_ENV 1
- #define AFS_NBSD70_ENV 1
+@@ -0,0 +1,148 @@
++/* NetBSD shared section */
++
++#ifndef       AFS_PARAM_COMMON_H
++#define       AFS_PARAM_COMMON_H 1
++
++#define AFS_NAMEI_ENV  1      /* User space interface to file system */
++#define AFS_64BIT_IOPS_ENV 1  /* Needed for NAMEI */
++#define AFS_64BIT_CLIENT 1
++
++#define AFS_SYSCALL 210
++
++#define AFS_KALLOC(n)           kmem_alloc(n, KM_SLEEP)
++#define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
++#define AFS_KFREE               kmem_free
++#define VATTR_NULL              vattr_null
++
++#define AFS_XBSD_ENV 1                /* {Free,Open,Net}BSD */
++
++#define AFS_NBSD_ENV 1
++#define AFS_NBSD15_ENV 1
++#define AFS_NBSD16_ENV 1
++#define AFS_NBSD20_ENV 1
++#define AFS_NBSD30_ENV 1
++#define AFS_NBSD40_ENV 1
++#define AFS_NBSD50_ENV 1
++#define AFS_NBSD60_ENV 1
++#define AFS_NBSD70_ENV 1
 +#define AFS_NBSD80_ENV 1
- #undef  AFS_NONFSTRANS
- #define AFS_NONFSTRANS 1
- 
-@@ -37,6 +38,8 @@
- #define AFS_HAVE_STATVFS    1 /* System supports statvfs */
- #endif
- 
-+#define ROOTINO UFS_ROOTINO
-+
- #ifndef UKERNEL
- 
- #if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++#undef  AFS_NONFSTRANS
++#define AFS_NONFSTRANS 1
++
++#define AFS_VFSINCL_ENV 1
++
++#define AFS_HAVE_FFS            1     /* Use system's ffs. */
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++#define AFS_HAVE_STATVFS    1 /* System supports statvfs */
++#endif
++
++#ifndef UKERNEL
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++#include <sys/param.h>
++#endif
++
++#define FTRUNC O_TRUNC
++
++#define IUPD 0x0010
++#define IACC 0x0020
++#define ICHG 0x0040
++#define IMOD 0x0080
++
++#define RXK_LISTENER_ENV  1
++
++#include <afs/afs_sysnames.h>
++
++#define AFS_VFS_ENV   1
++#define AFS_GREEDY43_ENV      1
++
++#define AFS_GCPAGS            0       /* if nonzero, garbage collect PAGs */
++#define AFS_USE_GETTIMEOFDAY    1     /* use gettimeofday to implement rx clock */
++#define AFS_GLOBAL_SUNLOCK      1
++
++/* Extra kernel definitions (from kdefs file) */
++#ifdef _KERNEL_DEPRECATED
++#define       AFS_VFS34       1       /* What is VFS34??? */
++#define       afsio_iov       uio_iov
++#define       afsio_iovcnt    uio_iovcnt
++#define       afsio_offset    uio_offset
++#define       afsio_seg       uio_segflg
++#define       afsio_resid     uio_resid
++#define       AFS_UIOSYS      UIO_SYSSPACE
++#define       AFS_UIOUSER     UIO_USERSPACE
++#define       AFS_CLBYTES     CLBYTES
++#define       AFS_KALLOC(x)   kalloc(x)
++#define       AFS_KFREE(x,y)  kfree(x,y)
++#define       v_count         v_usecount
++#define v_vfsp                v_mount
++#define vfs_bsize     mnt_stat.f_bsize
++#define vfs_fsid      mnt_stat.f_fsid
++#define va_nodeid     va_fileid
++#define vfs_vnodecovered mnt_vnodecovered
++#define direct                dirent
++
++#ifndef MUTEX_DEFAULT
++#define MUTEX_DEFAULT   0
++#endif /* MUTEX_DEFAULT */
++
++#ifndef SSYS
++#define SSYS            0x00002
++#endif /* SSYS */
++
++#define p_rcred         p_ucred
++
++#define       VN_RELE(vp)     vrele(((struct vnode *)(vp)))
++#define       VN_HOLD(vp)     VREF(((struct vnode *)(vp)))
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++enum vcexcl { NONEXCL, EXCL };
++#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ && !defined(IGNORE_STDS_H) */
++#endif /* _KERNEL_DEPRECATED */
++
++#else /* !defined(UKERNEL) */
++
++
++/* This section for user space compiles only */
++
++#define UKERNEL                       1       /* user space kernel */
++
++#include <afs/afs_sysnames.h>
++
++#define AFS_USERSPACE_IP_ADDR 1
++#define RXK_LISTENER_ENV      1
++#define AFS_GCPAGS          0 /* if nonzero, garbage collect PAGs */
++
++#define       afsio_iov       uio_iov
++#define       afsio_iovcnt    uio_iovcnt
++#define       afsio_offset    uio_offset
++#define       afsio_seg       uio_segflg
++#define       afsio_fmode     uio_fmode
++#define       afsio_resid     uio_resid
++#define       AFS_UIOSYS      UIO_SYSSPACE
++#define       AFS_UIOUSER     UIO_USERSPACE
++#define       AFS_CLBYTES     MCLBYTES
++#define       AFS_MINCHANGE   2
++#define       VATTR_NULL      usr_vattr_null
++
++#define AFS_DIRENT
++#ifndef CMSERVERPREF
++#define CMSERVERPREF
++#endif
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H) && !defined()
++#include <limits.h>
++#include <sys/param.h>
++#include <sys/types.h>
++#include <sys/mount.h>
++#include <sys/fcntl.h>
++#include <netinet/in.h>
++#include <sys/uio.h>
++#include <sys/socket.h>
++#endif
++
++#endif /* !defined(UKERNEL) */
++
++#define ROOTINO       UFS_ROOTINO
++
++#endif /* AFS_PARAM_COMMON_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd90.h
diff -u pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd90.h:1.2 pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd90.h:1.3
--- pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd90.h:1.2      Sat Mar 19 16:19:02 2022
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd90.h  Sat Sep 12 15:45:26 2026
@@ -1,24 +1,156 @@
-$NetBSD: patch-src_config_param.nbsd90.h,v 1.2 2022/03/19 16:19:02 jakllsch Exp $
+$NetBSD: patch-src_config_param.nbsd90.h,v 1.3 2026/09/12 15:45:26 jakllsch Exp $
 
 - Add support for NetBSD 9
 
---- src/config/param.nbsd90.h.orig     2022-03-18 17:06:12.819973595 +0000
+--- src/config/param.nbsd90.h.orig     2026-09-11 23:37:40.029692060 +0000
 +++ src/config/param.nbsd90.h
-@@ -26,6 +26,8 @@
- #define AFS_NBSD50_ENV 1
- #define AFS_NBSD60_ENV 1
- #define AFS_NBSD70_ENV 1
+@@ -0,0 +1,149 @@
++/* NetBSD shared section */
++
++#ifndef       AFS_PARAM_COMMON_H
++#define       AFS_PARAM_COMMON_H 1
++
++#define AFS_NAMEI_ENV  1      /* User space interface to file system */
++#define AFS_64BIT_IOPS_ENV 1  /* Needed for NAMEI */
++#define AFS_64BIT_CLIENT 1
++
++#define AFS_SYSCALL 210
++
++#define AFS_KALLOC(n)           kmem_alloc(n, KM_SLEEP)
++#define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
++#define AFS_KFREE               kmem_free
++#define VATTR_NULL              vattr_null
++
++#define AFS_XBSD_ENV 1                /* {Free,Open,Net}BSD */
++
++#define AFS_NBSD_ENV 1
++#define AFS_NBSD15_ENV 1
++#define AFS_NBSD16_ENV 1
++#define AFS_NBSD20_ENV 1
++#define AFS_NBSD30_ENV 1
++#define AFS_NBSD40_ENV 1
++#define AFS_NBSD50_ENV 1
++#define AFS_NBSD60_ENV 1
++#define AFS_NBSD70_ENV 1
 +#define AFS_NBSD80_ENV 1
 +#define AFS_NBSD90_ENV 1
- #undef  AFS_NONFSTRANS
- #define AFS_NONFSTRANS 1
- 
-@@ -37,6 +39,8 @@
- #define AFS_HAVE_STATVFS    1 /* System supports statvfs */
- #endif
- 
-+#define ROOTINO UFS_ROOTINO
-+
- #ifndef UKERNEL
- 
- #if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++#undef  AFS_NONFSTRANS
++#define AFS_NONFSTRANS 1
++
++#define AFS_VFSINCL_ENV 1
++
++#define AFS_HAVE_FFS            1     /* Use system's ffs. */
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++#define AFS_HAVE_STATVFS    1 /* System supports statvfs */
++#endif
++
++#ifndef UKERNEL
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++#include <sys/param.h>
++#endif
++
++#define FTRUNC O_TRUNC
++
++#define IUPD 0x0010
++#define IACC 0x0020
++#define ICHG 0x0040
++#define IMOD 0x0080
++
++#define RXK_LISTENER_ENV  1
++
++#include <afs/afs_sysnames.h>
++
++#define AFS_VFS_ENV   1
++#define AFS_GREEDY43_ENV      1
++
++#define AFS_GCPAGS            0       /* if nonzero, garbage collect PAGs */
++#define AFS_USE_GETTIMEOFDAY    1     /* use gettimeofday to implement rx clock */
++#define AFS_GLOBAL_SUNLOCK      1
++
++/* Extra kernel definitions (from kdefs file) */
++#ifdef _KERNEL_DEPRECATED
++#define       AFS_VFS34       1       /* What is VFS34??? */
++#define       afsio_iov       uio_iov
++#define       afsio_iovcnt    uio_iovcnt
++#define       afsio_offset    uio_offset
++#define       afsio_seg       uio_segflg
++#define       afsio_resid     uio_resid
++#define       AFS_UIOSYS      UIO_SYSSPACE
++#define       AFS_UIOUSER     UIO_USERSPACE
++#define       AFS_CLBYTES     CLBYTES
++#define       AFS_KALLOC(x)   kalloc(x)
++#define       AFS_KFREE(x,y)  kfree(x,y)
++#define       v_count         v_usecount
++#define v_vfsp                v_mount
++#define vfs_bsize     mnt_stat.f_bsize
++#define vfs_fsid      mnt_stat.f_fsid
++#define va_nodeid     va_fileid
++#define vfs_vnodecovered mnt_vnodecovered
++#define direct                dirent
++
++#ifndef MUTEX_DEFAULT
++#define MUTEX_DEFAULT   0
++#endif /* MUTEX_DEFAULT */
++
++#ifndef SSYS
++#define SSYS            0x00002
++#endif /* SSYS */
++
++#define p_rcred         p_ucred
++
++#define       VN_RELE(vp)     vrele(((struct vnode *)(vp)))
++#define       VN_HOLD(vp)     VREF(((struct vnode *)(vp)))
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++enum vcexcl { NONEXCL, EXCL };
++#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ && !defined(IGNORE_STDS_H) */
++#endif /* _KERNEL_DEPRECATED */
++
++#else /* !defined(UKERNEL) */
++
++
++/* This section for user space compiles only */
++
++#define UKERNEL                       1       /* user space kernel */
++
++#include <afs/afs_sysnames.h>
++
++#define AFS_USERSPACE_IP_ADDR 1
++#define RXK_LISTENER_ENV      1
++#define AFS_GCPAGS          0 /* if nonzero, garbage collect PAGs */
++
++#define       afsio_iov       uio_iov
++#define       afsio_iovcnt    uio_iovcnt
++#define       afsio_offset    uio_offset
++#define       afsio_seg       uio_segflg
++#define       afsio_fmode     uio_fmode
++#define       afsio_resid     uio_resid
++#define       AFS_UIOSYS      UIO_SYSSPACE
++#define       AFS_UIOUSER     UIO_USERSPACE
++#define       AFS_CLBYTES     MCLBYTES
++#define       AFS_MINCHANGE   2
++#define       VATTR_NULL      usr_vattr_null
++
++#define AFS_DIRENT
++#ifndef CMSERVERPREF
++#define CMSERVERPREF
++#endif
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H) && !defined()
++#include <limits.h>
++#include <sys/param.h>
++#include <sys/types.h>
++#include <sys/mount.h>
++#include <sys/fcntl.h>
++#include <netinet/in.h>
++#include <sys/uio.h>
++#include <sys/socket.h>
++#endif
++
++#endif /* !defined(UKERNEL) */
++
++#define ROOTINO       UFS_ROOTINO
++
++#endif /* AFS_PARAM_COMMON_H */

Added files:

Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd100.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd100.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd100.h  Sat Sep 12 15:45:26 2026
@@ -0,0 +1,27 @@
+$NetBSD: patch-src_config_param.amd64__nbsd100.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+--- src/config/param.amd64_nbsd100.h.orig      2026-09-11 22:20:20.583000787 +0000
++++ src/config/param.amd64_nbsd100.h
+@@ -0,0 +1,22 @@
++#ifndef AFS_AMD64_PARAM_H
++#define AFS_AMD64_PARAM_H
++
++#define AFS_X86_XBSD_ENV 1
++#define AFS_X86_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME       "amd64_nbsd100"
++#define SYS_NAME_ID    SYS_NAME_ID_amd64_nbsd100
++
++#define AFS_64BITPOINTER_ENV  1
++#define AFS_64BITUSERPOINTER_ENV      1
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_AMD64_PARAM_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd110.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd110.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd110.h  Sat Sep 12 15:45:26 2026
@@ -0,0 +1,27 @@
+$NetBSD: patch-src_config_param.amd64__nbsd110.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+--- src/config/param.amd64_nbsd110.h.orig      2026-09-11 22:20:20.612087687 +0000
++++ src/config/param.amd64_nbsd110.h
+@@ -0,0 +1,22 @@
++#ifndef AFS_AMD64_PARAM_H
++#define AFS_AMD64_PARAM_H
++
++#define AFS_X86_XBSD_ENV 1
++#define AFS_X86_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME       "amd64_nbsd110"
++#define SYS_NAME_ID    SYS_NAME_ID_amd64_nbsd110
++
++#define AFS_64BITPOINTER_ENV  1
++#define AFS_64BITUSERPOINTER_ENV      1
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_AMD64_PARAM_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd120.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd120.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd120.h  Sat Sep 12 15:45:26 2026
@@ -0,0 +1,27 @@
+$NetBSD: patch-src_config_param.amd64__nbsd120.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+--- src/config/param.amd64_nbsd120.h.orig      2026-09-11 22:20:20.647831058 +0000
++++ src/config/param.amd64_nbsd120.h
+@@ -0,0 +1,22 @@
++#ifndef AFS_AMD64_PARAM_H
++#define AFS_AMD64_PARAM_H
++
++#define AFS_X86_XBSD_ENV 1
++#define AFS_X86_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME       "amd64_nbsd120"
++#define SYS_NAME_ID    SYS_NAME_ID_amd64_nbsd120
++
++#define AFS_64BITPOINTER_ENV  1
++#define AFS_64BITUSERPOINTER_ENV      1
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_AMD64_PARAM_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd80.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd80.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd80.h   Sat Sep 12 15:45:26 2026
@@ -0,0 +1,27 @@
+$NetBSD: patch-src_config_param.amd64__nbsd80.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+--- /dev/null  2026-09-11 22:20:20.523913968 +0000
++++ src/config/param.amd64_nbsd80.h
+@@ -0,0 +1,22 @@
++#ifndef AFS_AMD64_PARAM_H
++#define AFS_AMD64_PARAM_H
++
++#define AFS_X86_XBSD_ENV 1
++#define AFS_X86_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME       "amd64_nbsd80"
++#define SYS_NAME_ID    SYS_NAME_ID_amd64_nbsd80
++
++#define AFS_64BITPOINTER_ENV  1
++#define AFS_64BITUSERPOINTER_ENV      1
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_AMD64_PARAM_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd90.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd90.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.amd64__nbsd90.h   Sat Sep 12 15:45:26 2026
@@ -0,0 +1,27 @@
+$NetBSD: patch-src_config_param.amd64__nbsd90.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+--- src/config/param.amd64_nbsd90.h.orig       2026-09-11 22:20:20.554001588 +0000
++++ src/config/param.amd64_nbsd90.h
+@@ -0,0 +1,22 @@
++#ifndef AFS_AMD64_PARAM_H
++#define AFS_AMD64_PARAM_H
++
++#define AFS_X86_XBSD_ENV 1
++#define AFS_X86_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME       "amd64_nbsd90"
++#define SYS_NAME_ID    SYS_NAME_ID_amd64_nbsd90
++
++#define AFS_64BITPOINTER_ENV  1
++#define AFS_64BITUSERPOINTER_ENV      1
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_AMD64_PARAM_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.armv7__nbsd80.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.armv7__nbsd80.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.armv7__nbsd80.h   Sat Sep 12 15:45:26 2026
@@ -0,0 +1,27 @@
+$NetBSD: patch-src_config_param.armv7__nbsd80.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+- Add support for NetBSD 8 on armv6 based on filename but generic in content to be
+  applicable to other generations of ARM
+
+--- src/config/param.armv7_nbsd80.h.orig       2026-09-11 22:20:21.322347278 +0000
++++ src/config/param.armv7_nbsd80.h
+@@ -0,0 +1,19 @@
++#ifndef        AFS_PARAM_H
++#define        AFS_PARAM_H
++
++#define AFS_ARM32_XBSD_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME       "arm32_nbsd80"
++#define SYS_NAME_ID    SYS_NAME_ID_arm32_nbsd80
++
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_PARAM_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd100.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd100.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd100.h   Sat Sep 12 15:45:26 2026
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_config_param.i386__nbsd100.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+--- src/config/param.i386_nbsd100.h.orig       2026-09-11 22:20:20.581536988 +0000
++++ src/config/param.i386_nbsd100.h
+@@ -0,0 +1,20 @@
++#ifndef        AFS_I386_PARAM_H
++#define        AFS_I386_PARAM_H
++
++#define AFS_X86_XBSD_ENV 1
++#define AFS_X86_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME       "i386_nbsd100"
++#define SYS_NAME_ID    SYS_NAME_ID_i386_nbsd100
++
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_I386_PARAM_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd110.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd110.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd110.h   Sat Sep 12 15:45:26 2026
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_config_param.i386__nbsd110.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+--- src/config/param.i386_nbsd110.h.orig       2026-09-11 22:20:20.610585327 +0000
++++ src/config/param.i386_nbsd110.h
+@@ -0,0 +1,20 @@
++#ifndef        AFS_I386_PARAM_H
++#define        AFS_I386_PARAM_H
++
++#define AFS_X86_XBSD_ENV 1
++#define AFS_X86_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME       "i386_nbsd110"
++#define SYS_NAME_ID    SYS_NAME_ID_i386_nbsd110
++
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_I386_PARAM_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd120.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd120.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd120.h   Sat Sep 12 15:45:26 2026
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_config_param.i386__nbsd120.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+--- src/config/param.i386_nbsd120.h.orig       2026-09-11 22:20:20.646276988 +0000
++++ src/config/param.i386_nbsd120.h
+@@ -0,0 +1,20 @@
++#ifndef        AFS_I386_PARAM_H
++#define        AFS_I386_PARAM_H
++
++#define AFS_X86_XBSD_ENV 1
++#define AFS_X86_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME       "i386_nbsd120"
++#define SYS_NAME_ID    SYS_NAME_ID_i386_nbsd120
++
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_I386_PARAM_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd80.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd80.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd80.h    Sat Sep 12 15:45:26 2026
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_config_param.i386__nbsd80.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+--- src/config/param.i386_nbsd80.h.orig        2026-09-11 22:20:20.510068898 +0000
++++ src/config/param.i386_nbsd80.h
+@@ -0,0 +1,20 @@
++#ifndef        AFS_I386_PARAM_H
++#define        AFS_I386_PARAM_H
++
++#define AFS_X86_XBSD_ENV 1
++#define AFS_X86_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME       "i386_nbsd80"
++#define SYS_NAME_ID    SYS_NAME_ID_i386_nbsd80
++
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_I386_PARAM_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd90.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd90.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.i386__nbsd90.h    Sat Sep 12 15:45:26 2026
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_config_param.i386__nbsd90.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+--- src/config/param.i386_nbsd90.h.orig        2026-09-11 22:20:20.552245238 +0000
++++ src/config/param.i386_nbsd90.h
+@@ -0,0 +1,20 @@
++#ifndef        AFS_I386_PARAM_H
++#define        AFS_I386_PARAM_H
++
++#define AFS_X86_XBSD_ENV 1
++#define AFS_X86_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME       "i386_nbsd90"
++#define SYS_NAME_ID    SYS_NAME_ID_i386_nbsd90
++
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_I386_PARAM_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd110.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd110.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd110.h Sat Sep 12 15:45:26 2026
@@ -0,0 +1,170 @@
+$NetBSD: patch-src_config_param.nbsd110.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+--- src/config/param.nbsd110.h.orig    2026-09-12 14:58:07.726467992 +0000
++++ src/config/param.nbsd110.h
+@@ -0,0 +1,165 @@
++/* NetBSD shared section */
++
++#ifndef       AFS_PARAM_COMMON_H
++#define       AFS_PARAM_COMMON_H 1
++
++#define AFS_NAMEI_ENV  1      /* User space interface to file system */
++#define AFS_64BIT_IOPS_ENV 1  /* Needed for NAMEI */
++#define AFS_64BIT_CLIENT 1
++
++#define AFS_MOUNT_AFS "afs"   /* The name of the filesystem type. */
++#define AFS_SYSCALL 210
++
++#define AFS_KALLOC(n)           kmem_alloc(n, KM_SLEEP)
++#define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
++#define AFS_KFREE               kmem_free
++#define VATTR_NULL              vattr_null
++
++#define AFS_XBSD_ENV 1                /* {Free,Open,Net}BSD */
++
++#define AFS_NBSD_ENV 1
++#define AFS_NBSD15_ENV 1
++#define AFS_NBSD16_ENV 1
++#define AFS_NBSD20_ENV 1
++#define AFS_NBSD30_ENV 1
++#define AFS_NBSD40_ENV 1
++#define AFS_NBSD50_ENV 1
++#define AFS_NBSD60_ENV 1
++#define AFS_NBSD70_ENV 1
++#define AFS_NBSD80_ENV 1
++#define AFS_NBSD90_ENV 1
++#define AFS_NBSD100_ENV 1
++#define AFS_NBSD110_ENV 1
++#undef  AFS_NONFSTRANS
++#define AFS_NONFSTRANS 1
++
++#define AFS_VFSINCL_ENV 1
++
++#define AFS_HAVE_FFS            1     /* Use system's ffs. */
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++#define AFS_HAVE_STATVFS    1 /* System supports statvfs */
++#endif
++
++#define ROOTINO UFS_ROOTINO
++
++#ifndef UKERNEL
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++#include <sys/param.h>
++#endif
++
++#define FTRUNC O_TRUNC
++
++#define IUPD 0x0010
++#define IACC 0x0020
++#define ICHG 0x0040
++#define IMOD 0x0080
++
++#define RXK_LISTENER_ENV  1
++
++#include <afs/afs_sysnames.h>
++
++#define AFS_VFS_ENV   1
++#define AFS_GREEDY43_ENV      1
++
++#define AFS_GCPAGS            0       /* if nonzero, garbage collect PAGs */
++#define AFS_USE_GETTIMEOFDAY    1     /* use gettimeofday to implement rx clock */
++#define AFS_GLOBAL_SUNLOCK      1
++
++/* Extra kernel definitions (from kdefs file) */
++#ifdef _KERNEL_DEPRECATED
++#define       AFS_VFS34       1       /* What is VFS34??? */
++#define       afsio_iov       uio_iov
++#define       afsio_iovcnt    uio_iovcnt
++#define       afsio_offset    uio_offset
++#define       afsio_seg       uio_segflg
++#define       afsio_resid     uio_resid
++#define       AFS_UIOSYS      UIO_SYSSPACE
++#define       AFS_UIOUSER     UIO_USERSPACE
++#define       AFS_CLBYTES     CLBYTES
++#define       osi_GetTime(x)  microtime(x)
++#define       AFS_KALLOC(x)   kalloc(x)
++#define       AFS_KFREE(x,y)  kfree(x,y)
++#define       v_count         v_usecount
++#define v_vfsp                v_mount
++#define vfs_bsize     mnt_stat.f_bsize
++#define vfs_fsid      mnt_stat.f_fsid
++#define va_nodeid     va_fileid
++#define vfs_vnodecovered mnt_vnodecovered
++#define direct                dirent
++
++#ifndef MUTEX_DEFAULT
++#define MUTEX_DEFAULT   0
++#endif /* MUTEX_DEFAULT */
++
++#ifndef SSYS
++#define SSYS            0x00002
++#endif /* SSYS */
++
++#define p_rcred         p_ucred
++
++#define       VN_RELE(vp)     vrele(((struct vnode *)(vp)))
++#define       VN_HOLD(vp)     VREF(((struct vnode *)(vp)))
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++enum vcexcl { NONEXCL, EXCL };
++
++#ifdef KERNEL
++#ifndef MIN
++#define MIN(A,B) ((A) < (B) ? (A) : (B))
++#endif
++#ifndef MAX
++#define MAX(A,B) ((A) > (B) ? (A) : (B))
++#endif
++#endif /* KERNEL */
++
++#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ && !defined(IGNORE_STDS_H) */
++#endif /* _KERNEL_DEPRECATED */
++
++#else /* !defined(UKERNEL) */
++
++
++/* This section for user space compiles only */
++
++#define UKERNEL                       1       /* user space kernel */
++
++#include <afs/afs_sysnames.h>
++
++#define AFS_USERSPACE_IP_ADDR 1
++#define RXK_LISTENER_ENV      1
++#define AFS_GCPAGS          0 /* if nonzero, garbage collect PAGs */
++
++#define       afsio_iov       uio_iov
++#define       afsio_iovcnt    uio_iovcnt
++#define       afsio_offset    uio_offset
++#define       afsio_seg       uio_segflg
++#define       afsio_fmode     uio_fmode
++#define       afsio_resid     uio_resid
++#define       AFS_UIOSYS      UIO_SYSSPACE
++#define       AFS_UIOUSER     UIO_USERSPACE
++#define       AFS_CLBYTES     MCLBYTES
++#define       AFS_MINCHANGE   2
++#define       VATTR_NULL      usr_vattr_null
++
++#define AFS_DIRENT
++#ifndef CMSERVERPREF
++#define CMSERVERPREF
++#endif
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H) && !defined()
++#include <limits.h>
++#include <sys/param.h>
++#include <sys/types.h>
++#include <sys/mount.h>
++#include <sys/fcntl.h>
++#include <netinet/in.h>
++#include <sys/uio.h>
++#include <sys/socket.h>
++#endif
++
++#endif /* !defined(UKERNEL) */
++
++#define ROOTINO       UFS_ROOTINO
++
++#endif /* AFS_PARAM_COMMON_H */
Index: pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd120.h
diff -u /dev/null pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd120.h:1.1
--- /dev/null   Sat Sep 12 15:45:26 2026
+++ pkgsrc/filesystems/openafs/patches/patch-src_config_param.nbsd120.h Sat Sep 12 15:45:26 2026
@@ -0,0 +1,171 @@
+$NetBSD: patch-src_config_param.nbsd120.h,v 1.1 2026/09/12 15:45:26 jakllsch Exp $
+
+--- src/config/param.nbsd120.h.orig    2026-09-12 14:58:07.730467903 +0000
++++ src/config/param.nbsd120.h
+@@ -0,0 +1,166 @@
++/* NetBSD shared section */
++
++#ifndef       AFS_PARAM_COMMON_H
++#define       AFS_PARAM_COMMON_H 1
++
++#define AFS_NAMEI_ENV  1      /* User space interface to file system */
++#define AFS_64BIT_IOPS_ENV 1  /* Needed for NAMEI */
++#define AFS_64BIT_CLIENT 1
++
++#define AFS_MOUNT_AFS "afs"   /* The name of the filesystem type. */
++#define AFS_SYSCALL 210
++
++#define AFS_KALLOC(n)           kmem_alloc(n, KM_SLEEP)
++#define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
++#define AFS_KFREE               kmem_free
++#define VATTR_NULL              vattr_null
++
++#define AFS_XBSD_ENV 1                /* {Free,Open,Net}BSD */
++
++#define AFS_NBSD_ENV 1
++#define AFS_NBSD15_ENV 1
++#define AFS_NBSD16_ENV 1
++#define AFS_NBSD20_ENV 1
++#define AFS_NBSD30_ENV 1
++#define AFS_NBSD40_ENV 1
++#define AFS_NBSD50_ENV 1
++#define AFS_NBSD60_ENV 1
++#define AFS_NBSD70_ENV 1
++#define AFS_NBSD80_ENV 1
++#define AFS_NBSD90_ENV 1
++#define AFS_NBSD100_ENV 1
++#define AFS_NBSD110_ENV 1
++#define AFS_NBSD120_ENV 1
++#undef  AFS_NONFSTRANS
++#define AFS_NONFSTRANS 1
++
++#define AFS_VFSINCL_ENV 1
++
++#define AFS_HAVE_FFS            1     /* Use system's ffs. */
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++#define AFS_HAVE_STATVFS    1 /* System supports statvfs */
++#endif
++
++#define ROOTINO UFS_ROOTINO
++
++#ifndef UKERNEL
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++#include <sys/param.h>
++#endif
++
++#define FTRUNC O_TRUNC
++
++#define IUPD 0x0010
++#define IACC 0x0020
++#define ICHG 0x0040
++#define IMOD 0x0080
++
++#define RXK_LISTENER_ENV  1
++
++#include <afs/afs_sysnames.h>
++
++#define AFS_VFS_ENV   1
++#define AFS_GREEDY43_ENV      1
++
++#define AFS_GCPAGS            0       /* if nonzero, garbage collect PAGs */
++#define AFS_USE_GETTIMEOFDAY    1     /* use gettimeofday to implement rx clock */
++#define AFS_GLOBAL_SUNLOCK      1
++
++/* Extra kernel definitions (from kdefs file) */
++#ifdef _KERNEL_DEPRECATED
++#define       AFS_VFS34       1       /* What is VFS34??? */
++#define       afsio_iov       uio_iov
++#define       afsio_iovcnt    uio_iovcnt
++#define       afsio_offset    uio_offset
++#define       afsio_seg       uio_segflg
++#define       afsio_resid     uio_resid
++#define       AFS_UIOSYS      UIO_SYSSPACE
++#define       AFS_UIOUSER     UIO_USERSPACE
++#define       AFS_CLBYTES     CLBYTES
++#define       osi_GetTime(x)  microtime(x)
++#define       AFS_KALLOC(x)   kalloc(x)
++#define       AFS_KFREE(x,y)  kfree(x,y)
++#define       v_count         v_usecount
++#define v_vfsp                v_mount
++#define vfs_bsize     mnt_stat.f_bsize
++#define vfs_fsid      mnt_stat.f_fsid
++#define va_nodeid     va_fileid
++#define vfs_vnodecovered mnt_vnodecovered
++#define direct                dirent
++
++#ifndef MUTEX_DEFAULT
++#define MUTEX_DEFAULT   0
++#endif /* MUTEX_DEFAULT */
++
++#ifndef SSYS
++#define SSYS            0x00002
++#endif /* SSYS */
++
++#define p_rcred         p_ucred
++
++#define       VN_RELE(vp)     vrele(((struct vnode *)(vp)))
++#define       VN_HOLD(vp)     VREF(((struct vnode *)(vp)))
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++enum vcexcl { NONEXCL, EXCL };
++
++#ifdef KERNEL
++#ifndef MIN
++#define MIN(A,B) ((A) < (B) ? (A) : (B))
++#endif
++#ifndef MAX
++#define MAX(A,B) ((A) > (B) ? (A) : (B))
++#endif
++#endif /* KERNEL */
++
++#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ && !defined(IGNORE_STDS_H) */
++#endif /* _KERNEL_DEPRECATED */
++
++#else /* !defined(UKERNEL) */
++
++
++/* This section for user space compiles only */
++
++#define UKERNEL                       1       /* user space kernel */
++
++#include <afs/afs_sysnames.h>
++
++#define AFS_USERSPACE_IP_ADDR 1
++#define RXK_LISTENER_ENV      1
++#define AFS_GCPAGS          0 /* if nonzero, garbage collect PAGs */
++
++#define       afsio_iov       uio_iov
++#define       afsio_iovcnt    uio_iovcnt
++#define       afsio_offset    uio_offset
++#define       afsio_seg       uio_segflg
++#define       afsio_fmode     uio_fmode
++#define       afsio_resid     uio_resid
++#define       AFS_UIOSYS      UIO_SYSSPACE
++#define       AFS_UIOUSER     UIO_USERSPACE
++#define       AFS_CLBYTES     MCLBYTES
++#define       AFS_MINCHANGE   2
++#define       VATTR_NULL      usr_vattr_null
++
++#define AFS_DIRENT
++#ifndef CMSERVERPREF
++#define CMSERVERPREF
++#endif
++
++#if   !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H) && !defined()
++#include <limits.h>
++#include <sys/param.h>
++#include <sys/types.h>
++#include <sys/mount.h>
++#include <sys/fcntl.h>
++#include <netinet/in.h>
++#include <sys/uio.h>
++#include <sys/socket.h>
++#endif
++
++#endif /* !defined(UKERNEL) */
++
++#define ROOTINO       UFS_ROOTINO
++
++#endif /* AFS_PARAM_COMMON_H */



Home | Main Index | Thread Index | Old Index