deb_libnfs.git
11 years agoMerge pull request #31 from clandmeter/master
Ronnie Sahlberg [Wed, 5 Dec 2012 02:43:52 +0000 (18:43 -0800)] 
Merge pull request #31 from clandmeter/master

Remove rpcgen check

11 years agoRemove rpcgen check as it is not needed anymore
Carlo Landmeter [Tue, 4 Dec 2012 23:43:21 +0000 (00:43 +0100)] 
Remove rpcgen check as it is not needed anymore

11 years agoNew version 1.5
Ronnie Sahlberg [Mon, 3 Dec 2012 14:38:18 +0000 (06:38 -0800)] 
New version 1.5

- Switch to our own builtin RPC/XDR replacement
- Android support

11 years agoRearrange the header files.
Ronnie Sahlberg [Thu, 29 Nov 2012 04:21:53 +0000 (20:21 -0800)] 
Rearrange the header files.

Move the headers we install to ./include/nfsc
and start including nfsc/libnfs-zdr.h  from all the other header files.

11 years agoAdd ifndef's to protect libnfs-raw.h from being included multiple times
Ronnie Sahlberg [Thu, 29 Nov 2012 03:26:54 +0000 (19:26 -0800)] 
Add ifndef's to protect libnfs-raw.h from being included multiple times

11 years agoMerge pull request #30 from theuni/android
Ronnie Sahlberg [Thu, 29 Nov 2012 03:19:09 +0000 (19:19 -0800)] 
Merge pull request #30 from theuni/android

[droid] Support building for android

11 years ago[droid] Support building for android
Cory Fields [Wed, 28 Nov 2012 17:04:05 +0000 (12:04 -0500)] 
[droid] Support building for android

These are the changes necessary to build for android. Working status is yet
untested.

11 years agoInstall libnfs-zdr.h
Ronnie Sahlberg [Wed, 28 Nov 2012 14:36:06 +0000 (06:36 -0800)] 
Install libnfs-zdr.h

11 years agoMerge branch 'zdr'
Ronnie Sahlberg [Wed, 28 Nov 2012 02:22:27 +0000 (18:22 -0800)] 
Merge branch 'zdr'

Manually fixyp some merge conflicts in :
lib/init.c
lib/pdu.c
lib/socket.c
nfs/Makefile.am
nfs/nfs.x
nlm/Makefile.am

12 years agoImplement 'rejected_reply' and switch to RFC5531 definitions
Ronnie Sahlberg [Tue, 27 Nov 2012 03:42:10 +0000 (19:42 -0800)] 
Implement 'rejected_reply' and switch to RFC5531 definitions

Switch to using fields and names from RFC5531. that is the standard
for RPC.

12 years agoNew version 1.4
Ronnie Sahlberg [Sun, 25 Nov 2012 15:57:40 +0000 (07:57 -0800)] 
New version 1.4

- Add trackig of freed context and assert on using a context after it has been
  freed.
- Windows x64 support and fixes.
- Switch to using our own version of xdr_int64() since the one in libtirpc
  crashes on some platforms.
- Fix memory leak in an error path for addrinfo.
- Fix bug dereferencing a null pointer in the mount callback on error.

12 years agoZDR_ARRAYS: The sub-unmarshaller returns TRUE FALSE if there was an error, not TRUE
Ronnie Sahlberg [Sat, 24 Nov 2012 17:01:00 +0000 (09:01 -0800)] 
ZDR_ARRAYS: The sub-unmarshaller returns TRUE FALSE if there was an error, not TRUE

12 years agoWe must link the examples with popt
Ronnie Sahlberg [Sat, 24 Nov 2012 16:26:26 +0000 (08:26 -0800)] 
We must link the examples with popt

12 years agoAdd an assert to track if we try to use an rpc_context after it has been destroyed
Ronnie Sahlberg [Sat, 24 Nov 2012 16:18:54 +0000 (08:18 -0800)] 
Add an assert to track if we try to use an rpc_context after it has been destroyed

12 years agoNFSCLIENT-SYNC: remove some debug output
Ronnie Sahlberg [Sun, 18 Nov 2012 06:06:19 +0000 (22:06 -0800)] 
NFSCLIENT-SYNC: remove some debug output

12 years agoDont leak addrinfo in error path
Ronnie Sahlberg [Fri, 16 Nov 2012 02:38:54 +0000 (13:38 +1100)] 
Dont leak addrinfo in error path

12 years ago[Win32] Add windows x64 builds, use some win defines from header if available
Evgeny Grin [Fri, 9 Nov 2012 15:40:19 +0000 (19:40 +0400)] 
[Win32] Add windows x64 builds, use some win defines from header if available

12 years agoMOUNT: when processing the mount response, check status before dereferencing data...
Ronnie Sahlberg [Sun, 4 Nov 2012 23:55:05 +0000 (15:55 -0800)] 
MOUNT: when processing the mount response, check status before dereferencing data pointer

If status is non-zero in the mount callback, then the datapointer might be NULL
so we should not dereference it into an exports pointer before we have checked the status.

This would otherwise cause crashes.

12 years agoAdded ignore pattern for Windows intermediate files
warped-rudi [Tue, 18 Sep 2012 06:35:11 +0000 (08:35 +0200)] 
Added ignore pattern for Windows intermediate files

12 years agoFixed errno processing for connect() on Windows.
Rudi Ihle [Thu, 14 Jun 2012 07:23:25 +0000 (09:23 +0200)] 
Fixed errno processing for connect() on Windows.

12 years agoModified mechanism to assign privileged ports and enable it for Windows as well
Rudi Ihle [Thu, 14 Jun 2012 07:21:43 +0000 (09:21 +0200)] 
Modified mechanism to assign privileged ports and enable it for Windows as well

12 years agoAdd an assert to track if we try to use an rpc_context after it has been destroyed
Ronnie Sahlberg [Thu, 22 Nov 2012 01:10:05 +0000 (17:10 -0800)] 
Add an assert to track if we try to use an rpc_context after it has been destroyed

12 years agoChange the sync example to perform a 'ls -l' on an NFS URL
Ronnie Sahlberg [Sat, 17 Nov 2012 18:01:01 +0000 (05:01 +1100)] 
Change the sync example to perform a 'ls -l' on an NFS URL

12 years agoConfigure: When configuring examples, make sure we have popt-devel
Ronnie Sahlberg [Fri, 16 Nov 2012 02:58:04 +0000 (13:58 +1100)] 
Configure: When configuring examples, make sure we have popt-devel

Add a check for configure that we do have popt-devel available
if --enable-examples is specified.

12 years agoMerge branch 'master' of github.com:sahlberg/libnfs
Ronnie Sahlberg [Thu, 22 Nov 2012 00:45:03 +0000 (16:45 -0800)] 
Merge branch 'master' of github.com:sahlberg/libnfs

12 years agoMerge pull request #27 from Karlson2k/Win32x64
Ronnie Sahlberg [Wed, 21 Nov 2012 03:51:10 +0000 (19:51 -0800)] 
Merge pull request #27 from Karlson2k/Win32x64

Add windows x64 builds, use some win defines from header if available

12 years agoNFSCLIENT-SYNC: remove some debug output
Ronnie Sahlberg [Sun, 18 Nov 2012 06:06:19 +0000 (22:06 -0800)] 
NFSCLIENT-SYNC: remove some debug output

12 years agoUse our own xdr_int64() for all 64 bit types.
Ronnie Sahlberg [Sat, 17 Nov 2012 18:01:34 +0000 (05:01 +1100)] 
Use our own xdr_int64() for all 64 bit types.

Oh dear.  It is really difficult for rpc and tirpc implementors to get
64 bit types right. Sigh.

I am tired of fighting broken ti-rpc libraries under linux and others
that do random corruption on xdr_u_quad_t and friends
so lets just override that shit and replace it with our own, non-broken,
implementation of a 64 bit xdr accessor.

12 years agoChange the sync example to perform a 'ls -l' on an NFS URL
Ronnie Sahlberg [Sat, 17 Nov 2012 18:01:01 +0000 (05:01 +1100)] 
Change the sync example to perform a 'ls -l' on an NFS URL

12 years agoConfigure: When configuring examples, make sure we have popt-devel
Ronnie Sahlberg [Fri, 16 Nov 2012 02:58:04 +0000 (13:58 +1100)] 
Configure: When configuring examples, make sure we have popt-devel

Add a check for configure that we do have popt-devel available
if --enable-examples is specified.

12 years agoDont leak addrinfo in error path
Ronnie Sahlberg [Fri, 16 Nov 2012 02:38:54 +0000 (13:38 +1100)] 
Dont leak addrinfo in error path

12 years ago[Win32] Add windows x64 builds, use some win defines from header if available
Evgeny Grin [Fri, 9 Nov 2012 15:40:19 +0000 (19:40 +0400)] 
[Win32] Add windows x64 builds, use some win defines from header if available

12 years agoMOUNT: when processing the mount response, check status before dereferencing data...
Ronnie Sahlberg [Sun, 4 Nov 2012 23:55:05 +0000 (15:55 -0800)] 
MOUNT: when processing the mount response, check status before dereferencing data pointer

If status is non-zero in the mount callback, then the datapointer might be NULL
so we should not dereference it into an exports pointer before we have checked the status.

This would otherwise cause crashes.

12 years agoMerge pull request #23 from warped-rudi/master-updates
Ronnie Sahlberg [Wed, 19 Sep 2012 00:54:22 +0000 (17:54 -0700)] 
Merge pull request #23 from warped-rudi/master-updates

Merged. Thanks!

12 years agoAdded ignore pattern for Windows intermediate files
warped-rudi [Tue, 18 Sep 2012 06:35:11 +0000 (08:35 +0200)] 
Added ignore pattern for Windows intermediate files

12 years agoFixed errno processing for connect() on Windows.
Rudi Ihle [Thu, 14 Jun 2012 07:23:25 +0000 (09:23 +0200)] 
Fixed errno processing for connect() on Windows.

12 years agoModified mechanism to assign privileged ports and enable it for Windows as well
Rudi Ihle [Thu, 14 Jun 2012 07:21:43 +0000 (09:21 +0200)] 
Modified mechanism to assign privileged ports and enable it for Windows as well

12 years agoZDR: we need to include both arpa/inet.h and time.h
Ronnie Sahlberg [Thu, 5 Jul 2012 11:17:45 +0000 (21:17 +1000)] 
ZDR: we need to include both arpa/inet.h and time.h

12 years agoDont just cast *enum_t to *uint32_t
Ronnie Sahlberg [Thu, 5 Jul 2012 11:13:04 +0000 (21:13 +1000)] 
Dont just cast *enum_t to *uint32_t
go via a temporary variable in case these scalars are different size

12 years agoGet rid of AUTH completely and replace all uses with 'struct AUTH'
Ronnie Sahlberg [Thu, 5 Jul 2012 00:23:19 +0000 (10:23 +1000)] 
Get rid of AUTH completely and replace all uses with 'struct AUTH'

12 years agoUpdate how the rpc files are generated so we dont get "unused variable" for *buf
Ronnie Sahlberg [Wed, 4 Jul 2012 21:46:52 +0000 (07:46 +1000)] 
Update how the rpc files are generated so we dont get "unused variable" for *buf

12 years agofix compiler warnings
Ronnie Sahlberg [Wed, 4 Jul 2012 21:37:37 +0000 (07:37 +1000)] 
fix compiler warnings

12 years agofix compiler warning
Ronnie Sahlberg [Wed, 4 Jul 2012 21:35:04 +0000 (07:35 +1000)] 
fix compiler warning

12 years agosquelch compiler warnings in socket.c about integer sizes
Ronnie Sahlberg [Wed, 4 Jul 2012 21:21:48 +0000 (07:21 +1000)] 
squelch compiler warnings in socket.c about integer sizes

12 years agoChange a size variable from uint64 to uint32 to squelch a warning
Ronnie Sahlberg [Wed, 4 Jul 2012 21:12:11 +0000 (07:12 +1000)] 
Change a size variable from uint64 to uint32 to squelch a warning

12 years agolibrpc_rpc_call_body() should return TRUE is successful
Ronnie Sahlberg [Wed, 4 Jul 2012 21:09:00 +0000 (07:09 +1000)] 
librpc_rpc_call_body() should return TRUE is successful

12 years agosetpos returns a boolean, set it to always return TRUE
Ronnie Sahlberg [Wed, 4 Jul 2012 21:06:33 +0000 (07:06 +1000)] 
setpos returns a boolean, set it to always return TRUE

12 years agoZDR: New builtin replacement for RPC/XDR called ZDR
Ronnie Sahlberg [Wed, 4 Jul 2012 06:53:12 +0000 (16:53 +1000)] 
ZDR: New builtin replacement for RPC/XDR called ZDR

This patch switches libnfs over to use precompiled rpcgen files
and using ZDR.  ZDR is a trivial reimplementation of XDR that is built in
into libnfs.

This removes the dependencies of rpc/xdr completely and allow us to build on any
system, even systems where rpcgen and librpc/libxdr are not generally available.

12 years agoNFS.X: Change all uint32/uint32_t to the standard type 'unsigned int'
Ronnie Sahlberg [Mon, 11 Jun 2012 07:12:53 +0000 (17:12 +1000)] 
NFS.X: Change all uint32/uint32_t to the standard type 'unsigned int'

12 years agoMerge pull request #22 from Memphiz/win32compilefix
Ronnie Sahlberg [Mon, 26 Mar 2012 07:51:41 +0000 (00:51 -0700)] 
Merge pull request #22 from Memphiz/win32compilefix

[win32] - fixed compilation broken since mknod addition

12 years ago[win32] - fixe compilation broken since mknod addition
unknown [Sun, 18 Mar 2012 17:16:38 +0000 (18:16 +0100)] 
[win32] - fixe compilation broken since mknod addition

12 years agoNLM add NLM_GRANTED procedure to the rpc file
Ronnie Sahlberg [Sat, 10 Mar 2012 11:56:56 +0000 (22:56 +1100)] 
NLM add NLM_GRANTED procedure to the rpc file

12 years agoNLM add helper functions to send async calls for the NLM functions
Ronnie Sahlberg [Sat, 10 Mar 2012 11:50:10 +0000 (22:50 +1100)] 
NLM add helper functions to send async calls for the NLM functions

12 years agoNLM add NLM4 LOCK definition to the rpc file
Ronnie Sahlberg [Sat, 10 Mar 2012 11:43:47 +0000 (22:43 +1100)] 
NLM add NLM4 LOCK definition to the rpc file

12 years agoNLM: add UNLOCK call
Ronnie Sahlberg [Sat, 10 Mar 2012 11:36:26 +0000 (22:36 +1100)] 
NLM: add UNLOCK call

12 years agoNLM : add raw function for NLM4 CANCEL
Ronnie Sahlberg [Sat, 10 Mar 2012 11:30:53 +0000 (22:30 +1100)] 
NLM : add raw function for NLM4 CANCEL

12 years agoNLM the cookie is always present in NLM replies and it is the first blob
Ronnie Sahlberg [Sat, 10 Mar 2012 11:19:06 +0000 (22:19 +1100)] 
NLM the cookie is always present in NLM replies and it is the first blob

12 years agoNLM add TEST procedure
Ronnie Sahlberg [Sat, 10 Mar 2012 10:38:29 +0000 (21:38 +1100)] 
NLM add TEST procedure

12 years agoNLM: initial support for NLM
Ronnie Sahlberg [Sat, 10 Mar 2012 09:46:03 +0000 (20:46 +1100)] 
NLM: initial support for NLM

12 years agoMerge branch 'master' of github.com:sahlberg/libnfs
Ronnie Sahlberg [Thu, 8 Mar 2012 22:25:02 +0000 (09:25 +1100)] 
Merge branch 'master' of github.com:sahlberg/libnfs

12 years agoGETACL: change the signature for the raw getacl3 function to take GETACL3args pointer...
Ronnie Sahlberg [Thu, 8 Mar 2012 11:52:20 +0000 (22:52 +1100)] 
GETACL: change the signature for the raw getacl3 function to take GETACL3args pointer instead of a discrete arguments

12 years agoNFSACL: Add support for SETACL3
Ronnie Sahlberg [Thu, 8 Mar 2012 10:25:21 +0000 (21:25 +1100)] 
NFSACL: Add support for SETACL3

12 years agoREADME, document where the mailinglist is and where release tarballs can be downloaded
Ronnie Sahlberg [Mon, 5 Mar 2012 02:29:31 +0000 (13:29 +1100)] 
README, document where the mailinglist is and where release tarballs can be downloaded

12 years agoupdate the licence text and proide an explicit copy of LGPL2.1 and GPL3
Ronnie Sahlberg [Sun, 4 Mar 2012 06:13:08 +0000 (17:13 +1100)] 
update the licence text and proide an explicit copy of LGPL2.1 and GPL3

12 years agonew version 1.3
Ronnie Sahlberg [Sat, 3 Mar 2012 08:04:58 +0000 (19:04 +1100)] 
new version 1.3

12 years agochange rpc_nfs_symlink_async to take a full SYMLINK3args as parameter
Ronnie Sahlberg [Fri, 13 Jan 2012 21:18:19 +0000 (08:18 +1100)] 
change rpc_nfs_symlink_async to take a full SYMLINK3args as parameter

12 years agomake low level readlink_async function take READLINK3args as argument
Ronnie Sahlberg [Fri, 13 Jan 2012 21:11:09 +0000 (08:11 +1100)] 
make low level readlink_async function take READLINK3args as argument

12 years agomake mkdir_async take a full MKDIR3args argument
Ronnie Sahlberg [Thu, 12 Jan 2012 05:02:32 +0000 (16:02 +1100)] 
make mkdir_async take a full MKDIR3args argument

12 years agorpc_nfs_create_async, args is now a pointer, not a structur
Ronnie Sahlberg [Thu, 12 Jan 2012 04:56:02 +0000 (15:56 +1100)] 
rpc_nfs_create_async,   args is now a pointer, not a structur
so we shouldnt take the address of it

12 years agochange crate_async low level function to take a full RATE3args structure as argument...
Ronnie Sahlberg [Thu, 12 Jan 2012 04:31:49 +0000 (15:31 +1100)] 
change crate_async low level function to take a full RATE3args structure as argument instead of just name and mode

12 years agoread returns a READ3res, not a ACCESS3res
Ronnie Sahlberg [Thu, 12 Jan 2012 04:19:45 +0000 (15:19 +1100)] 
read returns a READ3res, not a ACCESS3res

12 years agoAdd function to get root filehandle from a nfs context
Ronnie Sahlberg [Tue, 10 Jan 2012 20:04:01 +0000 (07:04 +1100)] 
Add function to get root filehandle from a nfs context

12 years agoTry to rotate the ports we assign when root better so we dont reuse
Ronnie Sahlberg [Mon, 2 Jan 2012 20:25:25 +0000 (07:25 +1100)] 
Try to rotate the ports we assign when root better so we dont reuse
a port htat is in time-wait too frequently

12 years agoImprove an error message to show the errno value
Ronnie Sahlberg [Mon, 2 Jan 2012 20:18:56 +0000 (07:18 +1100)] 
Improve an error message to show the errno value

12 years agoMOUNT: describe mount version 1
Ronnie Sahlberg [Sat, 31 Dec 2011 23:37:54 +0000 (10:37 +1100)] 
MOUNT: describe mount version 1

12 years agoPORTMAPPER: Add set/unset functions
Ronnie Sahlberg [Sat, 31 Dec 2011 04:01:38 +0000 (15:01 +1100)] 
PORTMAPPER: Add set/unset functions

12 years agoPMAP: allow to ask for tcp/udp port, dont assume users only ever want the tcp port
Ronnie Sahlberg [Sat, 31 Dec 2011 03:24:20 +0000 (14:24 +1100)] 
PMAP: allow to ask for tcp/udp port, dont assume users only ever want the tcp port

12 years agoNew version 1.2
Ronnie Sahlberg [Tue, 6 Dec 2011 07:02:34 +0000 (18:02 +1100)] 
New version 1.2

12 years agoSet IFREG from file type, dont assume mode bits contain it
Ronnie Sahlberg [Mon, 5 Dec 2011 02:54:21 +0000 (13:54 +1100)] 
Set IFREG from file type, dont assume mode bits contain it

Needed for HaneWin which does not set S_IFMT in the modebits returned

13 years agoRemove all [s]size_t / off_t and replace with [u]int64_t making libnfs 64-bit pure
Ronnie Sahlberg [Sun, 27 Nov 2011 03:49:08 +0000 (14:49 +1100)] 
Remove all [s]size_t / off_t and replace with [u]int64_t making libnfs 64-bit pure

13 years agoAdd MKNOD command support
Ronnie Sahlberg [Sun, 27 Nov 2011 03:08:24 +0000 (14:08 +1100)] 
Add MKNOD command support

Add support for raw nfs3 mknod  and sync and async posixlike api

13 years agoNew version 1.1
Ronnie Sahlberg [Sun, 27 Nov 2011 00:19:18 +0000 (11:19 +1100)] 
New version 1.1

13 years agoMake _FILE_OFFSET_BITS=64 always
Ronnie Sahlberg [Sun, 27 Nov 2011 00:09:09 +0000 (11:09 +1100)] 
Make _FILE_OFFSET_BITS=64 always

13 years agoEverytime we use rpc_connect_async() internally, make sure we clear the ->connect_cb...
Ronnie Sahlberg [Sun, 9 Oct 2011 08:47:07 +0000 (19:47 +1100)] 
Everytime we use rpc_connect_async() internally, make sure we clear the ->connect_cb so that we dont have a callback function and "private data" being invoked long after the "private data" structure has been free()d.

13 years agoSync API: Once the sync nfs_mount() functions is finished we have to clear rpc->conne...
Ronnie Sahlberg [Sun, 9 Oct 2011 08:10:18 +0000 (19:10 +1100)] 
Sync API: Once the sync nfs_mount() functions is finished we have to clear rpc->connect_cb.

Otherwise we get a crash once the connect_cb callback is invoked the second time.

13 years agoOnly call the "connect callback" if the callback is set to non-NULL
Ronnie Sahlberg [Sun, 9 Oct 2011 08:00:24 +0000 (19:00 +1100)] 
Only call the "connect callback" if the callback is set to non-NULL

13 years agoChange remaining "struct AUTH *" to "AUTH *"
Ronnie Sahlberg [Sun, 9 Oct 2011 04:22:05 +0000 (15:22 +1100)] 
Change remaining "struct AUTH *" to "AUTH *"

13 years agoMerge pull request #19 from Memphiz/auth2
Ronnie Sahlberg [Sat, 8 Oct 2011 23:31:20 +0000 (16:31 -0700)] 
Merge pull request #19 from Memphiz/auth2

[fix] - fix improper definition of struct AUTH from osx (caution - API ch

13 years ago[fix] - fix improper definition of struct AUTH from osx (caution - API change - not...
Memphiz [Sat, 8 Oct 2011 16:10:06 +0000 (18:10 +0200)] 
[fix] - fix improper definition of struct AUTH from osx (caution - API change - not clear if typedef is there on all plattforms...)

13 years agoBump version to 1.0.0
Ronnie Sahlberg [Tue, 4 Oct 2011 07:25:05 +0000 (18:25 +1100)] 
Bump version to 1.0.0

13 years agoFragment reassembly. Add reassembly of fragmented RPC PDUs
Ronnie Sahlberg [Tue, 4 Oct 2011 01:31:56 +0000 (12:31 +1100)] 
Fragment reassembly. Add reassembly of fragmented RPC PDUs

13 years agoAutoreconnect: autoreconnect was completely broken. Reimplement it so that it reconne...
Ronnie Sahlberg [Tue, 4 Oct 2011 00:25:10 +0000 (11:25 +1100)] 
Autoreconnect: autoreconnect was completely broken. Reimplement it so that it reconnects properly on session failure.

13 years agoREADDIRPLUS emulation: Some embedded servers do not support READDIRPLUS,
Ronnie Sahlberg [Sun, 2 Oct 2011 23:55:42 +0000 (10:55 +1100)] 
READDIRPLUS emulation: Some embedded servers do not support READDIRPLUS,
so try to trap this and emulate it with READDIR + a LOOKUP loop to get the attributes.
Since we are fully async we can do all the lookups in concurrently so it should not be that very exopensive compared to the cheaper READDIRPLUS call.

13 years agoDonr declate AUTH as a struct in libnfs.h
Ronnie Sahlberg [Mon, 19 Sep 2011 10:23:45 +0000 (20:23 +1000)] 
Donr declate AUTH as a struct in libnfs.h
make it include rpc/auth.h properly instead

13 years agoignore generate libnfs.pc
Mike Frysinger [Sun, 18 Sep 2011 01:35:38 +0000 (11:35 +1000)] 
ignore generate libnfs.pc

13 years agotirpc: use pkg-config to find details
Mike Frysinger [Sun, 18 Sep 2011 01:35:40 +0000 (11:35 +1000)] 
tirpc: use pkg-config to find details

Hardcoding paths breaks cross-compiling, so use the pkg-config files
that libtirpc already provides.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agoMerge branch 'master' of github.com:sahlberg/libnfs
Ronnie Sahlberg [Mon, 19 Sep 2011 10:15:47 +0000 (20:15 +1000)] 
Merge branch 'master' of github.com:sahlberg/libnfs

13 years agoadd maintainer e-mail to AC_INIT
Mike Frysinger [Sun, 18 Sep 2011 01:35:39 +0000 (11:35 +1000)] 
add maintainer e-mail to AC_INIT

This way `./configure --help` and PACKAGE_BUGREPORT get the right values.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agoMerge pull request #15 from OpenELEC/libnfs-pkgconfig
Ronnie Sahlberg [Fri, 16 Sep 2011 09:01:11 +0000 (02:01 -0700)] 
Merge pull request #15 from OpenELEC/libnfs-pkgconfig

add support to create a pkgconfig file 'libnfs.pc' on build, and install

13 years agoadd support to create a pkgconfig file 'libnfs.pc' on build, and install this with...
Stephan Raue [Fri, 16 Sep 2011 06:23:23 +0000 (08:23 +0200)] 
add support to create a pkgconfig file 'libnfs.pc' on build, and install this with 'make install'

Signed-off-by: Stephan Raue <stephan@openelec.tv>