Commit Graph

46 Commits

Author SHA1 Message Date
Maxim Storchak 33e1deadf8 nfs-kernel-server: remove libwrap from the dependencies
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2023-06-02 15:53:04 +03:00
Tianling Shen 79e507cb34 nfs-kernel-server: fix compilation with musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-17 16:03:28 +08:00
Oskari Rauta a1c80c1f37 nfs-kernel-server: update to v2.6.2
Also added patch that is from alpine's same package to assist building on musl.
Hostpkg build on musl also kept failing, so I added few more overrides, which
made it work perfectly.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-03-01 17:02:42 +08:00
Rosen Penev 6fab78170c nfs-kernel-server: disable IPv6 for host
Some issue with static libtirpc

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-04 22:47:53 -07:00
Rosen Penev 196e15162d treewide: remove rpath-link
Most usages seem to be outdated and fixed a long time ago.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-13 00:02:02 -08:00
Sergey V. Lobanov 8457944e61 nfs-kernel-server: fix build on macos arm64
1. prctl() check is not required for host-compile on any OS due to prctl
is not used in rpcgen which is only one is compiled during host-compile
phase. prctl() check is disabled via HOST_CONFIGURE_VARS in OpenWrt makefile

2. __DARWIN_ONLY_64_BIT_INO_T is true on macos arm64 so struct stat64
and stat64() are not available. This patch defines stat64 as stat if
__DARWIN_ONLY_64_BIT_INO_T is true

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2021-12-13 19:57:18 -08:00
Daniel Golle ded4ab79b2 nfs-kernel-server: move hardcoded /run to /tmp/run
statd currently fails to start due to missing /run which doesn't exist
on OpenWrt.

Add a patch moving /run to /tmp/run as the path is hardcoded in several
places and cannot be configured neither at buildtime nor at runtime.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-13 01:11:34 +00:00
Daniel Golle 025bca81a0 nfs-kernel-server: reload when exported mountpoints show
Use newly introduced procd_add_reload_mount_trigger to reload nfsd
when a mountpoint covering an exported filesystem is added by blockd.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-28 19:54:29 +01:00
Rosen Penev 2d3409d5c4 nfs-kernel-server: update to 2.5.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-28 16:47:52 -07:00
Rosen Penev d09d428c2e nfs-kernel-server: update to 2.5.2
Remove uClibc-ng patch as it was upstreamed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-17 15:05:19 -08:00
Javier Marcet c48bae07be nfs-kernel-server: update to 2.5.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-29 17:50:31 +02:00
Peter Wagner d76f90fd43 nfs-kernel-server: update to 2.4.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2019-06-30 13:10:35 +02:00
Rosen Penev 732b1c4c0e nfs-kernel-server: Fix compile with uClibc-ng
NS_MAXMSG is not defined.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-28 20:12:15 +02:00
Peter Wagner c86fdd679b nfs-kernel-server: compile with internal rpcgen
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2019-05-26 00:48:23 +02:00
Peter Wagner c01f3bf0ba nfs-kernel-server: update to 2.3.4
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2019-05-12 21:12:55 +02:00
Peter Wagner 20468cfef1 nfs-kernel-server: create nfs user and group
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2019-04-22 11:26:28 +02:00
Rosen Penev 46fc281e9e nfs-utils: Fix compilation on some platforms
Added a patch sent upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-20 13:17:50 +02:00
Peter Wagner 6d65505c26 nfs-kernel-server: fix dependencies
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2019-03-21 20:28:57 +01:00
Peter Wagner edbac15a55 nfs-kernel-server: update patches
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2019-02-19 20:14:42 +01:00
Peter Wagner 274ce493eb nfs-kernel-server: fix freeaddrinfo usage in nfs-kernel-server, because freeaddrinfo in musl after the 1.1.21
update, doesn't handly NULL pointers (which seems to spec conform) see
https://www.openwall.com/lists/musl/2019/02/03/3 for more info

Signed-off-by: Peter Wagner <tripolar@gmx.at>
2019-02-17 00:17:03 +01:00
W. Michael Petullo 95db98bd7d nfs-kernel-server: add support for NFSv4
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-09-29 20:34:33 +02:00
Guo Li 3fc7f7b8cc nfs-kernel-server: fix missing libbsd dependency
libbsd may compile before nfs-kernel-server, it  will make
nfs-kernel-server depends libbsd.so.0, that is not we want to see. so
gave option to 'configure' to disable libbsd detect and tell it we have
no libbsd

Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-11 22:56:46 +02:00
Peter Wagner e5216bb0d5 nfs-kernel-server: update to 2.3.3
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-09-09 19:20:22 +02:00
Daniel Engberg cfba4f0874 nfs-kernel-server: Switch to xz tarball
Switch to smaller xz tarball

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-08-31 19:50:59 +02:00
Andy Walsh 22ebb5a8d6 nfs-kernel-server: switch to libtirpc, enable ipv6
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-08-13 00:58:48 +02:00
Andy Walsh 19dfe3b173 nfs-kernel-server: fix missing host symbol res_querydomain/missing-include-dir
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-08-08 11:45:15 +02:00
Peter Wagner b1be3f9c06 nfs-kernel-server: add -Wno-error=format-security to TARGET_CFLAGS to a fix compily error
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-08-02 23:17:35 +02:00
Peter Wagner 0d1f48893c nfs-kernel-server: update to 2.3.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-05-28 20:53:18 +02:00
Peter Wagner ec61733de4 nfs-kernel-server: update to 2.3.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-12-27 00:39:04 +01:00
Peter Wagner 274eb1e720 nfs-kernel-server: update to 2.2.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-11-06 12:21:12 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Peter Wagner 91d59c5d02 nfs-kernel-sever: update to 2.1.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-01-15 21:31:44 +01:00
Matthias Schiffer 4a984a8d60
treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.

STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.

Also fixes a typo in the dbus Makefile ("STAGIND_DIR").

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-01-10 18:25:54 +01:00
Peter Wagner c64a84937e nfs-kernel-server: update to 1.3.4
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2016-12-01 16:11:37 +01:00
Maxim Storchak ed81839e52 nfs-kernel-server: add workaround for getservbyport
Fixes https://dev.openwrt.org/ticket/20038

Patch is based on http://git.alpinelinux.org/cgit/aports/plain/main/nfs-utils/musl-getservbyport.patch?id=3579df3582b5e5ea53be8cd8eef240f3f0cabb10

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2016-06-13 22:57:45 +03:00
diizzyy c7d0a55a08 nfs-kernel-server: use libevent2, update copyright and bump PKG_RELEASE
Use libevent2 instead of libevent
Update copyright to 2016
Bump PKG_RELEASE due to package changes

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-02-02 05:32:42 +01:00
Felix Fietkau 9f8e5aca34 treewide: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST), sync with changes in trunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2016-01-20 21:56:03 +01:00
Peter Wagner a5729ee727 nfs-kernel-server: update to 1.3.3
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2015-10-03 11:19:22 +02:00
Jo-Philipp Wich f5ca16f98d nfs-kernel-server: revert CONFIG_IPV6 handling
Building nfs-kernel-server with --enable-ipv6 requires not yet packaged
libtirpc, therfore unconditionally disable IPv6 support again for now.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-05-29 17:41:33 +02:00
Alexander Ryzhov b0f2853135 nfs-kernel-server: respect IPv6 settings
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2015-05-21 06:13:35 +00:00
Dirk Neukirchen 12e57878fe nfs-kernel-server: fix build with libblkid, libuuid
config.log reports
WARNING: uuid support disabled as libblkid is too old
because the test macro AC_BLKID_VERS is not cross compile friendly
resulting in libblkid_cv_is_recent=unknown

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
2015-03-04 19:31:57 +01:00
Nicolas Thill 6bdc2e1eae nfs-kerne-server: fix host/build
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-02 13:35:48 +01:00
Peter Wagner d09c153df0 nfs-kernel-server: update to 1.3.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2015-02-02 03:02:07 +01:00
Peter Wagner ad4da82a8e nfs-kernel-server: update to 1.3.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2014-10-18 15:34:22 +02:00
Peter Wagner 72f236973a add myself as maintainer for
alsa-lib
glib2
libffi
libsndfile
libtorrent
speex
tcp_wrappers
etherwake
git
nfs-kernel-server
portmap
rtorrent

Signed-off-by: Peter Wagner <tripolar@gmx.at>
2014-07-01 20:54:41 +02:00
Peter Wagner 7fedc0c35b nfs-kernel-server: import from packages
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2014-06-16 11:45:28 +02:00