1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

security/keepassx2: Update to 2.0.3

- Update to 2.0.3
- Add LICENSE block
- Register conflicts between keepassx2 and keepassx-devel
- Use CMAKE arguments for ZLIB_SUPPORTS_GZIP instead patch-CMakeLists.txt

PR:		212944
Submitted by:	Eric Camachat <eric@camachat.org>
Approved by:	koobs (mentor)
MFH:		2016Q4
This commit is contained in:
Carlos J. Puga Medina 2016-10-20 01:16:16 +00:00
parent 3ba61b4d29
commit 19314093dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424298
3 changed files with 15 additions and 20 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= keepassx
PORTVERSION= 2.0.2
PORTREVISION= 1
PORTVERSION= 2.0.3
PORTEPOCH= 2
CATEGORIES= security
MASTER_SITES= https://www.keepassx.org/releases/${PORTVERSION}/
@ -12,9 +11,18 @@ PKGNAMESUFFIX= 2
MAINTAINER= eric@camachat.org
COMMENT= Cross Platform Password Manager
LICENSE= BOOST-1.0 BSD3CLAUSE CC0-1.0 GPLv2 GPLv3 LGPL21 LGPL3 NOKIA-LGPL-EXCEPTION
LICENSE_COMB= multi
LICENSE_NAME_BOOST-1.0= Boost Software License version 1.0
LICENSE_NAME_NOKIA-LGPL-EXCEPTION= Nokia Qt LGPL Exception version 1.1
LICENSE_FILE_BOOST-1.0= ${WRKSRC}/LICENSE.BOOST-1.0
LICENSE_FILE_NOKIA-LGPL-EXCEPTION= ${WRKSRC}/LICENSE.NOKIA-LGPL-EXCEPTION
LICENSE_PERMS_BOOST-1.0= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_NOKIA-LGPL-EXCEPTION= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LIB_DEPENDS= libgcrypt.so:security/libgcrypt
CONFLICTS_INSTALL= keepassx-0.*
CONFLICTS_INSTALL= keepassx-0.* keepassx-devel-*
USES= cmake compiler:features desktop-file-utils shared-mime-info
USE_LDCONFIG= yes
@ -29,5 +37,6 @@ USE_XORG= ice inputproto sm x11 xcursor xext xfixes xi xrandr xrender \
.if !${COMPILER_FEATURES:Mc++0x}
CMAKE_ARGS+= -DWITH_CXX11:BOOL=OFF
.endif
CMAKE_ARGS+= -DZLIB_SUPPORTS_GZIP:BOOL=ON
.include <bsd.port.post.mk>

View File

@ -1,2 +1,3 @@
SHA256 (keepassx-2.0.2.tar.gz) = 204bdcf49c72078cd6f02b4f29b062923cca9e7b2d3551f2bf352763daa236b8
SIZE (keepassx-2.0.2.tar.gz) = 1532353
TIMESTAMP = 1476902766
SHA256 (keepassx-2.0.3.tar.gz) = 23ffb4ae360c58aa139943442d175bc6b8f08e6a876ae76c4543ab983a6647c5
SIZE (keepassx-2.0.3.tar.gz) = 1540235

View File

@ -1,15 +0,0 @@
--- CMakeLists.txt.orig 2013-10-29 23:22:19.870422125 +0000
+++ CMakeLists.txt 2013-10-29 23:22:29.394420605 +0000
@@ -175,9 +175,9 @@
int main() { return 0; }" ZLIB_SUPPORTS_GZIP)
-if(NOT ZLIB_SUPPORTS_GZIP)
- message(FATAL_ERROR "zlib 1.2.x or higher is required to use the gzip format")
-endif()
+#if(NOT ZLIB_SUPPORTS_GZIP)
+# message(FATAL_ERROR "zlib 1.2.x or higher is required to use the gzip format")
+#endif()
if(UNIX)
check_cxx_source_compiles("#include <sys/prctl.h>