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 CHANGED
@@ -8,5 +8,6 @@ README
8
8
  ext/depend
9
9
  ext/extconf.rb
10
10
  ext/pam_handle.c
11
- ext/pam.c
12
- ext/pam.h
11
+ ext/_pam.c
12
+ ext/_pam.h
13
+
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.2'
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"
@@ -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 "pam.h"
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
- Init_pam()
120
+ Init__pam()
121
121
  {
122
122
  extern Init_pam_handle();
123
123
 
File without changes
data/ext/extconf.rb CHANGED
@@ -26,4 +26,4 @@ have_func("pam_chauthtok")
26
26
  have_func("pam_putenv")
27
27
  have_func("pam_getenv")
28
28
 
29
- create_makefile("pam")
29
+ create_makefile("_pam")
data/ext/pam_handle.c CHANGED
@@ -2,7 +2,7 @@
2
2
  * $Id: pam_handle.c,v 1.2 2002/12/21 22:09:35 ttate Exp $
3
3
  */
4
4
 
5
- #include "pam.h"
5
+ #include "_pam.h"
6
6
 
7
7
  VALUE rb_cPAMHandle;
8
8
 
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.2
7
- date: 2008-09-12 00:00:00 -04:00
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/pam.c
39
- - ext/pam.h
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