rpms/ipa/F-9 0001-Fix-typo-in-inet-type.patch, NONE, 1.1 ipa.spec, 1.17, 1.18

Simo Sorce (simo) fedora-extras-commits at redhat.com
Wed Jul 23 12:33:00 UTC 2008


Author: simo

Update of /cvs/pkgs/rpms/ipa/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12485

Modified Files:
	ipa.spec 
Added Files:
	0001-Fix-typo-in-inet-type.patch 
Log Message:
* Wed Jul 23 2008 Simo Sorce <ssorce at redhat.com> - 1.1.0-6
- Fix build error


0001-Fix-typo-in-inet-type.patch:

--- NEW FILE 0001-Fix-typo-in-inet-type.patch ---
>From 77906dce20a8d37b10225c4dc8701b25f172f362 Mon Sep 17 00:00:00 2001
From: Simo Sorce <ssorce at redhat.com>
Date: Mon, 9 Jun 2008 17:55:32 -0400
Subject: [PATCH] Fix typo in inet type

---
 ipa-server/ipa-kpasswd/ipa_kpasswd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ipa-server/ipa-kpasswd/ipa_kpasswd.c b/ipa-server/ipa-kpasswd/ipa_kpasswd.c
index 677b61b..72d3c13 100644
--- a/ipa-server/ipa-kpasswd/ipa_kpasswd.c
+++ b/ipa-server/ipa-kpasswd/ipa_kpasswd.c
@@ -1296,7 +1296,7 @@ int main(int argc, char *argv[])
 
 	for (tifa = ifa; tifa; tifa = tifa->ifa_next) {
 
-		if (tifa->ifa_addr->sa_family != PF_INET &&
+		if (tifa->ifa_addr->sa_family != AF_INET &&
 		    tifa->ifa_addr->sa_family != AF_INET6) {
 			/* not interesting for us */
 			continue;
-- 
1.5.5.1



Index: ipa.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ipa/F-9/ipa.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ipa.spec	23 Jul 2008 11:55:27 -0000	1.17
+++ ipa.spec	23 Jul 2008 12:32:15 -0000	1.18
@@ -6,7 +6,7 @@
 
 Name:           ipa
 Version:        1.1.0
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        The Identity, Policy and Audit system
 
 Group:          System Environment/Base
@@ -20,7 +20,8 @@
 Patch3:         freeipa-memberofindex.patch
 Patch4:         freeipa-index.patch
 Patch5:         0001-slapi_pw_find_sv-expects-an-array-make-sure-we-ha.patch
-Patch6:         0001-In-openvz-we-found-out-some-interfaces-may-return-a.patch
+Patch6:         0001-Fix-typo-in-inet-type.patch
+Patch7:         0001-In-openvz-we-found-out-some-interfaces-may-return-a.patch
 
 BuildRequires:  fedora-ds-base-devel >= 1.1
 BuildRequires:  mozldap-devel
@@ -190,7 +191,8 @@
 %patch3 -p1 -b memberofindex
 %patch4 -p1 -b index
 %patch5 -p1 -b changepw
-%patch6 -p1 -b kpasswd-segfault
+%patch6 -p1 -b af-inet-fix
+%patch7 -p1 -b kpasswd-segfault
 
 %build
 cd ipa-server; ./autogen.sh --prefix=%{_usr} --sysconfdir=%{_sysconfdir} --localstatedir=%{_localstatedir} --libdir=%{_libdir} --mandir=%{_mandir} --with-openldap=yes; cd ..
@@ -439,6 +441,9 @@
 %{_sbindir}/ipa-modradiusprofile
 
 %changelog
+* Wed Jul 23 2008 Simo Sorce <ssorce at redhat.com> - 1.1.0-6
+- Fix build error
+
 * Wed Jul 23 2008 Simo Sorce <ssorce at redhat.com> - 1.1.0-5
 - Fix segfault in ipa-kpasswd in case getifaddrs returns a NULL interface
 




More information about the fedora-extras-commits mailing list