summaryrefslogtreecommitdiff
path: root/filesystems
diff options
context:
space:
mode:
authorgendalia <gendalia@pkgsrc.org>2014-02-21 21:33:51 +0000
committergendalia <gendalia@pkgsrc.org>2014-02-21 21:33:51 +0000
commitbe694acefa26db3ee3779522289bdb2d59b27a28 (patch)
treed20d5d303324c4f3be381b8776b8fbdc9fd89f55 /filesystems
parent6f42bc813a47b82c3170afc51b31446ad1b58235 (diff)
downloadpkgsrc-be694acefa26db3ee3779522289bdb2d59b27a28.tar.gz
Upgrade OpenAFS to 1.6.6.
Remove unused options bos-new-config, fast-restart, & largefile. Remove patches fixed upstream. OpenAFS 1.6.6 All platforms * As of this release, OpenAFS no longer ships uncompressed source tarballs. Tarballs are still shipped with both compression formats, gzip and bzip2. (10131) * Documentation improvements (10136 10314 10601) * Improved diagnostics and error messages (9412 10085 10274) * Avoid redefining "assert" in our public header files, which could cause failures when building some applications using them. (10096) * Fixes for parallel builds (10005 10309 10337) * Added a -s switch to afscp (not installed by default) to help simulate a slow client. (9416 9417) * Added a -probe switch to vlclient test program (not installed by default) to ping all vlservers in a cell in parallel. (9570) All server platforms * The fileserver now ignores any vice partitions with a NeverAttach flag file present in the root directory. (RT #130561) (9470 9471) * Restrict forcing CPS ("Current Protection Subdomain") recalculation in the fileserver to administrators. Also fixed a bug that could cause this operation to be incomplete. (9485 9487) * Allow non-DAFS fileservers to attach unusable volumes, restoring pre-1.6 behaviour. (RT #131505) (9499) * Restored the pre-1.6 behaviour when running vos examine for a volume currently in a transaction, showing the volume as busy again rather than offline. (9685 9915 9916) * Reduced the minimum time a bos salvage takes from 5 seconds to 1. (9476) * Fixed buserver to not segfault when started with the -servers option. (RT #131706) (10166) * Salvager fixes, addressing a wide variety of possible problems from unnecessary salvaging to aborts (9282 9283 9457 9458 9459 9461 9462 9480 9481 10165 10167) * Fixed a bug that could cause saved state information to be discarded when restarting a large or busy fileserver, which negatively impacted performance. (9683) * Fixed a bug that could have caused undefined behaviour in the vlserver in rare cases when a fileserver registered its addresses in the VLDB. (9429) * Added the -preserve-vol-stats switch to volserver, allowing it to keep the access statistics across volume restore and reclone operations instead of resetting them. (9477) * Inserted an exponential delay between retries when bosserver attempts to restart a server process. (9571 10199) * Improved vldb_check (not installed by default) to cope with broken vlentry names and volids, and provide more output to aid debugging. (10268) * Releasing a volume after adding a new RO site no longer touches any of the existing RO sites, if the RW data hasn't changed since the last release. (10174) * Make the copyDate field for RO clones have the same meaning as for remote RO volumes. Previously, the copyDate field for clones was updated every time we released. (9451) * Fixed potentially undefined behaviour in ptserver when too many pts ids are allocated. (10124) * Note that the server side NAT pings feature present in the prereleases was removed before the final release, since no positive feedback was provided during prerelease testing. (9420 10135) Linux servers * Start bosserver with -nofork in the systemd unit file, to allow systemd to track its state (10093) All client platforms * No longer track file locks on read-only volumes. Write locks can't succeed, read locks always will. Avoids log messages about this kind of lock. (8910) * Added the "fs flushall" subcommand, which makes the client discard all cached data. This was previously available on Windows only. (9065 9388 9389 9390) * Fixed a bug that could make the client incorrectly believe its cache is up to date. This change could negatively impact AFS <-> DFS translators, should those still be running anywhere. (8898) * Several changes to avoid panicing in certain error conditions. (9131 9287 10354 10355 10356 10357) (partially addressing RT #131747) * Added the -rxmaxfrags switch to afsd, allowing to limit the number of UDP fragments sent or received per RX packet. (9430) * Build fixes for aklog on several platforms (RT #131716) (9917 10107 10275) * Require that the AFS mountpoint specified in the cacheinfo file is an absolute path. Relative paths result in a client that basically works but is not fully functional. (10253) * Fixed a bug that could cause one of the afsd threads to enter an infinite loop (10431 .. 10436) Linux clients * Support Linux kernels up to 3.13 (10241) * Fixed a bug that made readv/writev calls in AFS space fail with Linux kernels where generic_file_aio_read exists but those operations have not been switched to using aio_read/aio_write. This was a regression introduced with release 1.6.3 and affected at least RHEL 5.9 kernels. (10248) * Fixed a similar bug making core dumps fail in AFS space, affecting a much wider range of kernels including the most recent ones. (RT #131729) (10254) * Enhanced the keyring code to make PAGs work correctly on kernels with a distribution specific change to the Linux keyring code. This affected at least SLES 11 SP3 kernels. (10252) * Fixed a bug that could make failures during PAG instantiation go unnoticed. (10255) * Fixed a bug that made compilation fail for Linux kernels without keyring support. This affected at least the SLE 10 SDK and an OEM version of SLES 11 SP1. (10325) * Fixed build for kernels with user namespace support enabled. Likely to be required for Ubuntu 14.04 and eventually other distributions. (10456 10457 10458 10518 10472) * Support RHEL 6.5 kernels, and possibly others with changes backported from recent mainline kernels that touch getname/putname, by no longer using those functions. Previously, the client could cause a kernel panic when syscall auditing was enabled. (10578) * Make tmpfs usable as the cache filesystem again. This had been broken since kernel 3.1 (9950 10193) * When starting the client fails, clean up the backing device information created in sysfs, to avoid error messages during a subsequent start and possible system instability later on (10454) * Update Red Hat packaging to support Fedora >= 20, RHEL >= 7 and ELrepo kernels (10597 10619 10622 10703 10704) OS X Clients * Support OS X 10.9 "Mavericks" (10519 10541 10542 10543 10548 10549) AIX clients * Fixed a bug that caused the 1.6 AIX client to never receive any RX packets in the kernel. (RT #131725) FUSE client * Support Solaris 11 (9454 9455) * Allow other users to access filesystems mounted by root. (9452) FreeBSD * Build tvolser and dvolser on this platform (10122) * Several fixes to catch up with newer releases (10374 .. 10381) NetBSD * Build tsalvaged, tvolser and dvolser on this platform (10121) * Fixed build on NetBSD 5 and newer. (10138)
Diffstat (limited to 'filesystems')
-rw-r--r--filesystems/openafs/Makefile6
-rw-r--r--filesystems/openafs/PLIST3
-rw-r--r--filesystems/openafs/distinfo12
-rw-r--r--filesystems/openafs/options.mk17
-rw-r--r--filesystems/openafs/patches/patch-Makefile.in13
-rw-r--r--filesystems/openafs/patches/patch-src_aklog_aklog.c26
-rw-r--r--filesystems/openafs/patches/patch-src_config_param.nbsd60.h12
-rw-r--r--filesystems/openafs/patches/patch-src_util_softsig.c14
8 files changed, 12 insertions, 91 deletions
diff --git a/filesystems/openafs/Makefile b/filesystems/openafs/Makefile
index e70bd39fb93..7f12d1658a9 100644
--- a/filesystems/openafs/Makefile
+++ b/filesystems/openafs/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2013/09/17 01:04:12 jakllsch Exp $
+# $NetBSD: Makefile,v 1.6 2014/02/21 21:33:51 gendalia Exp $
-DISTNAME= openafs-1.6.5-src
+DISTNAME= openafs-1.6.6-src
PKGNAME= ${DISTNAME:C/-src//}
CATEGORIES= filesystems net sysutils
-MASTER_SITES= http://www.openafs.org/dl/openafs/1.6.5/
+MASTER_SITES= http://www.openafs.org/dl/openafs/1.6.6/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= gendalia@NetBSD.org
diff --git a/filesystems/openafs/PLIST b/filesystems/openafs/PLIST
index 0b28db1de08..de7f1052152 100644
--- a/filesystems/openafs/PLIST
+++ b/filesystems/openafs/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2012/12/01 15:22:32 jakllsch Exp $
+@comment $NetBSD: PLIST,v 1.3 2014/02/21 21:33:51 gendalia Exp $
bin/afs_compile_et
bin/afsio
bin/afsmonitor
@@ -224,6 +224,7 @@ lib/libubik.a
libexec/openafs/buserver
libexec/openafs/dafileserver
libexec/openafs/dasalvager
+libexec/openafs/davolserver
libexec/openafs/fileserver
libexec/openafs/kaserver
libexec/openafs/ptserver
diff --git a/filesystems/openafs/distinfo b/filesystems/openafs/distinfo
index 12f7862805b..9462d90d910 100644
--- a/filesystems/openafs/distinfo
+++ b/filesystems/openafs/distinfo
@@ -1,10 +1,6 @@
-$NetBSD: distinfo,v 1.5 2013/09/17 01:04:12 jakllsch Exp $
+$NetBSD: distinfo,v 1.6 2014/02/21 21:33:51 gendalia Exp $
-SHA1 (openafs-1.6.5-src.tar.bz2) = f0261d7fcd05610d2bb7dcf43c6bb21115476472
-RMD160 (openafs-1.6.5-src.tar.bz2) = 4f0eac7661c311e08b85f4195c712ee592a9b52c
-Size (openafs-1.6.5-src.tar.bz2) = 14400420 bytes
-SHA1 (patch-Makefile.in) = 159d314975188f768e0046bf153711d1b5c6b89c
-SHA1 (patch-src_aklog_aklog.c) = 7a21b2bd338a3a1d00dc0cb99f1af206ab0c607c
+SHA1 (openafs-1.6.6-src.tar.bz2) = 819abbb4d639f8f671837e258314710b548bf21d
+RMD160 (openafs-1.6.6-src.tar.bz2) = ee51e249021acf9d19ca0053ff9d7f83019862cb
+Size (openafs-1.6.6-src.tar.bz2) = 14582006 bytes
SHA1 (patch-src_comerr_Makefile.in) = dd5e996481d7ef908710868aa9dc1b65feb98717
-SHA1 (patch-src_config_param.nbsd60.h) = bb2288fd155f20df64fe2e8bc91f0fcf215d6c46
-SHA1 (patch-src_util_softsig.c) = 3f1b27b2ce0d72de6239ebefc199eba831c1acf0
diff --git a/filesystems/openafs/options.mk b/filesystems/openafs/options.mk
index fc57c357665..79fe81cece0 100644
--- a/filesystems/openafs/options.mk
+++ b/filesystems/openafs/options.mk
@@ -1,15 +1,13 @@
-# $NetBSD: options.mk,v 1.2 2013/04/08 11:17:13 rodent Exp $
+# $NetBSD: options.mk,v 1.3 2014/02/21 21:33:51 gendalia Exp $
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.openafs
-PKG_SUPPORTED_OPTIONS+= server bitmap-later bos-new-config fast-restart
-PKG_SUPPORTED_OPTIONS+= largefile kernel-module supergroups namei
+PKG_SUPPORTED_OPTIONS+= server bitmap-later kernel-module supergroups namei
.if ${MACHINE_ARCH} != "x86_64"
PKG_SUPPORTED_OPTIONS+= pam
.endif
-PKG_SUGGESTED_OPTIONS= server bitmap-later bos-new-config fast-restart
-PKG_SUGGESTED_OPTIONS+= namei largefile -kernel-module supergroups
+PKG_SUGGESTED_OPTIONS= server -bitmap-later namei -kernel-module supergroups
.include "../../mk/bsd.options.mk"
@@ -19,15 +17,6 @@ CONFIGURE_ARGS+= --enable-supergroups
.if !empty(PKG_OPTIONS:Mbitmap-later)
CONFIGURE_ARGS+= --enable-bitmap-later
.endif
-.if !empty(PKG_OPTIONS:Mbos-new-config)
-CONFIGURE_ARGS+= --enable-bos-new-config
-.endif
-.if !empty(PKG_OPTIONS:Mfast-restart)
-CONFIGURE_ARGS+= --enable-fast-restart
-.endif
-.if !empty(PKG_OPTIONS:Mlargefile)
-CONFIGURE_ARGS+= --enable-largefile-fileserver
-.endif
.if !empty(PKG_OPTIONS:Mkernel-module)
CONFIGURE_ARGS+= --enable-kernel-module
.else
diff --git a/filesystems/openafs/patches/patch-Makefile.in b/filesystems/openafs/patches/patch-Makefile.in
deleted file mode 100644
index ccc89b0f034..00000000000
--- a/filesystems/openafs/patches/patch-Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-Makefile.in,v 1.1 2012/12/01 15:22:32 jakllsch Exp $
-
---- Makefile.in.orig 2012-03-26 23:03:34.000000000 +0000
-+++ Makefile.in
-@@ -270,7 +270,7 @@ vol: cmd comerr dir afs sgiefs
-
- tsalvaged: vol libafsrpc libafsauthent cmd util
- +case ${SYS_NAME} in \
-- alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*fbsd*|*nbsd2*|*_darwin_*) \
-+ alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*fbsd*|*nbsd*|*_darwin_*) \
- ${COMPILE_PART1} tsalvaged ${COMPILE_PART2} ;; \
- *_darwin_*) \
- ${COMPILE_PART1} tsalvaged ${COMPILE_PART2} ;; \
diff --git a/filesystems/openafs/patches/patch-src_aklog_aklog.c b/filesystems/openafs/patches/patch-src_aklog_aklog.c
deleted file mode 100644
index 0d0dbad35a1..00000000000
--- a/filesystems/openafs/patches/patch-src_aklog_aklog.c
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-src_aklog_aklog.c,v 1.1 2012/12/01 15:22:32 jakllsch Exp $
-
---- src/aklog/aklog.c.orig 2012-03-26 23:03:34.000000000 +0000
-+++ src/aklog/aklog.c
-@@ -67,9 +67,11 @@
- #if defined(HAVE_ET_COM_ERR_H)
- #include <et/com_err.h>
- #else
--#include <com_err.h>
-+//#include <com_err.h>
-+#include <krb5/com_err.h>
- #endif
-
-+
- #ifndef HAVE_KERBEROSV_HEIM_ERR_H
- #include <afs/com_err.h>
- #endif
-@@ -95,6 +97,8 @@
- #include "aklog.h"
- #include "linked_list.h"
-
-+#define HAVE_NO_KRB5_524
-+
- #ifdef HAVE_KRB5_CREDS_KEYBLOCK
- #define USING_MIT 1
- #endif
diff --git a/filesystems/openafs/patches/patch-src_config_param.nbsd60.h b/filesystems/openafs/patches/patch-src_config_param.nbsd60.h
deleted file mode 100644
index df70a23e23b..00000000000
--- a/filesystems/openafs/patches/patch-src_config_param.nbsd60.h
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-src_config_param.nbsd60.h,v 1.1 2012/12/01 15:22:32 jakllsch Exp $
-
---- src/config/param.nbsd60.h.orig 2012-03-26 23:03:34.000000000 +0000
-+++ src/config/param.nbsd60.h
-@@ -3,6 +3,7 @@
- #ifndef AFS_PARAM_COMMON_H
- #define AFS_PARAM_COMMON_H 1
-
-+#define AFS_64BIT_ENV 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
diff --git a/filesystems/openafs/patches/patch-src_util_softsig.c b/filesystems/openafs/patches/patch-src_util_softsig.c
deleted file mode 100644
index 113fc27bd0e..00000000000
--- a/filesystems/openafs/patches/patch-src_util_softsig.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_util_softsig.c,v 1.1 2012/12/01 15:22:32 jakllsch Exp $
-
---- src/util/softsig.c.orig 2012-03-26 23:03:34.000000000 +0000
-+++ src/util/softsig.c
-@@ -72,7 +72,8 @@ softsig_thread(void *arg)
-
- while (1) {
- void (*h) (int);
--#if !defined(AFS_DARWIN_ENV) && !defined(AFS_NBSD_ENV)
-+#if defined(AFS_DARWIN_ENV) || (defined(AFS_NBSD_ENV) && !defined(AFS_NBSD50_ENV))
-+#else
- int sigw;
- #endif
-