mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Add ruby-ssl, an SSL socket module for Ruby.
This commit is contained in:
parent
8940d3c747
commit
c80b35ad72
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36993
@ -109,6 +109,7 @@
|
||||
SUBDIR += rid
|
||||
SUBDIR += rsaref
|
||||
SUBDIR += ruby-acl
|
||||
SUBDIR += ruby-ssl
|
||||
SUBDIR += ruby-tcpwrap
|
||||
SUBDIR += saint
|
||||
SUBDIR += scanssh
|
||||
|
31
security/ruby-ssl/Makefile
Normal file
31
security/ruby-ssl/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# New ports collection makefile for: Ruby-ssl
|
||||
# Date created: 9 Jan 2001
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ssl
|
||||
PORTVERSION= 0.0.1
|
||||
CATEGORIES= security ruby
|
||||
MASTER_SITES= http://www.notwork.org/~gotoyuzo/ruby/src/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
USE_OPENSSL= yes
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
||||
CONFIGURE_ARGS= --with-ssl-include="${OPENSSLBASE}/include/openssl" \
|
||||
--with-ssl-lib="${OPENSSLBASE}/lib"
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/ssl
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/ssl/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
security/ruby-ssl/distinfo
Normal file
1
security/ruby-ssl/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/ssl-0.0.1.tar.gz) = e1246b8365ab1993024f0be252a1ace0
|
11
security/ruby-ssl/files/patch-extconf.rb
Normal file
11
security/ruby-ssl/files/patch-extconf.rb
Normal file
@ -0,0 +1,11 @@
|
||||
--- extconf.rb.orig Tue Jan 2 06:03:16 2001
|
||||
+++ extconf.rb Tue Jan 9 19:47:42 2001
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
SSLLIB="ssl"
|
||||
|
||||
-$CFLAGS += "-I/usr/include/openssl "
|
||||
+dir_config("ssl")
|
||||
$LDFLAGS += "-lcrypto "
|
||||
|
||||
if have_header("ssl.h")
|
1
security/ruby-ssl/pkg-comment
Normal file
1
security/ruby-ssl/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
SSL socket module for Ruby
|
3
security/ruby-ssl/pkg-descr
Normal file
3
security/ruby-ssl/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
This is a Ruby module for handling SSL sockets, ported from Python.
|
||||
|
||||
Author: GOTOU YUUZOU <gotoyuzo@notwork.org>
|
9
security/ruby-ssl/pkg-plist
Normal file
9
security/ruby-ssl/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/ssl.so
|
||||
%%RUBY_SITELIBDIR%%/buffering.rb
|
||||
%%RUBY_SITELIBDIR%%/ssl.rb
|
||||
%%RUBY_EXAMPLESDIR%%/ssl/cli.rb
|
||||
%%RUBY_EXAMPLESDIR%%/ssl/sample.crt
|
||||
%%RUBY_EXAMPLESDIR%%/ssl/sample.key
|
||||
%%RUBY_EXAMPLESDIR%%/ssl/svr.rb
|
||||
%%RUBY_EXAMPLESDIR%%/ssl/wget.rb
|
||||
@dirrm %%RUBY_EXAMPLESDIR%%/ssl
|
Loading…
Reference in New Issue
Block a user