aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-31 00:00:25 +0800
committerknu <knu@FreeBSD.org>2001-05-31 00:00:25 +0800
commit405ed11b871d52985a24f72262cf1ef920c3d5b0 (patch)
tree827d0d32667a6194755ffac090e67d7a5b7a3092 /security
parent0c25c5595e62170dc7d8f976cc0bc6d00df44768 (diff)
downloadfreebsd-ports-gnome-405ed11b871d52985a24f72262cf1ef920c3d5b0.tar.gz
freebsd-ports-gnome-405ed11b871d52985a24f72262cf1ef920c3d5b0.tar.zst
freebsd-ports-gnome-405ed11b871d52985a24f72262cf1ef920c3d5b0.zip
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.
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/ruby-pam/Makefile35
-rw-r--r--security/ruby-pam/distinfo1
-rw-r--r--security/ruby-pam/pkg-comment1
-rw-r--r--security/ruby-pam/pkg-descr5
-rw-r--r--security/ruby-pam/pkg-plist9
6 files changed, 52 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index a098646312c0..887bfabf9cb0 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -137,6 +137,7 @@
SUBDIR += rsaref
SUBDIR += ruby-acl
SUBDIR += ruby-blowfish
+ SUBDIR += ruby-pam
SUBDIR += ruby-sha1
SUBDIR += ruby-ssl
SUBDIR += ruby-tcpwrap
diff --git a/security/ruby-pam/Makefile b/security/ruby-pam/Makefile
new file mode 100644
index 000000000000..0d5eb547f5ae
--- /dev/null
+++ b/security/ruby-pam/Makefile
@@ -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>
diff --git a/security/ruby-pam/distinfo b/security/ruby-pam/distinfo
new file mode 100644
index 000000000000..b1af7d86273c
--- /dev/null
+++ b/security/ruby-pam/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-pam-1.1.tar.gz) = 6e97164725dd4432f0696cecd48f763f
diff --git a/security/ruby-pam/pkg-comment b/security/ruby-pam/pkg-comment
new file mode 100644
index 000000000000..53d7392f3ddd
--- /dev/null
+++ b/security/ruby-pam/pkg-comment
@@ -0,0 +1 @@
+Ruby extension to use PAM library
diff --git a/security/ruby-pam/pkg-descr b/security/ruby-pam/pkg-descr
new file mode 100644
index 000000000000..0cb9e761a898
--- /dev/null
+++ b/security/ruby-pam/pkg-descr
@@ -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>
diff --git a/security/ruby-pam/pkg-plist b/security/ruby-pam/pkg-plist
new file mode 100644
index 000000000000..ca306c3b9dc0
--- /dev/null
+++ b/security/ruby-pam/pkg-plist
@@ -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