Would like to submit patch to openldap SPEC to create ppolicy module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Would like to submit patch to openldap SPEC to create ppolicy module
I have a patch that creates a separate rpm for the ppolicy module in openldap (For RHEL5).  How do I go about donating this back to Redhat?

Excuse my ignorance if this has been asked before.  Searched knowledge base and google with no luck.

~James Saint-Rossy

--- openldap.spec.orig    2007-11-05 13:04:28.000000000 -0500
+++ openldap.spec    2007-11-05 13:04:33.000000000 -0500
@@ -120,6 +120,20 @@
 over the Internet. This package contains a loadable module which the
 slapd server can use to read data from an RDBMS.
 
+%package servers-ppolicy
+Summary: OpenLDAP server PPOLICY support module.
+Prereq: openldap-servers = %{version_23}-%{release}
+Group: System Environment/Daemons
+
+%description servers-ppolicy
+OpenLDAP is an open-source suite of LDAP (Lightweight Directory Access
+Protocol) applications and development tools. LDAP is a set of
+protocols for accessing directory services (usually phone book style
+information, but other information is possible) over the Internet,
+similar to the way DNS (Domain Name System) information is propagated
+over the Internet. This package contains a loadable module which the
+slapd server can use to implement the password policy overlay.
+
 %package clients
 Summary: Client programs for OpenLDAP.
 Prereq: openldap = %{version_23}-%{release}
@@ -371,6 +385,7 @@
     --disable-shared \
     --disable-dynamic \
     --enable-static \
+        --enable-ppolicy=mod \
     --with-kerberos=k5only
 unset LIBS
 popd
@@ -640,6 +655,7 @@
 %attr(0755,root,root) %dir %{_sysconfdir}/openldap/schema
 %attr(0644,root,root) %dir %{_sysconfdir}/openldap/schema/README*
 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/schema/*.schema*
+%exclude %{_sysconfdir}/openldap/schema/ppolicy.schema*
 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/schema/*.ldif
 %attr(0755,root,root) %dir %{_sysconfdir}/openldap/schema/redhat
 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/schema/redhat/*.schema*
@@ -647,6 +663,7 @@
 %attr(0644,root,root) %{_mandir}/man8/*
 %attr(0644,root,root) %{_mandir}/man5/slapd*.5*
 %attr(0644,root,root) %{_mandir}/man5/slapo-*.5*
+%exclude %{_mandir}/man5/slapo-ppolicy.5*
 %attr(0755,root,root) %dir %{_datadir}/openldap/migration
 %attr(0644,root,root) %{_datadir}/openldap/migration/README
 %attr(0644,root,root) %config(noreplace) %{_datadir}/openldap/migration/*.ph
@@ -666,15 +683,22 @@
 %attr(0755,root,root) %{_libdir}/tls/*/libslapd_db-*.*.so
 %endif
 %endif
+%dir %attr(0755,root,root) %{_libdir}/openldap
 
 %files servers-sql
 %defattr(-,root,root)
 %doc openldap-%{version_23}/servers/slapd/back-sql/docs/*
 %doc openldap-%{version_23}/servers/slapd/back-sql/rdbms_depend
-%attr(0755,root,root) %{_libdir}/openldap
 %attr(0755,root,root) %{_libdir}/openldap/back_sql.la
 %attr(0755,root,root) %{_libdir}/openldap/back_sql*.so.*
 
+%files servers-ppolicy
+%defattr(-,root,root)
+%attr(0755,root,root) %{_libdir}/openldap/ppolicy.la
+%attr(0755,root,root) %{_libdir}/openldap/ppolicy*.so.*
+%attr(0644,root,root) %{_sysconfdir}/openldap/schema/ppolicy.schema*
+%attr(0644,root,root) %{_mandir}/man5/slapo-ppolicy.5*
+
 %files clients
 %defattr(-,root,root)
 %attr(0755,root,root) %{_bindir}/*


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux