svn commit: r398906 - in head/security: . esteidfirefoxplugin esteidfirefoxplugin/files

Tijl Coosemans tijl at FreeBSD.org
Fri Oct 9 09:06:18 UTC 2015


Author: tijl
Date: Fri Oct  9 09:06:16 2015
New Revision: 398906
URL: https://svnweb.freebsd.org/changeset/ports/398906

Log:
  New port: security/esteidfirefoxplugin
  
  A Firefox plugin that enables in-browser digital signing with Estonian ID
  cards.
  
  PR:		194300
  Submitted by:	toomas.aas at raad.tartu.ee
  Reviewed by:	marino

Added:
  head/security/esteidfirefoxplugin/
  head/security/esteidfirefoxplugin/Makefile   (contents, props changed)
  head/security/esteidfirefoxplugin/distinfo   (contents, props changed)
  head/security/esteidfirefoxplugin/files/
  head/security/esteidfirefoxplugin/files/patch-Makefile   (contents, props changed)
  head/security/esteidfirefoxplugin/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Fri Oct  9 07:35:26 2015	(r398905)
+++ head/security/Makefile	Fri Oct  9 09:06:16 2015	(r398906)
@@ -116,6 +116,7 @@
     SUBDIR += engine_pkcs11
     SUBDIR += erlang-jose
     SUBDIR += erlang-p1tls
+    SUBDIR += esteidfirefoxplugin
     SUBDIR += expiretable
     SUBDIR += f-prot
     SUBDIR += fakebo

Added: head/security/esteidfirefoxplugin/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/esteidfirefoxplugin/Makefile	Fri Oct  9 09:06:16 2015	(r398906)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME=	esteidfirefoxplugin
+PORTVERSION=	3.8.0.1115
+CATEGORIES=	security
+MASTER_SITES=	https://installer.id.ee/media/sources/
+
+MAINTAINER=	toomas.aas at raad.tartu.ee
+COMMENT=	Digital signing with Estonian ID card in Firefox
+
+LICENSE=	LGPL21
+
+RUN_DEPENDS=	opensc-tool:${PORTSDIR}/security/opensc \
+		pcscd:${PORTSDIR}/devel/pcsc-lite
+
+USE_OPENSSL=	yes
+USE_GNOME=	gtk20
+USES=		webplugin:gecko pkgconfig
+WEBPLUGIN_DIR=	${PREFIX}/lib
+WEBPLUGIN_FILES=	npesteid-firefox-plugin.so
+
+ALL_TARGET=	plugin
+
+EXTRACT_AFTER_ARGS=	--exclude 'include/openssl'
+
+PLIST_FILES=	lib/npesteid-firefox-plugin.so
+
+post-install:
+	${INSTALL_LIB} ${WRKSRC}/npesteid-firefox-plugin.so ${STAGEDIR}${PREFIX}/lib
+
+.include <bsd.port.mk>

Added: head/security/esteidfirefoxplugin/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/esteidfirefoxplugin/distinfo	Fri Oct  9 09:06:16 2015	(r398906)
@@ -0,0 +1,2 @@
+SHA256 (esteidfirefoxplugin-3.8.0.1115.tar.gz) = 2783d275f08e3addc1e07990656220568477261367b56aa4737a89e14517afef
+SIZE (esteidfirefoxplugin-3.8.0.1115.tar.gz) = 444994

Added: head/security/esteidfirefoxplugin/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/esteidfirefoxplugin/files/patch-Makefile	Fri Oct  9 09:06:16 2015	(r398906)
@@ -0,0 +1,15 @@
+--- ./Makefile.orig	2013-04-29 17:49:10.000000000 +0300
++++ ./Makefile	2014-09-10 16:37:31.000000000 +0300
+@@ -1,10 +1,10 @@
+ # EstEID Browser Plugin
+-CC = gcc
++CC = cc
+ COMMON_HEADERS = common/esteid_certinfo.h common/pkcs11_errors.h common/esteid_log.h common/esteid_sign.h common/esteid_timer.h common/esteid_time.h common/l10n.h common/labels.h common/esteid_map.h common/esteid_dialog_common.h 
+ COMMON_SOURCES = common/esteid_certinfo.c common/pkcs11_errors.c common/esteid_log.c common/esteid_sign.c common/esteid_timer.c common/esteid_time.c common/l10n.c common/l10n-linux.c common/esteid_map.c common/esteid_dialog_common.c
+ C_FLAGS = -g -O2 -std=gnu99 -Wall $(CPPFLAGS)
+ I_FLAGS = -Iinclude -Icommon `pkg-config --cflags gtk+-2.0`
+-L_FLAGS = -ldl -lcrypto -lpthread `pkg-config --libs gtk+-2.0`
++L_FLAGS = -lcrypto -lpthread `pkg-config --libs gtk+-2.0`
+ D_FLAGS = -DXP_UNIX -DMOZ_X11
+ PLUGIN_HEADERS = firefox/plugin.h firefox/plugin-class.h firefox/cert-class.h
+ PLUGIN_SOURCES = firefox/plugin.c firefox/plugin-class.c firefox/cert-class.c

Added: head/security/esteidfirefoxplugin/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/esteidfirefoxplugin/pkg-descr	Fri Oct  9 09:06:16 2015	(r398906)
@@ -0,0 +1,4 @@
+A Firefox plugin that enables in-browser digital signing with Estonian ID
+cards.
+
+WWW: http://www.id.ee/


More information about the svn-ports-all mailing list