openldap-vl.spec 41 KB

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