openldap-vl.spec 44 KB

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