openldap-vl.spec 44 KB

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