Don't overwrite configuration files in <sysconfdir>/ppp (#518)
Some checks failed
Buildroot / Buildroot (qemu_mips32r2_malta_defconfig, glibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_mips32r2_malta_defconfig, musl) (push) Has been cancelled
Buildroot / Buildroot (qemu_mips32r2_malta_defconfig, uclibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_mips64_malta_defconfig, glibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_mips64_malta_defconfig, musl) (push) Has been cancelled
Buildroot / Buildroot (qemu_mips64_malta_defconfig, uclibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_ppc64le_pseries_defconfig, glibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_ppc64le_pseries_defconfig, musl) (push) Has been cancelled
Buildroot / Buildroot (qemu_ppc64le_pseries_defconfig, uclibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_riscv32_virt_defconfig, glibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_riscv32_virt_defconfig, musl) (push) Has been cancelled
Buildroot / Buildroot (qemu_riscv32_virt_defconfig, uclibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_riscv64_virt_defconfig, glibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_riscv64_virt_defconfig, musl) (push) Has been cancelled
Buildroot / Buildroot (qemu_riscv64_virt_defconfig, uclibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_x86_64_defconfig, glibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_x86_64_defconfig, musl) (push) Has been cancelled
Buildroot / Buildroot (qemu_x86_64_defconfig, uclibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_x86_defconfig, glibc) (push) Has been cancelled
Buildroot / Buildroot (qemu_x86_defconfig, musl) (push) Has been cancelled
Buildroot / Buildroot (qemu_x86_defconfig, uclibc) (push) Has been cancelled
Buildroot / Buildroot (raspberrypi4_64_defconfig, glibc) (push) Has been cancelled
Buildroot / Buildroot (raspberrypi4_64_defconfig, musl) (push) Has been cancelled
Buildroot / Buildroot (raspberrypi4_64_defconfig, uclibc) (push) Has been cancelled
Buildroot / Buildroot (raspberrypi4_defconfig, glibc) (push) Has been cancelled
Buildroot / Buildroot (raspberrypi4_defconfig, musl) (push) Has been cancelled
Buildroot / Buildroot (raspberrypi4_defconfig, uclibc) (push) Has been cancelled
Solaris / solaris (push) Has been cancelled
Build and Test / build_and_test (push) Has been cancelled
Build and Test / build_and_test_asan (push) Has been cancelled

This renames the configuration files in etc.ppp/ to have ".example"
on the end of their names.  This is so that when they are copied to
<sysconfdir>/ppp (often /etc/ppp), they don't overwrite existing
pppd configuration files, and it is clear that they are just examples.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
This commit is contained in:
Paul Mackerras
2024-09-14 13:31:56 +10:00
committed by GitHub
parent 1d0bff9bc8
commit 53e6846dff
7 changed files with 8 additions and 7 deletions

View File

@@ -10,16 +10,17 @@ DIST_SUBDIRS = $(SUBDIRS) include scripts
install-data-hook:
(cd $(DESTDIR)/$(sysconfdir)/$(PACKAGE) ; \
chmod 600 chap-secrets pap-secrets eaptls-server eaptls-client)
chmod 600 chap-secrets.example pap-secrets.example \
eaptls-server.example eaptls-client.example)
sampledir = $(sysconfdir)/$(PACKAGE)
sample_DATA = \
etc.ppp/options \
etc.ppp/chap-secrets \
etc.ppp/pap-secrets \
etc.ppp/eaptls-server \
etc.ppp/eaptls-client \
etc.ppp/openssl.cnf
etc.ppp/options.example \
etc.ppp/chap-secrets.example \
etc.ppp/pap-secrets.example \
etc.ppp/eaptls-server.example \
etc.ppp/eaptls-client.example \
etc.ppp/openssl.cnf.example
EXTRA_README = \
Changes-2.3 \