openldap-vl.spec 43 KB

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