2 Summary: NFS client library
3 Vendor: Ronnie Sahlberg
4 Packager: ronniesahlberg@gmail.com
8 License: GNU LGPL version
2.1
9 Group: System Environment
/Libraries
10 URL: http
://www.github.com
/sahlberg
/libnfs
12 Source: libnfs
-%{version}.tar.gz
14 Provides: lib
= %{version}
17 BuildRoot: %{_tmppath}/%{name}-%{version}-root
20 LibNFS is a NFS client library
22 #######################################################################
28 # setup the init script and sysconfig file
29 %setup -T
-D
-n libnfs
-%{version} -q
34 if ccache
-h
>/dev
/null
2>&1 ; then
42 ## always run autogen.sh
47 automake
--add
-missing
50 CFLAGS
="$RPM_OPT_FLAGS $EXTRA
-O0
-g
-D_GNU_SOURCE"
%configure
53 # Clean up in case there is trash left from a previous build
54 rm -rf $RPM_BUILD_ROOT
56 # Create the target build directory hierarchy
58 make DESTDIR
=$RPM_BUILD_ROOT
install
60 # Remove "*.old" files
61 find $RPM_BUILD_ROOT
-name "
*.old"
-exec rm -f
{} \
;
64 rm -rf $RPM_BUILD_ROOT
67 #######################################################################
69 #######################################################################
77 Summary: Development libraries
for LibNFS
81 development libraries
for LibNFS
85 %{_includedir}/nfsc
/libnfs.h
86 %{_includedir}/nfsc
/libnfs
-zdr.h
87 %{_includedir}/nfsc
/libnfs
-raw.h
88 %{_includedir}/nfsc
/libnfs
-raw
-mount.h
89 %{_includedir}/nfsc
/libnfs
-raw
-nfs.h
90 %{_includedir}/nfsc
/libnfs
-raw
-portmap.h
91 %{_includedir}/nfsc
/libnfs
-raw
-rquota.h
92 %{_includedir}/nfsc
/libnfs
-raw
-nlm.h
93 %{_includedir}/nfsc
/libnfs
-raw
-nsm.h
96 %{_libdir}/pkgconfig
/libnfs.pc
99 * Wed Mar
19 2014: Version 1.9.3
100 - Add O_TRUNC support to nfs_open
()
101 - Add a simple but incomplete LD_PRELOAD tool
102 - Fixes
for some memory leaks and C
++ compile support
103 - Make ANDROID default uid
/gid to
65534
104 - Allow the READDIRPLUS emulation to still work
if some objects
105 in the direcotry can not be lookedup
(NFSv4 ACL denying READ
-ATTRIBUTES
)
106 - Have libnfs retry any
read/write operations where the server responds
107 with a short
read/write. Some servers
do this when they are overloaded?
108 * Thu Jan
30 2014 : Version 1.9.2
109 - Remove chdir change. This needs more testing.
110 * Tue Jan
28 2014 : Version 1.9.1
111 - Restore libnfs
-raw
-*.h to
make install
112 * Mon Jan
27 2014 : Version 1.9
113 - Use _stat64 on windows so file sizes become
64bit always.
114 - Increase default marshalling buffer so we can marshall large PDUs.
115 - RPC layer support
for NFSv2
116 - Win32 updates and fixes
117 - Add
URL parsing functions and
URL argument support.
118 - New utility
: nfs
-io
119 - nfs
-ls enhancements
120 - RPC layer support
for NSM
121 - Add example FUSE filesystem.
123 * Sun Oct
30 2013 : Version 1.8
124 - Fix nasty memory leak
in read_from_socket
126 * Sun Oct
20 2013 : Version 1.7
127 - Allow nested eventloops so that a sync
function can be called from a callback.
128 - Fix a bug
in unmarshalling a uint64.
129 - Add PATHCONF support.
132 * Mon May
27 2013 : Version 1.6
134 - Chose better initial xid value to reduce the probability
for collissions.
135 - Set default group to getgid
() instead of
-1. This fixes an interoperability
136 problem with
3.9 linux knfsd.
137 * Mon Dec
3 2012 : Version 1.5
138 - Switch to using our own RPC
/XDR replacement ZDR instead of relying on the
139 system RPC
/TIRPC libraries. This allows using libnfs on platforms that lack
140 RPC libraries completely.
141 - Add support
for Android.
142 * Sun Nov
25 2012 : Version 1.4
143 - Add trackig of freed context and assert on using a context after it has been
145 - Windows x64 support and fixes.
146 - Switch to using our own version of xdr_int64
() since the one
in libtirpc
147 crashes on some platforms.
148 - Fix memory leak
in an error path
for addrinfo.
149 - Fix bug dereferencing a null pointer
in the mount callback on error.
150 * Sat Mar
3 2012 : Version 1.3
151 - add
set/unset to portmapper
153 - try to rotate to find a free port better
155 * Tue Dec
6 2011 : Version 1.2
156 - Add support
for MKNOD
157 - Add support
for HaneWin NFS server
158 - Change all
[s
]size_t offset_t to be
64bit clean scalars
159 * Sun Nov
27 2011 : Version 1.1
160 - Fix definition and use of AUTH
161 - Only call the "connect" callback
if non
-NULL
162 - make sure the callback
for connect is only invoked once
for the sync api
163 - make file offset bits
64 bits always
164 * Sun Jul
31 2011 : Version 1.0