From bf2d81763f53abf2d2d42e86af30b62abe4466ff Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sat, 21 Jun 2014 21:44:31 +0200 Subject: configury: make it non-foreign This makes us to do some additional documentation, but it should not be so hard. --- .gitignore | 1 + AUTHORS | 5 +++++ COPYING | 18 ++++++++++++++++++ ChangeLog | 19 +++++++++++++++++++ NEWS | 14 ++++++++++++++ README | 5 +++++ configure.ac | 2 +- 7 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 AUTHORS create mode 100644 COPYING create mode 100644 ChangeLog create mode 100644 NEWS create mode 100644 README diff --git a/.gitignore b/.gitignore index 2cd6e87..cdb9f18 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ install-sh missing *.log postgresql-setup +INSTALL diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..eafb7c6 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,5 @@ +Devrim GÜNDÜZ +Honza Horák +Tom Lane +Jozef Mlích +Pavel Raiskup diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..c0cecad --- /dev/null +++ b/COPYING @@ -0,0 +1,18 @@ +Portions Copyright (c) 2011-2014, Red Hat Inc. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose, without fee, and without a written agreement +is hereby granted, provided that the above copyright notice and this +paragraph and the following two paragraphs appear in all copies. + +IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR +DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING +LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS +DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS +ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO +PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..9043b00 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,19 @@ +2014-06-21 Pavel Raiskup + postgresql-setup: do not resist on PGPORT in service file + + We use /etc/sysconfig/postgresql for PGDATA configuration. PGPORT there + is optional as it is possible (and it is by default) to configure it in + postgresql.conf. + +2014-06-21 Pavel Raiskup + + postgresql-setup: split this script from postgresql package + + Maintenance of postgresql-setup script becoming harder and dealing with + its development in Fedora Rawhide dist-git costs quite a lot of work. + Turns out that it would be better to start development separately and + possibly package it separately also in future (which would be beneficial + because we could not respin whole PostgreSQL package for hot-fix in + postgresql-setup). + + Possibly, this package could be useful for other distributions. diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..cf0a914 --- /dev/null +++ b/NEWS @@ -0,0 +1,14 @@ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +New in 0.9 version + +* this is inital version actually, changes are against F21 version: + http://pkgs.fedoraproject.org/cgit/postgresql.git/tree/?id=49f074f1918a61 + +* prepared for /etc/sysconfig/postgresql configuration, taking into account + that we should make the s/postgresql.service/postgresql@.service/ + (instantiable) change. + +* allow user to specify PGPORT also by 'port' option in postgresql.conf + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/README b/README new file mode 100644 index 0000000..8eda5e6 --- /dev/null +++ b/README @@ -0,0 +1,5 @@ +---------------- +postgresql-setup +---------------- + +TODO diff --git a/configure.ac b/configure.ac index 64cfbd3..5e2161e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_INIT([postgresql-setup], [0.9], [praiskup@redhat.com]) -AM_INIT_AUTOMAKE([foreign -Wall -Werror]) +AM_INIT_AUTOMAKE([-Wall]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([postgresql-setup], [chmod +x postgresql-setup]) -- cgit