| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As we do not consider the postgresql@ unit variants (that would
require libexec/initscripts/legacy-actions/postgresql@CONCRETE
symlink to the default legacy-scripts directory), there is no need
to do run-time checks.
* Makefile.am (upgrade): Create from legacy-sysv-script.in
template.
(initdb): Likewise.
(systemdlegacyscripts_DATA): Substitute with ..
(systemdlegacyscripts_SCRIPTS): .. this to have execute bit after
installation.
(GENERATED_FILES): Add _SCRIPTS variant for systemdlegacyscripts.
* legacy-sysv-script.in: New unified template for legacy scripts.
* initdb.in: Remove.
* upgrade.in: Likewise.
* NEWS: Document.
|
|
|
|
| |
* Makefile.am: Choose better day for ChangeLog begin.
|
|
|
|
|
|
|
|
| |
Issue detected by './configure --with-sysvinit && make check'.
* postgresql.init.in ($PGDOCDIR): Wipe it out.
($README_DIST): Use on appropriate places.
* Makefile.am: Add TODO relevant to this commit.
|
|
|
|
| |
* Makefile.am (GL_GEN): Test the .git exists and exit if not.
|
|
|
|
|
|
|
| |
.. from targets which are not distributed anyway. Thanks jmlich
to forcing me to catch that mistake.
* Makefile.am: Remove all nodist_ prefixes.
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: (systemdlegacyscriptsdir)
(nodist_systemdlegacyscrupts_DATA): New variables.
(initdb, upgrade): New targets.
* initdb.in: New legacy script template.
* upgrade.in: Likewise.
* .gitignore: Ignore newly generated scripts.
|
|
|
|
| |
* Makefile.am: s|init.d|rc.d/init.d|.
|
|
|
|
| |
* Makefile.am: Make the target postgresql, not postgresql.init.
|
|
|
|
| |
* Makefile.am: s|$(prefix)/etc/init.d|$(sysconfdir)/init.d|.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From now, if ./configure --with-sysvinit is done, we install init
script and do not install systemd files. Original patch written
by Jozef Mlích (jmlich@redhat.com).
* Makefile.am (initscriptsdir, nodist_initscripts_DATA): New
variables. New postgresql.init target.
* configure.ac: Add --with-sysvinit option.
* postgresql.init.in: New sysvinit template.
* .gitignore: Mention postgresql.init.
* NEWS: Document.
|
|
|
|
|
|
|
|
|
|
| |
Avoid detecting README.rpm-dist as we generate this file and we
know the best where the file is.
* configure.ac: Avoid detecting README path. Also substitute new
variable README_DIST_BASENAME.
* Makefile.am: Use the new $(README_DIST_BASENAME).
* postgres-check-db-dir.in: Use README_DIST instead of PGDOCDIR.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am (EXTRA_DIST): Always use $(srcdir) when referencing
wildcards.
(install-data-hook): Return true even for non-root make install.
(DISTCLEANFILES): Mention ChangeLog.
* configure.ac (TEST_GEN_FILES_LIST): Only use the basename.
* tests/Makefile.am (CHECK_DEPS): Fix reference to
TEST_GEN_FILES_LIST.
(DISTCLEANFILES): Mention also atconfig and atlocal.
* tests/testsuite.at: Fix reference to $TEST_GEN_FILES_LIST, use
always $abs_top_builddir when referencing built files.
|
|
|
|
|
|
|
|
| |
Use the gitlog-to-changelog binary, if exists on the system.
* Makefile.am (dist-hook): Add rules for ChangeLog.
* ChangeLog: Remove file.
* .gitignore: Ignore .gitignore.
|
|
|
|
|
|
|
| |
This required little bit of generalization so I moved the SED_CALL
into configure.ac to have it available for tests/Makefile.am also.
The first testsuite just checks that no un-expanded @pattern@
exists in generated files.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
We need to create both files separately as (a) the
'postgresql.service' can not .include 'postgresql@.service' for
some reason, /usr/lib/ drop-in breaks things (rhbz#1141824) and
we want to have PGDATA unset for postgresql@.service, unlike the
postgresql.service file.
|
|
|
|
|
| |
.. instead of install-exec-hook, which caused race conditions due
to parallelized run of make.
|
|
|
|
|
|
| |
Follow the new processes - different options of postgresql-setup,
instantiable unit files. Simplify the documentation thanks to
the template.
|
|
|
|
|
|
| |
Generate separate log file for each service. Also, don't
configure with INITDB_LOG or UPGRADE_LOG but rather with
POSTGRES_HOME.
|
|
|
|
|
|
|
|
|
| |
.. as a hardlink to postgresql.service. This allows us to
instantiate postgresql@PATTERN units which will be easily
configurable in /etc/postgresql/postgresql@PATTERN conf file.
We may install separate service file with '.include' statement but
that does not seem to be necessary ATM.
|
| |
|
|
|
|
|
| |
Also generate files using sed as is suggested by autoconf manual
(and the autoconf project does so internally).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need postgresql-ctl for to keep backward compatibility with
clients setting "PGPORT" directly in service file.
DISTSUFF variable (which is read by ./configure) may be used to
generated namespaced binary names -- e.g. DISTSUFF=93 results in
postgresql93-setup is generated instead of postgresql-setup.
This commit also adjusts autotools build system to not generate
scripts by ./configure, but rather by make.
|
| |
|
|
|