pam 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/MANIFEST +3 -2
- data/Rakefile +2 -2
- data/ext/{pam.c → _pam.c} +2 -2
- data/ext/{pam.h → _pam.h} +0 -0
- data/ext/extconf.rb +1 -1
- data/ext/pam_handle.c +1 -1
- data/lib/pam.rb +24 -0
- metadata +5 -4
data/MANIFEST
CHANGED
data/Rakefile
CHANGED
@@ -15,7 +15,7 @@ require 'rake/gempackagetask'
|
|
15
15
|
|
16
16
|
PKG_NAME='ruby-pam'
|
17
17
|
GEM_NAME='pam'
|
18
|
-
PKG_VERSION='1.5.
|
18
|
+
PKG_VERSION='1.5.3'
|
19
19
|
EXT_CONF='ext/extconf.rb'
|
20
20
|
MAKEFILE="Makefile"
|
21
21
|
PAM_MODULE="ext/pam.so"
|
@@ -63,7 +63,7 @@ end
|
|
63
63
|
#
|
64
64
|
PKG_FILES = FileList[
|
65
65
|
"Rakefile", "COPYING", "LICENSE", "README", "ChangeLog",
|
66
|
-
"ext/*.[ch]", "ext/*.rb", "test/*.rb", "MANIFEST", EXT_CONF]
|
66
|
+
"ext/*.[ch]", "lib/**/*.rb", "ext/*.rb", "test/*.rb", "MANIFEST", EXT_CONF]
|
67
67
|
|
68
68
|
DIST_FILES = FileList[
|
69
69
|
"pkg/*.tgz", "pkg/*.gem"
|
data/ext/{pam.c → _pam.c}
RENAMED
@@ -2,7 +2,7 @@
|
|
2
2
|
* $Id: pam.c,v 1.2 2004/10/09 09:19:43 ttate Exp $
|
3
3
|
*/
|
4
4
|
|
5
|
-
#include "
|
5
|
+
#include "_pam.h"
|
6
6
|
|
7
7
|
#ifdef HAVE_STDARG_PROTOTYPES
|
8
8
|
#include <stdarg.h>
|
@@ -117,7 +117,7 @@ rb_pam_start(int argc, VALUE argv[], VALUE self)
|
|
117
117
|
|
118
118
|
|
119
119
|
void
|
120
|
-
|
120
|
+
Init__pam()
|
121
121
|
{
|
122
122
|
extern Init_pam_handle();
|
123
123
|
|
data/ext/{pam.h → _pam.h}
RENAMED
File without changes
|
data/ext/extconf.rb
CHANGED
data/ext/pam_handle.c
CHANGED
data/lib/pam.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
##
|
2
|
+
# pam.rb: Ruby wrapper for pam
|
3
|
+
#
|
4
|
+
# Copyright (C) 2008 Red Hat Inc.
|
5
|
+
#
|
6
|
+
# This library is free software; you can redistribute it and/or
|
7
|
+
# modify it under the terms of the GNU Lesser General Public
|
8
|
+
# License as published by the Free Software Foundation; either
|
9
|
+
# version 2.1 of the License, or (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This library is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14
|
+
# Lesser General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU Lesser General Public
|
17
|
+
# License along with this library; if not, write to the Free Software
|
18
|
+
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
19
|
+
#
|
20
|
+
# Author: Bryan Kearney <bkearney@redhat.com>
|
21
|
+
##
|
22
|
+
|
23
|
+
# Shim file for loading various archs of the lam library
|
24
|
+
require "_pam"
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: pam
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.5.
|
7
|
-
date: 2008-09-
|
6
|
+
version: 1.5.3
|
7
|
+
date: 2008-09-23 00:00:00 -04:00
|
8
8
|
summary: Ruby bindings for pam
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -35,8 +35,9 @@ files:
|
|
35
35
|
- README
|
36
36
|
- ChangeLog
|
37
37
|
- ext/pam_handle.c
|
38
|
-
- ext/
|
39
|
-
- ext/
|
38
|
+
- ext/_pam.h
|
39
|
+
- ext/_pam.c
|
40
|
+
- lib/pam.rb
|
40
41
|
- ext/extconf.rb
|
41
42
|
- test/check_get_item.rb
|
42
43
|
- test/check_conv.rb
|