summaryrefslogtreecommitdiff
path: root/security/ruby-pam
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-05-30 16:00:25 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-05-30 16:00:25 +0000
commit91aeca743e3dc2cb6b3278d876ad6fbbee01a263 (patch)
tree015983e8f5904aac2c4d43adad5d4e68c89cc60e /security/ruby-pam
parentAdd ruby-X11, a fully reflective X11 client library for ruby. (diff)
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.
Notes
Notes: svn path=/head/; revision=43322
Diffstat (limited to 'security/ruby-pam')
-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
5 files changed, 51 insertions, 0 deletions
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