1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

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
This commit is contained in:
Steve Wills 2017-01-04 01:22:40 +00:00
parent 0130c569fa
commit 106a197393
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430526
5 changed files with 39 additions and 0 deletions

View File

@ -1050,6 +1050,7 @@
SUBDIR += rubygem-six
SUBDIR += rubygem-sshkey
SUBDIR += rubygem-sshkit
SUBDIR += rubygem-timfel-krb5
SUBDIR += rubygem-twitter_oauth
SUBDIR += s2n
SUBDIR += safesh

View File

@ -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>

View File

@ -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

View File

@ -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')

View File

@ -0,0 +1,3 @@
timfel-krb5-auth - ruby wrapper for KRB5
WWW: https://github.com/timfel/krb5-auth