packages: heimdal/heimdal.spec, heimdal/heimdal-static-kcm.patch (NEW) - re...
baggins
baggins at pld-linux.org
Thu Jul 9 12:20:09 CEST 2009
Author: baggins Date: Thu Jul 9 10:20:09 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 9
- link kcm statically against heimdal libs and install it in /sbin
this solves chicken-egg problem with kerberized NFS (/usr on NFS)
---- Files affected:
packages/heimdal:
heimdal.spec (1.170 -> 1.171) , heimdal-static-kcm.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/heimdal/heimdal.spec
diff -u packages/heimdal/heimdal.spec:1.170 packages/heimdal/heimdal.spec:1.171
--- packages/heimdal/heimdal.spec:1.170 Wed Jul 8 13:44:51 2009
+++ packages/heimdal/heimdal.spec Thu Jul 9 12:20:04 2009
@@ -7,7 +7,7 @@
Summary(pl.UTF-8): Implementacja Heimdal systemu Kerberos V5
Name: heimdal
Version: 1.2.1
-Release: 8
+Release: 9
License: Free
Group: Networking
Source0: http://www.h5l.org/dist/src/%{name}-%{version}.tar.gz
@@ -34,6 +34,7 @@
Patch8: %{name}-ldap.patch
Patch9: %{name}-info.patch
Patch10: %{name}-krb5_free_error_message.patch
+Patch11: %{name}-static-kcm.patch
URL: http://www.h5l.org/
BuildRequires: autoconf >= 2.62
BuildRequires: automake
@@ -340,6 +341,7 @@
%patch8 -p1
%patch9 -p1
%patch10 -p1
+%patch11 -p1
%build
rm -f acinclude.m4 cf/{libtool,lt*}.m4
@@ -364,7 +366,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_localstatedir},%{_sysconfdir},%{schemadir}} \
+install -d $RPM_BUILD_ROOT{%{_localstatedir},%{_sysconfdir},%{schemadir},/sbin} \
$RPM_BUILD_ROOT/etc/{sysconfig/rc-inetd,rc.d/init.d}
%{__make} install \
@@ -372,6 +374,8 @@
install lib/hdb/hdb.schema $RPM_BUILD_ROOT%{schemadir}
+mv $RPM_BUILD_ROOT%{_sbindir}/kcm $RPM_BUILD_ROOT/sbin/kcm
+
mv $RPM_BUILD_ROOT%{_bindir}/su $RPM_BUILD_ROOT%{_bindir}/ksu
mv $RPM_BUILD_ROOT%{_mandir}/man1/su.1 $RPM_BUILD_ROOT%{_mandir}/man1/ksu.1
@@ -660,7 +664,7 @@
%defattr(644,root,root,755)
%attr(754,root,root) /etc/rc.d/init.d/kcm
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/kcm
-%attr(755,root,root) %{_sbindir}/kcm
+%attr(755,root,root) /sbin/kcm
%{_mandir}/man8/kcm.8*
%files server
@@ -751,6 +755,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.171 2009/07/09 10:20:04 baggins
+- rel 9
+- link kcm statically against heimdal libs and install it in /sbin
+ this solves chicken-egg problem with kerberized NFS (/usr on NFS)
+
Revision 1.170 2009/07/08 11:44:51 baggins
- rel 8
================================================================
Index: packages/heimdal/heimdal-static-kcm.patch
diff -u /dev/null packages/heimdal/heimdal-static-kcm.patch:1.1
--- /dev/null Thu Jul 9 12:20:09 2009
+++ packages/heimdal/heimdal-static-kcm.patch Thu Jul 9 12:20:04 2009
@@ -0,0 +1,11 @@
+--- heimdal-1.2.1/kcm/Makefile.am~ 2009-07-08 13:34:37.312153085 +0200
++++ heimdal-1.2.1/kcm/Makefile.am 2009-07-09 11:22:00.051071655 +0200
+@@ -25,6 +24,8 @@
+ protocol.c \
+ renew.c
+
++kcm_LDFLAGS = -static
++
+ $(srcdir)/kcm_protos.h:
+ cd $(srcdir); perl ../cf/make-proto.pl -o kcm_protos.h -q -P comment $(kcm_SOURCES) || rm -f kcm_protos.h
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/heimdal/heimdal.spec?r1=1.170&r2=1.171&f=u
More information about the pld-cvs-commit
mailing list