From 0ac3985accc1e7aa93ceae36387078ed6dea3c6b Mon Sep 17 00:00:00 2001 From: samuel Date: Sun, 22 Feb 2026 00:09:02 +0100 Subject: [PATCH] fix: file names --- Makefile | 2 +- files/posgtres/pg_hba.conf | 6 ------ files/posgtres/postgresql.conf | 19 ------------------- netoik-db.spec | 2 +- 4 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 files/posgtres/pg_hba.conf delete mode 100644 files/posgtres/postgresql.conf diff --git a/Makefile b/Makefile index 9ddc139..8de6ef5 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ build_arch: .PHONY: install install: install --directory $(DESTDIR)$(RPM_SYSCONFDIR)/postgres $(DESTDIR)$(RPM_UNITDIR)/postgresql.service.d - install --target-directory=$(DESTDIR)$(RPM_SYSCONFDIR)/postgres files/postgres/postgresql.conf files/nginx/default.conf + install --target-directory=$(DESTDIR)$(RPM_SYSCONFDIR)/postgres files/postgres/postgresql.conf files/postgres/pg_hba.conf install --target-directory=$(DESTDIR)$(RPM_UNITDIR)/postgresql.service.d filrs/systemd/postgres.conf $(RPM_TARBALL_PATH): * diff --git a/files/posgtres/pg_hba.conf b/files/posgtres/pg_hba.conf deleted file mode 100644 index 589f81a..0000000 --- a/files/posgtres/pg_hba.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Before editing this file, please refer to official doc: -# https://www.postgresql.org/docs/current/auth-pg-hba-conf.html - -# TYPE DATABASE USER ADDRESS METHOD -local sameuser all peer # Allow each unix user accessing its own db -local all postgres peer # Allow postgres user accessing all dbs diff --git a/files/posgtres/postgresql.conf b/files/posgtres/postgresql.conf deleted file mode 100644 index 3bc89f1..0000000 --- a/files/posgtres/postgresql.conf +++ /dev/null @@ -1,19 +0,0 @@ -#------------------------------------------------------------------------------- -# FILE LOCATIONS -# Please refer to official doc before editing this section: -# https://www.postgresql.org/docs/current/runtime-config-file-locations.html -#------------------------------------------------------------------------------- - -# Change pg_hba location -hba_file = "/etc/postgres/pg_hba.conf" - - -#------------------------------------------------------------------------------- -# CONNECTIONS AND AUTHENTICATION -# Please refer to official doc before editing this section: -# https://www.postgresql.org/docs/current/runtime-config-connection.html -#------------------------------------------------------------------------------- - -# Empty listen addresses to disable listening via TCP/IP -# because we want only uni socket connections -listen_addresses = "" diff --git a/netoik-db.spec b/netoik-db.spec index 2cd5b25..b0cb012 100644 --- a/netoik-db.spec +++ b/netoik-db.spec @@ -5,7 +5,7 @@ Version: %(make version) Release: %(make release) Summary: Netoik Reverse Proxy License: MIT -URL: https://git.netoik.io/samuel/netoik-rp +URL: https://git.netoik.io/samuel/%(make name) Source0: %{name}-%{version}.tar.gz Buildarch: %(make build_arch)