[packages/shishi] - added pam patch (avoid compilation failure with PAM 1.3 by disabling static module build) - releas

qboosh qboosh at pld-linux.org
Mon Apr 10 18:33:27 CEST 2017


commit 4ef0793e065a62b198987e3d239c1ab5d622aa3c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 10 18:33:33 2017 +0200

    - added pam patch (avoid compilation failure with PAM 1.3 by disabling static module build)
    - release 5

 shishi-pam.patch | 11 +++++++++++
 shishi.spec      |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/shishi.spec b/shishi.spec
index 33acd92..a19a9c8 100644
--- a/shishi.spec
+++ b/shishi.spec
@@ -2,7 +2,7 @@ Summary:	Shishi - an implementation of RFC 1510(bis) (Kerberos V5 authentication
 Summary(pl.UTF-8):	Shishi - implementacja RFC 1510(bis) (uwierzytelniania Kerberos V5)
 Name:		shishi
 Version:	1.0.2
-Release:	4
+Release:	5
 Epoch:		0
 License:	GPL v3+
 Group:		Libraries
@@ -12,6 +12,7 @@ Source1:	%{name}-shishid.init
 Source2:	%{name}-shishid.sysconfig
 Patch0:		%{name}-info.patch
 Patch1:		libgcrypt-1.6.patch
+Patch2:		%{name}-pam.patch
 URL:		http://josefsson.org/shishi/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake >= 1:1.11
@@ -131,6 +132,7 @@ Moduł PAM do uwierzytelniania RFC 1510 (Kerberos V5).
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 # doesn't build on sparc (too few B* constants) and wasn't packaged anyway
 %{__perl} -pi -e 's/^(SUBDIRS.*) rsh-redone/$1/' extra/Makefile.am
diff --git a/shishi-pam.patch b/shishi-pam.patch
new file mode 100644
index 0000000..298bf8b
--- /dev/null
+++ b/shishi-pam.patch
@@ -0,0 +1,11 @@
+PAM module no longer compiles in static mode.
+--- shishi-1.0.2/extra/pam_shishi/Makefile.am.orig	2013-04-03 10:31:20.000000000 +0200
++++ shishi-1.0.2/extra/pam_shishi/Makefile.am	2017-04-10 17:41:58.205488834 +0200
+@@ -28,6 +28,7 @@
+ pam_shishi_la_LIBADD = ../../lib/libshishi.la
+ # XXX add -Wl,-x too?  PAM documentation suggests it.
+ pam_shishi_la_LDFLAGS = -module -shared -avoid-version
++pam_shishi_la_CFLAGS = -shared
+ 
+ # -DDEBUG_PAM
+ DEFS = @DEFS@
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/shishi.git/commitdiff/4ef0793e065a62b198987e3d239c1ab5d622aa3c



More information about the pld-cvs-commit mailing list