postgresql-vl.spec 42 KB

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