[112181] trunk/dports/security
ryandesign at macports.org
ryandesign at macports.org
Mon Oct 14 11:54:23 PDT 2013
Revision: 112181
https://trac.macports.org/changeset/112181
Author: ryandesign at macports.org
Date: 2013-10-14 11:54:23 -0700 (Mon, 14 Oct 2013)
Log Message:
-----------
gnomint: new port, version 1.2.1 (#40765)
Added Paths:
-----------
trunk/dports/security/gnomint/
trunk/dports/security/gnomint/Portfile
trunk/dports/security/gnomint/files/
trunk/dports/security/gnomint/files/patch-configure.in.diff
trunk/dports/security/gnomint/files/patch-src-Makefile.am.diff
trunk/dports/security/gnomint/files/patch-src-import.c.diff
Added: trunk/dports/security/gnomint/Portfile
===================================================================
--- trunk/dports/security/gnomint/Portfile (rev 0)
+++ trunk/dports/security/gnomint/Portfile 2013-10-14 18:54:23 UTC (rev 112181)
@@ -0,0 +1,42 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name gnomint
+version 1.2.1
+categories security
+platforms darwin
+maintainers phlo.org:fgp
+license GPL-3+
+
+description Single-user PKI with graphical (GTK) and CLI interface
+
+long_description gnoMint provides a GUI and a CLI to manage a simple PKI. \
+ Supports multiple root certificates, intermediate certificates, \
+ creating/importing and signing of CSRs and certificate \
+ revokation. Stores the whole PKI in a single SQLite file.
+
+homepage http://gnomint.sourceforge.net/
+master_sites sourceforge:project/gnomint/gnomint/${version}
+
+checksums rmd160 6a55b7329aa81c895a6f9bfb04b82d9759f5a10f \
+ sha256 6186ca6073e912bad5e0b026bc704430098a54392f3741d62929cc6fca3c38b0
+
+depends_build port:pkgconfig
+
+depends_lib port:gconf \
+ port:gettext \
+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ port:gnutls \
+ port:gtk2 \
+ port:libgcrypt \
+ port:readline \
+ port:sqlite3 \
+ port:zlib
+
+patchfiles patch-configure.in.diff \
+ patch-src-Makefile.am.diff \
+ patch-src-import.c.diff
+
+use_autoreconf yes
Property changes on: trunk/dports/security/gnomint/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/security/gnomint/files/patch-configure.in.diff
===================================================================
--- trunk/dports/security/gnomint/files/patch-configure.in.diff (rev 0)
+++ trunk/dports/security/gnomint/files/patch-configure.in.diff 2013-10-14 18:54:23 UTC (rev 112181)
@@ -0,0 +1,10 @@
+--- configure.in.orig
++++ configure.in
+@@ -181,7 +181,6 @@ dnl
+
+ dnl
+ if test "x$GCC" = "xyes"; then
+- CFLAGS="-Wall -Werror"
+ if test "x$use_debug" = "xYes"; then
+ CFLAGS="$CFLAGS -g -O0"
+ fi
Added: trunk/dports/security/gnomint/files/patch-src-Makefile.am.diff
===================================================================
--- trunk/dports/security/gnomint/files/patch-src-Makefile.am.diff (rev 0)
+++ trunk/dports/security/gnomint/files/patch-src-Makefile.am.diff 2013-10-14 18:54:23 UTC (rev 112181)
@@ -0,0 +1,10 @@
+--- src/Makefile.am.orig
++++ src/Makefile.am
+@@ -81,6 +81,7 @@ gnomint_cli_SOURCES = \
+
+ gnomint_cli_LDADD = \
+ $(GNOMINTCLI_LIBS) \
++ $(LIBGCRYPT_LIBS) \
+ $(LIBGNUTLS_LIBS) \
+ $(SQLITE_LIBS) \
+ $(READLINE_LIBS) \
Added: trunk/dports/security/gnomint/files/patch-src-import.c.diff
===================================================================
--- trunk/dports/security/gnomint/files/patch-src-import.c.diff (rev 0)
+++ trunk/dports/security/gnomint/files/patch-src-import.c.diff 2013-10-14 18:54:23 UTC (rev 112181)
@@ -0,0 +1,29 @@
+--- src/import.c.orig
++++ src/import.c
+@@ -695,7 +695,7 @@ gint import_pkcs12 (guchar *file_contents, gsize file_contents_size)
+
+ // After having all the parts unencrypted, we import all certificates first.
+ for (i=0; i<n_bags; i++) {
+- gnutls_pkcs12_bag * pkcs12_bag = g_array_index (pkcs_bag_array, gnutls_pkcs12_bag_t *, i);
++ gnutls_pkcs12_bag_t * pkcs12_bag = g_array_index (pkcs_bag_array, gnutls_pkcs12_bag_t *, i);
+ guint num_elements_in_bag = gnutls_pkcs12_bag_get_count (*pkcs12_bag);
+
+ for (i=0; i < num_elements_in_bag; i++) {
+@@ -722,7 +722,7 @@ gint import_pkcs12 (guchar *file_contents, gsize file_contents_size)
+
+ // Then, we import all PKCS8 private keys.
+ for (i=0; i<n_bags; i++) {
+- gnutls_pkcs12_bag * pkcs12_bag = g_array_index (pkcs_bag_array, gnutls_pkcs12_bag_t *, i);
++ gnutls_pkcs12_bag_t* pkcs12_bag = g_array_index (pkcs_bag_array, gnutls_pkcs12_bag_t *, i);
+ guint num_elements_in_bag = gnutls_pkcs12_bag_get_count (*pkcs12_bag);
+
+ for (i=0; i < num_elements_in_bag; i++) {
+@@ -796,7 +796,7 @@ gint import_pkcs12 (guchar *file_contents, gsize file_contents_size)
+ // Then we import the CRLs
+
+ for (i=0; i<n_bags; i++) {
+- gnutls_pkcs12_bag * pkcs12_bag = g_array_index (pkcs_bag_array, gnutls_pkcs12_bag_t *, i);
++ gnutls_pkcs12_bag_t * pkcs12_bag = g_array_index (pkcs_bag_array, gnutls_pkcs12_bag_t *, i);
+ guint num_elements_in_bag = gnutls_pkcs12_bag_get_count (*pkcs12_bag);
+
+ for (i=0; i < num_elements_in_bag; i++) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131014/13f8ce73/attachment-0001.html>
More information about the macports-changes
mailing list