Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2016 18:01:05 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428373 - in head/sysutils/fusefs-encfs: . files
Message-ID:  <201612111801.uBBI15mg063092@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Dec 11 18:01:05 2016
New Revision: 428373
URL: https://svnweb.freebsd.org/changeset/ports/428373

Log:
  Update to 1.9.1
  
  PR:		215204
  Submitted by:	dg@syrec.org (maintainer)

Added:
  head/sysutils/fusefs-encfs/files/patch-CMakeLists.txt   (contents, props changed)
Deleted:
  head/sysutils/fusefs-encfs/files/patch-encfs_encfs.h
  head/sysutils/fusefs-encfs/files/patch-encfs_main.cpp
  head/sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp
Modified:
  head/sysutils/fusefs-encfs/Makefile
  head/sysutils/fusefs-encfs/distinfo
  head/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp
  head/sysutils/fusefs-encfs/pkg-plist

Modified: head/sysutils/fusefs-encfs/Makefile
==============================================================================
--- head/sysutils/fusefs-encfs/Makefile	Sun Dec 11 17:53:52 2016	(r428372)
+++ head/sysutils/fusefs-encfs/Makefile	Sun Dec 11 18:01:05 2016	(r428373)
@@ -2,9 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	encfs
-PORTVERSION=	1.8.1
-DISTVERSIONPREFIX=v
-PORTREVISION=	2
+PORTVERSION=	1.9.1
+DISTVERSIONPREFIX=	v
 CATEGORIES=	sysutils
 PKGNAMEPREFIX=	fusefs-
 
@@ -12,32 +11,27 @@ MAINTAINER=	dg@syrec.org
 COMMENT=	Encrypted pass-through FUSE filesystem
 
 LICENSE=	GPLv3
-
-LIB_DEPENDS=	librlog.so:devel/rlog \
-		libboost_serialization.so:devel/boost-libs
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 BROKEN_powerpc64=	does not build
 
-WRKSRC=		${WRKDIR}/encfs-${PORTVERSION}
-
-USES=		compiler:c++11-lib fuse autoreconf libtool pkgconfig
+USES=		cmake:outsource compiler:c++11-lib fuse ssl
 USE_GITHUB=	yes
 GH_ACCOUNT=	vgough
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-boost-serialization=boost_serialization
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-USE_LDCONFIG=	yes
-USE_OPENSSL=	yes
-INSTALL_TARGET=	install-strip
 
-OPTIONS_DEFINE=	NLS
+OPTIONS_DEFINE=	BUNDLED_TINYXML MANPAGES NLS
+OPTIONS_DEFAULT=	BUNDLED_TINYXML MANPAGES
 OPTIONS_SUB=	yes
-NLS_USES=	gettext
-NLS_CONFIGURE_ENABLE=	nls
 
-pre-configure:
-	@${REINPLACE_CMD} '/OPENSSL_LIBS=/s/-lssl/& -lcrypto/' \
-		${WRKSRC}/configure.ac
+BUNDLED_TINYXML_DESC=	Use bundled TinyXML2 instead of textproc/tinyxml2
+BUNDLED_TINYXML_CMAKE_BOOL=	USE_INTERNAL_TINYXML
+BUNDLED_TINYXML_LIB_DEPENDS_OFF=	libtinyxml2.so:textproc/tinyxml2
+
+MANPAGES_DESC=	Install manpages (requires Perl 5)
+MANPAGES_USES=	perl5
+MANPAGES_USE=	perl5=build
+
+NLS_USES=	gettext
+NLS_CMAKE_BOOL=	ENABLE_NLS
 
 .include <bsd.port.mk>

Modified: head/sysutils/fusefs-encfs/distinfo
==============================================================================
--- head/sysutils/fusefs-encfs/distinfo	Sun Dec 11 17:53:52 2016	(r428372)
+++ head/sysutils/fusefs-encfs/distinfo	Sun Dec 11 18:01:05 2016	(r428373)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1465595410
-SHA256 (vgough-encfs-v1.8.1_GH0.tar.gz) = ed6b69d8aba06382ad01116bbce2e4ad49f8de85cdf4e2fab7ee4ac82af537e9
-SIZE (vgough-encfs-v1.8.1_GH0.tar.gz) = 316534
+TIMESTAMP = 1481339464
+SHA256 (vgough-encfs-v1.9.1_GH0.tar.gz) = 67203aeff7a06ce7be83df4948db296be89a00cffe1108a0a41c96d7481106a4
+SIZE (vgough-encfs-v1.9.1_GH0.tar.gz) = 455910

Added: head/sysutils/fusefs-encfs/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-encfs/files/patch-CMakeLists.txt	Sun Dec 11 18:01:05 2016	(r428373)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2016-12-10 16:58:46 UTC
++++ CMakeLists.txt
+@@ -229,7 +229,7 @@ if (POD2MAN)
+             ${CMAKE_SOURCE_DIR}/encfs/encfsctl.pod encfsctl.1)
+ 
+   install (FILES ${CMAKE_BINARY_DIR}/encfs.1 ${CMAKE_BINARY_DIR}/encfsctl.1
+-    DESTINATION share/man/man1)
++    DESTINATION man/man1)
+ endif (POD2MAN)
+ 
+ # Tests

Modified: head/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp
==============================================================================
--- head/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp	Sun Dec 11 17:53:52 2016	(r428372)
+++ head/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp	Sun Dec 11 18:01:05 2016	(r428373)
@@ -1,18 +1,11 @@
---- encfs/encfs.cpp.orig	2015-03-24 20:45:16 UTC
+--- encfs/encfs.cpp.orig	2016-09-18 20:16:04 UTC
 +++ encfs/encfs.cpp
-@@ -529,6 +529,15 @@ int encfs_open(const char *path, struct 
-   return res;
+@@ -741,6 +741,6 @@ int encfs_removexattr(const char *path, 
+                         bind(_do_removexattr, _1, _2, name));
  }
  
-+int encfs_create(const char *path, mode_t mode, struct fuse_file_info *file) {
-+  int res = encfs_mknod(path, mode, 0);
-+  if (res) {
-+    return res;
-+  }
+-}  // namespace encfs
+-
+ #endif  // HAVE_XATTR
 +
-+  return encfs_open(path, file);
-+}
-+
- int _do_flush(FileNode *fnode) {
-   /* Flush can be called multiple times for an open file, so it doesn't
-      close the file.  However it is important to call close() for some
++}  // namespace encfs

Modified: head/sysutils/fusefs-encfs/pkg-plist
==============================================================================
--- head/sysutils/fusefs-encfs/pkg-plist	Sun Dec 11 17:53:52 2016	(r428372)
+++ head/sysutils/fusefs-encfs/pkg-plist	Sun Dec 11 18:01:05 2016	(r428373)
@@ -1,11 +1,8 @@
 bin/encfs
 bin/encfsctl
 bin/encfssh
-lib/libencfs.so
-lib/libencfs.so.6
-lib/libencfs.so.6.0.2
-man/man1/encfs.1.gz
-man/man1/encfsctl.1.gz
+%%MANPAGES%%man/man1/encfs.1.gz
+%%MANPAGES%%man/man1/encfsctl.1.gz
 %%NLS%%share/locale/ar/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/be/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/bg/LC_MESSAGES/encfs.mo
@@ -13,22 +10,19 @@ man/man1/encfsctl.1.gz
 %%NLS%%share/locale/ca/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/da/LC_MESSAGES/encfs.mo
-%%NLS%%share/locale/de/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/de_AT/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/de_CH/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/de_DE/LC_MESSAGES/encfs.mo
+%%NLS%%share/locale/de/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/el/LC_MESSAGES/encfs.mo
-%%NLS%%share/locale/en_AU/LC_MESSAGES/encfs.mo
-%%NLS%%share/locale/en_CA/LC_MESSAGES/encfs.mo
-%%NLS%%share/locale/en_GB/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/eo/LC_MESSAGES/encfs.mo
-%%NLS%%share/locale/es/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/es_ES/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/es_PE/LC_MESSAGES/encfs.mo
+%%NLS%%share/locale/es/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/et/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/fi/LC_MESSAGES/encfs.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/fr_FR/LC_MESSAGES/encfs.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/gl/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/he/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/hr/LC_MESSAGES/encfs.mo
@@ -44,9 +38,9 @@ man/man1/encfsctl.1.gz
 %%NLS%%share/locale/nn/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/oc/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/pl/LC_MESSAGES/encfs.mo
-%%NLS%%share/locale/pt/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/pt_PT/LC_MESSAGES/encfs.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/ro/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/ru/LC_MESSAGES/encfs.mo
 %%NLS%%share/locale/sk/LC_MESSAGES/encfs.mo



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