summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
commit2fd57282f0262ca084e05b0f2c63fbada395d02b (patch)
tree4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /net-fs
parentc3bc61051d7f12b4c682efa7a5460bbc8815649e (diff)
gentoo resync : 16.01.2021
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/Manifest.gzbin3876 -> 3695 bytes
-rw-r--r--net-fs/autofs/Manifest8
-rw-r--r--net-fs/autofs/autofs-5.1.6-r2.ebuild2
-rw-r--r--net-fs/autofs/autofs-5.1.7-r1.ebuild130
-rw-r--r--net-fs/autofs/autofs-5.1.8-r1.ebuild4
-rw-r--r--net-fs/autofs/files/autofs-5.1.7-glibc-2.34.patch107
-rw-r--r--net-fs/autofs/files/autofs-5.1.7-glibc.patch97
-rw-r--r--net-fs/docker-volume-netshare/Manifest16
-rw-r--r--net-fs/docker-volume-netshare/docker-volume-netshare-0.35.ebuild51
-rw-r--r--net-fs/docker-volume-netshare/files/docker-volume-netshare.confd2
-rw-r--r--net-fs/docker-volume-netshare/files/docker-volume-netshare.initd11
-rw-r--r--net-fs/docker-volume-netshare/metadata.xml8
-rw-r--r--net-fs/samba/Manifest2
-rw-r--r--net-fs/samba/samba-4.15.3-r1.ebuild7
14 files changed, 10 insertions, 435 deletions
diff --git a/net-fs/Manifest.gz b/net-fs/Manifest.gz
index 78a6604d5a45..d83403461435 100644
--- a/net-fs/Manifest.gz
+++ b/net-fs/Manifest.gz
Binary files differ
diff --git a/net-fs/autofs/Manifest b/net-fs/autofs/Manifest
index 94f69cfc30f1..ea5d6257fea8 100644
--- a/net-fs/autofs/Manifest
+++ b/net-fs/autofs/Manifest
@@ -1,17 +1,13 @@
AUX autofs-5.1.6-glibc.patch 2797 BLAKE2B b6ea2fc98c0634208103208fe562f77d3cd77e212215a0a346b2a1b9997fd1dc95bf8b42bd899884fd12d735219801308e0934a31553dfda275dc3eef9e07db0 SHA512 83d4808c4f5fe811d675372f7af59c6369d93818bfdb5aac26d5372baf1ef45f71208206fe6176b577294df8ce0dac145d7afe335f028f0a0cf3e6787dfb0bbc
AUX autofs-5.1.6-musl.patch 215 BLAKE2B 885442f26b482ec28734452d3a987759d761c8d21a4e1457fe9c04be928422473f9a1743b0355c5616486e74bd457faf170eb12b7bb3f790b33314205968f20a SHA512 643fb4453d89269cb2252c9e23f09da657fde4f0c14b8933b950e03c14b8723ec848ec2d5a44da4980895ff6d1cb63c3dfc6074de629a694a370410b270b3886
AUX autofs-5.1.6-pid.patch 453 BLAKE2B 292388f1d192a1e8763402dbc4d5738d112fbbf4409a9fc8215a3ba9987639381fa0ccc29b28f5fe794dc44c98ebc0177d3ecd28177ff6657201f8ba478febda SHA512 78dfd13e06a7adec4336b18a03a1c0bd9d651ce01bf5e716a75d5574e033db9c3fff3baf660c4a6ad757403db5242a7abecf68cdb4cc9bb4d005992b6fe44ca6
-AUX autofs-5.1.7-glibc-2.34.patch 3439 BLAKE2B 9ad024413e1bbb0c2d953ee9355dc6ac6fbf13d4475a14f9183c5092c4850441a7b7f1809452c96d0020b4fb4105f6724e3f04b817ad5b143b9074662f35a87b SHA512 e22fa260123823fa6109d8b2737877a39e15c696ab1e506a8bdeb2a1feebaec965a577a645c9e9edd19547a2b2237e06191f91107b8025b985b7f4f3137685fa
-AUX autofs-5.1.7-glibc.patch 2393 BLAKE2B 3b38f6c869c5dbd29ca7835e4a46b285b6f8dd9e915b8bb0a3a13978e23675b4e695c43d8404f574f4f82a71effa5cf5cad86578893b4e148d0f69241ea3e80f SHA512 6e38ba59e2ce1d3c64ca19e3766438220fb89f3880a59443b6b3dc057f90b6b7ebf003a5cdc34fb12cf1fdc4eba990b02045bf6ee6888b9c49cfb249a77305ed
AUX autofs-5.1.8-dmalloc.patch 1538 BLAKE2B be01cac480fa9e956e44f497ec0b06b824f54714e636e6394b10b551fa855d5f5901668d2079b424754e264d7d84417ff8f7009d52c1b6b7830ea2738f96cfbe SHA512 bba8122f1b183cfeea5556ae1761ec0607d8af88a0f26ca0e3926c8221c0902d9bf8c6c81afb8ce083850fda0fc882cc1660fd71a1a1e580fdbe5a7d76ee12a4
AUX autofs-5.1.8-nfsv4-mount.patch 3512 BLAKE2B cee090bbdfc65a92ddf18ed3f34d0458c89c678520cb517aaf0d44bcd3324c1650055abeac9edd915c81bb69dd9245386e1d008aa9dc536f8777b5bd41ce7c69 SHA512 09d3a4715c2e05292c48874ab4f62ce15b3110a682bfe86986341b34b52db19d92d48ee38181072b17817dec9d180f161eb4598dcff44a3ac551d25d356ec62b
AUX autofs5-auto.master 693 BLAKE2B b3c601beb0c41ed32c6793c00a39ee65bb1f5b47fa0de6ad1fa70f7f15ee6c882058d657fae09807b86d19f1f1017306193cb18a3ce5115e31a53a5913e29af5 SHA512 3be4e92250cb678a6d8454b5703c48f6fac14653e1e89028917a627787e8785bfae1cac5a76b2d8a030fd2ec6e491e22488c19a2034cfeedf02e98c400a228dd
AUX autofs5.initd 1558 BLAKE2B 253ce53d2b2b46f80606cfc654a45c710ae97649343fda7698f2b5af590c6bc1bf2f15912e5c86b626759eb89a659e293fa4bf6e28b5a84dc5a6b5e1a24615e7 SHA512 956e3753dfd56146a529522ff68e311c32906815ceec28afbe5ccc4e5da995dca0296f0824f583a6b7c713e443a6b6fe819bc2f18a116c8e82f2779d0a198afa
DIST autofs-5.1.6.tar.xz 315316 BLAKE2B 0c5e2351462505c6de0b12e510f0c08a625a0235e1ff8eeaff825946c4530c258449d26aaf6a3794aa82a97e8860711226168f434dd31bfb8a4e70287beb3ca4 SHA512 dc8b2bd86c140905dd1bc461bfc469f92363d9c2687fe422e1e751cc7ad64c0733b011c80bf4840e510e5909176cd1a066968b9a5ba835b62c4cf27537863cf2
-DIST autofs-5.1.7.tar.xz 327752 BLAKE2B bff290048fb2849dd4c7099718f6824eac7e4f700909342f82b79a3baa752c4efe7f45be3492578fa15df6d959751be5d7fae5aafe129b52425c0d9ab19eaccc SHA512 cf994d0e68d5f6a5647235000743811a791150ece0a90ed9e1cb9bb131259f52769371c6a06d968b7191b10e709c9c90de611cc3ee310fbbea87f60034b3d4e1
DIST autofs-5.1.8-patches-0.tar.xz 3476 BLAKE2B a7fb146542f9cb0a8e93240d9c3f68ff7b569f4dc0e829103ae67ced6d04e110331d320ff429f6e6af03b7265a068ee648738691cd637080cf976f441fe10444 SHA512 73023735bf269e3214e38a4841b6b3a1edff30e5d925a62d3ca9e841726835793c1e242804233e696e946e63720f522ceeb82f78449d3597d3d39b727f4b8d24
DIST autofs-5.1.8.tar.xz 327396 BLAKE2B 22ef626cc867c1ed4f1f859aebe2547c497c35dea712967de70158e85db590f5ffc26165e1479cfc64eb8070a9c43fd06b1570a82bd8bbbac70f2930e1841718 SHA512 6ee6283c0977c82848a654dc24745ee687f6916de441c3688fa91f67ca7295e632ee3808cc2358984a4b9f19841e6e1a91ab48aad6341ac8e63827fe8c32d223
-EBUILD autofs-5.1.6-r2.ebuild 3141 BLAKE2B 48811e587d6a4637f6e07e9add7e3943e5063456ad91610e18a9deb379d09187d8eb62506dcafa21f06ad932b1f3c6c3fdccbbdb18befbd33e16ae724383a5a1 SHA512 e37770f987c646a2b44477f4fa50a357e2ceece27441f4a75dc3ed8b0564d3f778ba8c162c9a7f3c6fc4c78ed41f557475dda7963c6ab5e2f3297b9fac59d75d
-EBUILD autofs-5.1.7-r1.ebuild 3239 BLAKE2B a329da93036678a45676f230d85ad83f88f473fccfada7d836b8c3cdd413dcc364eff7c5d2a7944336fbfa32c42a457a942ac1f29404e3fd6a6cdf019f11914d SHA512 f1e9e6aa768400a13663e15fa2c9b3a5dea0b427df1020bffa14cdadd4d941249c114156e6385748d2210c5d608647ab5b546c4e0e7ebc59d23a3351121b425d
-EBUILD autofs-5.1.8-r1.ebuild 3265 BLAKE2B 331e79abeb6ec778ac7ab0511955c50e6d44a8c95f938216cb19ba00e6b3d82d9c746694cb8070e80f51b0e7f10275423309f63364c4a293bb3ebf60e334a28b SHA512 2ac85218bfab07a00ebae135636d3459f785ca1ff91cc32cf2ff4ece315c09922dc9ca04be711d249c6fb97f606362dfd831c50e6a1f2911f629abca87b25ccd
+EBUILD autofs-5.1.6-r2.ebuild 3141 BLAKE2B 2e8a550f83941d0cb750c78f40fb263a62f2fc757bf59d40441353ad55d9a1887ecab2cf5ac7ca794a917cd2862b441c8146f7d2d487fbd795f77541c42fe45d SHA512 334e03b3d4fa6661c06c555081866e7a6edfe4c3bbf9edfa5e0894165e96eab43ac807128708837d2a59bf59b25cb985588efb2427cabe0b31829146548889c7
+EBUILD autofs-5.1.8-r1.ebuild 3267 BLAKE2B da9cdac27c70b1dc8e67dfce30b1e4b3143b12f75ede0612292f438cce7c65b24e5e89630e47b17c57d7859f1df6e3ec5418c4a605df68753e2789eb411ccb02 SHA512 60f61f74c9e4e8fcb9b422d2496f993293569445a319e0398006f3d90d5ebaf1ff21d01cdda7cf513c61b71ebc29f276d81b334336f4de00dcacd8e926d8abcc
MISC metadata.xml 870 BLAKE2B d2813cbc47232ecb5d5726672d038d72e9e5dd3078e915552f566a61bb2db7909d8b4d7d135d7c3ebba9c8f827121de2f42bd25c7c9fd975190f8bb67635affd SHA512 b1ee8b21924f1b6ade69603deff4ff5dc954f4f9161dce592b1676cad1e01dc2a0b4802877f8d4922a037f3e10b2f2085128f86cd2cf21f691c568d6a1f3a25d
diff --git a/net-fs/autofs/autofs-5.1.6-r2.ebuild b/net-fs/autofs/autofs-5.1.6-r2.ebuild
index 616efb49c330..c532b488d526 100644
--- a/net-fs/autofs/autofs-5.1.6-r2.ebuild
+++ b/net-fs/autofs/autofs-5.1.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
diff --git a/net-fs/autofs/autofs-5.1.7-r1.ebuild b/net-fs/autofs/autofs-5.1.7-r1.ebuild
deleted file mode 100644
index dc05275932e3..000000000000
--- a/net-fs/autofs/autofs-5.1.7-r1.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info systemd toolchain-funcs
-
-DESCRIPTION="Kernel based automounter"
-HOMEPAGE="https://web.archive.org/web/*/http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
-SRC_URI="https://www.kernel.org/pub/linux/daemons/${PN}/v5/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="dmalloc ldap +libtirpc mount-locking sasl systemd"
-
-# currently, sasl code assumes the presence of kerberosV
-RDEPEND="
- net-libs/libnsl:=
- >=sys-apps/util-linux-2.20
- dmalloc? ( dev-libs/dmalloc[threads] )
- ldap? ( >=net-nds/openldap-2.0
- sasl? (
- dev-libs/cyrus-sasl
- dev-libs/libxml2
- virtual/krb5
- )
- )
- systemd? ( sys-apps/systemd )
- libtirpc? ( net-libs/libtirpc )
- !libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) )
-"
-DEPEND="${RDEPEND}
- libtirpc? ( net-libs/rpcsvc-proto )
-"
-BDEPEND="
- sys-devel/flex
- virtual/pkgconfig
- virtual/yacc
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-glibc.patch"
- "${FILESDIR}/${PN}-5.1.6-musl.patch"
- "${FILESDIR}/${PN}-5.1.6-pid.patch"
- "${FILESDIR}/${PN}-5.1.7-glibc-2.34.patch"
-)
-
-pkg_setup() {
- linux-info_pkg_setup
-
- local CONFIG_CHECK
-
- if kernel_is -ge 4 18; then
- CONFIG_CHECK="~AUTOFS_FS"
- else
- CONFIG_CHECK="~AUTOFS4_FS"
- fi
-
- check_extra_config
-}
-
-src_prepare() {
- sed -i -e "s:/usr/bin/kill:/bin/kill:" samples/autofs.service.in || die # bug #479492
- sed -i -e "/^EnvironmentFile/d" samples/autofs.service.in || die # bug #592334
-
- # Install samples including autofs.service
- sed -i -e "/^SUBDIRS/s/$/ samples/g" Makefile.rules || die
-
- default
-}
-
-src_configure() {
- # bug #483716
- tc-export AR
- # --with-confdir is for bug #361481
- # --with-mapdir is for bug #385113
- local myeconfargs=(
- --with-confdir=/etc/conf.d
- --with-mapdir=/etc/autofs
- $(use_with dmalloc)
- $(use_with ldap openldap)
- $(use_with libtirpc)
- $(use_with sasl)
- $(use_enable mount-locking)
- $(use_with systemd systemd $(systemd_get_systemunitdir)) # bug #479492
- --without-hesiod
- --disable-ext-env
- --enable-sloppy-mount # bug #453778
- --enable-force-shutdown
- --enable-ignore-busy
- RANLIB="$(type -P $(tc-getRANLIB))" # bug #483716
- )
-
- CONFIG_SHELL="${BROOT}/bin/bash" econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- export DONTSTRIP=1
- default
-}
-
-src_install() {
- default
- rmdir "${D}"/run
-
- if kernel_is -lt 2 6 30; then
- # kernel patches
- docinto patches
- dodoc patches/${PN}4-2.6.??{,.?{,?}}-v5-update-????????.patch
- fi
- newinitd "${FILESDIR}"/autofs5.initd autofs
- insinto etc/autofs
- newins "${FILESDIR}"/autofs5-auto.master auto.master
-}
-
-pkg_postinst() {
- if kernel_is -lt 2 6 30; then
- elog "This version of ${PN} requires a kernel with autofs4 supporting"
- elog "protocol version 5.00. Patches for kernels older than 2.6.30 have"
- elog "been installed into"
- elog "${EROOT}/usr/share/doc/${P}/patches."
- elog "For further instructions how to patch the kernel, please refer to"
- elog "${EROOT}/usr/share/doc/${P}/INSTALL."
- elog
- fi
- elog "If you plan on using autofs for automounting remote NFS mounts,"
- elog "please check that both portmap (or rpcbind) and rpc.statd/lockd"
- elog "are running."
-}
diff --git a/net-fs/autofs/autofs-5.1.8-r1.ebuild b/net-fs/autofs/autofs-5.1.8-r1.ebuild
index d3260d26b3e2..2081b5d2a5c5 100644
--- a/net-fs/autofs/autofs-5.1.8-r1.ebuild
+++ b/net-fs/autofs/autofs-5.1.8-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://www.kernel.org/pub/linux/daemons/${PN}/v5/${P}.tar.xz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
IUSE="dmalloc ldap +libtirpc mount-locking sasl systemd"
# currently, sasl code assumes the presence of kerberosV
@@ -96,7 +96,7 @@ src_configure() {
}
src_compile() {
- emake DONTSTRIP=1
+ emake STRIP=: DONTSTRIP=1
}
src_install() {
diff --git a/net-fs/autofs/files/autofs-5.1.7-glibc-2.34.patch b/net-fs/autofs/files/autofs-5.1.7-glibc-2.34.patch
deleted file mode 100644
index 8b0ddd75eb23..000000000000
--- a/net-fs/autofs/files/autofs-5.1.7-glibc-2.34.patch
+++ /dev/null
@@ -1,107 +0,0 @@
-https://src.fedoraproject.org/rpms/autofs/raw/rawhide/f/autofs-5.1.7-use-default-stack-size-for-threads.patch
-https://bugzilla.redhat.com/show_bug.cgi?id=1984813
-https://bugs.gentoo.org/803938
-
-autofs-5.1.7 - use default stack size for threads
-
-From: Ian Kent <raven@themaw.net>
-
-autofs uses PTHREAD_STACK_MIN to set the stack size for threads it
-creates.
-
-In two cases it is used to reduce the stack size for long running
-service threads while it's used to allocate a larger stack for worker
-threads that can have larger memory requirements.
-
-In recent glibc releases PTHREAD_STACK_MIN is no longer a constant
-which can lead to unexpectedly different stack sizes on different
-architectures and the autofs assumption it's a constant causes a
-compile failure.
-
-The need to alter the stack size was due to observed stack overflow
-which was thought to be due the thread stack being too small for autofs
-and glibc alloca(3) usage.
-
-Quite a bit of that alloca(3) usage has been eliminated from autofs now,
-particularly those that might be allocating largish amounts of storage,
-and there has been a lot of change in glibc too so using the thread
-default stack should be ok.
-
-Signed-off-by: Ian Kent <raven@themaw.net>
---- a/daemon/automount.c
-+++ b/daemon/automount.c
-@@ -84,7 +84,6 @@ static size_t kpkt_len;
- /* Attributes for creating detached and joinable threads */
- pthread_attr_t th_attr;
- pthread_attr_t th_attr_detached;
--size_t detached_thread_stack_size = PTHREAD_STACK_MIN * 144;
-
- struct master_readmap_cond mrc = {
- PTHREAD_MUTEX_INITIALIZER, PTHREAD_COND_INITIALIZER, 0, NULL, 0, 0, 0, 0};
-@@ -2620,34 +2619,6 @@ int main(int argc, char *argv[])
- exit(1);
- }
-
--#ifdef _POSIX_THREAD_ATTR_STACKSIZE
-- if (pthread_attr_setstacksize(
-- &th_attr_detached, detached_thread_stack_size)) {
-- logerr("%s: failed to set stack size thread attribute!",
-- program);
-- if (start_pipefd[1] != -1) {
-- res = write(start_pipefd[1], pst_stat, sizeof(*pst_stat));
-- close(start_pipefd[1]);
-- }
-- release_flag_file();
-- macro_free_global_table();
-- exit(1);
-- }
--#endif
--
-- if (pthread_attr_getstacksize(
-- &th_attr_detached, &detached_thread_stack_size)) {
-- logerr("%s: failed to get detached thread stack size!",
-- program);
-- if (start_pipefd[1] != -1) {
-- res = write(start_pipefd[1], pst_stat, sizeof(*pst_stat));
-- close(start_pipefd[1]);
-- }
-- release_flag_file();
-- macro_free_global_table();
-- exit(1);
-- }
--
- info(logging, "Starting automounter version %s, master map %s",
- version, master_list->name);
- info(logging, "using kernel protocol version %d.%02d",
---- a/daemon/state.c
-+++ b/daemon/state.c
-@@ -1177,12 +1177,8 @@ int st_start_handler(void)
- status = pthread_attr_init(pattrs);
- if (status)
- pattrs = NULL;
-- else {
-+ else
- pthread_attr_setdetachstate(pattrs, PTHREAD_CREATE_DETACHED);
--#ifdef _POSIX_THREAD_ATTR_STACKSIZE
-- pthread_attr_setstacksize(pattrs, PTHREAD_STACK_MIN*4);
--#endif
-- }
-
- status = pthread_create(&thid, pattrs, st_queue_handler, NULL);
-
---- a/lib/alarm.c
-+++ b/lib/alarm.c
-@@ -270,12 +270,8 @@ int alarm_start_handler(void)
- status = pthread_attr_init(pattrs);
- if (status)
- pattrs = NULL;
-- else {
-+ else
- pthread_attr_setdetachstate(pattrs, PTHREAD_CREATE_DETACHED);
--#ifdef _POSIX_THREAD_ATTR_STACKSIZE
-- pthread_attr_setstacksize(pattrs, PTHREAD_STACK_MIN*4);
--#endif
-- }
-
- status = pthread_condattr_init(&condattrs);
- if (status)
diff --git a/net-fs/autofs/files/autofs-5.1.7-glibc.patch b/net-fs/autofs/files/autofs-5.1.7-glibc.patch
deleted file mode 100644
index 2a0f415fbee7..000000000000
--- a/net-fs/autofs/files/autofs-5.1.7-glibc.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-diff --git a/daemon/lookup.c b/daemon/lookup.c
-index 2fea0c0..3b3aa3e 100644
---- a/daemon/lookup.c
-+++ b/daemon/lookup.c
-@@ -397,7 +397,7 @@ static int read_file_source_instance(struct autofs_point *ap, struct map_source
- return NSS_STATUS_NOTFOUND;
- }
-
-- if (st.st_mode & __S_IEXEC)
-+ if (st.st_mode & S_IEXEC)
- type = src_prog;
- else
- type = src_file;
-@@ -930,7 +930,7 @@ static int lookup_name_file_source_instance(struct autofs_point *ap, struct map_
- return NSS_STATUS_NOTFOUND;
- }
-
-- if (st.st_mode & __S_IEXEC)
-+ if (st.st_mode & S_IEXEC)
- type = src_prog;
- else
- type = src_file;
-@@ -1077,7 +1077,7 @@ static struct map_source *lookup_get_map_source(struct master_mapent *entry)
- if (!S_ISREG(st.st_mode))
- return NULL;
-
-- if (st.st_mode & __S_IEXEC)
-+ if (st.st_mode & S_IEXEC)
- type = "program";
- else
- type = "file";
-diff --git a/include/automount.h b/include/automount.h
-index 1ae4078..c2e8dba 100644
---- a/include/automount.h
-+++ b/include/automount.h
-@@ -13,6 +13,7 @@
- #include <limits.h>
- #include <time.h>
- #include <syslog.h>
-+#include <sys/procfs.h>
- #include <sys/types.h>
- #include <pthread.h>
- #include <sched.h>
-@@ -42,6 +43,16 @@
- #include <dmalloc.h>
- #endif
-
-+#ifndef __SWORD_TYPE
-+#if __WORDSIZE == 32
-+# define __SWORD_TYPE int
-+#elif __WORDSIZE == 64
-+# define __SWORD_TYPE long int
-+#else
-+#error
-+#endif
-+#endif
-+
- #define ENABLE_CORES 1
-
- /* We MUST have the paths to mount(8) and umount(8) */
-diff --git a/include/nsswitch.h b/include/nsswitch.h
-index d3e4027..8376113 100644
---- a/include/nsswitch.h
-+++ b/include/nsswitch.h
-@@ -24,6 +24,10 @@
- #include <netdb.h>
- #include "list.h"
-
-+#ifndef _PATH_NSSWITCH_CONF
-+#define _PATH_NSSWITCH_CONF "/dev/null"
-+#endif
-+
- #define NSSWITCH_FILE _PATH_NSSWITCH_CONF
-
- enum nsswitch_status {
-diff --git a/modules/lookup_multi.c b/modules/lookup_multi.c
-index fadd2ea..cf109de 100644
---- a/modules/lookup_multi.c
-+++ b/modules/lookup_multi.c
-@@ -247,7 +247,7 @@ static struct lookup_mod *nss_open_lookup(const char *format, int argc, const ch
- continue;
- }
-
-- if (st.st_mode & __S_IEXEC)
-+ if (st.st_mode & S_IEXEC)
- type = src_prog;
- else
- type = src_file;
-@@ -452,7 +452,7 @@ int lookup_reinit(const char *my_mapfmt,
- continue;
- }
-
-- if (st.st_mode & __S_IEXEC)
-+ if (st.st_mode & S_IEXEC)
- type = src_prog;
- else
- type = src_file;
diff --git a/net-fs/docker-volume-netshare/Manifest b/net-fs/docker-volume-netshare/Manifest
deleted file mode 100644
index 439b00ab1d38..000000000000
--- a/net-fs/docker-volume-netshare/Manifest
+++ /dev/null
@@ -1,16 +0,0 @@
-AUX docker-volume-netshare.confd 75 BLAKE2B 1c8473fc6e00c957b9e435c1c43d8c2d10cd40a9373b18571fc689d5d39bf9a67d6721a238070068ba616891a19df90bb013e9086033928bd058a6dec6ea2f64 SHA512 27d5b4a31807eee134fff6a79ebead41d0d7087379ab49b225ec77af26974c79122eaef95e316b092a1346cbee2f272bf711ad09547a61c47a7c42ae5ac11955
-AUX docker-volume-netshare.initd 410 BLAKE2B 8cc94d2ee1f472c9480b1bd99bda4fdc8bc119aefdb911e228a7a69e7df4303377d718e6b21feff45329cb5495992dfbd8add1cbcd5443dd3e159b522b3cb6de SHA512 1dfabf3abf1e1c61e52ec3178123350cb61e1cda050be0cab3faa5c0cbedb13b9e8969db40c79dcaf4567356d65a103fc5a6a9255caa3e8e379781e08e90cbac
-DIST docker-volume-netshare-0.35.tar.gz 18874 BLAKE2B 5d165b04014743cf4bf3bcdc7aab4d2d8c71906f21c7c6254b164fd92a935f4d806b7486a18bcba158c830a378237a07c8ef24d4f2704deab221fe5b97ea1ea6 SHA512 b1cc165b11d97d649b2d15cdc97888916ca6824b9a6206668b41e28ece977ec7b2f5e59664a1a618996d63c0645976315e3f7353eca370b4881f3412e9fed521
-DIST github.com-Sirupsen-logrus-8c0189d9f6bbf301e5d055d34268156b317016af.tar.gz 28679 BLAKE2B 47127a7f53db13bcb4977f21b7faaaccc1aa23b8adb94ce1a97196ffe430f4a3241d72e1c5a4861c7bcf2787e027a907e9fcf8405a98fe37547f5dcba8efaf10 SHA512 2f096d0e55c5debeb50b56905702b2a5b37b2b4dc35f08e303ee4c8c449473b3cd4aa776f23598785c1667b7a64af525c6f0696089b0b9c31214eb3e3a9af192
-DIST github.com-coreos-go-systemd-25fe332a900022d06a189ce01108392854c59df1.tar.gz 59314 BLAKE2B 4538ec89eb7386ac9d978b34c2372ec65ed16f3a4c32abdbd7c8b2e820eecf3fd958aab967e7ad7b06a2798b34e0db812f2bfbc7ee3f7859e5721bfdf0ef6662 SHA512 a7a666f36aa14b2de3026fb1509a39c519864f456992f3b2b82753e239422897e0aaa2646313693e0a0731e78cb58135b7a6d9a435db1a7e178e2f303807daa1
-DIST github.com-dickeyxxx-netrc-e1a19c977509b96a5c76996dec63ab5aac67c38c.tar.gz 5936 BLAKE2B f739f764d1bba5d5745280aa7f390f6ddc9cbdcb8d00a0845884624dc1cc1e3e85a916e561c949c28ec8535a4a1ffa5d91e8d3e097c9b80fc521cec98116dc79 SHA512 1a4d29c41c987d5c4d2fbd91b22cc3e0b11b6db6208cb38f2a03d0a91b85450e6895787c0c2e96e7dd67d11f9c742af3a80472517faa4cc49e7165b005b0d5fb
-DIST github.com-docker-go-connections-7beb39f0b969b075d1325fecb092faf27fd357b6.tar.gz 30766 BLAKE2B c0c2b70e16341d95f5a7b99280833c8775c5c25e4b7d646dea8cc750cb12d2fd0105dc17794c74f6f983d2747a96b61ec70a35c7aa2f2b874205b4cf8f9af082 SHA512 dc3f44c94030b3ce1f4a9cac15d7f5c70bca2c8e535ed5581f128e5ce520a47d006d3776bf78c8faa2ac899e202fca272806ee6e8c9d23da76f1e1d964169a14
-DIST github.com-docker-go-plugins-helpers-61cb8e2334204460162c8bd2417cd43cb71da66f.tar.gz 26117 BLAKE2B 41337898be01f7fe0e8e819163884281eed9a77804241f741b1c833ace8d9f8df211a3238be2b8cd544b50e9d920123ed5aaf70725d77cf3077e11d795081e7c SHA512 44a1661dc3ca5e5262153a62702a4944cfa41d2925f735b79208e78837e9144e32801ded6af80c69a70d0b4eba367c59b2fb3bada18adfb374820a0ac82ba7b5
-DIST github.com-golang-crypto-432090b8f568c018896cd8a0fb0345872bbac6ce.tar.gz 1451209 BLAKE2B bef38d2cd606eaa06ca8fb226ba7ac0f1078df1232428c868fcc1ceaaeba1b781b1152747a6f92a0a40cda67b07fddf091d70fd28abb7b40028884d1a2a8c9f0 SHA512 97ebc686dfdf17d3887485063f2f808c041cbecd78fd8b6285fde2c22c8f0059c1b70eccdc4353b20d55902bc8c199edc53c564368c1ff4aed65ef534dc8b9f3
-DIST github.com-golang-net-cbe0f9307d0156177f9dd5dc85da1a31abc5f2fb.tar.gz 936963 BLAKE2B 19f9996d10bd9f5aecd2bba512301519c65acd6d1c11e97617e69c4fe810f3558b05e1a3d546d3ee75c6eda96d310f63906a9217505d16d35438ca8544de4f68 SHA512 48e12282dc20ee3c614a7622ea10d986071976e3c3ea04eae01469d5e50495f9b22ccc70f0dc1ac00a5a8fda86ecb350acc6708d9467fc588a0aafc9e3641f7c
-DIST github.com-golang-sys-37707fdb30a5b38865cfb95e5aab41707daec7fd.tar.gz 796903 BLAKE2B 4e31f27784cdc5781628ac082d7994a5559be59268003366a3185eac6eb514495f6d82ba13c3046f1061c6abc68712ae8d0505ab7567c8e6057b90f3217c272e SHA512 580bd4cfd26d82aa8c6870eabbd289b76f2ba529ed8496428b29e482ec39bc617cdbcd2f2f2d476ee93526bd18550dcd239085b9f74fb4d24ccb87a3b357bff6
-DIST github.com-miekg-dns-5364553f1ee9cddc7ac8b62dce148309c386695b.tar.gz 2517679 BLAKE2B ad17feb9fe826f84d65e6fe85f10cf6cf901bc6cf593d9e44a02edce72e399b0184a29617cb67f38b2fb0278ffa46d872c32f997c3facc2154a23cceec046bdd SHA512 d4f6709e2c20a3d639b167c0d0e7f987cd2e2d849899460ed26cc7e7f4ce682b45eb3be59a4be91e872a9eea29130f72a7de4f3c1006d99449c6f762f993b9bb
-DIST github.com-spf13-cobra-be77323fc05148ef091e83b3866c0d47c8e74a8b.tar.gz 100452 BLAKE2B 921b681489b620c626ecdc112b20e45cd0a424d6a1088c1b45e4a3339e7645d9a29154c6fcb341af6e3d80750bc8a89aec837d8a3741b9665ab065526e1188b0 SHA512 81edc5080eba62c58766597d3e1e02779eeb1ee578d7d3fd36cd38c725d58e02300960f311cb4cf1713127ef3ccbe16d581399e2bd7e20f2e37fee7a68dcbf15
-DIST github.com-spf13-pflag-ee5fd03fd6acfd43e44aea0b4135958546ed8e73.tar.gz 41039 BLAKE2B 1dae2f35f0f165c94b3477cf853126cd7c3a9171bbfa639b505936c6ec495a27f99d2c69b34cdf09641959ada6559b5d707cca808069eb4dae20ac4a5443fc89 SHA512 4b5ed5c08f08f347be1832ea5bb8b8ea4ca7b5c5fc8aff2a08dfe667e0c8c0bc1a55ade7ebe83d68746a10af317eec3e8053d2d63a3e24caf437eff7405e719c
-EBUILD docker-volume-netshare-0.35.ebuild 1786 BLAKE2B f1ae53c5599bfcf38c565d99350ad31fd8f57510cb0035017194faf6183d20f61460b8c1a4838676454212818a35f7e5b377632c9336045600d6daa9c079a63d SHA512 c8b1f2e5cbc3cb0572d5d99e221909da46768419c797926ade8b0a240c7b5a0d0b23cf769ef7bcb8f4492c11fd717f1cb60ff8735edca315e10b03d8e5bae546
-MISC metadata.xml 269 BLAKE2B a31d6fa63f670fa443b6d70ca1eb1af00ef38c5eb0403eec61d0c340562ae903919ffeb1b4acd88c68180689af5eff8fd57bf7e71772ee46b00c1ed9ee4e80c4 SHA512 46fb6cfa451a6eed15d884eb129e22fdee3f01144f0fa65a92fdcb461e813b8d6c89b7f628cde8314f2b71ab72f3f81c3eba6f95a0b61f2865fc480f11f48167
diff --git a/net-fs/docker-volume-netshare/docker-volume-netshare-0.35.ebuild b/net-fs/docker-volume-netshare/docker-volume-netshare-0.35.ebuild
deleted file mode 100644
index 5e6cf0daa461..000000000000
--- a/net-fs/docker-volume-netshare/docker-volume-netshare-0.35.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-EGO_PN="github.com/ContainX/docker-volume-netshare"
-EGIT_COMMIT="v${PV}"
-
-EGO_VENDOR=( "github.com/Sirupsen/logrus 8c0189d9f6bbf301e5d055d34268156b317016af"
- "github.com/dickeyxxx/netrc e1a19c977509b96a5c76996dec63ab5aac67c38c"
- "github.com/docker/go-plugins-helpers 61cb8e2334204460162c8bd2417cd43cb71da66f"
- "github.com/coreos/go-systemd 25fe332a900022d06a189ce01108392854c59df1"
- "github.com/docker/go-connections 7beb39f0b969b075d1325fecb092faf27fd357b6"
- "github.com/miekg/dns 5364553f1ee9cddc7ac8b62dce148309c386695b"
- "github.com/spf13/cobra be77323fc05148ef091e83b3866c0d47c8e74a8b"
- "github.com/spf13/pflag ee5fd03fd6acfd43e44aea0b4135958546ed8e73"
- "golang.org/x/net cbe0f9307d0156177f9dd5dc85da1a31abc5f2fb github.com/golang/net"
- "golang.org/x/crypto 432090b8f568c018896cd8a0fb0345872bbac6ce github.com/golang/crypto"
- "golang.org/x/sys 37707fdb30a5b38865cfb95e5aab41707daec7fd github.com/golang/sys"
-)
-
-inherit golang-vcs-snapshot systemd user
-
-SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
- ${EGO_VENDOR_URI}"
-DESCRIPTION="Docker NFS, AWS EFS, Ceph & Samba/CIFS Volume Plugin"
-HOMEPAGE="https://github.com/ContainX/docker-volume-netshare"
-LICENSE="Apache-2.0"
-KEYWORDS="~amd64 ~arm64"
-SLOT="0"
-IUSE=""
-
-src_prepare() {
- default
- sed -i -e "s/dmaj/ContainX/" -e "s/VERSION string = \"\"/VERSION string =\"${PV}\"/" src/${EGO_PN}/main.go || die
-}
-
-src_compile() {
- pushd src/${EGO_PN} || die
- CGO_LDFLAGS="-fno-PIC" GOPATH="${S}" go build || die
- popd || die
-}
-
-src_install() {
- pushd src/${EGO_PN} || die
- dobin ${PN}
- dodoc README.md
- popd || die
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}
diff --git a/net-fs/docker-volume-netshare/files/docker-volume-netshare.confd b/net-fs/docker-volume-netshare/files/docker-volume-netshare.confd
deleted file mode 100644
index a8a88debb293..000000000000
--- a/net-fs/docker-volume-netshare/files/docker-volume-netshare.confd
+++ /dev/null
@@ -1,2 +0,0 @@
-# arguments for docker-volume-netshare plugin
-command_args="nfs -o nolock"
diff --git a/net-fs/docker-volume-netshare/files/docker-volume-netshare.initd b/net-fs/docker-volume-netshare/files/docker-volume-netshare.initd
deleted file mode 100644
index d80b7be94841..000000000000
--- a/net-fs/docker-volume-netshare/files/docker-volume-netshare.initd
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2016-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Docker Volume Netshare plugin"
-pidfile=${pidfile:-"/run/${SVCNAME}.pid"}
-command="/usr/bin/docker-volume-netshare"
-command_args="${command_args:nfs}"
-command_background="true"
-start_stop_daemon_args="--stdout /var/log/${SVCNAME}.log \
- --stderr /var/log/${SVCNAME}.log"
diff --git a/net-fs/docker-volume-netshare/metadata.xml b/net-fs/docker-volume-netshare/metadata.xml
deleted file mode 100644
index 474d1933e1ed..000000000000
--- a/net-fs/docker-volume-netshare/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">ContainX/docker-volume-netshare</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest
index 73f69eb9c266..17d4b8134490 100644
--- a/net-fs/samba/Manifest
+++ b/net-fs/samba/Manifest
@@ -10,5 +10,5 @@ DIST samba-4.15.2.tar.gz 19252338 BLAKE2B aded33cbefce69c9b20148de1be224514de5cc
DIST samba-4.15.3.tar.gz 19272345 BLAKE2B ada18904ee7889209488f022daacc34ce1f41c12f9c8c48515cc24aa158072da499cc6ec484cf2b9108c6b2d4074ad734d1850063a354000aa90091faba6f7a6 SHA512 1c30cfa6cd927f4d822dd7227b89542d05d7ab4e50c2d9717eea4fcf1af5120b55d66ec628acd5c887e9bffc732c1d37ab084db953534a2b3987531b10fef63c
EBUILD samba-4.14.10-r2.ebuild 10228 BLAKE2B e10beded76e18d79d78a280a4099e62c3190e9b56e6a5389042e3105bb4221df30b63846b55b4c46adaa7096bd1317edd41936dd6b0eded1970896ce4560f841 SHA512 271c1fc112653695e78feffdea04539cd6cce4b39be167a6cad53c1ff5010f149b1e7bfc7956b2518322d534d990539250e079350ae77356390b0129fa4d6a3e
EBUILD samba-4.15.2-r2.ebuild 10096 BLAKE2B 92edf79f42f67ae7850388e0db4204099c0ec1a01358ee9cbbc7d6d25404212ce97c05f917810068f80a6aec9d74ad8fa53fa504009b1bdd6402510cc63be919 SHA512 c255639951280b1d37cf3a97cb543114874444686246a23b8ff33b52d9d90bb3e4f6f89a0caae85cd7230aad64789df2441ecabec92dd95d6f48b12b6f17f0b7
-EBUILD samba-4.15.3-r1.ebuild 10011 BLAKE2B afcd89d964900763ff9ed6ae0dac6bb4a137fbf77995c4bf1c2bbcd2466626bc3d1746f37d41fc0e32810b3917b46d6be4a46d1d727b930d54dc0682d955d40d SHA512 f929feeded8ed7dd9463e83f0a509a79f9c5495c7162ab8a347706596b5db0532549f3c2c9201de94408609abfd937d0807d5bb1d75b49eecbfcd8e994053e67
+EBUILD samba-4.15.3-r1.ebuild 10085 BLAKE2B 894637d02cc8cd9151f49529747e1feb493265dbc68d94684a7828ca07ff0c9b0cb8edc7be6196a4013e3dd9a080cef0cdd3b8b2d4fdac0a47d81cc652e5882b SHA512 3d97e2b7f1ceeed11deb4dcb94bc2bc62fe960719627ad3e3dadccbf05afb29da63cd7627f5d1d872d74a2ec7cf7849e311e9b46f55a3dedc591dba74e9b120c
MISC metadata.xml 2166 BLAKE2B 147e131d456bd90334b48d551e47ce92f0fd7a0708df2f4cce0ffeb3f2e541689090f8edd043411d982574285e06a1b31fb087c18bd02b1296c6e15ccd0b2e92 SHA512 332354a6247d9ef8d50b71e07c66a10fcfbdb34dd876490f8517d0275d87a7d486789c19824c7ccd9066148a92ece3061649bd7ac0b7280cbc695c92ec70ef29
diff --git a/net-fs/samba/samba-4.15.3-r1.ebuild b/net-fs/samba/samba-4.15.3-r1.ebuild
index 6efaacf348ca..189af1340a9c 100644
--- a/net-fs/samba/samba-4.15.3-r1.ebuild
+++ b/net-fs/samba/samba-4.15.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,8 +22,8 @@ S="${WORKDIR}/${MY_P}"
LICENSE="GPL-3"
SLOT="0"
-IUSE="acl addc ads ceph client cluster cups debug dmapi fam glusterfs
-gpg iprint json ldap pam profiling-data python quota +regedit selinux
+IUSE="acl addc ads ceph client cluster cpu_flags_x86_aes cups debug dmapi fam
+glusterfs gpg iprint json ldap pam profiling-data python quota +regedit selinux
snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test winbind
zeroconf"
@@ -210,6 +210,7 @@ multilib_src_configure() {
--nopyc
--nopyo
--without-winexe
+ --accel-aes=$(usex cpu_flags_x86_aes intelaesni none)
$(multilib_native_use_with acl acl-support)
$(multilib_native_usex addc '' '--without-ad-dc')
$(multilib_native_use_with ads)