From owner-svn-ports-all@freebsd.org Sat Jun 16 08:05:25 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E1AF100E1CF; Sat, 16 Jun 2018 08:05:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2EB8778F7F; Sat, 16 Jun 2018 08:05:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0EB1923A3B; Sat, 16 Jun 2018 08:05:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5G85OAH097787; Sat, 16 Jun 2018 08:05:24 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5G85NZ1097779; Sat, 16 Jun 2018 08:05:23 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201806160805.w5G85NZ1097779@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 16 Jun 2018 08:05:23 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/www: . davix davix/files X-SVN-Commit-Revision: 472526 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2018 08:05:25 -0000 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 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 + #endif + #include +-#ifdef HAVE_SYS_SOCKET_H ++//#ifdef HAVE_SYS_SOCKET_H + #include +-#endif ++//#endif + + #ifdef __linux__ + #include 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 ++#include + #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