postgresql-vl.spec 43 KB

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