]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
sssd: Several tries to compile packages sssd
authorAlexander Marx <alexander.marx@ipfire.org>
Tue, 13 Sep 2016 11:32:15 +0000 (11:32 +0000)
committerAlexander Marx <alexander.marx@ipfire.org>
Tue, 13 Sep 2016 11:32:15 +0000 (11:32 +0000)
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
sssd/sssd.nm

index 0b83d6980c5b45c900544e8796bcdbc624ebba56..6ec6780fb16fda348f71ac8fd69873e27d9a9376 100644 (file)
@@ -24,6 +24,8 @@ source_dl  = https://fedorahosted.org/released/sssd/
 build
        requires
                /usr/bin/nsupdate
+               autoconf
+               automake
                c-ares-devel
                chrpath
                cifs-utils-devel >= 6.6
@@ -31,18 +33,20 @@ build
                dbus-devel
                ding-libs-devel >= 0.6.0
                docbook-xsl
+               gettext-devel
                glib2-devel
                krb5-devel >= 1.10.3
                libcollection-devel
                libdhash-devel
                libini_config-devel
                libldb-devel
-               libnl-devel
+               libnl3-devel
                libnfsidmap-devel
                libsemanage-devel
                libtalloc-devel
                libtdb-devel
                libtevent-devel
+               libtool
                openldap-devel
                openssl-devel
                pam-devel >= 1.1.6
@@ -53,6 +57,10 @@ build
                systemd-devel
        end
 
+       prepare_cmds
+               autoreconf -vfi
+       end
+
        configure_options += \
                --with-crypto=libcrypto \
                --with-db-path=%{localstatedir}/sss/db \
@@ -76,14 +84,21 @@ build
                        %{BUILDROOT}%{sysconfdir}/sssd/sssd.conf
 
                # Remove rpath.
-               chrpath --delete %{BUILDROOT}/usr/lib/sssd/sssd_pac
-               chrpath --delete %{BUILDROOT}/usr/lib/sssd/gpo_child
+               #chrpath --delete %{BUILDROOT}/usr/lib/sssd/sssd_pac
+               #chrpath --delete %{BUILDROOT}/usr/lib/sssd/gpo_child
 
                # Remove old sysVinit stuff.
                rm -rvf %{BUILDROOT}%{sysconfdir}/rc.d
        end
 end
 
+quality-agent
+       whitelist_rpath
+               %{libdir}
+               %{libdir}/sssd
+       end
+end
+
 packages
        package %{name}
                groups += Base