openldap-vl.spec 40 KB

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