mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
Add ruby-pam, a Ruby extension to use PAM library.
It doesn't work properly yet, but I'd appreciate if someone could investigate the problem further. (Seems it always fails to authenticate due to PAM_MODULE_UNKNOWN) ALso, note that it doesn't even load a module successfully because FreeBSD's PAM modules are not linked with libpam.so. Add -lpam to LDADD, then rebuild and reinstall PAM modules before trying this library out.
This commit is contained in:
parent
a11b14c2da
commit
91aeca743e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43322
@ -137,6 +137,7 @@
|
||||
SUBDIR += rsaref
|
||||
SUBDIR += ruby-acl
|
||||
SUBDIR += ruby-blowfish
|
||||
SUBDIR += ruby-pam
|
||||
SUBDIR += ruby-sha1
|
||||
SUBDIR += ruby-ssl
|
||||
SUBDIR += ruby-tcpwrap
|
||||
|
35
security/ruby-pam/Makefile
Normal file
35
security/ruby-pam/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# New ports collection makefile for: Ruby/PAM
|
||||
# Date created: 29 May 2001
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pam
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= security ruby
|
||||
MASTER_SITES= http://kt-www.jaist.ac.jp/~ttate/ftp/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
DOCS_EN= ChangeLog README README.html
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
|
||||
.for f in ${DOCS_EN}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
|
||||
.endfor
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/test/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
security/ruby-pam/distinfo
Normal file
1
security/ruby-pam/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/ruby-pam-1.1.tar.gz) = 6e97164725dd4432f0696cecd48f763f
|
1
security/ruby-pam/pkg-comment
Normal file
1
security/ruby-pam/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Ruby extension to use PAM library
|
5
security/ruby-pam/pkg-descr
Normal file
5
security/ruby-pam/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Ruby/PAM is a ruby extension module for accessing linux and solaris
|
||||
pam library.
|
||||
|
||||
WWW: http://kt-www.jaist.ac.jp/~ttate/lang/ruby/ruby-pam.html
|
||||
Author: Takaaki Tateishi <ttate@jaist.ac.jp>
|
9
security/ruby-pam/pkg-plist
Normal file
9
security/ruby-pam/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/pam.so
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pam/check_get_item.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pam/check_user.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pam/gc_test.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/pam
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/pam/ChangeLog
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/pam/README
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/pam/README.html
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/pam
|
Loading…
Reference in New Issue
Block a user