summaryrefslogtreecommitdiffstats
path: root/tools/rpcgen
Commit message (Collapse)AuthorAgeFilesLines
* autoconf: only link binaries that need it to libtirpcJeff Layton2012-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is essentially the same as the previous version, but has been respun to fix up some merge conflicts with some of Chuck's recent changes. When we first added tirpc support, we took a "big hammer" approach, and had it add libtirpc to $LIBS. That had the effect of making it so that that library was linked into every binary. That's unnecessary, and wasteful with memory. Don't let AC_CHECK_LIB add -ltirpc to $LIBS. Instead, have the autoconf tests set $(LIBTIRPC) in the makefiles, and have the programs that need it explicitly include that library. In the event that we're not using libtirpc, then set $LIBTIRPC to a blank string. This necessitates a change to the bindresvport_sa check too. Since that library is no longer included in $LIBS, we need to convert that check to use AC_CHECK_LIB instead of AC_CHECK_FUNCS. This patch also fixes a subtle bug. If the library was usable, but the includes were not, the test would set $enable_tirpc to "no", but HAVE_LIBTIRPC would still be true. That configuration would likely fail to build. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* Replace the Sun RPC license with the BSD license,Tom spot Callaway2009-06-0213-325/+299
| | | | | | | with the explicit permission of Sun Microsystems Signed-off-by: Tom "spot" Callaway <tcallawa@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* When compiling nfs-utils-1.1.6, I get this error:Robert Schwebel2009-05-181-1/+1
| | | | | | | | | | | | | | | | arm-iwmmx-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../support/include -isystem /home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270.PCM990/sysroot-target/include -isystem /home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270.PCM990/sysroot-target/usr/include -D_GNU_SOURCE -Wall -Wstrict-prototypes -pipe -g -O2 -MT sm_inter_svc.o -MD -MP -MF .deps/sm_inter_svc.Tpo -c -o sm_inter_svc.o sm_inter_svc.c sm_inter_svc.c:10:39: error: sys/ttycom.h: No such file or directory Use sys/ioctl.h instead. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Steve Dickson <steved@redhat.com>
* rpcgen: include sys/ioctl.h on linux systemsMike Frysinger2008-10-081-0/+3
| | | | | | | | | The rpcgen tool included with nfs-utils will generate calls to ioctl() but not actually generate the sys/ioctl.h header include. Attached patch should fix this. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Steve Dickson <steved@redhat.com>
* Fix off-by-one error in rpcgenRichard Guenther2006-07-201-1/+1
| | | | We obviously need to allocate space for the terminating nul too.
* Eliminate warnings from code generated by rpcgenGreg Banks2006-07-041-22/+20
| | | | | | | | | | | - unused variable 'buf' - emit a declaration for `buf' on demand. - unused variable 'i' - declare i immediately before use - unused value from IXDR_PUT_ - cast to (void) - type-punned pointer reference - cast to (void*) first :-(
* Merge branch 'master' of git://linux-nfs.org/nfs-utilsGreg Banks2006-07-032-10/+2
|\
| * Fix various issues discovered by CoverityNeil Brown2006-06-232-10/+2
| | | | | | | | Thanks to Michael Halcrow for finding them.
* | Comment out the decades-old SCCS id strings from the original SunGreg Banks2006-06-2710-10/+10
|/ | | | | | distribution. They cause compile warnings, there is no longer any reason to try to build them into the binaries, and gcc seems to be eliding some of them anyway.
* Remove **/Makefile.in, aclocal.m4, configure, andNeil Brown2006-04-171-630/+0
| | | | | | support/include/config.h.in from source control These are auto autogenerated by aclocal -I aclocal ; autoheader ; automake ; autoconf
* 2006-04-10 "Kevin Coffman" <kwc@citi.umich.edu>neilbrown2006-04-101-0/+2
| | | | | Check for sufficient version of librpcsecgss and libgssapi in configure.in
* 2006-04-10 "Kevin Coffman" <kwc@citi.umich.edu>neilbrown2006-04-101-0/+2
| | | | | Update aclocal/tcp-wrappers.m4 to define HAVE_LIBWRAP and HAVE_TCP_WRAPPERS as appropriate.
* aclocal/autoconf/automake, properly this time.neilbrown2006-03-281-0/+4
|
* Remove all the Makefilesneilbrown2005-12-201-60/+0
|
* More automake stuffneilbrown2005-12-201-0/+622
|
* Autogen updateneilbrown2005-12-201-0/+18
|
* Added TOP, as needed, for easier compile in subdirectoriesgmorris2005-04-121-0/+1
|
* Makefile changes.neilbrown2003-09-141-0/+2
|
* Oops, I missed another unused var.chip2003-09-091-2/+0
|
* * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.chip2003-09-092-4/+1
| | | | | * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars. * tools/rpcgen/rpc_parse.c (def_union): Likewise.
* use execvp for finding cpp in rpcgenneilbrown2003-03-301-24/+11
|
* 2001-04-18 H.J. Lu <hjl@lucon.org>hjl2001-04-181-0/+2
| | | | | | | | | | | | | | | | | | | | * nfs-utils.spec.in: Support cross build. * nfs-utils.spec: Regenerated. (Release): Set to 4. * config.sub: New. * config.guess: New. * config.mk.in (BUILD_CC): New. (CC): Set to $(BUILD_CC) if BUILD is defined. (AR): Set to @AR@. (LD): Set to @LD@. (RANLIB): Set to @RANLIB@. * configure.in: Check BUILD_CC, RANLIB, AR and LD. * configure: Regenerated. * tools/rpcgen/Makefile (BUILD): Set to true.
* 2001-04-01 Chip Salzenberg <chip@valinux.com>chip2001-04-021-1/+0
| | | | | | | * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove redundant, and sometimes broken, declaration of svc_fdset; it may be a macro. * support/nfs/rpcmisc.c (closedown): Likewise.
* Security fix to syslog() calls.juphoff2000-06-301-2/+2
|
* Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>hjl1999-12-021-0/+13
| | | | | * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32, XDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
* 1. Fix some typos in README.hjl1999-10-287-13/+13
| | | | 2. Use int32_t instead of long for rpcgen.
* Initial revisionhjl1999-10-1817-0/+6311