openldap-vl.spec 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define migtools_version 47
  3. %define ldbm_backend berkeley
  4. %define evolution_connector_prefix %{_libdir}/evolution-openldap
  5. %define evolution_connector_includedir %{evolution_connector_prefix}/include
  6. %define evolution_connector_libdir %{evolution_connector_prefix}/%{_lib}
  7. %define __perl_requires %{SOURCE11}
  8. %define stable 1
  9. %if %{stable}
  10. %define date 20100719
  11. %endif
  12. Summary: The configuration files, libraries and documentation for OpenLDAP.
  13. Summary(ja): OpenLDAP の設定ファイル,ライブラリ,ドキュメント.
  14. Name: openldap
  15. Version: 2.4.23
  16. Release: 1%{?_dist_release}
  17. License: OpenLDAP
  18. Group: System Environment/Libraries
  19. %if %{stable}
  20. Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-stable/openldap-stable-%{date}.tgz
  21. %else
  22. Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version}.tgz
  23. %endif
  24. Source1: http://www.padl.com/download/MigrationTools-%{migtools_version}.tar.gz
  25. Source2: ldap.init
  26. Source3: migration-tools.txt
  27. Source4: autofs.schema
  28. Source5: rfc822-MailMember.schema
  29. Source6: README.upgrading
  30. Source7: http://www.OpenLDAP.org/doc/admin/guide.html
  31. Source8: README.evolution
  32. Source9: README.migration
  33. Source10: ldap.sysconfig
  34. Source11: filter-requires-openldap.sh
  35. # Patches for 2.4
  36. Patch0: openldap-2.4.11-config.patch
  37. Patch1: openldap-2.0.11-ldaprc.patch
  38. Patch2: openldap-2.4.16-setugid.patch
  39. Patch3: openldap-2.4.6-pie.patch
  40. Patch4: openldap-2.3.11-toollinks.patch
  41. Patch5: openldap-2.4.6-nosql.patch
  42. Patch6: openldap-2.3.19-gethostbyXXXX_r.patch
  43. Patch9: openldap-2.3.37-smbk5pwd.patch
  44. Patch10: openldap-2.4.6-multilib.patch
  45. # Patches for the evolution library
  46. Patch200: openldap-2.4.16-evolution-ntlm.patch
  47. # Patches for the MigrationTools package
  48. Patch300: MigrationTools-38-instdir.patch
  49. Patch301: MigrationTools-36-mktemp.patch
  50. Patch302: MigrationTools-27-simple.patch
  51. Patch303: MigrationTools-26-suffix.patch
  52. Patch304: MigrationTools-46-schema.patch
  53. Patch305: MigrationTools-45-noaliases.patch
  54. # security fixes
  55. URL: http://www.openldap.org/
  56. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  57. BuildRequires: autoconf, automake, libtool >= 2.2.6a
  58. BuildRequires: cyrus-sasl-devel, gdbm-devel, openssl-devel, perl
  59. BuildRequires: db4-devel >= 4.2, pam-devel, pkgconfig, tcp_wrappers
  60. BuildRequires: unixODBC-devel, bind-devel, libtool-ltdl-devel >= 2.2.6a
  61. BuildRequires: krb5-devel
  62. BuildRequires: groff
  63. #BuildConflicts: libicu-devel
  64. Requires: cyrus-sasl, mktemp, gdbm
  65. Vendor: Project Vine
  66. Distribution: Vine Linux
  67. %description
  68. OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
  69. Protocol) applications and development tools. LDAP is a set of
  70. protocols for accessing directory services (usually phone book style
  71. information, but other information is possible) over the Internet,
  72. similar to the way DNS (Domain Name System) information is propagated
  73. over the Internet. The openldap package contains configuration files,
  74. libraries and documentation for OpenLDAP.
  75. %description -l ja
  76. OpenLDAPはオープンソースなLDAP (Lightweight Directory Access Protocol)アプリケーションと開発ツール集です。LDAPはディレクトリサービス(電話帳の様な情報や他の情報)にInternelからアクセスするプロトコルであり、DNS(Domain Name System)情報に似た方式でInternetに伝えられます。opanldapパッケージはOpanLDAP用の設定ファイルやライブラリ、ドキュメントを含んでいます。
  77. %package devel
  78. Summary: OpenLDAP development libraries and header files.
  79. Summary(ja): OpenLDAP の開発用ライブラリおよびヘッダファイル.
  80. Group: Development/Libraries
  81. Requires: openldap = %{version}-%{release}, cyrus-sasl-devel >= 2.1
  82. Provides: openldap-evolution-devel = %{version}-%{release}
  83. %description devel
  84. The openldap-devel package includes the development libraries and
  85. header files needed for compiling applications that use LDAP
  86. (Lightweight Directory Access Protocol) internals. LDAP is a set of
  87. protocols for enabling directory services over the Internet. Install
  88. this package only if you plan to develop or will need to compile
  89. customized LDAP clients.
  90. %description devel -l ja
  91. openldap-develパッケージはLDAP(Lightweight Directory Access Protocol)を使うためにコンパイルするアプリケーションに必要な開発用ライブラリやヘッダファイルを含んでいます。LDAPはInternet上にディレクトリサービスを可能にするプロトコルです。LDAPクライアントを開発したりカスタマイズする場合には、このパッケージをインストールしてください。
  92. %package servers
  93. Summary: OpenLDAP servers and related files.
  94. Summary(ja): OpenLDAP サーバおよび関連ファイル.
  95. Requires(post): fileutils, make, openldap = %{version}-%{release}, openssl, shadow-utils, chkconfig, coreutils
  96. Requires(pre): fileutils, make, openldap = %{version}-%{release}, openssl, shadow-utils, chkconfig, coreutils
  97. Group: System Environment/Daemons
  98. %description servers
  99. OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
  100. Protocol) applications and development tools. LDAP is a set of
  101. protocols for accessing directory services (usually phone book style
  102. information, but other information is possible) over the Internet,
  103. similar to the way DNS (Domain Name System) information is propagated
  104. over the Internet. This package contains the slapd and slurpd servers,
  105. migration scripts and related files.
  106. %description servers -l ja
  107. OpenLDAPはオープンソースなLDAP (Lightweight Directory Access Protocol)アプリケーションと開発ツール集です。LDAPはディレクトリサービス(電話帳の様な情報や他の情報)にInternelからアクセスするプロトコルであり、DNS(Domain Name System)情報に似た\方式でInternetに伝えられます。このパッケージはslapdやslurpdサーバ、移行スクリプトや関連するファイルを含んでいます。
  108. %package servers-sql
  109. Summary: OpenLDAP server SQL support module.
  110. Summary(ja): SQLサポートモジュールを含んだOpenLDAPサーバ
  111. Requires(post): openldap-servers = %{version}-%{release}
  112. Group: System Environment/Daemons
  113. %description servers-sql
  114. OpenLDAP is an open-source suite of LDAP (Lightweight Directory Access
  115. Protocol) applications and development tools. LDAP is a set of
  116. protocols for accessing directory services (usually phone book style
  117. information, but other information is possible) over the Internet,
  118. similar to the way DNS (Domain Name System) information is propagated
  119. over the Internet. This package contains a loadable module which the
  120. slapd server can use to read data from an RDBMS.
  121. %description servers-sql -l ja
  122. OpenLDAPはオープンソースなLDAP (Lightweight Directory Access Protocol)アプリケー
  123. ションと開発ツール集です。LDAPはディレクトリサービス(電話帳の様な情報や他の情報
  124. )にInternelからアクセスするプロトコルであり、DNS(Domain Name System)情報に似た
  125. 方式でInternetに伝えられます。
  126. このパッケージはslapdサーバがRDBMSからデータを読み込むためのモジュールを含んでいます。
  127. %package clients
  128. Summary: Client programs for OpenLDAP.
  129. Summary(ja): OpenLDAP のクライアントプログラム.
  130. Requires(post): openldap = %{version}-%{release}
  131. Group: Applications/Internet
  132. %description clients
  133. OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
  134. Protocol) applications and development tools. LDAP is a set of
  135. protocols for accessing directory services (usually phone book style
  136. information, but other information is possible) over the Internet,
  137. similar to the way DNS (Domain Name System) information is propagated
  138. over the Internet. The openldap-clients package contains the client
  139. programs needed for accessing and modifying OpenLDAP directories.
  140. %description clients -l ja
  141. OpenLDAPはオープンソースなLDAP (Lightweight Directory Access Protocol)アプリケーションと開発ツール集です。LDAPはディレクトリサービス(電話帳の様な情報や他の情報)にInternelからアクセスするプロトコルであり、DNS(Domain Name System)情報に似た\方式でInternetに伝えられます。openldap-clientsパッケージはOpenLDAPディレクトリにアクセスしたり、修正したりするためのクライアントプログラムを含んでいます。
  142. ## to build compat32 for x86_64 architecture support
  143. %package -n compat32-%{name}
  144. Summary: libraries for OpenLDAP.
  145. Group: System Environment/Libraries
  146. %description -n compat32-%{name}
  147. OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
  148. Protocol) applications and development tools. LDAP is a set of
  149. protocols for accessing directory services (usually phone book style
  150. information, but other information is possible) over the Internet,
  151. similar to the way DNS (Domain Name System) information is propagated
  152. over the Internet. The openldap package contains configuration files,
  153. libraries and documentation for OpenLDAP.
  154. # %package -n compat32-%{name}-servers-sql
  155. # Summary: OpenLDAP server SQL support module.
  156. # Group: System Environment/Libraries
  157. # %description -n compat32-%{name}-servers-sql
  158. # OpenLDAP is an open-source suite of LDAP (Lightweight Directory Access
  159. # Protocol) applications and development tools. LDAP is a set of
  160. # protocols for accessing directory services (usually phone book style
  161. # information, but other information is possible) over the Internet,
  162. # similar to the way DNS (Domain Name System) information is propagated
  163. # over the Internet. This package contains a loadable module which the
  164. # slapd server can use to read data from an RDBMS.
  165. %package -n compat32-%{name}-devel
  166. Summary: OpenLDAP development libraries and header files.
  167. Group: Development/Libraries
  168. %description -n compat32-%{name}-devel
  169. The openldap-devel package includes the development libraries and
  170. header files needed for compiling applications that use LDAP
  171. (Lightweight Directory Access Protocol) internals. LDAP is a set of
  172. protocols for enabling directory services over the Internet. Install
  173. this package only if you plan to develop or will need to compile
  174. customized LDAP clients.
  175. %prep
  176. %setup -q -c -a 1
  177. pushd openldap-%{version}
  178. libtoolize --force --copy
  179. popd
  180. pushd openldap-%{version}
  181. %patch0 -p1 -b .config
  182. %patch1 -p1 -b .ldaprc
  183. %patch2 -p1 -b .setugid
  184. %patch3 -p1 -b .pie
  185. %patch4 -p1 -b .toollinks
  186. %patch5 -p1 -b .nosql
  187. %patch6 -p1 -b .gethostbyname_r
  188. %patch9 -p1 -b .smbk5pwd
  189. %patch10 -p1 -b .multilib
  190. # security
  191. libtoolize --force --copy
  192. popd
  193. # Set up a build tree for a static version of libldap with the hooks for the
  194. # non-standard NTLM bind type which is needed to connect to Win2k GC servers
  195. # (Win2k3 supports SASL with DIGEST-MD5, so this shouldn't be needed for those
  196. # servers, though as of version 1.4 the connector doesn't try SASL first).
  197. if ! cp -al openldap-%{version} evo-openldap-%{version} ; then
  198. rm -fr evo-openldap-%{version}
  199. cp -a openldap-%{version} evo-openldap-%{version}
  200. fi
  201. pushd evo-openldap-%{version}
  202. %patch200 -p1 -b .evolution-ntlm
  203. popd
  204. pushd MigrationTools-%{migtools_version}
  205. %patch300 -p1 -b .instdir
  206. %patch301 -p1 -b .mktemp
  207. %patch302 -p1 -b .simple
  208. %patch303 -p1 -b .suffix
  209. %patch304 -p1 -b .schema
  210. %patch305 -p1 -b .noaliases
  211. popd
  212. pushd openldap-%{version}
  213. for subdir in build-servers build-clients ; do
  214. mkdir $subdir
  215. ln -s ../configure $subdir
  216. done
  217. autoconf
  218. # build smbk5pwd with other overlays
  219. ln -s ../../../contrib/slapd-modules/smbk5pwd/smbk5pwd.c servers/slapd/overlays
  220. mv contrib/slapd-modules/smbk5pwd/README contrib/slapd-modules/smbk5pwd/README.smbk5pwd
  221. popd
  222. %build
  223. libtool='%{_bindir}/libtool'
  224. tagname=CC; export tagname
  225. %ifarch ia64
  226. RPM_OPT_FLAGS="$RPM_OPT_FLAGS -O0"
  227. %endif
  228. # Find OpenSSL's header and library dependencies.
  229. if pkg-config openssl ; then
  230. OPENSSL_CPPFLAGS=`pkg-config --cflags-only-I openssl`
  231. CPPFLAGS="$OPENSSL_CPPFLAGS" ; export CPPFLAGS
  232. OPENSSL_LDFLAGS=`pkg-config --libs-only-L openssl`
  233. LDFLAGS="$OPENSSL_LDFLAGS" ; export LDFLAGS
  234. fi
  235. CFLAGS="$CPPFLAGS $RPM_OPT_FLAGS -D_REENTRANT -fPIC"; export CFLAGS
  236. # Build 2.4.
  237. CFLAGS="$RPM_OPT_FLAGS -D_REENTRANT -fPIC"; export CFLAGS
  238. export CPPFLAGS="-I${dbdir}/include"
  239. export CFLAGS="$CPPFLAGS $RPM_OPT_FLAGS -D_REENTRANT -fPIC -D_GNU_SOURCE"
  240. export LDFLAGS="-L${dbdir}/%{_lib}"
  241. build() {
  242. %configure \
  243. --with-threads=posix \
  244. \
  245. --enable-local --enable-rlookups \
  246. \
  247. --with-tls \
  248. --with-cyrus-sasl \
  249. --with-gssapi \
  250. \
  251. --enable-wrappers \
  252. \
  253. --enable-passwd \
  254. \
  255. --enable-cleartext \
  256. --enable-crypt \
  257. --enable-spasswd \
  258. --enable-lmpasswd \
  259. --enable-modules \
  260. --disable-sql \
  261. \
  262. --libexecdir=%{_libdir} \
  263. $@
  264. make %{_smp_mflags} LIBTOOL="$libtool"
  265. }
  266. # Build the servers with Kerberos support (for password checking, mainly).
  267. LIBS=-lpthread; export LIBS
  268. pushd openldap-%{version}/build-servers
  269. build \
  270. --enable-plugins \
  271. --enable-slapd \
  272. --enable-slurpd \
  273. --enable-bdb \
  274. --enable-hdb \
  275. --enable-ldap \
  276. --enable-ldbm \
  277. --enable-ldbm-api=%{ldbm_backend} \
  278. --enable-meta \
  279. --enable-monitor \
  280. --enable-null \
  281. --enable-shell \
  282. --enable-sql=mod \
  283. --disable-perl \
  284. --disable-shared \
  285. --disable-dynamic \
  286. --enable-static
  287. unset LIBS
  288. popd
  289. # Build clients without Kerberos password-checking support, which is only
  290. # useful in the server anyway, to avoid stray dependencies.
  291. pushd openldap-%{version}/build-clients
  292. build \
  293. --disable-slapd \
  294. --disable-slurpd \
  295. --enable-shared \
  296. --enable-dynamic \
  297. --enable-static \
  298. --with-pic
  299. popd
  300. # Build evolution-specific clients just as we would normal clients, except with
  301. # a different installation directory in mind and no shared libraries.
  302. pushd evo-openldap-%{version}
  303. build \
  304. --disable-slapd \
  305. --disable-slurpd \
  306. --disable-shared \
  307. --disable-dynamic \
  308. --enable-static \
  309. --with-pic \
  310. --includedir=%{evolution_connector_includedir} \
  311. --libdir=%{evolution_connector_libdir}
  312. popd
  313. %install
  314. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  315. libtool='%{_bindir}/libtool'
  316. tagname=CC; export tagname
  317. mkdir -p $RPM_BUILD_ROOT/%{_libdir}/
  318. # Install servers.
  319. pushd openldap-%{version}/build-servers
  320. make install DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} LIBTOOL="$libtool"
  321. popd
  322. # Install clients and shared libraries. Install the evo-specific versions
  323. # first so that any conflicting files are overwritten by generic versions.
  324. pushd evo-openldap-%{version}
  325. make install DESTDIR=$RPM_BUILD_ROOT \
  326. includedir=%{evolution_connector_includedir} \
  327. libdir=%{evolution_connector_libdir} \
  328. LIBTOOL="$libtool"
  329. install -m644 \
  330. $RPM_SOURCE_DIR/README.evolution \
  331. $RPM_BUILD_ROOT/%{evolution_connector_prefix}/
  332. popd
  333. pushd openldap-%{version}/build-clients
  334. make install DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} LIBTOOL="$libtool"
  335. popd
  336. # Create this directory so that authconfig setting TLS_CACERT to
  337. # /etc/openldap/cacerts doesn't cause TLS startup of any kind to fail
  338. # when the directory doesn't exist.
  339. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/openldap/cacerts
  340. # make sure the certs directory exists
  341. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/certs
  342. # Touch the dummy slapd.pem to make rpmbuild happy
  343. touch $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/certs/slapd.pem
  344. # Install the padl.com migration tools.
  345. mkdir -p $RPM_BUILD_ROOT%{_datadir}/openldap/migration
  346. install -m 755 MigrationTools-%{migtools_version}/migrate_* \
  347. $RPM_BUILD_ROOT%{_datadir}/openldap/migration/
  348. install -m 644 MigrationTools-%{migtools_version}/README \
  349. $RPM_SOURCE_DIR/migration-tools.txt \
  350. $RPM_BUILD_ROOT%{_datadir}/openldap/migration/
  351. cp MigrationTools-%{migtools_version}/README README.migration
  352. cp $RPM_SOURCE_DIR/migration-tools.txt TOOLS.migration
  353. install -m 644 %SOURCE6 README.upgrading
  354. install -m 644 %SOURCE9 README.migration
  355. # Create the data directory.
  356. mkdir -p $RPM_BUILD_ROOT/var/lib/ldap
  357. # Create the new run directory
  358. mkdir -p $RPM_BUILD_ROOT/var/run/openldap
  359. # Hack the build root out of the default config files.
  360. perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT/%{_sysconfdir}/openldap/*.conf
  361. # Get the buildroot out of the man pages.
  362. perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/*/*.*
  363. # We don't need the default files -- RPM handles changes.
  364. rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/openldap/*.default
  365. rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/openldap/schema/*.default
  366. # Install an init script for the servers.
  367. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
  368. install -m 755 $RPM_SOURCE_DIR/ldap.init $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/ldap
  369. # Install syconfig/ldap
  370. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
  371. install -m 644 %SOURCE10 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ldap
  372. # Add some more schema for the sake of migration scripts.
  373. install -d -m755 $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/vine
  374. install -m644 \
  375. $RPM_SOURCE_DIR/autofs.schema \
  376. $RPM_SOURCE_DIR/rfc822-MailMember.schema \
  377. $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/vine/
  378. # Move slapd and slurpd out of _libdir
  379. mv $RPM_BUILD_ROOT/%{_libdir}/slapd $RPM_BUILD_ROOT/%{_sbindir}/
  380. rm -f $RPM_BUILD_ROOT/%{_sbindir}/slap{acl,add,auth,cat,dn,index,passwd,test}
  381. rm -f $RPM_BUILD_ROOT/%{_libdir}/slap{acl,add,auth,cat,dn,index,passwd,test}
  382. for X in acl add auth cat dn index passwd test; do ln -s slapd $RPM_BUILD_ROOT/%{_sbindir}/slap$X ; done
  383. # Tweak permissions on the libraries to make sure they're correct.
  384. chmod 755 $RPM_BUILD_ROOT/%{_libdir}/lib*.so*
  385. chmod 644 $RPM_BUILD_ROOT/%{_libdir}/lib*.*a
  386. # Remove files which we don't want packaged.
  387. rm -f $RPM_BUILD_ROOT/%{_datadir}/openldap/migration/*.{instdir,simple,schema,mktemp,suffix,noaliases}
  388. #rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  389. #rm -f $RPM_BUILD_ROOT/%{evolution_connector_libdir}/*.la
  390. #rm -f $RPM_BUILD_ROOT/%{evolution_connector_libdir}/*.so*
  391. #rm -f $RPM_BUILD_ROOT/%{_libdir}/openldap/*.a
  392. #rm -f $RPM_BUILD_ROOT/%{_libdir}/openldap/*.so
  393. rm -f $RPM_BUILD_ROOT/var/openldap-data/DB_CONFIG.example
  394. rmdir $RPM_BUILD_ROOT/var/openldap-data
  395. %clean
  396. rm -rf $RPM_BUILD_ROOT
  397. %post -p /sbin/ldconfig
  398. %postun -p /sbin/ldconfig
  399. %pre servers
  400. # Take care to only do ownership-changing if we're adding the user.
  401. if /usr/sbin/useradd -c "LDAP User" -u 55 \
  402. -s /bin/false -r -d /var/lib/ldap ldap 2> /dev/null ; then
  403. if [ -d /var/lib/ldap ] ; then
  404. for dbfile in /var/lib/ldap/* ; do
  405. if [ -f $dbfile ] ; then
  406. chown ldap.ldap $dbfile
  407. fi
  408. done
  409. fi
  410. fi
  411. if [ "$1" = "2" ]; then
  412. # guess, if database upgrade is necessary
  413. OLD_SLAPD_VERSION=$( rpm -q --qf "%{VERSION}" openldap-servers | sed 's/\.[0-9]*$//' )
  414. NEW_SLAPD_VERSION=$( echo %{version} | sed 's/\.[0-9]*$//' )
  415. if [ "$OLD_SLAPD_VERSION" != "$NEW_SLAPD_VERSION" ]; then
  416. # Minor version number has changed -> slapcat/slapadd of the BDB database
  417. # is necessary. Save an ldif of the database where the "% post servers"
  418. # scriptlet can restore it. Also save the database files to a "rpmorig"
  419. # directory - Just In Case (TM)
  420. # stop the server
  421. if /sbin/service ldap status &>/dev/null; then
  422. touch /var/lib/ldap/need_start
  423. /sbin/service ldap stop &>/dev/null
  424. fi
  425. files=$(echo /var/lib/ldap/{log.*,__db.*,[a]lock})
  426. if [ "$files" != '/var/lib/ldap/log.* /var/lib/ldap/__db.* /var/lib/ldap/[a]lock' ] ; then
  427. if /usr/sbin/slapcat -l /var/lib/ldap/upgrade.ldif > /dev/null 2>&1 ; then
  428. if [ -f /var/lib/ldap/upgrade.ldif ] ; then
  429. /bin/rm -fr /var/lib/ldap/rpmorig > /dev/null 2>&1 || :
  430. mkdir /var/lib/ldap/rpmorig
  431. mv /var/lib/ldap/{alock,*.bdb,__db.*,log.*} /var/lib/ldap/rpmorig > /dev/null 2>&1 || :
  432. cp -f /var/lib/ldap/DB_CONFIG /var/lib/ldap/rpmorig > /dev/null 2>&1 || :
  433. else
  434. /bin/rm -f /var/lib/ldap/upgrade.ldif
  435. fi
  436. fi
  437. fi
  438. fi
  439. fi
  440. exit 0
  441. %post servers
  442. /sbin/ldconfig
  443. /sbin/chkconfig --add ldap
  444. # If there's a /var/lib/ldap/upgrade.ldif file, slapadd it and delete it.
  445. # It was created by the % pre above.
  446. if [ -f /var/lib/ldap/upgrade.ldif ] ; then
  447. /sbin/runuser -m -s /usr/sbin/slapadd -- "ldap" -l /var/lib/ldap/upgrade.ldif > /dev/null 2>&1
  448. rm -f /var/lib/ldap/upgrade.ldif
  449. fi
  450. exec > /dev/null 2> /dev/null
  451. if [ ! -f %{_sysconfdir}/pki/tls/certs/slapd.pem ] ; then
  452. pushd %{_sysconfdir}/pki/tls/certs
  453. umask 077
  454. cat << EOF | make slapd.pem
  455. --
  456. SomeState
  457. SomeCity
  458. SomeOrganization
  459. SomeOrganizationalUnit
  460. localhost.localdomain
  461. root@localhost.localdomain
  462. EOF
  463. chown root:ldap slapd.pem
  464. chmod 640 slapd.pem
  465. popd
  466. fi
  467. if [ $1 -ge 1 ] ; then
  468. /sbin/service ldap condrestart &>/dev/null
  469. /sbin/service ldap status &>/dev/null
  470. if [ "$?" != "0" -a -f /var/lib/ldap/need_start ]; then
  471. /sbin/service ldap start &>/dev/null
  472. rm -f /var/lib/ldap/need_start &>/dev/null
  473. fi
  474. fi
  475. exit 0
  476. %preun servers
  477. if [ "$1" = "0" ] ; then
  478. /sbin/service ldap stop > /dev/null 2>&1 || :
  479. /sbin/chkconfig --del ldap
  480. # Openldap-servers are being removed from system.
  481. # Do not touch the database! Older versions of this
  482. # package attempted to store database in LDIF format, so
  483. # it can be restored later - but it's up to the administrator
  484. # to save the database, if he/she wants so.
  485. fi
  486. %postun servers
  487. /sbin/ldconfig
  488. if [ $1 -ge 1 ] ; then
  489. /sbin/service ldap condrestart > /dev/null 2>&1 || :
  490. fi
  491. %post devel -p /sbin/ldconfig
  492. %postun devel -p /sbin/ldconfig
  493. %files
  494. %defattr(-,root,root)
  495. %doc openldap-%{version}/{ANNOUNCEMENT,CHANGES,COPYRIGHT,LICENSE,README,doc/rfc}
  496. %attr(0755,root,root) %dir %{_sysconfdir}/openldap
  497. %attr(0755,root,root) %dir %{_sysconfdir}/openldap/cacerts
  498. %attr(0644,root,root) %config %{_sysconfdir}/openldap/ldap*.conf
  499. %attr(0755,root,root) %{_libdir}/libl*-2.4*.so.*
  500. %attr(0644,root,root) %{_mandir}/man5/ldif.5*
  501. %attr(0644,root,root) %{_mandir}/man5/ldap.conf.5*
  502. %files servers
  503. %defattr(-,root,root)
  504. %doc README.migration TOOLS.migration
  505. %doc $RPM_SOURCE_DIR/README.upgrading $RPM_SOURCE_DIR/guide.html
  506. %doc README.upgrading
  507. %doc openldap-%{version}/contrib/slapd-modules/smbk5pwd/README.smbk5pwd
  508. %doc openldap-%{version}/doc/guide/admin/*.html
  509. %doc openldap-%{version}/doc/guide/admin/*.png
  510. %ghost %config %{_sysconfdir}/pki/tls/certs/slapd.pem
  511. %attr(0755,root,root) %config %{_sysconfdir}/rc.d/init.d/ldap
  512. %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/ldap*.conf
  513. %attr(0640,root,ldap) %config(noreplace) %{_sysconfdir}/openldap/slapd.conf
  514. %attr(0640,root,ldap) %{_sysconfdir}/openldap/DB_CONFIG.example
  515. %attr(0755,root,root) %dir %{_sysconfdir}/openldap/schema
  516. %attr(0644,root,root) %dir %{_sysconfdir}/openldap/schema/README*
  517. %attr(0644,root,root) %config %{_sysconfdir}/sysconfig/ldap
  518. %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/schema/*.schema*
  519. %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/schema/*.ldif
  520. %attr(0755,root,root) %dir %{_sysconfdir}/openldap/schema/vine
  521. %attr(0644,root,root) %config %{_sysconfdir}/openldap/schema/vine/*.schema*
  522. %attr(0755,root,root) %{_sbindir}/sl*
  523. %attr(0644,root,root) %{_mandir}/man8/*
  524. %attr(0644,root,root) %{_mandir}/man5/slapd*.5*
  525. %attr(0644,root,root) %{_mandir}/man5/slapo-*.5*
  526. %attr(0755,root,root) %dir %{_datadir}/openldap
  527. %attr(0755,root,root) %dir %{_datadir}/openldap/migration
  528. %attr(0644,root,root) %{_datadir}/openldap/migration/README
  529. %attr(0644,root,root) %config(noreplace) %{_datadir}/openldap/migration/*.ph
  530. %attr(0755,root,root) %{_datadir}/openldap/migration/*.pl
  531. %attr(0755,root,root) %{_datadir}/openldap/migration/*.sh
  532. %attr(0644,root,root) %{_datadir}/openldap/migration/*.txt
  533. %attr(0700,ldap,ldap) %dir /var/lib/ldap
  534. %attr(0755,ldap,ldap) %dir /var/run/openldap
  535. %attr(0755,root,root) %dir %{_libdir}/openldap
  536. %attr(0755,root,root) %{_libdir}/openldap/[^b]*
  537. %files servers-sql
  538. %defattr(-,root,root)
  539. %doc openldap-%{version}/servers/slapd/back-sql/docs/*
  540. %doc openldap-%{version}/servers/slapd/back-sql/rdbms_depend
  541. %attr(0755,root,root) %{_libdir}/openldap/back_sql.la
  542. %attr(0755,root,root) %{_libdir}/openldap/back_sql*.so.*
  543. %files clients
  544. %defattr(-,root,root)
  545. %attr(0755,root,root) %{_bindir}/*
  546. %attr(0644,root,root) %{_mandir}/man1/*
  547. %files devel
  548. %defattr(-,root,root)
  549. %doc openldap-%{version}/doc/drafts openldap-%{version}/doc/rfc
  550. %attr(0755,root,root) %{_libdir}/libl*.so
  551. %attr(0644,root,root) %{_libdir}/libl*.a
  552. %attr(0644,root,root) %{_includedir}/*
  553. %attr(0644,root,root) %{_mandir}/man3/*
  554. %attr(0755,root,root) %dir %{evolution_connector_prefix}
  555. %attr(0644,root,root) %{evolution_connector_prefix}/README*
  556. %attr(0755,root,root) %dir %{evolution_connector_includedir}
  557. %attr(0644,root,root) %{evolution_connector_includedir}/*.h
  558. %attr(0755,root,root) %dir %{evolution_connector_libdir}
  559. %attr(0644,root,root) %{evolution_connector_libdir}/*.a
  560. %exclude %{_libdir}/*.la
  561. #%exclude %{_libdir}/openldap/*.a
  562. %exclude %{_libdir}/openldap/*.so
  563. %exclude %{evolution_connector_libdir}/*.la
  564. %exclude %{evolution_connector_libdir}/*.so*
  565. ## to build compat32 for x86_64 architecture support
  566. %if %{build_compat32}
  567. %files -n compat32-%{name}
  568. %defattr(-,root,root)
  569. %attr(0755,root,root) %{_libdir}/libl*-2.4*.so.*
  570. # %files -n compat32-%{name}-servers-sql
  571. # %defattr(-,root,root)
  572. # %attr(0755,root,root) %{_libdir}/openldap/back_sql.la
  573. # %attr(0755,root,root) %{_libdir}/openldap/back_sql*.so.*
  574. %files -n compat32-%{name}-devel
  575. %defattr(-,root,root)
  576. %attr(0755,root,root) %{_libdir}/libl*.so
  577. %attr(0644,root,root) %{_libdir}/libl*.a
  578. %attr(0644,root,root) %{_includedir}/*
  579. %attr(0755,root,root) %dir %{evolution_connector_prefix}
  580. %attr(0644,root,root) %{evolution_connector_prefix}/README*
  581. %attr(0755,root,root) %dir %{evolution_connector_includedir}
  582. %attr(0644,root,root) %{evolution_connector_includedir}/*.h
  583. %attr(0755,root,root) %dir %{evolution_connector_libdir}
  584. %attr(0644,root,root) %{evolution_connector_libdir}/*.a
  585. %exclude %{_libdir}/*.la
  586. #%exclude %{_libdir}/openldap/*.a
  587. %exclude %{_libdir}/openldap/*.so
  588. %exclude %{evolution_connector_libdir}/*.la
  589. %exclude %{evolution_connector_libdir}/*.so*
  590. %endif
  591. %changelog
  592. * Wed Apr 6 2011 IWAI, Masaharu <iwai@alib.jp> 2.4.23-1
  593. - new upstream release
  594. - update MigrationTools 47
  595. * Wed Jan 12 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.4.21-5
  596. - change %%define __perl_requires instead of __find_requires
  597. * Tue Jan 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.4.21-4
  598. - rebuild with openssl-1.0.0c
  599. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.21-3
  600. - rebuilt with gcc-4.4.3-3 on ppc
  601. * Fri Feb 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.21-2
  602. - rebuilt with rpm-4.8.0-3 (on ppc)
  603. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.21-1
  604. - new upstream release
  605. - rebuild with db4-4.8.0
  606. - use Requires(post/pre) instead of Prereq
  607. * Sun Dec 20 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.16-4
  608. - rebuild
  609. * Tue Nov 3 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.16-3
  610. - add BuildConflicts: libicu-devel
  611. * Mon Nov 2 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.16-2
  612. - add Patch1000 for fix CVE-2009-3767 (openssl null char)
  613. - add --with-gssapi into configure
  614. - drop --without-kerberos (it is old configure option)
  615. * Wed Aug 05 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.16-1
  616. - new upstream release
  617. * Sun Jul 05 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.11-6
  618. - dropped compat32-%%{name}-servers-sql
  619. * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.11-5
  620. - added compat32 subpackages
  621. * Wed Apr 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.11-4
  622. - rebuild with libtool-2.2.6a
  623. * Sat Apr 04 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.11-3
  624. - use filter-requires-openldap.sh instead of find-requires
  625. * Wed Apr 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.11-2
  626. - reverted a scriptlet that dropped in 2.3.24-0vl4
  627. * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.11-1
  628. - new upstream release
  629. - applied patches from fedora's package (openldap-2.4.12-1)
  630. * Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.41-1vl5
  631. - updated to 2.3.41 (Patch10 and 11 were merged into upstream)
  632. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.27-0vl5
  633. - rebuild with new openssl
  634. * Sat May 12 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.27-0vl4
  635. - rebuilt with new toolchain/bdb 4.3
  636. * Tue Dec 26 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.27-0vl3
  637. - rebuilt for VineSeed
  638. * Thu Dec 21 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.3.27-0vl2.3
  639. - add Vendor/Distribution tag
  640. * Wed Dec 13 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.3.27-0vl2.2
  641. - add patch11 for fix krbv4_ldap_auth issue
  642. * Fri Nov 24 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.3.27-0vl2.1
  643. - add patch10 for fix CVE-2006-5779
  644. * Sun Sep 03 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.3.27-0vl2
  645. - use filter-requires-openldap.sh instead of find-requires
  646. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.3.27-0vl1
  647. - new upstream release
  648. * Sat Aug 26 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.3.24-0vl4
  649. - restored rfc822-MailMember.schema
  650. - update config.patch
  651. - removed a scriptlet that save and restore the database
  652. * Sat Aug 19 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.3.24-0vl3
  653. - removed internal bdb
  654. - removed autoconf-2.13.1 and automake-1.4a
  655. * Wed Jul 11 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.3.24-0vl2
  656. - removed compat-openldap subpackage
  657. * Sun Jul 02 2006 Satoshi MACHINO <machino@vinelinux.org> 2.3.24-0vl1
  658. - New upstream release
  659. - merged to fedora's package(openldap-2.3.24-2)
  660. -- build sql backend as a loadable module
  661. -- move ucdata to the -servers subpackage where it belongs
  662. -- add compat-openldap subpackage
  663. -- update administrator guide
  664. -- build a separate, static set of libraries for openldap-devel with the
  665. non-standard ntlm bind patch applied, for use by
  666. the evolution-connector package (#125579), and installing them under
  667. %%{evolution_connector_prefix} (%{evolution_connector_prefix})
  668. -- add libtool-ltdl-devel buildprereqs
  669. -- Upgrade internal bdb to db-4.4.20. For a clean upgrade, this will
  670. require that users slapcat their databases into a temp file, move
  671. /var/lib/ldap someplace safe, upgrade the openldap rpms, then
  672. slapadd the temp file.
  673. -- fix ldap.init
  674. -- add two upstream patches for db-4.4.20
  675. * Wed Nov 2 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.30-0vl2
  676. - rebuild for VineSeed Plus
  677. - added Japanese summary
  678. * Sat Apr 17 2004 Satoshi MACHINO <machino@vinelinux.org> 2.1.30-0vl1
  679. - new upstream version (openldap-2.1.30)
  680. -- Fixed slapd userdb checkpass bub (ITS#3048)
  681. -- Fixed back-ldbm IDL delete bug (ITS#3048)
  682. -- Fixed libldap schema parsing bug (ITS#2920, ITS#3065)
  683. -- Fixed liblutil NS MTA MD5 passwd len bug (ITS#2899)
  684. -- Removed lint (ITS#3086)
  685. -- Documentation updated slapd.conf(5) manpage (ITS#2525)
  686. * Thu Apr 08 2004 Satoshi MACHINO <machino@vinelinux.org> 2.1.29-0vl2
  687. - fixed ldap.ini
  688. * Sun Mar 28 2004 Satoshi MACHINO <machino@vinelinux.org> 2.1.29-0vl1
  689. - new upstream version (openldap-2.1.29)
  690. * Wed Mar 24 2004 Satoshi MACHINO <machino@vinelinux.org> 2.1.28-0vl1
  691. - new upstream version (openldap-2.1.28)
  692. * Mon Mar 22 2004 Satoshi MACHINO <machino@vinelinux.org> 2.1.27-0vl1
  693. - new upstream version (openldap-2.1.27)
  694. * Sat Jan 24 2004 Satoshi MACHINO <machino@vinelinux.org> 2.1.26-0vl1
  695. - new upstream version (openldap-2.1.26)
  696. - don't use libtool in make
  697. * Sun Oct 26 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.23-0vl1
  698. - new upstream version (openldap-2.1.23)
  699. - updated migration tools to version 45
  700. - used libtool
  701. * Sun Jul 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.22-0vl2
  702. - for VineSeedPlus
  703. - fixed BuildPreReq
  704. * Sat Jul 19 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.22-0vl1
  705. - for VinePlus
  706. - new upstream version (openldap-2.1.22)
  707. * Fri May 29 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.21-0vl1
  708. - new upstream version (openldap-2.1.21)
  709. * Tue May 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.20-0vl1
  710. - new upstream version
  711. * Thu May 15 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.19-1vl1
  712. - new upstream version
  713. - merged spec file to 2.1.19-1
  714. -- switch to db with crypto
  715. -- install the db utils for the bundled libdb as %%{_sbindir}/slapd_db_*
  716. -- install slapcat/slapadd from 2.0.x for migration purposes
  717. * Mon Jan 27 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.12-0vl1
  718. - updated to openldap-2.1.12
  719. -- dropped ldapfriendly
  720. * Fri Sep 06 2002 Satoshi MACHINO <machino@vinelinux.org> 2.1.4-0vl1
  721. - updated to openldap-2.1.4
  722. - updated guide.html
  723. * Fri Sep 06 2002 Satoshi MACHINO <machino@vinelinux.org> 2.1.3-4vl1
  724. - updated to openldap-2.1.3
  725. - added db-4.0.14
  726. - updated migration tools to version 44
  727. - merged openldap-2.1.3-4
  728. -- updated patch0, patch1, patch3 and patch6
  729. -- dropped patch7 and patch10
  730. -- enable the ldbm/berkeley backend as well
  731. -- use an ldbm/berkeley database as the default
  732. -- don't install slapadd-gdbm
  733. -- allow ldapv2 binds by default
  734. -- set TLS_CACERTFILE in the default ldap.conf file
  735. * Tue Jun 11 2002 Satoshi MACHINO <machino@vinelinux.org> 2.0.25-0vl1
  736. - updated to openldap-2.0.25
  737. * Mon Jun 10 2002 Satoshi MACHINO <machino@vinelinux.org> 2.0.24-0vl1
  738. - updated to openldap-2.0.24
  739. - updated migration tools to version 40
  740. - dropped autoconf source
  741. - dropped some patches
  742. * Sat Feb 16 2002 Satoshi MACHINO <machino@vinelinux.org> 2.0.23-0vl1
  743. - updated openldap-2.0.23
  744. * Wed Feb 06 2002 Satoshi MACHINO <machino@vinelinux.org> 2.0.22-0vl1
  745. - updated openldap-2.0.22
  746. * Tue Jan 21 2002 Satoshi MACHINO <machino@vinelinux.org> 2.0.21-0vl1
  747. - updated openldap-2.0.21
  748. * Wed Nov 07 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.18-0vl1
  749. - updated openldap-2.0.18
  750. * Sun Oct 14 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.17-0vl1
  751. - updated openldap-2.0.17
  752. - updated MigrationTools-38-instdir.patch
  753. - updated openldap-2.0.17-config.patch
  754. - removed openldap-2.0.3-krb5-1.1.patch
  755. * Sat Sep 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.14-1vl1
  756. - update to migration tools 39
  757. - removed patch libtool.patch and linkage.patch
  758. * Wed Sep 19 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.14-0vl0
  759. - updated openldap-2.0.14
  760. * Mon Jul 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  761. - 2.0.11-0vl2
  762. - rebuilt with openssl-0.9.6b
  763. * Sun May 27 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.11-0vl1
  764. - updated
  765. * Thu Apr 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 2.0.7-14vl3
  766. - Fixed resolve libraries path.
  767. * Wed Apr 11 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.7-14vl2
  768. - added openldap-2.0.7-config-vine.patch
  769. - removed openldap-2.0.7-config.patch
  770. * Tue Apr 10 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.7-14vl1
  771. - merged Rawhide's OpenLDAP Package
  772. back out pidfile patches, which interact weirdly with Linux threads
  773. mark non-standard schema as such by moving them to a different directory
  774. update to MigrationTools 36, adds netgroup support
  775. fix thinko in that last patch
  776. try to work around some buffering problems
  777. gettextize the init script
  778. move the RFCs to the base package (#21701)
  779. add support for additional OPTIONS, SLAPD_OPTIONS, and SLURPD_OPTIONS in
  780. a /etc/sysconfig/ldap file (#23549)
  781. change automount object OID from 1.3.6.1.1.1.2.9 to 1.3.6.1.1.1.2.13,
  782. per mail from the ldap-nis mailing list
  783. force -fPIC so that shared libraries don't fall over
  784. add Norbert Klasen's patch (via Del) to fix searches using ldaps URLs
  785. (OpenLDAP ITS #889)
  786. add "-h ldaps:///" to server init when TLS is enabled, in order to support
  787. ldaps in addition to the regular STARTTLS (suggested by Del)
  788. correct mismatched-dn-cn bug in migrate_automount.pl
  789. update to the correct OIDs for automount and automountInformation
  790. add notes on upgrading
  791. * Sat Nov 25 2000 Satoshi MACHINO <machino@vinelinux.org> 2.0.7-1vl2
  792. - fixed VersionedDependencies to used _noVersionedDependencies 1 in .rpmmacros
  793. * Sat Nov 18 2000 MACHINO, satoshi <machino@vinelinux.org> 2.0.7-1vl1
  794. - build for Vine Linux
  795. - removed kerberos
  796. - fixed config dir
  797. - fixed _sysconfdir
  798. * Tue Nov 7 2000 Nalin Dahyabhai <nalin@redhat.com>
  799. - update to 2.0.7
  800. - drop chdir patch (went mainstream)
  801. * Thu Nov 2 2000 Nalin Dahyabhai <nalin@redhat.com>
  802. - change automount object classes from auxiliary to structural
  803. * Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com>
  804. - update to Migration Tools 27
  805. - change the sense of the last simple patch
  806. * Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com>
  807. - reorganize the patch list to separate MigrationTools and OpenLDAP patches
  808. - switch to Luke Howard's rfc822MailMember schema instead of the aliases.schema
  809. - configure slapd to run as the non-root user "ldap" (#19370)
  810. - chdir() before chroot() (we don't use chroot, though) (#19369)
  811. - disable saving of the pid file because the parent thread which saves it and
  812. the child thread which listens have different pids
  813. * Wed Oct 11 2000 Nalin Dahyabhai <nalin@redhat.com>
  814. - add missing required attributes to conversion scripts to comply with schema
  815. - add schema for mail aliases, autofs, and kerberosSecurityObject rooted in
  816. our own OID tree to define attributes and classes migration scripts expect
  817. - tweak automounter migration script
  818. * Mon Oct 9 2000 Nalin Dahyabhai <nalin@redhat.com>
  819. - try adding the suffix first when doing online migrations
  820. - force ldapadd to use simple authentication in migration scripts
  821. - add indexing of a few attributes to the default configuration
  822. - add commented-out section on using TLS to default configuration
  823. * Thu Oct 5 2000 Nalin Dahyabhai <nalin@redhat.com>
  824. - update to 2.0.6
  825. - add buildprereq on cyrus-sasl-devel, krb5-devel, openssl-devel
  826. - take the -s flag off of slapadd invocations in migration tools
  827. - add the cosine.schema to the default server config, needed by inetorgperson
  828. * Wed Oct 4 2000 Nalin Dahyabhai <nalin@redhat.com>
  829. - add the nis.schema and inetorgperson.schema to the default server config
  830. - make ldapadd a hard link to ldapmodify because they're identical binaries
  831. * Fri Sep 22 2000 Nalin Dahyabhai <nalin@redhat.com>
  832. - update to 2.0.4
  833. * Fri Sep 15 2000 Nalin Dahyabhai <nalin@redhat.com>
  834. - remove prereq on /etc/init.d (#17531)
  835. - update to 2.0.3
  836. - add saucer to the included clients
  837. * Wed Sep 6 2000 Nalin Dahyabhai <nalin@redhat.com>
  838. - update to 2.0.1
  839. * Fri Sep 1 2000 Nalin Dahyabhai <nalin@redhat.com>
  840. - update to 2.0.0
  841. - patch to build against MIT Kerberos 1.1 and later instead of 1.0.x
  842. * Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com>
  843. - remove that pesky default password
  844. - change "Copyright:" to "License:"
  845. * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com>
  846. - adjust permissions in files lists
  847. - move libexecdir from %%{_prefix}/sbin to %%{_sbindir}
  848. * Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com>
  849. - add migrate_automount.pl to the migration scripts set
  850. * Tue Aug 8 2000 Nalin Dahyabhai <nalin@redhat.com>
  851. - build a semistatic slurpd with threads, everything else without
  852. - disable reverse lookups, per email on OpenLDAP mailing lists
  853. - make sure the execute bits are set on the shared libraries
  854. * Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com>
  855. - change logging facility used from local4 to daemon (#11047)
  856. * Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com>
  857. - split off clients and servers to shrink down the package and remove the
  858. base package's dependency on Perl
  859. - make certain that the binaries have sane permissions
  860. * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com>
  861. - move the init script back
  862. * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com>
  863. - tweak the init script to only source /etc/sysconfig/network if it's found
  864. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  865. - automatic rebuild
  866. * Mon Jul 10 2000 Nalin Dahyabhai <nalin@redhat.com>
  867. - switch to gdbm; I'm getting off the db merry-go-round
  868. - tweak the init script some more
  869. - add instdir to @INC in migration scripts
  870. * Thu Jul 6 2000 Nalin Dahyabhai <nalin@redhat.com>
  871. - tweak init script to return error codes properly
  872. - change initscripts dependency to one on /etc/init.d
  873. * Tue Jul 4 2000 Nalin Dahyabhai <nalin@redhat.com>
  874. - prereq initscripts
  875. - make migration scripts use mktemp
  876. * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
  877. - do condrestart in post and stop in preun
  878. - move init script to /etc/init.d
  879. * Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com>
  880. - update to 1.2.11
  881. - add condrestart logic to init script
  882. - munge migration scripts so that you don't have to be
  883. /usr/share/openldap/migration to run them
  884. - add code to create pid files in /var/run
  885. * Mon Jun 5 2000 Nalin Dahyabhai <nalin@redhat.com>
  886. - FHS tweaks
  887. - fix for compiling with libdb2
  888. * Thu May 4 2000 Bill Nottingham <notting@redhat.com>
  889. - minor tweak so it builds on ia64
  890. * Wed May 3 2000 Nalin Dahyabhai <nalin@redhat.com>
  891. - more minimalistic fix for bug #11111 after consultation with OpenLDAP team
  892. - backport replacement for the ldapuser patch
  893. * Tue May 2 2000 Nalin Dahyabhai <nalin@redhat.com>
  894. - fix segfaults from queries with commas in them in in.xfingerd (bug #11111)
  895. * Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com>
  896. - update to 1.2.10
  897. - add revamped version of patch from kos@bastard.net to allow execution as
  898. any non-root user
  899. - remove test suite from %%build because of weirdness in the build system
  900. * Wed Apr 12 2000 Nalin Dahyabhai <nalin@redhat.com>
  901. - move the defaults for databases and whatnot to /var/lib/ldap (bug #10714)
  902. - fix some possible string-handling problems
  903. * Mon Feb 14 2000 Bill Nottingham <notting@redhat.com>
  904. - start earlier, stop later.
  905. * Thu Feb 3 2000 Nalin Dahyabhai <nalin@redhat.com>
  906. - auto rebuild in new environment (release 4)
  907. * Tue Feb 1 2000 Nalin Dahyabhai <nalin@redhat.com>
  908. - add -D_REENTRANT to make threaded stuff more stable, even though it looks
  909. like the sources define it, too
  910. - mark *.ph files in migration tools as config files
  911. * Fri Jan 21 2000 Nalin Dahyabhai <nalin@redhat.com>
  912. - update to 1.2.9
  913. * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com>
  914. - strip files
  915. * Sat Sep 11 1999 Bill Nottingham <notting@redhat.com>
  916. - update to 1.2.7
  917. - fix some bugs from bugzilla (#4885, #4887, #4888, #4967)
  918. - take include files out of base package
  919. * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com>
  920. - missing ;; in init script reload) (#4734).
  921. * Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com>
  922. - move stuff from /usr/libexec to /usr/sbin
  923. - relocate config dirs to /etc/openldap
  924. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  925. - initscript munging
  926. * Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com>
  927. - add the migration tools to the package
  928. * Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com>
  929. - upgrade to 1.2.6
  930. - add rc.d script
  931. - split -devel package
  932. * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com>
  933. - upgrade to latest stable (1.1.4), it now uses configure macro.
  934. * Fri Jan 15 1999 Bill Nottingham <notting@redhat.com>
  935. - build on arm, glibc2.1
  936. * Wed Oct 28 1998 Preston Brown <pbrown@redhat.com>
  937. - initial cut.
  938. - patches for signal handling on the alpha