diff options
author | agc <agc@pkgsrc.org> | 2012-05-07 07:25:54 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2012-05-07 07:25:54 +0000 |
commit | 10962e295cd78f220d09749a09390ea21263bf88 (patch) | |
tree | 444412ced9afbcc02685ce7112dc3a9421e205ed /devel | |
parent | a99290089156a88de8c8d8d5229a6b9131c93103 (diff) | |
download | pkgsrc-10962e295cd78f220d09749a09390ea21263bf88.tar.gz |
Import sfslite-1.2.7 into the Packages Collection:
The SFS toolkit was developed to support the SFS distributed file
system (see http://www.fs.net). But because others use the toolkit
for other reasons, we're making SFS's libraries available as a
separate, lightweight package.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/sfslite/DESCR | 4 | ||||
-rw-r--r-- | devel/sfslite/Makefile | 23 | ||||
-rw-r--r-- | devel/sfslite/PLIST | 196 | ||||
-rw-r--r-- | devel/sfslite/buildlink3.mk | 13 | ||||
-rw-r--r-- | devel/sfslite/distinfo | 8 | ||||
-rw-r--r-- | devel/sfslite/patches/patch-aa | 15 | ||||
-rw-r--r-- | devel/sfslite/patches/patch-ab | 24 | ||||
-rw-r--r-- | devel/sfslite/patches/patch-ac | 23 |
8 files changed, 306 insertions, 0 deletions
diff --git a/devel/sfslite/DESCR b/devel/sfslite/DESCR new file mode 100644 index 00000000000..17fb8cdedc6 --- /dev/null +++ b/devel/sfslite/DESCR @@ -0,0 +1,4 @@ +The SFS toolkit was developed to support the SFS distributed file +system (see http://www.fs.net). But because others use the toolkit +for other reasons, we're making SFS's libraries available as a +separate, lightweight package. diff --git a/devel/sfslite/Makefile b/devel/sfslite/Makefile new file mode 100644 index 00000000000..48e034d9cc5 --- /dev/null +++ b/devel/sfslite/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/05/07 07:25:54 agc Exp $ + +DISTNAME= sfslite-1.2.7 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_FREEBSD} + +MAINTAINER= agc@NetBSD.org +HOMEPAGE= http://dist.okws.org/sfslite +COMMENT= Standard version of the sfslite library +LICENSE= gnu-gpl-v2 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --enable-sfsmisc +USE_TOOLS= gmake bison +USE_LANGUAGES+= c c++ +USE_LIBTOOL= yes + +PKG_DESTDIR_SUPPORT= user-destdir +AUTO_MKDIRS= yes + +.include "../../devel/gmp/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/sfslite/PLIST b/devel/sfslite/PLIST new file mode 100644 index 00000000000..bc5a7d732e2 --- /dev/null +++ b/devel/sfslite/PLIST @@ -0,0 +1,196 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/07 07:25:55 agc Exp $ +include/sfslite +include/sfslite-1.2/aapp.h +include/sfslite-1.2/aapp_prot.h +include/sfslite-1.2/aclnt.h +include/sfslite-1.2/aes.h +include/sfslite-1.2/afsnode.h +include/sfslite-1.2/agentconn.h +include/sfslite-1.2/agentmisc.h +include/sfslite-1.2/aiod.h +include/sfslite-1.2/aiod_prot.h +include/sfslite-1.2/aios.h +include/sfslite-1.2/alog2.h +include/sfslite-1.2/amisc.h +include/sfslite-1.2/arc4.h +include/sfslite-1.2/arena.h +include/sfslite-1.2/arpc.h +include/sfslite-1.2/array.h +include/sfslite-1.2/asrv.h +include/sfslite-1.2/async.h +include/sfslite-1.2/auth_helper_prot.h +include/sfslite-1.2/auth_helper_prot.x +include/sfslite-1.2/autoconf.h +include/sfslite-1.2/axprt.h +include/sfslite-1.2/axprt_crypt.h +include/sfslite-1.2/backoff.h +include/sfslite-1.2/bbuddy.h +include/sfslite-1.2/bench.h +include/sfslite-1.2/bigint.h +include/sfslite-1.2/bitvec.h +include/sfslite-1.2/blowfish.h +include/sfslite-1.2/callback.h +include/sfslite-1.2/cbuf.h +include/sfslite-1.2/corebench.h +include/sfslite-1.2/crypt.h +include/sfslite-1.2/crypt_prot.h +include/sfslite-1.2/crypt_prot.x +include/sfslite-1.2/crypthash.h +include/sfslite-1.2/dns.h +include/sfslite-1.2/dnsimpl.h +include/sfslite-1.2/dnsparse.h +include/sfslite-1.2/dsa.h +include/sfslite-1.2/dynenum.h +include/sfslite-1.2/elgamal.h +include/sfslite-1.2/err.h +include/sfslite-1.2/esign.h +include/sfslite-1.2/fdlim.h +include/sfslite-1.2/fips186.h +include/sfslite-1.2/fprint.h +include/sfslite-1.2/freemap.h +include/sfslite-1.2/getfh3.h +include/sfslite-1.2/hashcash.h +include/sfslite-1.2/homoenc.h +include/sfslite-1.2/ihash.h +include/sfslite-1.2/init.h +include/sfslite-1.2/itree.h +include/sfslite-1.2/keyfunc.h +include/sfslite-1.2/list.h +include/sfslite-1.2/litetime.h +include/sfslite-1.2/modalg.h +include/sfslite-1.2/mount_prot.h +include/sfslite-1.2/mount_prot.x +include/sfslite-1.2/msb.h +include/sfslite-1.2/nfs3_ext.x +include/sfslite-1.2/nfs3_nonnul.h +include/sfslite-1.2/nfs3_prot.h +include/sfslite-1.2/nfs3_prot.x +include/sfslite-1.2/nfs3close_prot.h +include/sfslite-1.2/nfs3close_prot.x +include/sfslite-1.2/nfs3exp_prot.h +include/sfslite-1.2/nfs3exp_prot.x +include/sfslite-1.2/nfs_prot.h +include/sfslite-1.2/nfs_prot.x +include/sfslite-1.2/nfsmounter.h +include/sfslite-1.2/nfsmounter.x +include/sfslite-1.2/nfsserv.h +include/sfslite-1.2/nfstrans.h +include/sfslite-1.2/ocb.h +include/sfslite-1.2/opnew.h +include/sfslite-1.2/paillier.h +include/sfslite-1.2/parseopt.h +include/sfslite-1.2/password.h +include/sfslite-1.2/pcre.h +include/sfslite-1.2/pm.h +include/sfslite-1.2/pmap_prot.h +include/sfslite-1.2/pmap_prot.x +include/sfslite-1.2/poly.h +include/sfslite-1.2/prime.h +include/sfslite-1.2/prng.h +include/sfslite-1.2/qhash.h +include/sfslite-1.2/qtailq.h +include/sfslite-1.2/rabin.h +include/sfslite-1.2/rabin_fprint.h +include/sfslite-1.2/rabinpoly.h +include/sfslite-1.2/rclist.h +include/sfslite-1.2/rctailq.h +include/sfslite-1.2/rctree.h +include/sfslite-1.2/refcnt.h +include/sfslite-1.2/rex.h +include/sfslite-1.2/rex_prot.h +include/sfslite-1.2/rex_prot.x +include/sfslite-1.2/rexcommon.h +include/sfslite-1.2/rpc_stats.h +include/sfslite-1.2/rpctypes.h +include/sfslite-1.2/rsa.h +include/sfslite-1.2/rwfd.h +include/sfslite-1.2/rxx.h +include/sfslite-1.2/safeptr.h +include/sfslite-1.2/schnorr.h +include/sfslite-1.2/seqno.h +include/sfslite-1.2/serial.h +include/sfslite-1.2/sfs_bundle.h +include/sfslite-1.2/sfs_profiler.h +include/sfslite-1.2/sfs_prot.h +include/sfslite-1.2/sfs_prot.x +include/sfslite-1.2/sfs_select.h +include/sfslite-1.2/sfsagent.h +include/sfslite-1.2/sfsagent.x +include/sfslite-1.2/sfsauth_prot.h +include/sfslite-1.2/sfsauth_prot.x +include/sfslite-1.2/sfscd_prot.h +include/sfslite-1.2/sfscd_prot.x +include/sfslite-1.2/sfsclient.h +include/sfslite-1.2/sfsconnect.h +include/sfslite-1.2/sfscrypt.h +include/sfslite-1.2/sfsgroupmgr.h +include/sfslite-1.2/sfskeymgr.h +include/sfslite-1.2/sfskeymisc.h +include/sfslite-1.2/sfsmisc.h +include/sfslite-1.2/sfsschnorr.h +include/sfslite-1.2/sfsserv.h +include/sfslite-1.2/sfssesscrypt.h +include/sfslite-1.2/sfstty.h +include/sfslite-1.2/sha1.h +include/sfslite-1.2/sp_gc.h +include/sfslite-1.2/sp_gc_impl.h +include/sfslite-1.2/sp_gc_str.h +include/sfslite-1.2/sp_wkref.h +include/sfslite-1.2/srp.h +include/sfslite-1.2/stllike.h +include/sfslite-1.2/str.h +include/sfslite-1.2/suio++.h +include/sfslite-1.2/sysconf.h +include/sfslite-1.2/tame.h +include/sfslite-1.2/tame_aio.h +include/sfslite-1.2/tame_autocb.h +include/sfslite-1.2/tame_closure.h +include/sfslite-1.2/tame_connectors.h +include/sfslite-1.2/tame_event.h +include/sfslite-1.2/tame_event_ag.h +include/sfslite-1.2/tame_io.h +include/sfslite-1.2/tame_lock.h +include/sfslite-1.2/tame_nlock.h +include/sfslite-1.2/tame_pc.h +include/sfslite-1.2/tame_pipeline.h +include/sfslite-1.2/tame_recycle.h +include/sfslite-1.2/tame_rendezvous.h +include/sfslite-1.2/tame_rpc.h +include/sfslite-1.2/tame_rpcserver.h +include/sfslite-1.2/tame_run.h +include/sfslite-1.2/tame_slotset.h +include/sfslite-1.2/tame_tfork.h +include/sfslite-1.2/tame_tfork_ag.h +include/sfslite-1.2/tame_thread.h +include/sfslite-1.2/tame_trigger.h +include/sfslite-1.2/tame_typedefs.h +include/sfslite-1.2/tame_weakref.h +include/sfslite-1.2/test_arpc_prot.h +include/sfslite-1.2/test_arpc_prot.x +include/sfslite-1.2/tiger.h +include/sfslite-1.2/umac.h +include/sfslite-1.2/union.h +include/sfslite-1.2/uvfstrans.h +include/sfslite-1.2/vatmpl.h +include/sfslite-1.2/vec.h +include/sfslite-1.2/wmstr.h +include/sfslite-1.2/xdr_suio.h +include/sfslite-1.2/xdrmisc.h +include/sfslite-1.2/xhinfo.h +lib/sfslite +lib/sfslite-1.2/acsfs.m4 +lib/sfslite-1.2/aiod +lib/sfslite-1.2/env.mk +lib/sfslite-1.2/libaapp.la +lib/sfslite-1.2/libarpc.la +lib/sfslite-1.2/libasync.la +lib/sfslite-1.2/libsafeptr.la +lib/sfslite-1.2/libsfscrypt.la +lib/sfslite-1.2/libsfsmisc.la +lib/sfslite-1.2/libsvc.la +lib/sfslite-1.2/libtame.la +lib/sfslite-1.2/mallock.o +lib/sfslite-1.2/mmcd +lib/sfslite-1.2/pyenv.mk +lib/sfslite-1.2/rpcc +lib/sfslite-1.2/tame diff --git a/devel/sfslite/buildlink3.mk b/devel/sfslite/buildlink3.mk new file mode 100644 index 00000000000..47407fd90d6 --- /dev/null +++ b/devel/sfslite/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/05/07 07:25:55 agc Exp $ + +BUILDLINK_TREE+= sfslite + +.if !defined(SFSLITE_BUILDLINK3_MK) +SFSLITE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.sfslite+= sfslite>=1.2.7 +BUILDLINK_PKGSRCDIR.sfslite?= ../../devel/sfslite + +.endif # SFSLITE_BUILDLINK3_MK + +BUILDLINK_TREE+= -sfslite diff --git a/devel/sfslite/distinfo b/devel/sfslite/distinfo new file mode 100644 index 00000000000..675dbc44490 --- /dev/null +++ b/devel/sfslite/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/05/07 07:25:55 agc Exp $ + +SHA1 (sfslite-1.2.7.tar.gz) = 774c1defc74d9f354622f60aa5c038400b401c5b +RMD160 (sfslite-1.2.7.tar.gz) = 3e72a4d6cb0975c13b51f13ff615e8a390c36e3b +Size (sfslite-1.2.7.tar.gz) = 1379432 bytes +SHA1 (patch-aa) = 9c13092b1fe5e9d7c25eea9293fadbbaab096299 +SHA1 (patch-ab) = 0bfc67711150e5dc8eb74fba29e9abd5272e62db +SHA1 (patch-ac) = 88294e8dc9785a68019f66d0513c6d043a6b9f2e diff --git a/devel/sfslite/patches/patch-aa b/devel/sfslite/patches/patch-aa new file mode 100644 index 00000000000..c93ed1164b5 --- /dev/null +++ b/devel/sfslite/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2012/05/07 07:25:55 agc Exp $ + +Old C++ warning + +--- async/myaddrs.C 2012/03/28 12:41:30 1.1 ++++ async/myaddrs.C 2012/03/28 12:42:18 +@@ -74,7 +74,7 @@ + res->clear (); + bhash<in_addr> addrs; + +- p = ifc.ifc_buf; ++ p = (char *)(void *)ifc.ifc_buf; + e = p + ifc.ifc_len; + while (p < e) { + struct ifreq *ifrp = (struct ifreq *) p; diff --git a/devel/sfslite/patches/patch-ab b/devel/sfslite/patches/patch-ab new file mode 100644 index 00000000000..3d0b4ccc9de --- /dev/null +++ b/devel/sfslite/patches/patch-ab @@ -0,0 +1,24 @@ +$NetBSD: patch-ab,v 1.1.1.1 2012/05/07 07:25:55 agc Exp $ + +use the correct function without ambiguous details + +--- rpcc/genheader.C 2012/03/28 12:43:45 1.1 ++++ rpcc/genheader.C 2012/03/28 12:45:10 +@@ -351,7 +351,7 @@ + } + + static str +-tolower (const str &in) ++sfslitetolower (const str &in) + { + strbuf r; + for (const char *c = in.cstr (); *c; c++) { +@@ -505,7 +505,7 @@ + dump_tmpl_proc (const rpc_proc *rc) + { + str arg, res; +- str fn = tolower (rc->id); ++ str fn = sfslitetolower (rc->id); + if (rc->arg != "void") arg = rc->arg; + if (rc->res != "void") res = rc->res; + str spc = " "; diff --git a/devel/sfslite/patches/patch-ac b/devel/sfslite/patches/patch-ac new file mode 100644 index 00000000000..224e0e2d39e --- /dev/null +++ b/devel/sfslite/patches/patch-ac @@ -0,0 +1,23 @@ +$NetBSD: patch-ac,v 1.1.1.1 2012/05/07 07:25:55 agc Exp $ + +Don't try to be clever when including gmp.h - it has all the smarts +in it for C++ and C linkage + +--- crypt/bigint.h 2012/03/28 12:57:51 1.1 ++++ crypt/bigint.h 2012/03/28 12:58:32 +@@ -27,15 +27,7 @@ + + #include "sysconf.h" + +-#if defined (HAVE_GMP_CXX_OPS) || !defined (__cplusplus) + #include <gmp.h> +-#else /* !HAVE_GMP_CXX_OPS */ +-/* Some older C++ header files fail to include some declarations +- * inside an extern "C". */ +-extern "C" { +-#include <gmp.h> +-} +-#endif /* !HAVE_GMP_CXX_OPS */ + + #ifdef __cplusplus + extern "C" { |