libtirpc: Bump to version 1.1.4
PATCH 1/2 libtirpc: Bump to version 1.1.4
NOTE: use only locally committed hash, as there is no hash on sourceforge download page.
Signed-off-by Petr Vorel <[email protected]>
--- package/libtirpc/libtirpc.hash | 4 +--- package/libtirpc/libtirpc.mk | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-)
package/libtirpc/libtirpc.hash +1 -3
@@ -1,5 +1,3 @@ -# From sourceforge's info on download page: -sha1 48adb32dc7c3b73c66f001c239da76b8398abf11 libtirpc-1.0.3.tar.bz2 # Locally computed -sha256 86c3a78fc1bddefa96111dd233124c703b22a78884203c55c3e06b3be6a0fd5e libtirpc-1.0.3.tar.bz2 +sha256 2ca529f02292e10c158562295a1ffd95d2ce8af97820e3534fe1b0e3aec7561d libtirpc-1.1.4.tar.bz2 sha256 17cf6098f95bdbb269f0bbc68e76c88fe20487ca7ec53f454923ab4256ecd2e7 COPYING
package/libtirpc/libtirpc.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBTIRPC_VERSION = 1.0.3 +LIBTIRPC_VERSION = 1.1.4 LIBTIRPC_SOURCE = libtirpc-$(LIBTIRPC_VERSION).tar.bz2 LIBTIRPC_SITE = http://downloads.sourceforge.net/project/libtirpc/libtirpc/$(LIBTIRPC_VERSION) LIBTIRPC_LICENSE = BSD-3-Clause
Signature · 1 line
2.19.1
PATCH 2/2 libtirpc: Fix whitespace on 4th patch
Signed-off-by Petr Vorel <[email protected]>
--- ...es-needed-to-build-rpcbind-on-top-of.patch | 78 +++++++++---------- 1 file changed, 38 insertions(+), 40 deletions(-)
package/libtirpc/0004-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch +38 -40
@@ -22,16 +22,16 @@ index aa5908e..4999066 100644 +++ b/Makefile.am @@ -2,6 +2,9 @@ SUBDIRS = src man doc rpcgen ACLOCAL_AMFLAGS = -I m4 - + GENFILES = tirpc/rpcsvc/crypt.h \ + tirpc/rpcsvc/mount.h \ + tirpc/rpcsvc/nfs_prot.h \ + tirpc/rpcsvc/rquota.h \ tirpc/rpc/rpcb_prot.h - + noinst_HEADERS = tirpc/reentrant.h \ @@ -11,6 +14,9 @@ noinst_HEADERS = tirpc/reentrant.h \ - + nobase_include_HEADERS = tirpc/netconfig.h \ tirpc/rpcsvc/crypt.x \ + tirpc/rpcsvc/mount.x \
@@ -53,23 +53,23 @@ index 0000000..f68a06f + * may copy or modify Sun RPC without charge, but are not authorized + * to license or distribute it to anyone else except as part of a product or + * program developed by the user. -+ * ++ * + * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE + * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR + * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * ++ * + * Sun RPC is provided with no support and without any obligation on the + * part of Sun Microsystems, Inc. to assist in its use, correction, + * modification or enhancement. -+ * ++ * + * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE + * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC + * OR ANY PART THEREOF. -+ * ++ * + * In no event will Sun Microsystems, Inc. be liable for any lost revenue + * or profits or other special, indirect and consequential damages, even if + * Sun has been advised of the possibility of such damages. -+ * ++ * + * Sun Microsystems, Inc. + * 2550 Garcia Avenue + * Mountain View, California 94043
@@ -101,13 +101,13 @@ index 0000000..f68a06f + * or a directory. The file handle can contain whatever information the + * server needs to distinguish an individual file. + */ -+typedef opaque fhandle[FHSIZE]; ++typedef opaque fhandle[FHSIZE]; +#ifdef WANT_NFS3 +typedef opaque fhandle3<FHSIZE3>; +#endif + +/* -+ * If a status of zero is returned, the call completed successfully, and ++ * If a status of zero is returned, the call completed successfully, and + * a file handle for the directory follows. A non-zero status indicates + * some sort of error. The status corresponds with UNIX error numbers. + */
@@ -203,20 +203,20 @@ index 0000000..f68a06f + void + MOUNTPROC_NULL(void) = 0; + -+ /* ++ /* + * If fhs_status is 0, then fhs_fhandle contains the -+ * file handle for the directory. This file handle may ++ * file handle for the directory. This file handle may + * be used in the NFS protocol. This procedure also adds + * a new entry to the mount list for this client mounting + * the directory. + * Unix authentication required. + */ -+ fhstatus ++ fhstatus + MOUNTPROC_MNT(dirpath) = 1; + + /* -+ * Returns the list of remotely mounted filesystems. The -+ * mountlist contains one entry for each hostname and ++ * Returns the list of remotely mounted filesystems. The ++ * mountlist contains one entry for each hostname and + * directory pair. + */ + mountlist
@@ -273,8 +273,8 @@ index 0000000..f68a06f + MOUNTPROC_MNT(dirpath) = 1; + + /* -+ * Returns the list of remotely mounted filesystems. The -+ * mountlist contains one entry for each hostname and ++ * Returns the list of remotely mounted filesystems. The ++ * mountlist contains one entry for each hostname and + * directory pair. + */ + mountlist
@@ -308,7 +308,7 @@ new file mode 100644 index 0000000..01564f8 --- /dev/null +++ b/tirpc/rpcsvc/nfs_prot.x -@@ -0,0 +1,1266 @@ +@@ -0,0 +1,1265 @@ +/* + * Sun RPC is a product of Sun Microsystems, Inc. and is provided for + * unrestricted use provided that this legend is included on all tape
@@ -316,23 +316,23 @@ index 0000000..01564f8 + * may copy or modify Sun RPC without charge, but are not authorized + * to license or distribute it to anyone else except as part of a product or + * program developed by the user. -+ * ++ * + * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE + * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR + * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * ++ * + * Sun RPC is provided with no support and without any obligation on the + * part of Sun Microsystems, Inc. to assist in its use, correction, + * modification or enhancement. -+ * ++ * + * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE + * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC + * OR ANY PART THEREOF. -+ * ++ * + * In no event will Sun Microsystems, Inc. be liable for any lost revenue + * or profits or other special, indirect and consequential damages, even if + * Sun has been advised of the possibility of such damages. -+ * ++ * + * Sun Microsystems, Inc. + * 2550 Garcia Avenue + * Mountain View, California 94043
@@ -413,7 +413,7 @@ index 0000000..01564f8 + opaque data[NFS_FHSIZE]; +}; + -+/* ++/* + * Timeval + */ +struct nfstime {
@@ -455,7 +455,7 @@ index 0000000..01564f8 +}; + + -+typedef string filename<NFS_MAXNAMLEN>; ++typedef string filename<NFS_MAXNAMLEN>; +typedef string nfspath<NFS_MAXPATHLEN>; + +/*
@@ -529,7 +529,7 @@ index 0000000..01564f8 +}; + +/* -+ * Arguments to remote write ++ * Arguments to remote write + */ +struct writeargs { + nfs_fh file; /* handle for file */
@@ -694,7 +694,7 @@ index 0000000..01564f8 + opaque data<NFS3_FHSIZE>; +}; + -+/* ++/* + * Timeval (v3) + */ +struct nfstime3 {
@@ -1448,28 +1448,28 @@ index 0000000..01564f8 + */ +program NFS_PROGRAM { + version NFS_VERSION { -+ void ++ void + NFSPROC_NULL(void) = 0; + -+ attrstat ++ attrstat + NFSPROC_GETATTR(nfs_fh) = 1; + -+ attrstat ++ attrstat + NFSPROC_SETATTR(sattrargs) = 2; + -+ void ++ void + NFSPROC_ROOT(void) = 3; + -+ diropres ++ diropres + NFSPROC_LOOKUP(diropargs) = 4; + -+ readlinkres ++ readlinkres + NFSPROC_READLINK(nfs_fh) = 5; + -+ readres ++ readres + NFSPROC_READ(readargs) = 6; + -+ void ++ void + NFSPROC_WRITECACHE(void) = 7; + + attrstat
@@ -1574,7 +1574,6 @@ index 0000000..01564f8 + } = 3; +} = 100003; +#endif -+ diff --git a/tirpc/rpcsvc/rquota.x b/tirpc/rpcsvc/rquota.x new file mode 100644 index 0000000..72864d1
@@ -1616,7 +1615,7 @@ index 0000000..72864d1 + unsigned int rq_curfiles; /* current # allocated files */ + unsigned int rq_btimeleft; /* time left for excessive disk use */ + unsigned int rq_ftimeleft; /* time left for excessive files */ -+}; ++}; + +enum gqr_status { + Q_OK = 1, /* quota returned */
@@ -1642,12 +1641,11 @@ index 0000000..72864d1 + RQUOTAPROC_GETQUOTA(getquota_args) = 1; + + /* -+ * Get active quotas only ++ * Get active quotas only + */ + getquota_rslt + RQUOTAPROC_GETACTIVEQUOTA(getquota_args) = 2; + } = 1; +} = 100011; --- +-- 1.9.1 -
Signature · 1 line
2.19.1
PATCH 1/2 libtirpc: Bump to version 1.1.4
In reply to Petr VorelHi Petr,
Quoted 2 lines · Petr Vorel
NOTE: use only locally committed hash, as there is no hash on sourceforge download page.
You need to click the 'i' icon on the right side of the file listing in the download page to see the SHA1 and MD5 hashes.
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH 1/2 libtirpc: Bump to version 1.1.4
Hi,
sorry, I forget to add v2 to second patchset, this patchset is suppressed.
Kind regards,
Petr