1 |
flameeyes 09/10/07 13:02:26 |
2 |
|
3 |
Added: pam_pkcs11-0.6.1-properinstall.patch |
4 |
Log: |
5 |
Revision bump of the pam_pkcs11 package: fix the install to avoid installing static objects and .la files; fix the installed example configuration files to have the correct path for multilib systems; install the example files as default configuration files, install documentation in the proper directory, move the make_hash_link.sh script out of path, add some logs and a TODO list. |
6 |
(Portage version: 2.2_rc44/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sys-auth/pam_pkcs11/files/pam_pkcs11-0.6.1-properinstall.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pam_pkcs11/files/pam_pkcs11-0.6.1-properinstall.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pam_pkcs11/files/pam_pkcs11-0.6.1-properinstall.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: pam_pkcs11-0.6.1-properinstall.patch |
15 |
=================================================================== |
16 |
Index: pam_pkcs11-0.6.1/etc/Makefile.am |
17 |
=================================================================== |
18 |
--- pam_pkcs11-0.6.1.orig/etc/Makefile.am |
19 |
+++ pam_pkcs11-0.6.1/etc/Makefile.am |
20 |
@@ -10,4 +10,4 @@ EXTRA_DIST = pam_pkcs11.conf.example \ |
21 |
pkcs11_eventmgr.conf.example \ |
22 |
card_eventmgr.conf.example |
23 |
|
24 |
-pkgdata_DATA = $(EXTRA_DIST) |
25 |
+doc_DATA = $(EXTRA_DIST) |
26 |
Index: pam_pkcs11-0.6.1/src/pam_pkcs11/Makefile.am |
27 |
=================================================================== |
28 |
--- pam_pkcs11-0.6.1.orig/src/pam_pkcs11/Makefile.am |
29 |
+++ pam_pkcs11-0.6.1/src/pam_pkcs11/Makefile.am |
30 |
@@ -5,17 +5,15 @@ MAINTAINERCLEANFILES = Makefile.in |
31 |
AM_CFLAGS = -Wall -fno-strict-aliasing $(CRYPTO_CFLAGS) |
32 |
AM_CPPFLAGS = -Wall -fno-strict-aliasing $(CRYPTO_CFLAGS) |
33 |
|
34 |
-lib_LTLIBRARIES = pam_pkcs11.la |
35 |
+pamdir=$(libdir)/security |
36 |
+ |
37 |
+pam_LTLIBRARIES = pam_pkcs11.la |
38 |
|
39 |
pam_pkcs11_la_SOURCES = pam_pkcs11.c \ |
40 |
mapper_mgr.c mapper_mgr.h \ |
41 |
pam_config.c pam_config.h |
42 |
-pam_pkcs11_la_LDFLAGS = -module -avoid-version |
43 |
+pam_pkcs11_la_LDFLAGS = -module -avoid-version -shared |
44 |
pam_pkcs11_la_LIBADD = $(LIBMAPPERS) $(CRYPTO_LIBS) |
45 |
|
46 |
-install: |
47 |
- $(mkinstalldirs) $(DESTDIR)/$(libdir)/security |
48 |
- $(libLTLIBRARIES_INSTALL) $(top_builddir)/src/pam_pkcs11/.libs/pam_pkcs11.so $(DESTDIR)/$(libdir)/security |
49 |
- |
50 |
format: |
51 |
indent *.c *.h |
52 |
Index: pam_pkcs11-0.6.1/src/mappers/Makefile.am |
53 |
=================================================================== |
54 |
--- pam_pkcs11-0.6.1.orig/src/mappers/Makefile.am |
55 |
+++ pam_pkcs11-0.6.1/src/mappers/Makefile.am |
56 |
@@ -52,56 +52,56 @@ lib_LTLIBRARIES = opensc_mapper.la opens |
57 |
endif |
58 |
|
59 |
openssh_mapper_la_SOURCES = openssh_mapper.c openssh_mapper.h |
60 |
-openssh_mapper_la_LDFLAGS = -module -avoid-version |
61 |
+openssh_mapper_la_LDFLAGS = -module -avoid-version -shared |
62 |
openssh_mapper_la_LIBADD = libmappers.la |
63 |
|
64 |
# generic_mapper_la_SOURCES = generic_mapper.c generic_mapper.h |
65 |
-# generic_mapper_la_LDFLAGS = -module -avoid-version |
66 |
+# generic_mapper_la_LDFLAGS = -module -avoid-version -shared |
67 |
# generic_mapper_la_LIBADD = libmappers.la |
68 |
|
69 |
# subject_mapper_la_SOURCES = subject_mapper.c subject_mapper.h |
70 |
-# subject_mapper_la_LDFLAGS = -module -avoid-version |
71 |
+# subject_mapper_la_LDFLAGS = -module -avoid-version -shared |
72 |
# subject_mapper_la_LIBADD = libmappers.la |
73 |
|
74 |
if HAVE_LDAP |
75 |
ldap_mapper_la_SOURCES = ldap_mapper.c ldap_mapper.h |
76 |
-ldap_mapper_la_LDFLAGS = -module -avoid-version |
77 |
+ldap_mapper_la_LDFLAGS = -module -avoid-version -shared |
78 |
ldap_mapper_la_LIBADD = libmappers.la |
79 |
endif |
80 |
|
81 |
opensc_mapper_la_SOURCES = opensc_mapper.c opensc_mapper.h |
82 |
-opensc_mapper_la_LDFLAGS = -module -avoid-version |
83 |
+opensc_mapper_la_LDFLAGS = -module -avoid-version -shared |
84 |
opensc_mapper_la_LIBADD = libmappers.la |
85 |
|
86 |
# mail_mapper_la_SOURCES = mail_mapper.c mail_mapper.h |
87 |
-# mail_mapper_la_LDFLAGS = -module -avoid-version |
88 |
+# mail_mapper_la_LDFLAGS = -module -avoid-version -shared |
89 |
# mail_mapper_la_LIBADD = libmappers.la |
90 |
|
91 |
# ms_mapper_la_SOURCES = ms_mapper.c ms_mapper.h |
92 |
-# ms_mapper_la_LDFLAGS = -module -avoid-version |
93 |
+# ms_mapper_la_LDFLAGS = -module -avoid-version -shared |
94 |
# ms_mapper_la_LIBADD = libmappers.la |
95 |
|
96 |
# krb_mapper_la_SOURCES = krb_mapper.c krb_mapper.h |
97 |
-# krb_mapper_la_LDFLAGS = -module -avoid-version |
98 |
+# krb_mapper_la_LDFLAGS = -module -avoid-version -shared |
99 |
# krb_mapper_la_LIBADD = libmappers.la |
100 |
|
101 |
# cn_mapper_la_SOURCES = cn_mapper.c cn_mapper.h |
102 |
-# cn_mapper_la_LDFLAGS = -module -avoid-version |
103 |
+# cn_mapper_la_LDFLAGS = -module -avoid-version -shared |
104 |
# cn_mapper_la_LIBADD = libmappers.la |
105 |
|
106 |
# uid_mapper_la_SOURCES = uid_mapper.c uid_mapper.h |
107 |
-# uid_mapper_la_LDFLAGS = -module -avoid-version |
108 |
+# uid_mapper_la_LDFLAGS = -module -avoid-version -shared |
109 |
# uid_mapper_la_LIBADD = libmappers.la |
110 |
|
111 |
# pwent_mapper_la_SOURCES = pwent_mapper.c pwent_mapper.h |
112 |
-# pwent_mapper_la_LDFLAGS = -module -avoid-version |
113 |
+# pwent_mapper_la_LDFLAGS = -module -avoid-version -shared |
114 |
# pwent_mapper_la_LIBADD = libmappers.la |
115 |
|
116 |
# digest_mapper_la_SOURCES = digest_mapper.c digest_mapper.h |
117 |
-# digest_mapper_la_LDFLAGS = -module -avoid-version |
118 |
+# digest_mapper_la_LDFLAGS = -module -avoid-version -shared |
119 |
# digest_mapper_la_LIBADD = libmappers.la |
120 |
|
121 |
# null_mapper_la_SOURCES = null_mapper.c null_mapper.h |
122 |
-# null_mapper_la_LDFLAGS = -module -avoid-version |
123 |
+# null_mapper_la_LDFLAGS = -module -avoid-version -shared |
124 |
# null_mapper_la_LIBADD = libmappers.la |