mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
New port: security/esteidfirefoxplugin
A Firefox plugin that enables in-browser digital signing with Estonian ID cards. PR: 194300 Submitted by: toomas.aas@raad.tartu.ee Reviewed by: marino
This commit is contained in:
parent
1c4a7efaa1
commit
c4e12a20bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398906
@ -116,6 +116,7 @@
|
||||
SUBDIR += engine_pkcs11
|
||||
SUBDIR += erlang-jose
|
||||
SUBDIR += erlang-p1tls
|
||||
SUBDIR += esteidfirefoxplugin
|
||||
SUBDIR += expiretable
|
||||
SUBDIR += f-prot
|
||||
SUBDIR += fakebo
|
||||
|
31
security/esteidfirefoxplugin/Makefile
Normal file
31
security/esteidfirefoxplugin/Makefile
Normal file
@ -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@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>
|
2
security/esteidfirefoxplugin/distinfo
Normal file
2
security/esteidfirefoxplugin/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (esteidfirefoxplugin-3.8.0.1115.tar.gz) = 2783d275f08e3addc1e07990656220568477261367b56aa4737a89e14517afef
|
||||
SIZE (esteidfirefoxplugin-3.8.0.1115.tar.gz) = 444994
|
15
security/esteidfirefoxplugin/files/patch-Makefile
Normal file
15
security/esteidfirefoxplugin/files/patch-Makefile
Normal file
@ -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
|
4
security/esteidfirefoxplugin/pkg-descr
Normal file
4
security/esteidfirefoxplugin/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
A Firefox plugin that enables in-browser digital signing with Estonian ID
|
||||
cards.
|
||||
|
||||
WWW: http://www.id.ee/
|
Loading…
Reference in New Issue
Block a user