Commit c5484586 authored by Olivier Duchateau's avatar Olivier Duchateau
Browse files

Update to 3.36.2

parent bd64488f
# Created by: Dave McKay <dave@mu.org>
# $FreeBSD: head/security/seahorse/Makefile 516988 2019-11-07 17:17:53Z zeising $
PORTNAME= seahorse
PORTVERSION= 3.36.2
CATEGORIES= security gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME application for managing encryption keys (PGP, SSH)
LICENSE= GPLv2+
BUILD_DEPENDS= gnupg>=2.1.4:security/gnupg \
valac:lang/vala \
itstool:textproc/itstool
LIB_DEPENDS= libgpgme.so:security/gpgme \
libgcr-base-3.so:security/gcr \
libsecret-1.so:security/libsecret \
libsoup-2.4.so:devel/libsoup \
libhandy-0.0.so:x11-toolkits/libhandy \
libpwquality.so:security/libpwquality \
libp11-kit.so:security/p11-kit
RUN_DEPENDS= gnupg>=2.1.4:security/gnupg
PORTSCOUT= limitw:1,even
USE_XORG= sm
USE_LDCONFIG= yes
USES= gettext gnome localbase meson pkgconfig \
python:3.6+,build tar:xz xorg
USE_GNOME= glib20 gtk30
INSTALLS_ICONS= yes
# Error when GnuPG is checked!
MESON_ARGS+= -Dcheck-compatible-gpg=false
BINARY_ALIAS= python3=${PYTHON_CMD}
GLIB_SCHEMAS= org.gnome.seahorse.gschema.xml \
org.gnome.seahorse.manager.gschema.xml \
org.gnome.seahorse.window.gschema.xml
OPTIONS_DEFINE= AVAHI LDAP
OPTIONS_DEFAULT= LDAP AVAHI
AVAHI_DESC= DNS-SD key sharing
AVAHI_MESON_TRUE= key-sharing
AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app
LDAP_DESC= LDAP keyserver support
LDAP_MESON_TRUE= ldap-support
LDAP_USE= OPENLDAP=yes
.include <bsd.port.mk>
TIMESTAMP = 1600198532
SHA256 (gnome/seahorse-3.36.2.tar.xz) = 45eb2066aceb4ce192342d55edc5e801b1e054f1963d353f92eeb1776fef959b
SIZE (gnome/seahorse-3.36.2.tar.xz) = 1695824
--- meson.build.orig 2020-06-20 17:53:41 UTC
+++ meson.build
@@ -67,12 +67,17 @@ gpg_bin = find_program('gpg2', 'gpg', required: get_op
gpgme_dep = dependency('gpgme', version: '>= 1.7.0', required: get_option('pgp-support'))
if get_option('pgp-support')
- gpg_version_check = run_command([gpg_check_version, gpg_bin.path(), accepted_gpg_versions ])
- gpg_version = gpg_version_check.stdout()
- message('GnuPG Version: @0@'.format(gpg_version))
- if get_option('check-compatible-gpg') and gpg_version_check.returncode() != 0
- error('Incompatible version of GnuPG. Accepted versions are: @0@'.format(accepted_gpg_versions))
+ r = run_command(gpg_bin.path(), '--version')
+ if r.returncode() != 0
+ error('Error!')
+ else
+ gpg_full_version = r.stdout().strip().split('\n')[0]
+ gpg_version = gpg_full_version.split().get(-1)
endif
+ message('GnuPG Version: @0@'.format(gpg_version))
+ #if get_option('check-compatible-gpg') and gpg_version_check.returncode() != 0
+ # error('Incompatible version of GnuPG. Accepted versions are: @0@'.format(accepted_gpg_versions))
+ #endif
endif
pkcs11_dep = valac.find_library('pkcs11', required: get_option('pkcs11-support'))
@@ -81,8 +86,8 @@ if get_option('pkcs11-support') and not pkcs11_dep.fou
endif
if get_option('ldap-support')
- libldap = cc.find_library('ldap')
- liblber = cc.find_library('lber')
+ libldap = cc.find_library('ldap', dirs: '/usr/local/lib')
+ liblber = cc.find_library('lber', dirs: '/usr/local/lib')
if not libldap.found()
error('Required library "ldap" not found (needed for LDAP support)')
elif not liblber.found()
Seahorse is a Gnome front end for GnuPG - the Gnu Privacy Guard program.
It is a tool for secure communications and data storage.
Data encryption and digital signature creation can easily
be performed through a GUI and Key Management operations
can easily be carried out through an intuitive interface.
WWW: https://wiki.gnome.org/Apps/Seahorse
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment