diff options
author | swills <swills@FreeBSD.org> | 2017-01-04 09:22:40 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2017-01-04 09:22:40 +0800 |
commit | aa4898c97844664facc3eeb49c668462580179fe (patch) | |
tree | 05ac04078bb431aebbb4e76dc05387f559b489c2 /security/rubygem-timfel-krb5 | |
parent | 9479fa20ef5f14e06ab2c3b6fab0fccd7204b2a9 (diff) | |
download | freebsd-ports-gnome-aa4898c97844664facc3eeb49c668462580179fe.tar.gz freebsd-ports-gnome-aa4898c97844664facc3eeb49c668462580179fe.tar.zst freebsd-ports-gnome-aa4898c97844664facc3eeb49c668462580179fe.zip |
security/rubygem-timfel-krb5: create port
timfel-krb5-auth - ruby wrapper for KRB5
WWW: https://github.com/timfel/krb5-auth
PR: 199695
Submitted by: yerenkow@gmail.com
Diffstat (limited to 'security/rubygem-timfel-krb5')
-rw-r--r-- | security/rubygem-timfel-krb5/Makefile | 17 | ||||
-rw-r--r-- | security/rubygem-timfel-krb5/distinfo | 3 | ||||
-rw-r--r-- | security/rubygem-timfel-krb5/files/patch-ext_extconf.rb | 15 | ||||
-rw-r--r-- | security/rubygem-timfel-krb5/pkg-descr | 3 |
4 files changed, 38 insertions, 0 deletions
diff --git a/security/rubygem-timfel-krb5/Makefile b/security/rubygem-timfel-krb5/Makefile new file mode 100644 index 000000000000..317deb0e5974 --- /dev/null +++ b/security/rubygem-timfel-krb5/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ + +PORTNAME= timfel-krb5-auth +PORTVERSION= 0.8.3 +CATEGORIES= security rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= KRB5 for Ruby + +BUILD_DEPENDS= krb5>0:security/krb5 +RUN_DEPENDS= krb5>0:security/krb5 + +USE_RUBY= yes +USES= gem + +.include <bsd.port.mk> diff --git a/security/rubygem-timfel-krb5/distinfo b/security/rubygem-timfel-krb5/distinfo new file mode 100644 index 000000000000..661f629fd3e3 --- /dev/null +++ b/security/rubygem-timfel-krb5/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1483485734 +SHA256 (rubygem/timfel-krb5-auth-0.8.3.gem) = ab388c9d747fa3cd95baf2cc1c03253e372d8c680adcc543670f4f099854bb80 +SIZE (rubygem/timfel-krb5-auth-0.8.3.gem) = 10240 diff --git a/security/rubygem-timfel-krb5/files/patch-ext_extconf.rb b/security/rubygem-timfel-krb5/files/patch-ext_extconf.rb new file mode 100644 index 000000000000..5d8890306594 --- /dev/null +++ b/security/rubygem-timfel-krb5/files/patch-ext_extconf.rb @@ -0,0 +1,15 @@ +--- ext/extconf.rb.orig 2017-01-04 01:13:32 UTC ++++ ext/extconf.rb +@@ -4,8 +4,8 @@ RbConfig::MAKEFILE_CONFIG['CC'] = ENV['C + extension_name = 'krb5_auth' + dir_config(extension_name) + have_library("c", "main") +-raise "Cannot find krb5 library" unless have_library("krb5","krb5_init_context") +-raise "Cannot find krb5 headers" unless have_header("krb5.h") +-have_library("com_err","error_message") +-have_header("com_err.h") ++raise "Cannot find krb5 library" unless find_library("krb5","krb5_init_context") ++raise "Cannot find krb5 headers" unless find_header("krb5.h") ++find_library("com_err","error_message") ++find_header("com_err.h") + create_makefile('krb5_auth') diff --git a/security/rubygem-timfel-krb5/pkg-descr b/security/rubygem-timfel-krb5/pkg-descr new file mode 100644 index 000000000000..2c3221fcb3f4 --- /dev/null +++ b/security/rubygem-timfel-krb5/pkg-descr @@ -0,0 +1,3 @@ +timfel-krb5-auth - ruby wrapper for KRB5 + +WWW: https://github.com/timfel/krb5-auth |