pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/filesystems/openafs Update to OpenAFS 1.8.8.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e9d5efbfb66
branches:  trunk
changeset: 375651:8e9d5efbfb66
user:      jakllsch <jakllsch%pkgsrc.org@localhost>
date:      Sat Mar 19 16:19:02 2022 +0000

description:
Update to OpenAFS 1.8.8.1

Numerous changes since 1.6.21 many years ago not enumerated here.

Update lightly tested on NetBSD/amd64 8.0 and 9.2

diffstat:

 filesystems/openafs/Makefile                                 |  32 ++++-
 filesystems/openafs/PLIST                                    |  64 +++++------
 filesystems/openafs/PLIST.kauth                              |  19 +++
 filesystems/openafs/PLIST.pam                                |   3 -
 filesystems/openafs/distinfo                                 |  27 ++--
 filesystems/openafs/options.mk                               |  15 +-
 filesystems/openafs/patches/patch-acinclude.m4               |  16 ---
 filesystems/openafs/patches/patch-configure                  |  25 ----
 filesystems/openafs/patches/patch-src_cf_osconf.m4           |  16 +-
 filesystems/openafs/patches/patch-src_cf_sysname.m4          |  17 +++
 filesystems/openafs/patches/patch-src_comerr_Makefile.in     |   8 +-
 filesystems/openafs/patches/patch-src_config_afs__sysnames.h |  14 +-
 filesystems/openafs/patches/patch-src_config_param.nbsd70.h  |  24 ----
 filesystems/openafs/patches/patch-src_config_param.nbsd80.h  |  14 +-
 filesystems/openafs/patches/patch-src_config_param.nbsd90.h  |  14 +-
 filesystems/openafs/patches/patch-src_des_andrew-conf.h      |  15 --
 filesystems/openafs/patches/patch-src_des_conf-arm32-bsd.h   |  12 --
 filesystems/openafs/patches/patch-src_lwp_lwp.c              |  10 +-
 filesystems/openafs/patches/patch-src_lwp_process.amd64.s    |  39 +++++++
 19 files changed, 182 insertions(+), 202 deletions(-)

diffs (truncated from 697 to 300 lines):

diff -r 3e0172349831 -r 8e9d5efbfb66 filesystems/openafs/Makefile
--- a/filesystems/openafs/Makefile      Sat Mar 19 14:10:51 2022 +0000
+++ b/filesystems/openafs/Makefile      Sat Mar 19 16:19:02 2022 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.19 2020/01/26 17:31:10 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2022/03/19 16:19:02 jakllsch Exp $
 
-DISTNAME=      openafs-1.6.21-src
+DISTNAME=      openafs-1.8.8.1-src
 PKGNAME=       ${DISTNAME:C/-src//}
 CATEGORIES=    filesystems net sysutils
-MASTER_SITES=  http://www.openafs.org/dl/openafs/1.6.21/
+MASTER_SITES=  http://www.openafs.org/dl/openafs/1.8.8.1/
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    gendalia%NetBSD.org@localhost
@@ -18,10 +18,14 @@
 CONFLICTS+=    lwp-[0-9]*
 CONFLICTS+=    rx-[0-9]*
 
+# No idea if this is still needed;
+# might also depend on bmake vs. gmake whether this works,
+# seems more likely to work with gmake, but we're using bmake.
 MAKE_JOBS_SAFE=        no
 
 GNU_CONFIGURE=         yes
-USE_TOOLS+=            lex
+USE_LIBTOOL=           yes
+USE_TOOLS+=            lex autoconf automake
 RCD_SCRIPTS+=          bosserver
 
 .include "options.mk"
@@ -29,6 +33,12 @@
 CONFIGURE_ARGS+=       --localstatedir=${VARBASE:Q}
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
 
+# Avoid _res in multithreaded on NetBSD
+.include "../../mk/bsd.fast.prefs.mk"
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ENV+=                ac_cv_res_retransretry=no
+.endif
+
 USE_GNU_CONFIGURE_HOST=        no
 
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
@@ -46,15 +56,21 @@
 
 # attempt to future-proof configuration
 pre-patch:
-       cd ${WRKSRC}/src/config && for i in 70 80 90; do \
-               ${SED} -e 's|nbsd60|nbsd'$$i'|g' param.i386_nbsd60.h > param.i386_nbsd$$i.h; \
-               ${SED} -e 's|nbsd60|nbsd'$$i'|g' param.amd64_nbsd60.h > param.amd64_nbsd$$i.h; \
-               ${CP} param.nbsd60.h param.nbsd$$i.h; \
+       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.
+#.include "../../mk/krb5.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3e0172349831 -r 8e9d5efbfb66 filesystems/openafs/PLIST
--- a/filesystems/openafs/PLIST Sat Mar 19 14:10:51 2022 +0000
+++ b/filesystems/openafs/PLIST Sat Mar 19 16:19:02 2022 +0000
@@ -1,18 +1,14 @@
-@comment $NetBSD: PLIST,v 1.5 2017/07/21 01:39:33 sevan Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/03/19 16:19:02 jakllsch Exp $
 bin/afs_compile_et
 bin/afsio
 bin/afsmonitor
+bin/akeyconvert
 bin/aklog
 bin/asetkey
 bin/bos
 bin/cmdebug
 bin/fs
-bin/klog
-bin/klog.krb
 bin/klog.krb5
-bin/knfs
-bin/kpasswd
-bin/kpwvalid
 bin/livesys
 bin/pagsh
 bin/pagsh.krb
@@ -32,7 +28,6 @@
 include/afs/acl.h
 include/afs/afs.h
 include/afs/afs_args.h
-include/afs/afs_assert.h
 include/afs/afs_atomlist.h
 include/afs/afs_consts.h
 include/afs/afs_lhash.h
@@ -68,7 +63,6 @@
 include/afs/errors.h
 include/afs/exporter.h
 include/afs/fileutil.h
-include/afs/fs_stats.h
 include/afs/fsprobe.h
 include/afs/fssync.h
 include/afs/gtxX11win.h
@@ -85,19 +79,15 @@
 include/afs/gtxwindows.h
 include/afs/icl.h
 include/afs/ihandle.h
-include/afs/kaport.h
-include/afs/kauth.h
-include/afs/kautils.h
 include/afs/keys.h
 include/afs/ktc.h
 include/afs/ktime.h
 include/afs/mit-sipb-cr.h
 include/afs/namei_ops.h
-include/afs/netutils.h
 include/afs/nfs.h
 include/afs/nfsclient.h
+include/afs/opr.h
 include/afs/osi_inode.h
-include/afs/packages.h
 include/afs/pagcb.h
 include/afs/param.h
 include/afs/partition.h
@@ -105,6 +95,7 @@
 include/afs/prerror.h
 include/afs/print.h
 include/afs/procmgmt.h
+include/afs/procmgmt_softsig.h
 include/afs/prs_fs.h
 include/afs/prserver.h
 include/afs/ptclient.h
@@ -114,13 +105,14 @@
 include/afs/ptint.h
 include/afs/ptserver.h
 include/afs/ptuser.h
-include/afs/remote.h
 include/afs/rxgen_consts.h
 include/afs/salvsync.h
-include/afs/softsig.h
 include/afs/stds.h
 include/afs/sysctl.h
+include/afs/tabular_output.h
 include/afs/tcdata.h
+include/afs/thread_pool.h
+include/afs/thread_pool_types.h
 include/afs/unified_afs.h
 include/afs/usd.h
 include/afs/venus.h
@@ -138,18 +130,16 @@
 include/afs/volume.h
 include/afs/volume_inline.h
 include/afs/vsutils_prototypes.h
+include/afs/work_queue.h
+include/afs/work_queue_types.h
 include/afs/xfsattrs.h
 include/afs/xstat_cm.h
 include/afs/xstat_fs.h
-include/des.h
-include/des_conf.h
-include/des_odd.h
-include/des_prototypes.h
 include/kopenafs.h
 include/lock.h
 include/lwp.h
-include/mit-cpyright.h
-include/preempt.h
+include/opr/lock.h
+include/opr/queue.h
 include/rx/fcrypt.h
 include/rx/rx.h
 include/rx/rx_clock.h
@@ -159,6 +149,7 @@
 include/rx/rx_misc.h
 include/rx/rx_multi.h
 include/rx/rx_null.h
+include/rx/rx_opaque.h
 include/rx/rx_packet.h
 include/rx/rx_prototypes.h
 include/rx/rx_pthread.h
@@ -188,8 +179,6 @@
 lib/afs/libdir.a
 lib/afs/libfsprobe.a
 lib/afs/libgtx.a
-lib/afs/libkauth.a
-lib/afs/libkauth.krb.a
 lib/afs/libprocmgmt.a
 lib/afs/libprot.a
 lib/afs/libsys.a
@@ -203,21 +192,30 @@
 lib/afs/vlib.a
 lib/libafsauthent.a
 lib/libafsauthent.so
-lib/libafsauthent.so.1
-lib/libafsauthent.so.1.1
+lib/libafsauthent.so.2
+lib/libafsauthent.so.2.0.0
 lib/libafsauthent_pic.a
 lib/libafscp.a
+lib/libafshcrypto.a
+lib/libafshcrypto.so
+lib/libafshcrypto.so.2
+lib/libafshcrypto.so.2.0.0
+lib/libafsrfc3961.a
 lib/libafsrpc.a
 lib/libafsrpc.so
-lib/libafsrpc.so.1
-lib/libafsrpc.so.1.5
+lib/libafsrpc.so.2
+lib/libafsrpc.so.2.0.0
 lib/libafsrpc_pic.a
-lib/libdes.a
 lib/libkopenafs.a
 lib/libkopenafs.so
-lib/libkopenafs.so.1
-lib/libkopenafs.so.1.1
+lib/libkopenafs.so.2
+lib/libkopenafs.so.2.0.0
 lib/liblwp.a
+lib/libopr.a
+lib/librokenafs.a
+lib/librokenafs.so
+lib/librokenafs.so.2
+lib/librokenafs.so.2.0.0
 lib/librx.a
 lib/librxkad.a
 lib/librxstat.a
@@ -227,7 +225,6 @@
 libexec/openafs/dasalvager
 libexec/openafs/davolserver
 libexec/openafs/fileserver
-libexec/openafs/kaserver
 libexec/openafs/ptserver
 libexec/openafs/salvager
 libexec/openafs/salvageserver
@@ -244,11 +241,6 @@
 sbin/fms
 sbin/fssync-debug
 sbin/fstrace
-sbin/ka-forwarder
-sbin/kadb_check
-sbin/kas
-sbin/kdb
-sbin/kpwvalid
 sbin/prdb_check
 sbin/pt_util
 sbin/read_tape
diff -r 3e0172349831 -r 8e9d5efbfb66 filesystems/openafs/PLIST.kauth
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/openafs/PLIST.kauth   Sat Mar 19 16:19:02 2022 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST.kauth,v 1.1 2022/03/19 16:19:02 jakllsch Exp $
+bin/klog
+bin/klog.krb
+bin/knfs
+bin/kpasswd
+bin/kpwvalid
+include/afs/kaport.h
+include/afs/kauth.h
+include/afs/kautils.h
+lib/afs/libkauth.a
+lib/afs/libkauth.krb.a
+lib/pam_afs.krb.so
+lib/pam_afs.so
+libexec/openafs/kaserver
+sbin/ka-forwarder
+sbin/kadb_check
+sbin/kas
+sbin/kdb
+sbin/kpwvalid
diff -r 3e0172349831 -r 8e9d5efbfb66 filesystems/openafs/PLIST.pam
--- a/filesystems/openafs/PLIST.pam     Sat Mar 19 14:10:51 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST.pam,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
-lib/pam_afs.krb.so.1
-lib/pam_afs.so.1
diff -r 3e0172349831 -r 8e9d5efbfb66 filesystems/openafs/distinfo
--- a/filesystems/openafs/distinfo      Sat Mar 19 14:10:51 2022 +0000
+++ b/filesystems/openafs/distinfo      Sat Mar 19 16:19:02 2022 +0000
@@ -1,17 +1,14 @@
-$NetBSD: distinfo,v 1.19 2021/10/26 10:25:29 nia Exp $
+$NetBSD: distinfo,v 1.20 2022/03/19 16:19:02 jakllsch Exp $
 
-BLAKE2s (openafs-1.6.21-src.tar.bz2) = ea3db99c8b04ad8594b5fd97b8189a104cfaa5b5044eef830e01814fcfba5a79
-SHA512 (openafs-1.6.21-src.tar.bz2) = 451c38ed5031b8a962da3276bf5d0f1b74c5956c2d10cdb8bbd22ea633880ebf35cf5fc71feb5d2eca4306762f6c2376a46f4522150291acfc469f8be2da757f
-Size (openafs-1.6.21-src.tar.bz2) = 14682997 bytes
-SHA1 (patch-acinclude.m4) = 1949234224ee12f6d70f2a7ac914342bdfe9b50d
-SHA1 (patch-configure) = fc07ae1945b047dcdafbeade183fad3b2bd876e4
-SHA1 (patch-src_cf_osconf.m4) = 2ae23bc82dd3f19cfa3fecf50dcca514e09d7a4b
-SHA1 (patch-src_comerr_Makefile.in) = dd5e996481d7ef908710868aa9dc1b65feb98717
-SHA1 (patch-src_config_afs__sysnames.h) = 26819b314797a149def42f5b63cbeb19ef6309e8



Home | Main Index | Thread Index | Old Index