Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2018 08:05:23 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472526 - in head/www: . davix davix/files
Message-ID:  <201806160805.w5G85NZ1097779@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Jun 16 08:05:23 2018
New Revision: 472526
URL: https://svnweb.freebsd.org/changeset/ports/472526

Log:
  New port: www/davix: Make the task of managing files over HTTP-based protocols simple

Added:
  head/www/davix/
  head/www/davix/Makefile   (contents, props changed)
  head/www/davix/distinfo   (contents, props changed)
  head/www/davix/files/
  head/www/davix/files/patch-cmake_modules_DefineInstallationPaths.cmake   (contents, props changed)
  head/www/davix/files/patch-deps_libneon_src_ne__socket.c   (contents, props changed)
  head/www/davix/files/patch-src_libs_datetime_datetime__utils.cpp   (contents, props changed)
  head/www/davix/pkg-descr   (contents, props changed)
  head/www/davix/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sat Jun 16 08:00:24 2018	(r472525)
+++ head/www/Makefile	Sat Jun 16 08:05:23 2018	(r472526)
@@ -103,6 +103,7 @@
     SUBDIR += cutelyst
     SUBDIR += cutycapt
     SUBDIR += davical
+    SUBDIR += davix
     SUBDIR += dddbl
     SUBDIR += ddgr
     SUBDIR += decss

Added: head/www/davix/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/davix/Makefile	Sat Jun 16 08:05:23 2018	(r472526)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME=	davix
+DISTVERSION=	0.6.7
+CATEGORIES=	www
+MASTER_SITES=	http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/${DISTVERSION}/
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Make the task of managing files over HTTP-based protocols simple
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libuuid.so:misc/e2fsprogs-libuuid
+
+USES=		cmake localbase ssl
+USE_GNOME=	libxml2
+USE_LDCONFIG=	yes
+
+post-install:
+	@${RM} -r ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/www/davix/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/davix/distinfo	Sat Jun 16 08:05:23 2018	(r472526)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1529134064
+SHA256 (davix-0.6.7.tar.gz) = bc067aef67d16fd530b45d7718294802dbd5f63c1a6002f50c404055f7755431
+SIZE (davix-0.6.7.tar.gz) = 3346429

Added: head/www/davix/files/patch-cmake_modules_DefineInstallationPaths.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/davix/files/patch-cmake_modules_DefineInstallationPaths.cmake	Sat Jun 16 08:05:23 2018	(r472526)
@@ -0,0 +1,11 @@
+--- cmake/modules/DefineInstallationPaths.cmake.orig	2018-06-16 07:54:25 UTC
++++ cmake/modules/DefineInstallationPaths.cmake
+@@ -114,7 +114,7 @@ ENDIF(EXISTS "/usr/lib64" )
+     CACHE PATH "The ${APPLICATION_NAME} sysconfig install dir (default prefix/etc)"
+   )
+   SET(MAN_INSTALL_DIR
+-    "${SHARE_INSTALL_PREFIX}/man"
++    "${CMAKE_INSTALL_PREFIX}/man"
+     CACHE PATH "The ${APPLICATION_NAME} man install dir (default prefix/man)"
+   )
+   SET(INFO_INSTALL_DIR

Added: head/www/davix/files/patch-deps_libneon_src_ne__socket.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/davix/files/patch-deps_libneon_src_ne__socket.c	Sat Jun 16 08:05:23 2018	(r472526)
@@ -0,0 +1,14 @@
+--- deps/libneon/src/ne_socket.c.orig	2018-06-16 07:30:42 UTC
++++ deps/libneon/src/ne_socket.c
+@@ -31,9 +31,9 @@
+ #include <sys/time.h>
+ #endif
+ #include <sys/stat.h>
+-#ifdef HAVE_SYS_SOCKET_H
++//#ifdef HAVE_SYS_SOCKET_H
+ #include <sys/socket.h>
+-#endif
++//#endif
+ 
+ #ifdef __linux__
+ #include <sys/ioctl.h>

Added: head/www/davix/files/patch-src_libs_datetime_datetime__utils.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/davix/files/patch-src_libs_datetime_datetime__utils.cpp	Sat Jun 16 08:05:23 2018	(r472526)
@@ -0,0 +1,44 @@
+--- src/libs/datetime/datetime_utils.cpp.orig	2018-06-16 07:41:55 UTC
++++ src/libs/datetime/datetime_utils.cpp
+@@ -19,6 +19,7 @@
+ */
+ 
+ #include <davix_internal_config.hpp>
++#include <sys/time.h>
+ #include "datetime_utils.hpp"
+ 
+ time_t parse_http_date(const char* http_date){
+@@ -32,7 +33,15 @@ time_t parse_http_date(const char* http_
+     if ( p == NULL || *p != '\0'){
+         return -1;
+     }
+-    return mktime(&tm) - timezone;;
++    int _timezone = 0;
++    {
++      struct timeval tv;
++      struct timezone tz;
++      gettimeofday( &tv, &tz );
++      _timezone = -tz.tz_minuteswest * 60;
++    }
++
++    return mktime(&tm) - _timezone;;
+ 
+ }
+ 
+@@ -70,8 +79,15 @@ time_t parse_iso8601date(const char* iso
+         }
+     }
+ 
++    int _timezone = 0;
++    {
++      struct timeval tv;
++      struct timezone tz;
++      gettimeofday( &tv, &tz );
++      _timezone = -tz.tz_minuteswest * 60;
++    }
+ 
+-    return mktime(&tm_time) - timezone;
++    return mktime(&tm_time) - _timezone;
+ 
+ }
+ 

Added: head/www/davix/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/davix/pkg-descr	Sat Jun 16 08:05:23 2018	(r472526)
@@ -0,0 +1,7 @@
+The davix project aims to make file management over HTTP-based protocols simple.
+The focus is on high-performance remote I/O and data management of large
+collections of files. Currently, there is support for the WebDav (link is
+external), Amazon S3 (link is external), Microsoft Azure (link is external), and
+HTTP (link is external) protocols.
+
+WWW: http://dmc.web.cern.ch/projects/davix/home

Added: head/www/davix/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/davix/pkg-plist	Sat Jun 16 08:05:23 2018	(r472526)
@@ -0,0 +1,46 @@
+bin/davix-get
+bin/davix-http
+bin/davix-ls
+bin/davix-mkdir
+bin/davix-mv
+bin/davix-put
+bin/davix-rm
+include/davix/auth/davixauth.hpp
+include/davix/auth/davixx509cred.hpp
+include/davix/compat/davix_ignored.hpp
+include/davix/compat/deprecated.hpp
+include/davix/copy/davixcopy.hpp
+include/davix/davix.hpp
+include/davix/davix_file_types.hpp
+include/davix/davixcontext.hpp
+include/davix/features.hpp
+include/davix/file/davfile.hpp
+include/davix/file/davix_file_info.hpp
+include/davix/file/davposix.hpp
+include/davix/hooks/davix_hooks.hpp
+include/davix/hooks/davix_hooks_fwd.hpp
+include/davix/hooks/davix_hooks_impl.hpp
+include/davix/params/davix_request_params_types.hpp
+include/davix/params/davixrequestparams.hpp
+include/davix/request/httprequest.hpp
+include/davix/status/davixstatusrequest.hpp
+include/davix/utils/davix_azure_utils.hpp
+include/davix/utils/davix_config.hpp
+include/davix/utils/davix_logger.hpp
+include/davix/utils/davix_misc_utils.hpp
+include/davix/utils/davix_nocopy.hpp
+include/davix/utils/davix_s3_utils.hpp
+include/davix/utils/davix_types.hpp
+include/davix/utils/davix_uri.hpp
+lib/libdavix.so
+lib/libdavix.so.0
+lib/libdavix.so.0.6.7
+libdata/pkgconfig/davix.pc
+man/man1/davix-get.1.gz
+man/man1/davix-http.1.gz
+man/man1/davix-ls.1.gz
+man/man1/davix-mkdir.1.gz
+man/man1/davix-mv.1.gz
+man/man1/davix-put.1.gz
+man/man1/davix-rm.1.gz
+man/man3/libdavix.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806160805.w5G85NZ1097779>