diff options
author | yuri <yuri@FreeBSD.org> | 2018-08-02 03:55:35 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-08-02 03:55:35 +0800 |
commit | 76e904008a25164146a6791e4249383f1d347b80 (patch) | |
tree | 0654585f88b233d292b6f509557b69824e3ccfd6 /databases | |
parent | 38fe675ab16bdcb2888a859602ac852dfeb7a131 (diff) | |
download | freebsd-ports-gnome-76e904008a25164146a6791e4249383f1d347b80.tar.gz freebsd-ports-gnome-76e904008a25164146a6791e4249383f1d347b80.tar.zst freebsd-ports-gnome-76e904008a25164146a6791e4249383f1d347b80.zip |
New port: databases/xrootd: Framework for fast, low latency, scalable data access
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/xrootd/Makefile | 47 | ||||
-rw-r--r-- | databases/xrootd/distinfo | 7 | ||||
-rw-r--r-- | databases/xrootd/files/patch-src_XrdSys_XrdSysFAttrBsd.icc | 42 | ||||
-rw-r--r-- | databases/xrootd/pkg-descr | 16 | ||||
-rw-r--r-- | databases/xrootd/pkg-plist | 275 |
6 files changed, 388 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index e04c675fa73b..37f880c805ea 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -1072,6 +1072,7 @@ SUBDIR += xapian-core SUBDIR += xapian-core10 SUBDIR += xapian-core12 + SUBDIR += xrootd SUBDIR += xtrabackup SUBDIR += zabbix22-libzbxpgsql SUBDIR += zabbix3-libzbxpgsql diff --git a/databases/xrootd/Makefile b/databases/xrootd/Makefile new file mode 100644 index 000000000000..ba7ce1101331 --- /dev/null +++ b/databases/xrootd/Makefile @@ -0,0 +1,47 @@ +# $FreeBSD$ + +PORTNAME= xrootd +DISTVERSION= 4.8.4 +CATEGORIES= databases +MASTER_SITES= http://xrootd.org/download/v${DISTVERSION}/ + +PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/ +PATCHFILES= 767d9770b01a89125b45fbea417364eb9efee528.patch:-p1 \ + 0a2240ed70edc769891cb5155aeb99405ceeb7f4.patch:-p1 + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Framework for fast, low latency, scalable data access + +LICENSE= GPLv3 LGPL3 +LICENSE_COMB= dual +LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING +LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LGPL + +BUILD_DEPENDS= bash:shells/bash +LIB_DEPENDS= librados.so:net/ceph + +USES= cmake:outsource localbase:ldflags pkgconfig readline shebangfix ssl +SHEBANG_GLOB= *.sh +USE_GNOME= libxml2 +USE_LDCONFIG= yes + +CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR:STRING=${PREFIX}/lib \ + -DCMAKE_INSTALL_BINDIR:STRING=${PREFIX}/bin \ + -DCMAKE_INSTALL_INCLUDEDIR:STRING=${PREFIX}/include \ + -DCMAKE_INSTALL_MANDIR:STRING=${PREFIX}/man \ + -DCMAKE_INSTALL_DATADIR:STRING=${DATADIR} + +CXXFLAGS+= -Ddirent64=dirent +LDFLAGS+= -lexecinfo + +OPTIONS_DEFINE= KERBEROS5 +OPTIONS_SUB= yes + +KERBEROS5_CMAKE_BOOL= ENABLE_KRB5 +KERBEROS5_BROKEN= build picks base kerberos, but needs the port one (problem only exists in poudriere builds for some reason) +KERBEROS5_LIB_DEPENDS= libkrb5.so:security/krb5 + +post-patch: + @${REINPLACE_CMD} 's| dl| $${CMAKE_DL_LIBS}| ; s|-ldl|$${CMAKE_DL_LIBS}|' ${WRKSRC}/src/*.cmake ${WRKSRC}/src/*/CMakeLists.txt + +.include <bsd.port.mk> diff --git a/databases/xrootd/distinfo b/databases/xrootd/distinfo new file mode 100644 index 000000000000..eeb7edfa5732 --- /dev/null +++ b/databases/xrootd/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1533118576 +SHA256 (xrootd-4.8.4.tar.gz) = f148d55b16525567c0f893edf9bb2975f7c09f87f0599463e19e1b456a9d95ba +SIZE (xrootd-4.8.4.tar.gz) = 2390944 +SHA256 (767d9770b01a89125b45fbea417364eb9efee528.patch) = e42f3bd0efdfad9aed34bfd7445ded01fb48d3796798af1f77c0801f06f5b033 +SIZE (767d9770b01a89125b45fbea417364eb9efee528.patch) = 3456 +SHA256 (0a2240ed70edc769891cb5155aeb99405ceeb7f4.patch) = 531d6338bf0419c224d94be76dd618fbc6df099d550045e0f803f74beaaf2ae2 +SIZE (0a2240ed70edc769891cb5155aeb99405ceeb7f4.patch) = 6351 diff --git a/databases/xrootd/files/patch-src_XrdSys_XrdSysFAttrBsd.icc b/databases/xrootd/files/patch-src_XrdSys_XrdSysFAttrBsd.icc new file mode 100644 index 000000000000..d2032e200123 --- /dev/null +++ b/databases/xrootd/files/patch-src_XrdSys_XrdSysFAttrBsd.icc @@ -0,0 +1,42 @@ +--- src/XrdSys/XrdSysFAttrBsd.icc.orig 2018-08-01 05:55:51 UTC ++++ src/XrdSys/XrdSysFAttrBsd.icc +@@ -68,7 +68,7 @@ int XrdSysFAttr::Get(const char *Aname, + // Obtain the attribute. + // + ec = (fd < 0 ? extattr_get_file(Path,EXTATTR_NAMESPACE_USER,Aname,Aval,Avsz) +- extattr_get_fd( fd, EXTATTR_NAMESPACE_USER,Aname,Aval,Avsz)); ++ : extattr_get_fd( fd, EXTATTR_NAMESPACE_USER,Aname,Aval,Avsz)); + + // Diagnose errors. We return 0 on ENOENT to indicate no attribute. + // +@@ -89,8 +89,8 @@ int XrdSysFAttr::List(AList **aPL, const + // First obtain the amount of storage we will need for the whole list + // + *aPL = 0; +- Tlen = (fd < 0 ? extattr_get_file(Path,EXTATTR_NAMESPACE_USER, 0, 0) +- extattr_list_fd( fd,EXTATTR_NAMESPACE_USER, 0, 0)); ++ Tlen = (fd < 0 ? extattr_get_file(Path,EXTATTR_NAMESPACE_USER, "", 0, 0) ++ : extattr_list_fd( fd,EXTATTR_NAMESPACE_USER, 0, 0)); + if (Tlen < 0) + {if ((ec = Diagnose("list", "*", Path, errno)) == -ENOENT) ec = 0; + return ec; +@@ -109,8 +109,8 @@ int XrdSysFAttr::List(AList **aPL, const + // Now get the actual list. We will not recover if someone added an attribute + // since the time we actual determined the size of the buffer we need. + // +- Tlen = (fd < 0 ? extattr_get_file(Path,EXTATTR_NAMESPACE_USER, Buff, Tlen) +- extattr_list_fd( fd,EXTATTR_NAMESPACE_USER, Buff, Tlen)); ++ Tlen = (fd < 0 ? extattr_get_file(Path,EXTATTR_NAMESPACE_USER, "", Buff, Tlen) ++ : extattr_list_fd( fd,EXTATTR_NAMESPACE_USER, Buff, Tlen)); + if (Tlen < 0) + {if ((ec = Diagnose("list", "*", Path, errno)) == -ENOENT) ec = 0; + free(Buff); +@@ -160,7 +160,7 @@ int XrdSysFAttr::Set(const char *Aname, + // + if (isNew) + {ec = (fd < 0 ? extattr_get_file(Path,EXTATTR_NAMESPACE_USER,Aname,0,0) +- : extattr_get_fd( fd, EXTATTR_NAMESPACE_USER,Aname,0 0)); ++ : extattr_get_fd( fd, EXTATTR_NAMESPACE_USER,Aname,0,0)); + if (ec >= 0) return -EEXIST; + } + diff --git a/databases/xrootd/pkg-descr b/databases/xrootd/pkg-descr new file mode 100644 index 000000000000..229d285bedb0 --- /dev/null +++ b/databases/xrootd/pkg-descr @@ -0,0 +1,16 @@ +The XROOTD project aims at giving high performance, scalable fault tolerant +access to data repositories of many kinds. The typical usage is to give access +to file-based ones. It is based on a scalable architecture, a communication +protocol, and a set of plugins and tools based on those. The freedom to +configure it and to make it scale (for size and performance) allows the +deployment of data access clusters of virtually any size, which can include +sophisticated features, like authentication/authorization, integrations with +other systems, WAN data distribution, etc. + +XRootD software framework is a fully generic suite for fast, low latency and +scalable data access, which can serve natively any kind of data, organized as a +hierarchical filesystem-like namespace, based on the concept of directory. As a +general rule, particular emphasis has been put in the quality of the core +software parts. + +WWW: http://xrootd.org/ diff --git a/databases/xrootd/pkg-plist b/databases/xrootd/pkg-plist new file mode 100644 index 000000000000..6e2e42272229 --- /dev/null +++ b/databases/xrootd/pkg-plist @@ -0,0 +1,275 @@ +bin/XrdCnsd +bin/cconfig +bin/cmsd +bin/cns_ssi +bin/frm_admin +bin/frm_purged +bin/frm_xfragent +bin/frm_xfrd +bin/mpxstats +bin/wait41 +bin/xprep +bin/xrd +bin/xrdacctest +bin/xrdadler32 +bin/xrdcp +bin/xrdcp-old +bin/xrdfs +bin/xrdgsiproxy +bin/xrdgsitest +bin/xrdmapc +bin/xrdpfc_print +bin/xrdpwdadmin +bin/xrdsssadmin +bin/xrdstagetool +bin/xrootd +include/xrootd/XProtocol/XProtocol.hh +include/xrootd/XProtocol/XPtypes.hh +include/xrootd/Xrd/XrdBuffer.hh +include/xrootd/Xrd/XrdJob.hh +include/xrootd/Xrd/XrdLink.hh +include/xrootd/Xrd/XrdLinkMatch.hh +include/xrootd/Xrd/XrdProtocol.hh +include/xrootd/Xrd/XrdScheduler.hh +include/xrootd/XrdAcc/XrdAccAuthorize.hh +include/xrootd/XrdAcc/XrdAccPrivs.hh +include/xrootd/XrdCks/XrdCks.hh +include/xrootd/XrdCks/XrdCksAssist.hh +include/xrootd/XrdCks/XrdCksCalc.hh +include/xrootd/XrdCks/XrdCksData.hh +include/xrootd/XrdCks/XrdCksManager.hh +include/xrootd/XrdCl/XrdClAnyObject.hh +include/xrootd/XrdCl/XrdClBuffer.hh +include/xrootd/XrdCl/XrdClConstants.hh +include/xrootd/XrdCl/XrdClCopyProcess.hh +include/xrootd/XrdCl/XrdClDefaultEnv.hh +include/xrootd/XrdCl/XrdClEnv.hh +include/xrootd/XrdCl/XrdClFile.hh +include/xrootd/XrdCl/XrdClFileSystem.hh +include/xrootd/XrdCl/XrdClFileSystemUtils.hh +include/xrootd/XrdCl/XrdClLog.hh +include/xrootd/XrdCl/XrdClMessage.hh +include/xrootd/XrdCl/XrdClMonitor.hh +include/xrootd/XrdCl/XrdClPlugInInterface.hh +include/xrootd/XrdCl/XrdClPlugInManager.hh +include/xrootd/XrdCl/XrdClPostMaster.hh +include/xrootd/XrdCl/XrdClPostMasterInterfaces.hh +include/xrootd/XrdCl/XrdClPropertyList.hh +include/xrootd/XrdCl/XrdClStatus.hh +include/xrootd/XrdCl/XrdClTransportManager.hh +include/xrootd/XrdCl/XrdClURL.hh +include/xrootd/XrdCl/XrdClXRootDResponses.hh +include/xrootd/XrdClient/XrdClient.hh +include/xrootd/XrdClient/XrdClientAbs.hh +include/xrootd/XrdClient/XrdClientAbsMonIntf.hh +include/xrootd/XrdClient/XrdClientAdmin.hh +include/xrootd/XrdClient/XrdClientConst.hh +include/xrootd/XrdClient/XrdClientEnv.hh +include/xrootd/XrdClient/XrdClientUnsolMsg.hh +include/xrootd/XrdClient/XrdClientUrlInfo.hh +include/xrootd/XrdClient/XrdClientUrlSet.hh +include/xrootd/XrdClient/XrdClientVector.hh +include/xrootd/XrdCms/XrdCmsClient.hh +include/xrootd/XrdFileCache/XrdFileCacheDecision.hh +include/xrootd/XrdHttp/XrdHttpSecXtractor.hh +include/xrootd/XrdNet/XrdNet.hh +include/xrootd/XrdNet/XrdNetAddr.hh +include/xrootd/XrdNet/XrdNetAddrInfo.hh +include/xrootd/XrdNet/XrdNetCmsNotify.hh +include/xrootd/XrdNet/XrdNetConnect.hh +include/xrootd/XrdNet/XrdNetOpts.hh +include/xrootd/XrdNet/XrdNetSockAddr.hh +include/xrootd/XrdNet/XrdNetSocket.hh +include/xrootd/XrdNet/XrdNetUtils.hh +include/xrootd/XrdOss/XrdOss.hh +include/xrootd/XrdOss/XrdOssDefaultSS.hh +include/xrootd/XrdOss/XrdOssStatInfo.hh +include/xrootd/XrdOuc/XrdOucBuffer.hh +include/xrootd/XrdOuc/XrdOucCRC.hh +include/xrootd/XrdOuc/XrdOucCache.hh +include/xrootd/XrdOuc/XrdOucCallBack.hh +include/xrootd/XrdOuc/XrdOucChain.hh +include/xrootd/XrdOuc/XrdOucCompiler.hh +include/xrootd/XrdOuc/XrdOucDLlist.hh +include/xrootd/XrdOuc/XrdOucEnum.hh +include/xrootd/XrdOuc/XrdOucEnv.hh +include/xrootd/XrdOuc/XrdOucErrInfo.hh +include/xrootd/XrdOuc/XrdOucGMap.hh +include/xrootd/XrdOuc/XrdOucHash.hh +include/xrootd/XrdOuc/XrdOucHash.icc +include/xrootd/XrdOuc/XrdOucIOVec.hh +include/xrootd/XrdOuc/XrdOucLock.hh +include/xrootd/XrdOuc/XrdOucName2Name.hh +include/xrootd/XrdOuc/XrdOucPinPath.hh +include/xrootd/XrdOuc/XrdOucRash.hh +include/xrootd/XrdOuc/XrdOucRash.icc +include/xrootd/XrdOuc/XrdOucSFVec.hh +include/xrootd/XrdOuc/XrdOucStream.hh +include/xrootd/XrdOuc/XrdOucString.hh +include/xrootd/XrdOuc/XrdOucTList.hh +include/xrootd/XrdOuc/XrdOucTable.hh +include/xrootd/XrdOuc/XrdOucTokenizer.hh +include/xrootd/XrdOuc/XrdOucTrace.hh +include/xrootd/XrdOuc/XrdOucUtils.hh +include/xrootd/XrdOuc/XrdOuca2x.hh +include/xrootd/XrdPosix/XrdPosix.hh +include/xrootd/XrdPosix/XrdPosixCallBack.hh +include/xrootd/XrdPosix/XrdPosixExtern.hh +include/xrootd/XrdPosix/XrdPosixOsDep.hh +include/xrootd/XrdPosix/XrdPosixXrootd.hh +include/xrootd/XrdPosix/XrdPosixXrootdPath.hh +include/xrootd/XrdSec/XrdSecEntity.hh +include/xrootd/XrdSec/XrdSecInterface.hh +include/xrootd/XrdSfs/XrdSfsAio.hh +include/xrootd/XrdSfs/XrdSfsDio.hh +include/xrootd/XrdSfs/XrdSfsFlags.hh +include/xrootd/XrdSfs/XrdSfsInterface.hh +include/xrootd/XrdSfs/XrdSfsXio.hh +include/xrootd/XrdSys/XrdSysAtomics.hh +include/xrootd/XrdSys/XrdSysDNS.hh +include/xrootd/XrdSys/XrdSysError.hh +include/xrootd/XrdSys/XrdSysFD.hh +include/xrootd/XrdSys/XrdSysHeaders.hh +include/xrootd/XrdSys/XrdSysLinuxSemaphore.hh +include/xrootd/XrdSys/XrdSysLogPI.hh +include/xrootd/XrdSys/XrdSysLogger.hh +include/xrootd/XrdSys/XrdSysPlatform.hh +include/xrootd/XrdSys/XrdSysPlugin.hh +include/xrootd/XrdSys/XrdSysPthread.hh +include/xrootd/XrdSys/XrdSysSemWait.hh +include/xrootd/XrdSys/XrdSysTimer.hh +include/xrootd/XrdSys/XrdSysXAttr.hh +include/xrootd/XrdSys/XrdSysXSLock.hh +include/xrootd/XrdVersion.hh +include/xrootd/XrdXml/XrdXmlReader.hh +include/xrootd/XrdXrootd/XrdXrootdBridge.hh +include/xrootd/XrdXrootd/XrdXrootdMonData.hh +include/xrootd/private/Xrd/XrdPoll.hh +include/xrootd/private/XrdClient/XrdClientConn.hh +include/xrootd/private/XrdClient/XrdClientConnMgr.hh +include/xrootd/private/XrdClient/XrdClientDebug.hh +include/xrootd/private/XrdClient/XrdClientInputBuffer.hh +include/xrootd/private/XrdClient/XrdClientLogConnection.hh +include/xrootd/private/XrdClient/XrdClientMessage.hh +include/xrootd/private/XrdClient/XrdClientPhyConnection.hh +include/xrootd/private/XrdClient/XrdClientReadCache.hh +include/xrootd/private/XrdClient/XrdClientSock.hh +include/xrootd/private/XrdHttp/XrdHttpExtHandler.hh +include/xrootd/private/XrdNet/XrdNetBuffer.hh +include/xrootd/private/XrdNet/XrdNetIF.hh +include/xrootd/private/XrdNet/XrdNetPeer.hh +include/xrootd/private/XrdOfs/XrdOfs.hh +include/xrootd/private/XrdOfs/XrdOfsEvr.hh +include/xrootd/private/XrdOfs/XrdOfsHandle.hh +include/xrootd/private/XrdOfs/XrdOfsTPCInfo.hh +include/xrootd/private/XrdOfs/XrdOfsTrace.hh +include/xrootd/private/XrdOss/XrdOssApi.hh +include/xrootd/private/XrdOss/XrdOssConfig.hh +include/xrootd/private/XrdOss/XrdOssError.hh +include/xrootd/private/XrdOuc/XrdOucExport.hh +include/xrootd/private/XrdOuc/XrdOucN2NLoader.hh +include/xrootd/private/XrdOuc/XrdOucPList.hh +include/xrootd/private/XrdSsi/XrdSsiAtomics.hh +include/xrootd/private/XrdSsi/XrdSsiCluster.hh +include/xrootd/private/XrdSsi/XrdSsiEntity.hh +include/xrootd/private/XrdSsi/XrdSsiErrInfo.hh +include/xrootd/private/XrdSsi/XrdSsiLogger.hh +include/xrootd/private/XrdSsi/XrdSsiProvider.hh +include/xrootd/private/XrdSsi/XrdSsiRequest.hh +include/xrootd/private/XrdSsi/XrdSsiResource.hh +include/xrootd/private/XrdSsi/XrdSsiRespInfo.hh +include/xrootd/private/XrdSsi/XrdSsiResponder.hh +include/xrootd/private/XrdSsi/XrdSsiService.hh +include/xrootd/private/XrdSsi/XrdSsiStream.hh +include/xrootd/private/XrdSys/XrdSysPriv.hh +lib/libXrdAppUtils.so +lib/libXrdAppUtils.so.1 +lib/libXrdAppUtils.so.1.0.0 +lib/libXrdBlacklistDecision-4.so +lib/libXrdBwm-4.so +lib/libXrdCeph-4.so +lib/libXrdCephPosix.so +lib/libXrdCephPosix.so.0 +lib/libXrdCephPosix.so.0.0.1 +lib/libXrdCephXattr-4.so +lib/libXrdCksCalczcrc32-4.so +lib/libXrdCl.so +lib/libXrdCl.so.2 +lib/libXrdCl.so.2.0.0 +lib/libXrdClProxyPlugin-4.so +lib/libXrdClient.so +lib/libXrdClient.so.2 +lib/libXrdClient.so.2.0.0 +lib/libXrdCrypto.so +lib/libXrdCrypto.so.1 +lib/libXrdCrypto.so.1.0.0 +lib/libXrdCryptoLite.so +lib/libXrdCryptoLite.so.1 +lib/libXrdCryptoLite.so.1.0.0 +lib/libXrdCryptossl-4.so +lib/libXrdFfs.so +lib/libXrdFfs.so.2 +lib/libXrdFfs.so.2.0.0 +lib/libXrdFileCache-4.so +lib/libXrdHttp-4.so +lib/libXrdN2No2p-4.so +lib/libXrdOssSIgpfsT-4.so +lib/libXrdPosix.so +lib/libXrdPosix.so.2 +lib/libXrdPosix.so.2.0.0 +lib/libXrdPosixPreload.so +lib/libXrdPosixPreload.so.1 +lib/libXrdPosixPreload.so.1.0.0 +lib/libXrdPss-4.so +lib/libXrdSec-4.so +lib/libXrdSecProt-4.so +lib/libXrdSecgsi-4.so +lib/libXrdSecgsiAUTHZVO-4.so +lib/libXrdSecgsiGMAPDN-4.so +%%KERBEROS5%%lib/libXrdSeckrb5-4.so +lib/libXrdSecpwd-4.so +lib/libXrdSecsss-4.so +lib/libXrdSecunix-4.so +lib/libXrdServer.so +lib/libXrdServer.so.2 +lib/libXrdServer.so.2.0.0 +lib/libXrdSsi-4.so +lib/libXrdSsiLib.so +lib/libXrdSsiLib.so.1 +lib/libXrdSsiLib.so.1.0.0 +lib/libXrdSsiLog-4.so +lib/libXrdSsiShMap.so +lib/libXrdSsiShMap.so.1 +lib/libXrdSsiShMap.so.1.0.0 +lib/libXrdThrottle-4.so +lib/libXrdUtils.so +lib/libXrdUtils.so.2 +lib/libXrdUtils.so.2.0.0 +lib/libXrdXml.so +lib/libXrdXml.so.2 +lib/libXrdXml.so.2.0.0 +lib/libXrdXrootd-4.so +man/man1/xprep.1.gz +man/man1/xrd.1.gz +man/man1/xrdadler32.1.gz +man/man1/xrdcp-old.1.gz +man/man1/xrdcp.1.gz +man/man1/xrdfs.1.gz +man/man1/xrdgsiproxy.1.gz +man/man1/xrdgsitest.1.gz +man/man1/xrdstagetool.1.gz +man/man8/XrdCnsd.8.gz +man/man8/cmsd.8.gz +man/man8/cns_ssi.8.gz +man/man8/frm_admin.8.gz +man/man8/frm_purged.8.gz +man/man8/frm_xfragent.8.gz +man/man8/frm_xfrd.8.gz +man/man8/mpxstats.8.gz +man/man8/xrdpfc_print.8.gz +man/man8/xrdpwdadmin.8.gz +man/man8/xrdsssadmin.8.gz +man/man8/xrootd.8.gz +%%DATADIR%%/xrootd/utils/XrdCmsNotify.pm +%%DATADIR%%/xrootd/utils/XrdOlbMonPerf +%%DATADIR%%/xrootd/utils/netchk |