postgresql8-vl.spec 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238
  1. %define plperl %{?_without_perl:0}%{!?_without_perl:1}
  2. %define plpython %{?_without_python:0}%{!?_without_python:1}
  3. %define non6xpamdeps 0
  4. #%define rel 0
  5. %define beta 0
  6. %{?beta:%define __os_install_post /usr/lib/rpm/brp-compress}
  7. %define tcl 1
  8. %define jdbc 1
  9. %define test 0
  10. %define pltcl 1
  11. %define pls 1
  12. %define ssl 1
  13. %define kerberos 0
  14. %define nls 1
  15. %define pam 1
  16. %define pgver 8.4
  17. %define jdbc2ver 606
  18. %define jdbcver 702
  19. Summary: PostgreSQL client programs and libraries.
  20. Summary(ja): PostgreSQL のクライアントプログラム群およびライブラリ
  21. Name: postgresql8
  22. Version: %{pgver}.7
  23. Release: 2%{?_dist_release}
  24. # Conventions for PostgreSQL Global Development Group RPM releases:
  25. #
  26. # Official PostgreSQL Development Group RPMS have a PGDG after the release number.
  27. # Integer releases are stable -- 0.1.x releases are Pre-releases, and x.y are
  28. # test releases.
  29. #
  30. # Pre-releases are those that are built from CVS snapshots or pre-release
  31. # tarballs from postgresql.org. Official beta releases are not
  32. # considered pre-releases, nor are release candidates, as their beta or
  33. # release candidate status is reflected in the version of the tarball. Pre-
  34. # releases' versions do not change -- the pre-release tarball of 7.0.3, for
  35. # example, has the same tarball version as the final official release of 7.0.3:
  36. # but the tarball is different.
  37. #
  38. # Test releases are where PostgreSQL itself is not in beta, but certain parts of
  39. # the RPM packaging (such as the spec file, the initscript, etc) are in beta.
  40. #
  41. # Pre-release RPM's should not be put up on the public ftp.postgresql.org server
  42. # -- only test releases or full releases should be.
  43. License: BSD
  44. Group: Applications/Databases
  45. Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
  46. Source3: postgresql.init
  47. Source5: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.md5
  48. Source6: README.rpm-dist
  49. Source10: http://jdbc.postgresql.org/download/postgresql-8.3-%{jdbc2ver}.jdbc2.jar
  50. Source11: http://jdbc.postgresql.org/download/postgresql-8.3-%{jdbc2ver}.jdbc2ee.jar
  51. Source12: http://jdbc.postgresql.org/download/postgresql-%{pgver}-%{jdbcver}.jdbc3.jar
  52. Source13: http://jdbc.postgresql.org/download/postgresql-%{pgver}-%{jdbcver}.jdbc4.jar
  53. Source15: postgresql-bashprofile
  54. Patch2: postgresql-8.3.3-nls.patch
  55. Patch3: postgresql-7.4-ecpg-patch
  56. Buildrequires: perl build-essential
  57. Requires: /sbin/ldconfig initscripts
  58. %if %plpython
  59. Buildrequires: python python-devel
  60. %endif
  61. %if %tcl
  62. Buildrequires: tcl
  63. %endif
  64. Buildrequires: readline-devel
  65. Buildrequires: zlib-devel >= 1.0.4
  66. %if %ssl
  67. Buildrequires: openssl-devel
  68. %endif
  69. %if %kerberos
  70. Buildrequires: krb5-devel
  71. %endif
  72. %if %nls
  73. Buildrequires: gettext >= 0.10.35
  74. %endif
  75. %if %pam
  76. %if %non6xpamdeps
  77. Buildrequires: pam-devel
  78. %endif
  79. %endif
  80. BuildRequires: bison, flex, pam-devel
  81. Url: http://www.postgresql.org/
  82. Buildroot: %{_tmppath}/%{name}-%{version}-root
  83. Obsoletes: postgresql-clients
  84. Obsoletes: postgresql-python
  85. Obsoletes: postgresql7
  86. Provides: postgresql
  87. %if %pls
  88. Obsoletes: postgresql7-plperl
  89. %endif
  90. # This is the PostgreSQL Global Development Group Official RPMset spec file,
  91. # or a derivative thereof.
  92. # Copyright 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  93. # and others listed.
  94. # Major Contributors:
  95. # ---------------
  96. # Lamar Owen
  97. # Trond Eivind Glomsrd <teg@redhat.com>
  98. # Thomas Lockhart
  99. # Reinhard Max
  100. # Karl DeBisschop
  101. # Peter Eisentraut
  102. # Joe Conway
  103. # and others in the Changelog....
  104. # This spec file and ancilliary files are licensed in accordance with
  105. # The PostgreSQL license.
  106. # On top of this file you can find the default build package list macros. These can be overridden by defining
  107. # on the rpm command line:
  108. # rpm --define 'packagename 1' .... to force the package to build.
  109. # rpm --define 'packagename 0' .... to force the package NOT to build.
  110. # The base package, the lib package, the devel package, and the server package always get built.
  111. %description
  112. PostgreSQL is an advanced Object-Relational database management system
  113. (DBMS) that supports almost all SQL constructs (including
  114. transactions, subselects and user-defined types and functions). The
  115. postgresql package includes the client programs and libraries that
  116. you'll need to access a PostgreSQL DBMS server. These PostgreSQL
  117. client programs are programs that directly manipulate the internal
  118. structure of PostgreSQL databases on a PostgreSQL server. These client
  119. programs can be located on the same machine with the PostgreSQL
  120. server, or may be on a remote machine which accesses a PostgreSQL
  121. server over a network connection. This package contains the docs
  122. in HTML for the whole package, as well as command-line utilities for
  123. managing PostgreSQL databases on a PostgreSQL server.
  124. If you want to manipulate a PostgreSQL database on a remote PostgreSQL
  125. server, you need this package. You also need to install this package
  126. if you're installing the postgresql-server package.
  127. %description -l ja
  128. PostgreSQLはSQLの構成要素(トランザクション、副問い合わせおよびユーザ
  129. 定義型やユーザ定義関数など)のほとんどすべてをサポートした、先進的なオブ
  130. ジェクト指向のデータベース管理システム(DBMS)です。postgresqlのパッケー
  131. ジにはPostgreSQL DBMS サーバにアクセスするために必要なクライアントプロ
  132. グラムおよびライブラリを収録しています。PostgreSQLクライアントプログラ
  133. ムは、PostgreSQLサーバ上のPostgreSQLデータベースの内部構造を直接操作す
  134. るためのプログラムです。これらのクライアントプログラムは、PostgreSQLサ
  135. ーバと同じマシン上で動いていてもよいですし、ネットワークコネクションの
  136. 向こう側にあるリモートマシン上にあっても構いません。このパッケージには
  137. PostgreSQLサーバ上のPostgreSQLデータベースを管理するためのユーティリテ
  138. ィに加え、全パッケージのドキュメントがHTML形式で収録されています。
  139. リモートにあるPostgreSQLサーバ上のPostgreSQLデータベースを操作する場合
  140. はこのパッケージが必要です。またpostgresql-serverパッケージをインスト
  141. ールする場合にも、このパッケージをインストールする必要があります。
  142. %package libs
  143. Summary: The shared libraries required for any PostgreSQL clients.
  144. Summary(ja): PostgreSQL クライアントに必要な共有ライブラリ
  145. Group: System Environment/Libraries
  146. Obsoletes: postgresql7-libs
  147. Provides: postgresql-libs
  148. %description libs
  149. The postgresql-libs package provides the essential shared libraries for any
  150. PostgreSQL client program or interface. You will need to install this package
  151. to use any other PostgreSQL package or any clients that need to connect to a
  152. PostgreSQL server.
  153. %description -l ja libs
  154. postgresql-libs パッケージは、すべての PostgreSQL クライアントプログラ
  155. ムやインターフェースのための中核的な共有ライブラリを提供します。
  156. PostgreSQL サーバに接続する必要のある、PostgreSQL パッケージやクライア
  157. ントを使う場合には、このパッケージをインストールする必要があります。
  158. %package server
  159. Summary: The programs needed to create and run a PostgreSQL server.
  160. Summary(ja): PostgreSQL サーバを構築・実行するのに必要なプログラム
  161. Group: Applications/Databases
  162. Requires: /usr/sbin/useradd /sbin/chkconfig
  163. Requires: %{name} = %{version}
  164. Obsoletes: postgresql7-server
  165. Provides: postgresql-server
  166. %description server
  167. The postgresql-server package includes the programs needed to create
  168. and run a PostgreSQL server, which will in turn allow you to create
  169. and maintain PostgreSQL databases. PostgreSQL is an advanced
  170. Object-Relational database management system (DBMS) that supports
  171. almost all SQL constructs (including transactions, subselects and
  172. user-defined types and functions). You should install
  173. postgresql-server if you want to create and maintain your own
  174. PostgreSQL databases and/or your own PostgreSQL server. You also need
  175. to install the postgresql package.
  176. %description -l ja server
  177. postgresql-server パッケージには、PostgreSQL サーバを生成して実行する
  178. ために必要なプログラムが含まれています。これらにより、PostgreSQL のデ
  179. ータベースを新規に作成したり、メンテナンスしたりできるようになります。
  180. PostgreSQL は先進的でオブジェクト指向的なデータベース管理システム(DBMS)
  181. であり、(トランザクション、副問い合わせ、ユーザ定義型および関数といっ
  182. た)ほとんどすべての SQL 構造をサポートしています。自分自身の PostgreSQL
  183. サーバを動かして、自分自身の PostgreSQL データベースを作成したりメン
  184. テナンスしたりしたい場合は postgresql-server をインストールする必要が
  185. あります。さらに postgresql パッケージもインストールしてください。
  186. %package docs
  187. Summary: Extra documentation for PostgreSQL
  188. Summary(ja): PostgreSQL に関するその他の文書
  189. Group: Applications/Documentation
  190. Obsoletes: postgresql7-docs
  191. Provides: postgresql-docs
  192. %description docs
  193. The postgresql-docs package includes the SGML source for the documentation
  194. as well as the documentation in other formats, and some extra documentation.
  195. Install this package if you want to help with the PostgreSQL documentation
  196. project, or if you want to generate printed documentation.
  197. %package contrib
  198. Summary: Contributed source and binaries distributed with PostgreSQL
  199. Summary(ja): PostgreSQL と一緒に配布される、寄贈されたソースとバイナリ
  200. Group: Applications/Databases
  201. Requires: %{name} = %{version} perl-DBD-Pg
  202. Obsoletes: postgresql7-contrib
  203. Provides: postgresql-contrib
  204. %description contrib
  205. The postgresql-contrib package contains contributed packages that are
  206. included in the PostgreSQL distribution.
  207. %package devel
  208. Summary: PostgreSQL development header files and libraries.
  209. Summary(ja): PostgreSQL の開発用ヘッダファイルとライブラリ群
  210. Group: Development/Libraries
  211. Requires: %{name}-libs = %{version}
  212. Obsoletes: postgresql7-devel
  213. Provides: postgresql-devel
  214. %description devel
  215. The postgresql-devel package contains the header files and libraries
  216. needed to compile C or C++ applications which will directly interact
  217. with a PostgreSQL database management server and the ecpg Embedded C
  218. Postgres preprocessor. You need to install this package if you want to
  219. develop applications which will interact with a PostgreSQL server. If
  220. you're installing postgresql-server, you need to install this
  221. package.
  222. %description -l ja devel
  223. postgresql-devel パッケージには、PostgreSQL データベースと直接に会話
  224. するための C / C++ アプリケーションをコンパイルするのに必要なヘッダフ
  225. ァイルとライブラリ、および C 言語埋め込み型の PostgreSQL プリプロセサ
  226. が含まれています。PostgreSQL サーバと会話するアプリケーションを開発
  227. したい場合にはこのパッケージをインストールしてください。また、
  228. postgresql-server をインストールする場合、このパッケージもいっしょに
  229. インストールする必要があります。
  230. #------------
  231. %if %pls
  232. %package pl
  233. Summary: The PL procedural languages for PostgreSQL.
  234. Summary(ja): PostgreSQL 用の手続き言語 PL
  235. Group: Applications/Databases
  236. Requires: %{name} = %{version}
  237. Obsoletes: postgresql7-pl
  238. Provides: postgresql-pl
  239. %description pl
  240. PostgreSQL is an advanced Object-Relational database management
  241. system. The postgresql-pl package contains the the PL/Perl, PL/Tcl, and PL/Python
  242. procedural languages for the backend. PL/Pgsql is part of the core server package.
  243. %endif
  244. #------------
  245. %if %tcl
  246. %package tcl
  247. Summary: A Tcl client library for PostgreSQL.
  248. Summary(ja): PostgreSQL の Tcl クライアントライブラリ
  249. Group: Applications/Databases
  250. Requires: tcl >= 8.0
  251. Obsoletes: postgresql7-tcl
  252. Provides: postgresql-tcl
  253. %description tcl
  254. PostgreSQL is an advanced Object-Relational database management
  255. system. The postgresql-tcl package contains the libpgtcl client library,
  256. the pg-enhanced pgtclsh,and the pg-enhanced tksh, if so configured at buildtime.
  257. %endif
  258. #----------
  259. %if %jdbc
  260. %package jdbc
  261. Summary: Files needed for Java programs to access a PostgreSQL database.
  262. Summary(ja): PostgreSQL データベースにアクセスする Java プログラムのために必要なファイル群
  263. Group: Applications/Databases
  264. Obsoletes: postgresql7-jdbc
  265. Provides: postgresql-jdbc
  266. %description jdbc
  267. PostgreSQL is an advanced Object-Relational database management
  268. system. The postgresql-jdbc package includes the .jar file needed for
  269. Java programs to access a PostgreSQL database.
  270. %endif
  271. #------------
  272. %if %test
  273. %package test
  274. Summary: The test suite distributed with PostgreSQL.
  275. Summary(ja): PostgreSQL と共に配布されるテストスート
  276. Group: Applications/Databases
  277. Requires: postgresql = %{version}
  278. Obsoletes: postgresql7-test
  279. Provides: postgresql-test
  280. %description test
  281. PostgreSQL is an advanced Object-Relational database management
  282. system. The postgresql-test package includes the sources and pre-built
  283. binaries of various tests for the PostgreSQL database management
  284. system, including regression tests and benchmarks.
  285. %endif
  286. %prep
  287. %setup -q -n postgresql-%{version}
  288. %build
  289. CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
  290. CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
  291. # Strip out -ffast-math from CFLAGS....
  292. CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
  293. ./configure \
  294. --prefix=%{_prefix} \
  295. --libdir=%{_libdir} \
  296. --disable-rpath \
  297. %if %beta
  298. --enable-debug \
  299. --enable-cassert \
  300. %endif
  301. %if %plperl
  302. --with-perl \
  303. %endif
  304. %if %tcl
  305. --with-tcl \
  306. --with-tclconfig=%{_libdir} \
  307. %endif
  308. %if %plpython
  309. --with-python \
  310. %endif
  311. %if %ssl
  312. --with-openssl \
  313. %endif
  314. %if %pam
  315. --with-pam \
  316. %endif
  317. %if %kerberos
  318. --with-krb5=/usr/kerberos \
  319. %endif
  320. %if %nls
  321. --enable-nls \
  322. %endif
  323. --sysconfdir=%{_sysconfdir}/sysconfig/pgsql \
  324. --mandir=%{_mandir} \
  325. --with-docdir=%{_docdir} \
  326. --includedir=%{_includedir}/pgsql \
  327. --datadir=%{_datadir}/pgsql
  328. make %{?_smp_mflags} all
  329. make %{?_smp_mflags} -C contrib all
  330. %if %test
  331. pushd src/test
  332. make all
  333. popd
  334. %endif
  335. %install
  336. rm -rf $RPM_BUILD_ROOT
  337. make DESTDIR=$RPM_BUILD_ROOT install
  338. make -C contrib DESTDIR=$RPM_BUILD_ROOT install
  339. # copy over Makefile.global to the include dir....
  340. install -m644 src/Makefile.global $RPM_BUILD_ROOT%{_includedir}/pgsql
  341. install -m644 src/Makefile.shlib $RPM_BUILD_ROOT%{_includedir}/pgsql
  342. %if %jdbc
  343. # Java/JDBC
  344. # The user will have to set a CLASSPATH to find it here, but not sure where else to put it...
  345. # JDBC jars
  346. install -m 755 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/pgsql
  347. install -m 755 %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/pgsql
  348. install -m 755 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/pgsql
  349. install -m 755 %{SOURCE13} $RPM_BUILD_ROOT%{_datadir}/pgsql
  350. %endif
  351. # initscript
  352. install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
  353. sed "s/^PGVERSION=.*/PGVERSION=%{pgver}/" %{SOURCE3} \
  354. > $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
  355. chmod 755 $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
  356. # PGDATA needs removal of group and world permissions due to pg_pwd hole.
  357. install -d -m 700 $RPM_BUILD_ROOT/var/lib/pgsql/data
  358. # backups of data go here...
  359. install -d -m 700 $RPM_BUILD_ROOT/var/lib/pgsql/backups
  360. # postgres' .bash_profile
  361. install -m 644 %{SOURCE15} $RPM_BUILD_ROOT/var/lib/pgsql/.bash_profile
  362. # Create the multiple postmaster startup directory
  363. install -d -m 700 $RPM_BUILD_ROOT/etc/sysconfig/pgsql
  364. %if %test
  365. # tests. There are many files included here that are unnecessary, but include
  366. # them anyway for completeness.
  367. mkdir -p $RPM_BUILD_ROOT%{_libdir}/pgsql/test
  368. cp -a src/test/regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test
  369. install -m 0755 contrib/spi/refint.so $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
  370. install -m 0755 contrib/spi/autoinc.so $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
  371. pushd $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/
  372. strip *.so
  373. popd
  374. %endif
  375. # Fix some more documentation
  376. # gzip doc/internals.ps
  377. cp %{SOURCE6} README.rpm-dist
  378. cp -pr $RPM_BUILD_ROOT%{_docdir}/postgresql/html doc
  379. rm -rf $RPM_BUILD_ROOT%{_docdir}/postgresql/html
  380. %find_lang initdb-%{pgver}
  381. %find_lang libpq5-%{pgver}
  382. %find_lang pg_config-%{pgver}
  383. %find_lang pg_controldata-%{pgver}
  384. %find_lang pg_ctl-%{pgver}
  385. %find_lang pg_dump-%{pgver}
  386. %find_lang pg_resetxlog-%{pgver}
  387. %find_lang pgscripts-%{pgver}
  388. %find_lang postgres-%{pgver}
  389. %find_lang psql-%{pgver}
  390. %ifarch !x86_64
  391. %find_lang scripts-%{pgver}
  392. %endif
  393. %find_lang ecpg-%{pgver}
  394. %find_lang ecpglib6-%{pgver}
  395. %find_lang plperl-%{pgver}
  396. %find_lang plpgsql-%{pgver}
  397. %find_lang plpython-%{pgver}
  398. %find_lang pltcl-%{pgver}
  399. cat libpq5-%{pgver}.lang > libpq.lst
  400. cat psql-%{pgver}.lang pg_dump-%{pgver}.lang > main.lst
  401. cat pg_config-%{pgver}.lang > devel.lst
  402. cat initdb-%{pgver}.lang pg_ctl-%{pgver}.lang postgres-%{pgver}.lang \
  403. pg_resetxlog-%{pgver}.lang pg_controldata-%{pgver}.lang > server.lst
  404. %ifarch !x86_64
  405. cat scripts-%{pgver}.lang >> server.lst
  406. %endif
  407. cat ecpg-%{pgver}.lang ecpglib6-%{pgver}.lang >> devel.lst
  408. cat plperl-%{pgver}.lang > pl.lst
  409. cat plpgsql-%{pgver}.lang >> pl.lst
  410. cat plpython-%{pgver}.lang >> pl.lst
  411. cat pltcl-%{pgver}.lang > tcl.lst
  412. %post libs -p /sbin/ldconfig
  413. %postun libs -p /sbin/ldconfig
  414. %pre server
  415. groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
  416. useradd -M -n -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
  417. -c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
  418. touch /var/log/pgsql
  419. chown postgres.postgres /var/log/pgsql
  420. chmod 0700 /var/log/pgsql
  421. %post server
  422. chkconfig --add postgresql
  423. /sbin/ldconfig
  424. %preun server
  425. if [ $1 = 0 ] ; then
  426. chkconfig --del postgresql
  427. fi
  428. %postun server
  429. /sbin/ldconfig
  430. if [ $1 -ge 1 ]; then
  431. /sbin/service postgresql condrestart >/dev/null 2>&1
  432. fi
  433. if [ $1 = 0 ] ; then
  434. if [ ! -x /usr/bin/postgres ] ; then
  435. userdel postgres >/dev/null 2>&1 || :
  436. groupdel postgres >/dev/null 2>&1 || :
  437. fi
  438. fi
  439. %if %tcl
  440. %post -p /sbin/ldconfig tcl
  441. %postun -p /sbin/ldconfig tcl
  442. %endif
  443. %if %pls
  444. %post -p /sbin/ldconfig pl
  445. %postun -p /sbin/ldconfig pl
  446. %endif
  447. %if %test
  448. %post test
  449. chown -R postgres.postgres %{_datadir}/pgsql/test >/dev/null 2>&1 || :
  450. %endif
  451. %clean
  452. rm -rf $RPM_BUILD_ROOT
  453. # FILES section.
  454. %files -f main.lst
  455. %defattr(-,root,root)
  456. %doc doc/KNOWN_BUGS doc/MISSING_FEATURES doc/README*
  457. %doc COPYRIGHT README HISTORY INSTALL doc/bug.template
  458. %doc README.rpm-dist
  459. %doc doc/html
  460. %{_bindir}/clusterdb
  461. %{_bindir}/createdb
  462. %{_bindir}/createlang
  463. %{_bindir}/createuser
  464. %{_bindir}/dropdb
  465. %{_bindir}/droplang
  466. %{_bindir}/dropuser
  467. %{_bindir}/pg_dump
  468. %{_bindir}/pg_dumpall
  469. %{_bindir}/pg_restore
  470. %{_bindir}/psql
  471. %{_bindir}/reindexdb
  472. %{_bindir}/vacuumdb
  473. %{_bindir}/vacuumlo
  474. %{_mandir}/man1/clusterdb.*
  475. %{_mandir}/man1/createdb.*
  476. %{_mandir}/man1/createlang.*
  477. %{_mandir}/man1/createuser.*
  478. %{_mandir}/man1/dropdb.*
  479. %{_mandir}/man1/droplang.*
  480. %{_mandir}/man1/dropuser.*
  481. %{_mandir}/man1/pg_dump.*
  482. %{_mandir}/man1/pg_dumpall.*
  483. %{_mandir}/man1/pg_restore.*
  484. %{_mandir}/man1/psql.*
  485. %{_mandir}/man1/reindexdb.*
  486. %{_mandir}/man1/vacuumdb.*
  487. %{_mandir}/man7/*
  488. %{_localedir}/*/LC_MESSAGES/pgscripts-%{pgver}.mo
  489. %files docs
  490. %defattr(-,root,root)
  491. %doc doc/src/*
  492. %files contrib
  493. %defattr(-,root,root)
  494. %doc %{_defaultdocdir}/postgresql/contrib/*.example
  495. %{_libdir}/postgresql/_int.so
  496. %{_libdir}/postgresql/adminpack.so
  497. %{_libdir}/postgresql/ascii_and_mic.so
  498. %{_libdir}/postgresql/auto_explain.so
  499. %{_libdir}/postgresql/autoinc.so
  500. %{_libdir}/postgresql/btree_gin.so
  501. %{_libdir}/postgresql/btree_gist.so
  502. %{_libdir}/postgresql/chkpass.so
  503. %{_libdir}/postgresql/citext.so
  504. %{_libdir}/postgresql/cube.so
  505. %{_libdir}/postgresql/cyrillic_and_mic.so
  506. %{_libdir}/postgresql/dblink.so
  507. %{_libdir}/postgresql/dict_int.so
  508. #%{_libdir}/postgresql/dict_snowball.so
  509. %{_libdir}/postgresql/dict_xsyn.so
  510. %{_libdir}/postgresql/earthdistance.so
  511. %{_libdir}/postgresql/euc_cn_and_mic.so
  512. %{_libdir}/postgresql/euc_jp_and_sjis.so
  513. %{_libdir}/postgresql/euc_kr_and_mic.so
  514. %{_libdir}/postgresql/euc_tw_and_big5.so
  515. %{_libdir}/postgresql/fuzzystrmatch.so
  516. %{_libdir}/postgresql/hstore.so
  517. %{_libdir}/postgresql/insert_username.so
  518. #%{_libdir}/postgresql/int_aggregate.so
  519. %{_libdir}/postgresql/isn.so
  520. %{_libdir}/postgresql/latin2_and_win1250.so
  521. %{_libdir}/postgresql/latin_and_mic.so
  522. %{_libdir}/postgresql/lo.so
  523. %{_libdir}/postgresql/ltree.so
  524. %{_libdir}/postgresql/moddatetime.so
  525. %{_libdir}/postgresql/pageinspect.so
  526. %{_libdir}/postgresql/pg_buffercache.so
  527. %{_libdir}/postgresql/pg_freespacemap.so
  528. %{_libdir}/postgresql/pg_stat_statements.so
  529. %{_libdir}/postgresql/pg_trgm.so
  530. %{_libdir}/postgresql/pgcrypto.so
  531. %{_libdir}/postgresql/pgrowlocks.so
  532. %{_libdir}/postgresql/pgstattuple.so
  533. %{_libdir}/postgresql/plpgsql.so
  534. %{_libdir}/postgresql/refint.so
  535. %{_libdir}/postgresql/seg.so
  536. %{_libdir}/postgresql/sslinfo.so
  537. %{_libdir}/postgresql/tablefunc.so
  538. %{_libdir}/postgresql/test_parser.so
  539. %{_libdir}/postgresql/timetravel.so
  540. %{_libdir}/postgresql/tsearch2.so
  541. %{_libdir}/postgresql/utf8_and_ascii.so
  542. %{_libdir}/postgresql/utf8_and_big5.so
  543. %{_libdir}/postgresql/utf8_and_cyrillic.so
  544. %{_libdir}/postgresql/utf8_and_euc_cn.so
  545. %{_libdir}/postgresql/utf8_and_euc_jp.so
  546. %{_libdir}/postgresql/utf8_and_euc_kr.so
  547. %{_libdir}/postgresql/utf8_and_euc_tw.so
  548. %{_libdir}/postgresql/utf8_and_gb18030.so
  549. %{_libdir}/postgresql/utf8_and_gbk.so
  550. %{_libdir}/postgresql/utf8_and_iso8859.so
  551. %{_libdir}/postgresql/utf8_and_iso8859_1.so
  552. %{_libdir}/postgresql/utf8_and_johab.so
  553. %{_libdir}/postgresql/utf8_and_sjis.so
  554. %{_libdir}/postgresql/utf8_and_uhc.so
  555. %{_datadir}/pgsql/contrib/
  556. %{_bindir}/oid2name
  557. %{_bindir}/pgbench
  558. %{_bindir}/vacuumlo
  559. %files libs -f libpq5-%{pgver}.lang
  560. %defattr(-,root,root)
  561. %{_libdir}/libecpg.so.*
  562. %{_libdir}/libecpg_compat.so.*
  563. %{_libdir}/libpgtypes.so.*
  564. %{_libdir}/libpq.so.*
  565. %files server -f server.lst
  566. %defattr(-,root,root)
  567. %{_sysconfdir}/rc.d/init.d/postgresql
  568. %dir %{_sysconfdir}/sysconfig/pgsql
  569. %{_bindir}/initdb
  570. #%{_bindir}/ipcclean
  571. %{_bindir}/pg_controldata
  572. %{_bindir}/pg_ctl
  573. %{_bindir}/pg_resetxlog
  574. %{_bindir}/pg_standby
  575. %{_bindir}/postgres
  576. %{_bindir}/postmaster
  577. %{_mandir}/man1/initdb.*
  578. #%{_mandir}/man1/ipcclean.*
  579. %{_mandir}/man1/pg_controldata.*
  580. %{_mandir}/man1/pg_ctl.*
  581. %{_mandir}/man1/pg_resetxlog.*
  582. %{_mandir}/man1/postgres.*
  583. %{_mandir}/man1/postmaster.*
  584. %{_libdir}/postgresql/*_and_*.so
  585. %{_libdir}/postgresql/plpgsql.so
  586. %{_libdir}/postgresql/dict_snowball.so
  587. %{_datadir}/pgsql/*.sql
  588. %{_datadir}/pgsql/postgres.bki
  589. %{_datadir}/pgsql/postgres.description
  590. %{_datadir}/pgsql/postgres.shdescription
  591. %{_datadir}/pgsql/*.sample
  592. %{_datadir}/pgsql/sql_features.txt
  593. %{_datadir}/pgsql/timezone
  594. %{_datadir}/pgsql/timezonesets
  595. %{_datadir}/pgsql/tsearch_data
  596. %dir %{_libdir}/postgresql
  597. %dir %{_datadir}/pgsql
  598. %attr(700,postgres,postgres) %dir /var/lib/pgsql
  599. %attr(700,postgres,postgres) %dir /var/lib/pgsql/data
  600. %attr(700,postgres,postgres) %dir /var/lib/pgsql/backups
  601. %attr(644,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile
  602. %files devel -f devel.lst
  603. %defattr(-,root,root)
  604. %{_includedir}/*
  605. %{_bindir}/ecpg
  606. %{_bindir}/pg_config
  607. %{_libdir}/libecpg.a
  608. %{_libdir}/libecpg.so
  609. %{_libdir}/libecpg_compat.a
  610. %{_libdir}/libecpg_compat.so
  611. %{_libdir}/libpgport.a
  612. %{_libdir}/libpgtypes.a
  613. %{_libdir}/libpgtypes.so
  614. %{_libdir}/libpq.a
  615. %{_libdir}/libpq.so
  616. %{_libdir}/postgresql/pgxs/*
  617. %{_mandir}/man1/ecpg.*
  618. %{_mandir}/man1/pg_config.*
  619. %if %tcl
  620. %files tcl -f tcl.lst
  621. %defattr(-,root,root)
  622. %endif
  623. %if %pls
  624. %files pl -f pl.lst
  625. %defattr(-,root,root)
  626. %if %plperl
  627. %{_libdir}/postgresql/plperl.so
  628. %endif
  629. %if %pltcl
  630. %{_libdir}/postgresql/pltcl.so
  631. %{_bindir}/pltcl_delmod
  632. %{_bindir}/pltcl_listmod
  633. %{_bindir}/pltcl_loadmod
  634. %{_datadir}/pgsql/unknown.pltcl
  635. %endif
  636. %if %plpython
  637. %{_libdir}/postgresql/plpython.so
  638. %endif
  639. %endif
  640. %if %jdbc
  641. %files jdbc
  642. %defattr(-,root,root)
  643. %{_datadir}/pgsql/postgresql-8.3-%{jdbc2ver}.jdbc2.jar
  644. %{_datadir}/pgsql/postgresql-8.3-%{jdbc2ver}.jdbc2ee.jar
  645. %{_datadir}/pgsql/postgresql-%{pgver}-%{jdbcver}.jdbc3.jar
  646. %{_datadir}/pgsql/postgresql-%{pgver}-%{jdbcver}.jdbc4.jar
  647. %endif
  648. %if %test
  649. %files test
  650. %defattr(-,postgres,postgres)
  651. %attr(-,postgres,postgres) %{_libdir}/postgresql/test/*
  652. %attr(-,postgres,postgres) %dir %{_libdir}/postgresql/test
  653. %endif
  654. %changelog
  655. * Mon Apr 11 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.7-2
  656. - changed name to postgresql8
  657. * Thu Feb 03 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.7-1
  658. - updated postgresql to 8.4.7 (contains a variety of fixes)
  659. * Sat Jan 29 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.6-1
  660. - updated postgresql to 8.4.6
  661. - updated JDBC2 driver to postgresql-8.3-606.{jdbc2,jdbc2ee}.jar
  662. - updated JDBC3 driver to postgresql-8.4-702.jdbc3.jar
  663. - updated JDBC4 driver to postgresql-8.4-702.jdbc4.jar
  664. * Thu Jan 13 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.5-2
  665. - rebuilt with openssl-1.0.0c
  666. * Thu Oct 07 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.5-1
  667. - updated postgresql to 8.4.5
  668. * Sun May 16 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.4-1
  669. - updated postgresql to 8.4.4
  670. * Thu Apr 15 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.3-1
  671. - updated postgresql to 8.4.3
  672. - s/BuildPrereq/Buildrequires/
  673. * Wed Feb 17 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.2-1
  674. - updated postgresql to 8.4.2
  675. - rebuilt with new environment
  676. * Thu Sep 10 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.1-1
  677. - updated postgresql to 8.4.1
  678. * Fri Aug 21 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.0-2
  679. - moved dict_snowball.so from conrib to server
  680. * Tue Jul 07 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.0-1
  681. - updated postgresql to 8.4.0
  682. - updated jdbc3,4 to 701
  683. - dropt postgresql-8.3.3-nls.patch (fixed)
  684. - dropt postgresql-7.4-ecpg-patch (no effect)
  685. * Sat Apr 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.3.7-2
  686. - changed libs Group to System Environment/Libraries
  687. * Sun Apr 12 2009 Shu KONNO <owa@bg.wakwak.com> 8.3.7-1
  688. - updated postgresql to 8.3.7
  689. * Sun Jan 25 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.3.5-2
  690. - remove "-E EUC_JP --no-locale" option from initdb in postgresql.init
  691. * Thu Jan 22 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.3.5-1
  692. - new upstream release (postgresql to 8.3.5, jdbc to 604)
  693. * Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 8.3.3-1vl5
  694. - applied new versioning policy, and spec in utf-8
  695. - updated postgresql to 8.3.3
  696. - updated jdbcver to 603
  697. - added postgresql-8.3.3-nls.patch instead of postgresql-8.2.0-nls.patch.gz
  698. - added a script to replace PGVERSION in postgresql.init
  699. * Sun Feb 17 2008 Shu KONNO <owa@bg.wakwak.com> 8.2.6-0vl2
  700. - rebuild with tcl/tk-8.4.18
  701. * Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 8.2.6-0vl1
  702. - updated postgresql to 8.2.6
  703. - included security fixes: CVE-{2007-6600, 2007-4772, 2007-6067, 2007-4769, 2007-6601}
  704. * Tue Oct 16 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl3
  705. - updated PGVERSION to 8.2 in postgresql.init (sorry;)
  706. * Tue Oct 09 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl2
  707. - rebuild with tcl/tk-8.4.16
  708. * Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl1
  709. - updated postgresql to 8.2.5
  710. - updated jdbc driver to 8.2-506, and added 8.2-506.jdbc4.jar
  711. - updated nls-patch to 8-2-0
  712. - dropt postgresql-8.1.4-Pg.patch.gz
  713. * Wed Sep 19 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 8.1.10-0vl1
  714. - for VineSeed
  715. - updated to 8.1.10 (8.1.9 and up has fixes for CVE-2007-2138)
  716. - JDBC driver updated to 410
  717. * Sun Jul 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.1.5-0vl1
  718. - rebuilt for VineSeed
  719. - fixed install script
  720. * Thu Nov 23 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.5-0vl0
  721. - upstream release
  722. - fix missing %defattr in %files server
  723. * Fri Sep 15 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.4-0vl2
  724. - fix version number in postgresql.init
  725. * Tue Sep 12 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.4-0vl1
  726. - upstream release
  727. - drop rpm-pgsql-8.0.0.patch
  728. - add Requires: perl-DBD-Pg for contrib
  729. - add postgresql-8.1.4-Pg.patch.gz
  730. - update nls patches
  731. - new JDBC driver
  732. * Sat Mar 18 2006 Shu KONNO <owa@bg.wakwak.com> 8.0.3-0vl4
  733. - added build options --without perl, --without python
  734. - rebuilt for x86_64 architecture support
  735. * Tue May 31 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl3
  736. - drop Provides: on postgresql-libs
  737. - drop Requires: libpq.so on postgresql-server
  738. * Tue May 31 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl2
  739. - change SONAME -- Provides: libpq.so.4 libpq.so.4.0 libpq.so
  740. * Thu May 26 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl1
  741. - upstream release
  742. - update nls patches
  743. * Fri Apr 22 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.2-0vl1
  744. - upstream release
  745. - update nls patches
  746. * Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 8.0.1-0vl3
  747. - rebuilded with python-2.4.1-0vl1
  748. * Sat Mar 26 2005 Shu KONNO <owa@bg.wakwak.com> 8.0.1-0vl2
  749. - Dropped PyGreSQL-3.4.tgz.
  750. - Dropped PyGreSQL-3.4-setup-2.patch.
  751. - Dropped plpython.so in postgresql-server, because it's exist in postgresql-pl.
  752. - Dropped pyver and pynextver macros.
  753. - Changed macro name "python" to "plpython" like plperl.
  754. - Added "Obsoletes: postgresql-python"
  755. * Fri Feb 18 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.1-0vl1
  756. - Major version up
  757. - Obsoletes: postgresql7
  758. - update nls patch(es)
  759. - modify %postun not to delete postgres account on upgrade
  760. * Thu Jan 27 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.0-0vl1
  761. - upstream release (release as a new package)
  762. - Conflicts: postgresql
  763. - update nls patch(es)
  764. - (this package revision was rejected by Vine Project)
  765. * Fri Dec 04 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.6-0vl2
  766. - upstream release
  767. - new JDBC driver
  768. - add BuildRequires: bison, flex, pam-devel
  769. - drop postgresql-7.4.5-tempfile.patch (repaired)
  770. * Thu Nov 18 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 7.4.5-0vl2
  771. - Added a security fix patch postgresql-7.4.5-tempfile.patch
  772. from Gentoo Linux (CAN-2004-0977).
  773. - Changed Patch4:
  774. from PyGreSQL-3.4-setup-2.patch into PyGreSQL-3.4-setup-2.patch
  775. It is possible to compile this package without pre-installed postgresql.
  776. - Removed Patch5 because Patch4 was changed.
  777. * Tue Aug 24 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.5-0vl1
  778. - upstream release
  779. * Mon Jun 21 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.3-0vl1
  780. - upstream release
  781. - new jdbc driver
  782. * Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl3
  783. - rebuild with python-2.3.3-0vl1
  784. * Tue Apr 13 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.3
  785. - changed mode to 644 at Makefile.global, Makefile.shlib
  786. * Mon Apr 12 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.2
  787. - updated python install section
  788. * Sat Apr 10 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.1
  789. - added PyGreSQL-3.4.tgz and set python flag
  790. - added PyGreSQL-3.4-setup.patch
  791. - added PyGreSQL-3.4-pgmodule.patch
  792. - rebuilded with python-2.3.3-0vl0.3 (for TestPkg)
  793. * Sun Mar 28 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.4.2-0vl2
  794. - rebuild with new openssl
  795. * Wed Mar 17 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.2-0vl1
  796. - upstream release
  797. - change all of %{?foo:%define foo 0} -like descriptions to simple
  798. %define format for latest rpm to build.
  799. * Sat Feb 14 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.1-0vl3
  800. - rebuild on latest tcl package environment.
  801. * Wed Feb 11 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.1-0vl2
  802. - fixed lacking files at server's %files
  803. * Fri Dec 05 2003 HOTTA Michihide <hotta@net-newbie.com> 7.4-0vl2
  804. - include JDBC driver for 7.4
  805. - fix typo in postgresql-7.4-psql-patch
  806. * Thu Nov 20 2003 HOTTA Michihide <hotta@net-newbie.com> 7.4-0vl1
  807. - upstream release
  808. - change '--includedir=' option to avoid conflicting with unixODBC
  809. - add postgresql-7.4-ecpg-patch
  810. * Wed Sep 10 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.4-0vl1
  811. - upstream release
  812. * Wed Jul 23 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.3-0vl2
  813. - drop previous version of libpq's trash
  814. * Wed May 28 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.3-0vl1
  815. - upstream release with new nls patch
  816. - fix postgresql-bashprofile (value of PGDATA)
  817. - fix postgresql-init for Japanese-specific use (-E EUC_JP --no-locale)
  818. * Wed Apr 02 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 7.3.2-0vl2
  819. - rebuild with tcltk8.4 and readline-4.3
  820. * Fri Mar 07 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.2-0vl1
  821. - upstream release
  822. * Wed Dec 25 2002 HOTTA Michihide <hotta@net-newbie.com> 7.3.1-0vl1
  823. - upstream release
  824. - remove garbage changelog
  825. * Mon Dec 23 2002 HOTTA Michihide <hotta@net-newbie.com> 7.3-0vl1
  826. - upstream release based on 7.3-2PGDG
  827. - add nls patch
  828. * Thu Dec 05 2002 Lamar Owen <lamar.owen@ramifordistat.net>
  829. - 7.3-2PGDG
  830. - Fix typo in initscript. Argh!!
  831. * Wed Dec 04 2002 Lamar Owen <lamar.owen@ramifordistat.net>
  832. - 7.3-0.5PGDG
  833. - Jerk out all perl client stuff and kludgage
  834. - Rename plperl subpackage to a pl subpackage containing all but PL/Pgsql PL's
  835. - Eliminate locale and multibyte explicit enables -- they are both defaults now
  836. - Eliminate pgaccess code; it's not a part of the main tarball anymore
  837. - Eliminate ODBC stuff -- it's also separate now. Use unixODBC instead.
  838. - Eliminated separate tk client package -- rolled the tk client into the tcl client.
  839. - Moved pltcl into the pl subpackage.
  840. - Added plpython to the pl subpackage.
  841. - /etc/sysconfig/pgsql is sysconfdir for multiple postmaster startup.
  842. * Mon Dec 02 2002 Lamar Owen <lamar.owen@ramifordistat.net>
  843. - 7.3-0.1PGDG (not released)
  844. - Integrate 7.3 jar's courtesy Joe Conway
  845. - Integrate multi-postmaster initscript courtesy Karl DeBisschop
  846. - Some renames and restructures.
  847. - Stripped out the last dregs of the postgresql-dump migration script.
  848. - Conflicts with less than 7.3.
  849. - (See below for old changelogs from VineSeed)
  850. * Wed Oct 04 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.3-0vl1
  851. - updated to 7.2.3.
  852. * Wed Sep 10 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.2-0vl3
  853. - absorbed previous patch8 into original nlspatch
  854. - fixed configure options (--enable-nls and --enable-locale to be antinomy)
  855. * Tue Aug 30 2002 Shoji Matsumoto <shom@vinelinux.org> 7.2.2-0vl2
  856. - add patch8 (ja.po for psql was invalid)
  857. * Wed Aug 29 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.2-0vl1
  858. - updated to 7.2.2.
  859. - improved nlspatch to enable japanese SQL help in psql.
  860. * Wed Jul 06 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl3
  861. - fixed garbage chars in description(ja).
  862. * Wed Jul 03 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl2
  863. - imported & replaced changelog (following VineSeed's).
  864. add some stuff to '%%files'.
  865. * Wed Jul 03 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl1
  866. - Modified for Vine Linux 2.5. Originaly from RHL 7.2.1-5, adding
  867. nls patch, pg_dump patch, date_part patch by Jun Kuwamura
  868. * Thu May 23 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  869. - replace nls patch.
  870. - add *.mo to '%%files'.
  871. * Mon Mar 04 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  872. - fix initscript
  873. * Sun Mar 03 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  874. - add /usr/bin/pg_id to the package (fix)
  875. * Sat Mar 01 2002 Satoshi MACHINO <machino@vinelinux.org> 7.2-0vl1
  876. - updated 7.2
  877. - added nls.patch
  878. - fixed spec file
  879. - added New JDBC
  880. -- pgjdbc1.jar(for JDK1.1.x), pgjdbc2(for Java2)
  881. * Sat Sep 22 2001 Satoshi MACHINO <machino@vinelinux.org> 7.1.3-4vl1
  882. - updated 7.1.3
  883. * Tue Aug 21 2001 Hisao SHIBUYA <shibuya@alpha.or.jp>
  884. - 7.1.2-7vl3
  885. - merge 7.1.2-7vl2 and 7.1.2-7
  886. * Sun Aug 19 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  887. - 7.1.2-7vl2
  888. - fixed spec typo (%%{_includesir} -> %%{_includedir})
  889. * Tue Aug 14 2001 Satoshi MACHINO <machino@vinelinux.org> 7.1.2-7vl1
  890. - updated 7.1.2 (used postgresql-7.1.2-7)
  891. - used psqlj patch for 7.1.2
  892. - used jumbo-20010801.patch.gz
  893. * Mon Aug 6 2001 Trond Eivind Glomsr <teg@redhat.com> 7.1.2-7
  894. - Add patches from 7.1-stable branch. This should fix #50799 and #50797
  895. - Enable kerberos authentication (#50644)
  896. - handle stop with stale pid file (#50499)
  897. - make the test subpackage (not built by default) own /usr/lib/pgsql/test
  898. * Mon Jul 9 2001 Trond Eivind Glomsr <teg@redhat.com>
  899. - Make the -devel subpackage depend on -libs, not the main package
  900. * Tue Jun 19 2001 Trond Eivind Glomsr <teg@redhat.com>
  901. - Make sure the python subpackage depends on mx - otherwise, you'd get an error when importing
  902. * Mon Jun 18 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  903. - add changes for s390x
  904. * Fri Jun 15 2001 Trond Eivind Glomsr <teg@redhat.com>
  905. - Many path fixes for contrib packages
  906. - Newer intarray
  907. - Don't use nested ifs for tkpkg/pgaccess
  908. - Turn off test package for Red Hat Linux - it makes most sense just to use
  909. this during development
  910. - One "pgacess" -> "pgaccess"
  911. * Wed Jun 13 2001 Lamar Owen <lamar.owen@wgcr.org> <lamar@postgresql.org>
  912. - -4PGDG
  913. - patchset update for pg_regress.sh
  914. - can the dot in the release -- confused too many people and some programs.
  915. - -3.PGDG
  916. - updated README.rpm-dist
  917. - updated patch to 7.1.2, fixing some places where /usr/share/pgsql
  918. was still being used where /usr/lib/pgsql was intended.
  919. - PGLIB now set to /usr/lib/pgsql -- initdb doesn't use it to find the bki's.
  920. * Tue Jun 12 2001 Trond Eivind Glomsr <teg@redhat.com>
  921. - sync
  922. - Run chkconfig --add on server install
  923. - Move the prereqs on useradd on chkconfig to the server package
  924. - don't disable the %%clean section
  925. * Sat Jun 09 2001 Lamar Owen <lamar.owen@wgcr.org>
  926. - Sync up with Trond Eivind's set.
  927. * Thu Jun 7 2001 Trond Eivind Glomsr <teg@redhat.com>
  928. - Don't create postgres' .bashrc from the server post script: include it instead
  929. - Move the test packages from /usr/share/pgsql to /usr/lib/pgsql
  930. - Move the symlinks libpq.so, libecpg.so, libpq++.so and libpgeasy.so to the devel subpackage from
  931. libs
  932. - Source the i18n data from the .bashrc instead of in the initscript
  933. * Mon May 28 2001 Trond Eivind Glomsr <teg@redhat.com>
  934. - Handle i18n for database startup - backend needs to have the same locale everytime,
  935. but this certainly can't be hardcoded to C either
  936. - Fix stop, restart in initscript (#42217)
  937. - Make database init _much_ less verbose
  938. - other minor fixes to the initscript
  939. * Fri May 25 2001 Trond Eivind Glomsr <teg@redhat.com>
  940. - 7.1.2
  941. * Thu May 24 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  942. - 7.1.2-0.1.1.PGDG PRERELEASE
  943. - Changed versioning and release numbering a little for better flexibility,
  944. -- particularly for distribution packagers.
  945. - Release numbering comment at top of spec, where it's more useful.
  946. - Trimmed changelog to 7.1.x. See the last 7.0.3's specfile for the 7.0
  947. changlog, and the last 6.5.3's specfile for the changelog prior to
  948. 7.0.
  949. * Sun May 20 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  950. - 7.1.1-4.PGDG
  951. - _really_ got Python version agnosticism working.
  952. * Sat May 19 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  953. - 7.1.1-3.PGDG Release
  954. - Python version agnosticism.....
  955. * Tue May 15 2001 Trond Eivind Glomsr <teg@redhat.com>
  956. - Use openssl
  957. - Make it obsolete subpackages if they aren't built
  958. * Mon May 14 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  959. - 7.1.1-2.PGDG Release.
  960. - Appended .PGDG to release string to differentiate our RPM set from the others.
  961. - /bin/sh fix in initscript
  962. - README.rpm-dist updates.
  963. * Mon May 14 2001 Bernhard Rosenkraenzer <bero@redhat.com> 7.1.1-0.7
  964. - Rebuild with new readline
  965. * Thu May 10 2001 Trond Eivind Glomsr <teg@redhat.com>
  966. - Initial 7.1.1
  967. * Mon May 7 2001 Trond Eivind Glomsr <teg@redhat.com>
  968. - Specify shell when running commands through su in the initscript, to avoid problems
  969. when people switch the postgres user to use tcsh
  970. * Thu Apr 19 2001 Trond Eivind Glomsr <teg@redhat.com>
  971. - JDBC driver for Postgresql 7.1
  972. * Sun Apr 15 2001 Trond Eivind Glomsr <teg@redhat.com>
  973. - slightly different versioning scheming, will go back to the official
  974. later when I'm sure the package is ready to use
  975. * Fri Apr 13 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  976. - 7.1 RELEASE
  977. - 7.1-1 RPM RELEASE
  978. - Change to COPTS -- strip out -ffastmath -- Considered Harmful.
  979. - Back to old versioning scheme, kept teg's other fixes.
  980. - README.rpm-dist updated.
  981. - PGVERSION updated all-around (hopefully!)
  982. - Couple of fixes from Peter E.
  983. - Rearrange dependencies -- only the -libs subpackage is required for most stuff
  984. - Removed broken and confusing logrotate script.
  985. * Mon Apr 9 2001 Trond Eivind Glomsr <teg@redhat.com>
  986. - chown considered harmful - removed
  987. - fix dangling symlimks (pg_crc.c)
  988. - libpq.so changes for maximum compatiblity
  989. - different versioning scheme, to avoid trouble later
  990. - remove temporary perl file from the file list
  991. - fix spelling error in tcl description
  992. - mark odbcinst.ini as a config file
  993. - use %%defattr on packages which didn't have it
  994. * Sat Apr 07 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  995. - Integrated the PL/Perl stuff from Karl DeBisschop --conditional.
  996. - Packaging reorg: added contrib and docs subpackages.
  997. - Removed sgml source docs from main package --> docs subpackage.
  998. - Removed contrib tree from main package --> contrib subpackage.
  999. - Contrib tree is now prebuilt -- HOWEVER, very little install work is
  1000. currently done with this.
  1001. * Fri Apr 06 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  1002. - Quickie RC3. There will be a 7.1RC3-2 shortly with other stuff.
  1003. * Tue Apr 03 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  1004. - RC2
  1005. - eliminate versioning information for ancilliary files in prep for CVS.
  1006. - Fix docs mixup.
  1007. * Tue Mar 27 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  1008. - RC1 quickie.
  1009. * Tue Mar 20 2001 Lamar Owen <lamar@postgresql.org>
  1010. - Beta 6 initial build.
  1011. - Use make install-all-headers instead of cpio hack for devel headers.
  1012. - Split out the libs into the libs subpackage.
  1013. - Updated initscript to use pg_ctl to stop
  1014. - Updated initscript to initdb and start postmaster with LC_ALL=C to
  1015. prevent index corruption.
  1016. * Sun Jan 28 2001 Lamar Owen <lamar@postgresql.org>
  1017. - Beta4
  1018. - Return to 'pgsql' directories instead of 'postgresql'
  1019. - Better perl patches.
  1020. * Mon Jan 15 2001 Lamar Owen <lamar@postgresql.org>
  1021. - Edit patches to get rid of some cruft.
  1022. - Eliminate some more pre-7.1 specfile baggage that is no longer necessary.
  1023. - Moved pg_id to server
  1024. - added Makefile.global and pg_config to devel
  1025. - Corrected /usr/include/pgsql to /usr/include/postgresql
  1026. - Fixed some configure options. Will be trying the configure macro next release
  1027. - Since it is terminally ill in this version pg_upgrade is _gone_.
  1028. - Thanks to Peter E for a good review.
  1029. * Sun Jan 14 2001 Lamar Owen <lamar@postgresql.org>
  1030. - Running regression. 1 on the release-o-meter.
  1031. - Minor patches to get regression running right.
  1032. - Initscript tweaking -- the old test for a database structure fails with 7.1's new structure.
  1033. * Sat Jan 13 2001 Lamar Owen <lamar@postgresql.org>
  1034. - Perl 5 needs to be built with PREFIX set on the Makefile, not GNUmakefile....
  1035. - The 7.1 build is different from the 7.0 build -- see the configure line.
  1036. - NOTE: many files that used to be in /usr/share/postgresql are now in /usr/share/postgresql!
  1037. - by request, conditional packages are now supported. See the top of the spec.
  1038. - Fixed the server postinstall problems.
  1039. * Mon Jan 08 2001 Lamar Owen <lamar@postgresql.org>
  1040. - First 7.1 beta test-build