Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 569766 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-nds/openldap/openldap-2.4.44.ebuild (-3 / +29 lines)
Lines 587-592 Link Here
587
				-o pw-kerberos.la \
587
				-o pw-kerberos.la \
588
				kerberos.lo || die "linking pw-kerberos failed"
588
				kerberos.lo || die "linking pw-kerberos failed"
589
		fi
589
		fi
590
591
		cd "${S}/contrib/slapd-modules/passwd/sha2" || die
592
		einfo "Compiling contrib-module: pw-sha2"
593
		"${lt}" --mode=compile --tag=CC \
594
			"${CC}" \
595
			-I"${BUILD_DIR}"/include \
596
			-I../../../../include \
597
			${CFLAGS} \
598
			-o sha2.lo \
599
			-c sha2.c || die "compiling pw-sha2 failed"
600
		"${lt}" --mode=compile --tag=CC \
601
			"${CC}" \
602
			-I"${BUILD_DIR}"/include \
603
			-I../../../../include \
604
			${CFLAGS} \
605
			-o slapd-sha2.lo \
606
			-c slapd-sha2.c || die "compiling pw-sha2 failed"
607
		einfo "Linking contrib-module: pw-sha2"
608
		"${lt}" --mode=link --tag=CC \
609
			"${CC}" -module \
610
			${CFLAGS} \
611
			${LDFLAGS} \
612
			-rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \
613
			-o pw-sha2.la \
614
			sha2.lo slapd-sha2.lo || die "linking pw-sha2 failed"
615
590
		# We could build pw-radius if GNURadius would install radlib.h
616
		# We could build pw-radius if GNURadius would install radlib.h
591
		cd "${S}/contrib/slapd-modules/passwd" || die
617
		cd "${S}/contrib/slapd-modules/passwd" || die
592
		einfo "Compiling contrib-module: pw-netscape"
618
		einfo "Compiling contrib-module: pw-netscape"
Lines 731-737 Link Here
731
757
732
		einfo "Installing contrib modules"
758
		einfo "Installing contrib modules"
733
		cd "${S}/contrib/slapd-modules" || die
759
		cd "${S}/contrib/slapd-modules" || die
734
		for l in */*.la; do
760
		for l in $(find -type f -name "*.la"); do
735
			"${lt}" --mode=install cp ${l} \
761
			"${lt}" --mode=install cp ${l} \
736
				"${ED}"usr/$(get_libdir)/openldap/openldap || \
762
				"${ED}"usr/$(get_libdir)/openldap/openldap || \
737
				die "installing ${l} failed"
763
				die "installing ${l} failed"
Lines 739-745 Link Here
739
765
740
		dodoc "${FILESDIR}"/DB_CONFIG.fast.example
766
		dodoc "${FILESDIR}"/DB_CONFIG.fast.example
741
		docinto contrib
767
		docinto contrib
742
		doman */*.5
768
		doman $(find -type f -name "*.5")
743
		#newdoc acl/README*
769
		#newdoc acl/README*
744
		newdoc addpartial/README addpartial-README
770
		newdoc addpartial/README addpartial-README
745
		newdoc allop/README allop-README
771
		newdoc allop/README allop-README
Lines 749-755 Link Here
749
		newdoc passwd/README passwd-README
775
		newdoc passwd/README passwd-README
750
		cd "${S}/contrib/slapi-plugins" || die
776
		cd "${S}/contrib/slapi-plugins" || die
751
		insinto /usr/$(get_libdir)/openldap/openldap
777
		insinto /usr/$(get_libdir)/openldap/openldap
752
		doins  */*.so
778
		doins $(find -type f -name "*.so")
753
		docinto contrib
779
		docinto contrib
754
		newdoc addrdnvalues/README addrdnvalues-README
780
		newdoc addrdnvalues/README addrdnvalues-README
755
781

Return to bug 569766