mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Update to 1.0.8
- This uses the newest GPGME library instead of the ancient security/gpgme03 - Add LICENSE - Update pkg-descr PR: ports/154640 Submitted by: Jason E dot Hale <bsdkaffee_AT_gmail dot com>
This commit is contained in:
parent
61861c4df3
commit
834aff387a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270156
@ -6,10 +6,10 @@
|
||||
#
|
||||
|
||||
PORTNAME= gpgme
|
||||
PORTVERSION= 0.2
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.0.8
|
||||
CATEGORIES= security ruby
|
||||
MASTER_SITES= http://deisui.org/~ueno/ruby/ruby-gpgme/
|
||||
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
||||
MASTER_SITE_SUBDIR= ruby-gpgme
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
||||
DIST_SUBDIR= ruby
|
||||
@ -17,7 +17,7 @@ DIST_SUBDIR= ruby
|
||||
MAINTAINER= ruby@FreeBSD.org
|
||||
COMMENT= A Ruby interface to GnuPG Made Easy (GPGME)
|
||||
|
||||
LIB_DEPENDS= gpgme03.9:${PORTSDIR}/security/gpgme03
|
||||
LIB_DEPENDS= gpgme.18:${PORTSDIR}/security/gpgme
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
@ -28,6 +28,9 @@ INSTALL_TARGET= site-install
|
||||
DOCS= doc
|
||||
EXAMPLES= examples/*
|
||||
|
||||
LICENSE= LGPL21
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
|
||||
|
||||
post-build:
|
||||
.if !defined(NOPORTDOCS)
|
||||
cd ${BUILD_WRKSRC}; ${RUBY_RDOC} lib
|
||||
|
@ -1,3 +1,2 @@
|
||||
MD5 (ruby/ruby-gpgme-0.2.tar.gz) = 93c2765ef4c74329524ad781163e9f3e
|
||||
SHA256 (ruby/ruby-gpgme-0.2.tar.gz) = a73cea0b7c1b3859a6ef6526e0dbcd9a82b0853c5c9303858407fbd62dc7ed5b
|
||||
SIZE (ruby/ruby-gpgme-0.2.tar.gz) = 18518
|
||||
SHA256 (ruby/ruby-gpgme-1.0.8.tar.gz) = d67532d8cfc469810af4a412c91b90141d2c9871e32fd3fb321e48ca1262fe10
|
||||
SIZE (ruby/ruby-gpgme-1.0.8.tar.gz) = 43676
|
||||
|
@ -1,9 +0,0 @@
|
||||
--- extconf.rb.orig Mon Dec 20 21:35:54 2004
|
||||
+++ extconf.rb Mon Dec 20 21:36:21 2004
|
||||
@@ -1,5 +1,5 @@
|
||||
require 'mkmf'
|
||||
|
||||
-if have_library('gpgme', 'gpgme_check_version') and have_header('gpgme.h')
|
||||
+if have_library('gpgme03', 'gpgme_check_version') and have_header('gpgme03/gpgme.h')
|
||||
create_makefile ('gpgme_n')
|
||||
end
|
@ -1,11 +1,11 @@
|
||||
--- gpgme_n.c.orig Mon Dec 20 21:38:14 2004
|
||||
+++ gpgme_n.c Mon Sep 29 21:35:59 2003
|
||||
@@ -34,7 +34,7 @@
|
||||
this purpose. */
|
||||
--- ./gpgme_n.c.orig 2009-09-16 00:00:05.000000000 -0400
|
||||
+++ ./gpgme_n.c 2010-10-13 08:09:19.000000000 -0400
|
||||
@@ -411,6 +411,8 @@
|
||||
static VALUE
|
||||
rb_s_gpgme_new (VALUE dummy, VALUE rctx)
|
||||
{
|
||||
+ gpgme_check_version(NULL);
|
||||
+
|
||||
gpgme_ctx_t ctx;
|
||||
gpgme_error_t err = gpgme_new (&ctx);
|
||||
|
||||
#include "ruby.h"
|
||||
-#include "gpgme.h"
|
||||
+#include "gpgme03/gpgme.h"
|
||||
|
||||
/* StringValuePtr is not available in 1.6. */
|
||||
#ifndef StringValuePtr
|
||||
|
@ -1,12 +1,14 @@
|
||||
Ruby-GPGME is a ruby interface to GnuPG Made Easy (GPGME).
|
||||
|
||||
- Provides high-level and low-level API.
|
||||
- Provides three levels of API.
|
||||
|
||||
- The low-level API allows direct access to about 94% of C functions
|
||||
provided by GPGME.
|
||||
|
||||
- The mid-level API looks object-oriented (or rubyish).
|
||||
|
||||
- The high-level API provides a convenient class-based interface to
|
||||
frequently used GPGME functions.
|
||||
|
||||
WWW: http://deisui.org/~ueno/ruby/ruby-gpgme/index.html.en
|
||||
WWW: http://ruby-gpgme.rubyforge.org/
|
||||
Author: Daiki Ueno
|
||||
|
@ -1,7 +1,12 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/gpgme_n.so
|
||||
%%RUBY_SITELIBDIR%%/gpgme.rb
|
||||
%%RUBY_SITELIBDIR%%/gpgme/compat.rb
|
||||
%%RUBY_SITELIBDIR%%/gpgme/constants.rb
|
||||
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/edit.rb
|
||||
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/genkey.rb
|
||||
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/keylist.rb
|
||||
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/roundtrip.rb
|
||||
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sign.rb
|
||||
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/verify.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
|
||||
@dirrm %%RUBY_SITELIBDIR%%/gpgme
|
||||
|
Loading…
Reference in New Issue
Block a user