git: 5177b048898d - main - www/glewlwyd: Don't overwrite sample files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Dec 2022 17:28:12 UTC
The branch main has been updated by dvl:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5177b048898dc457c6a7ce00554c2f7f4bf2bc3c
commit 5177b048898dc457c6a7ce00554c2f7f4bf2bc3c
Author: Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2022-12-03 17:26:48 +0000
Commit: Dan Langille <dvl@FreeBSD.org>
CommitDate: 2022-12-03 17:28:09 +0000
www/glewlwyd: Don't overwrite sample files
Use @sample on *.conf files
chown root:glewlwyd them
chmod p= them too.
Sorry about that.
---
www/glewlwyd/Makefile | 1 +
www/glewlwyd/pkg-plist | 5 ++---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/www/glewlwyd/Makefile b/www/glewlwyd/Makefile
index d21497d6e076..2b7d854cdd24 100644
--- a/www/glewlwyd/Makefile
+++ b/www/glewlwyd/Makefile
@@ -1,6 +1,7 @@
PORTNAME= glewlwyd
DISTVERSIONPREFIX= v
DISTVERSION= 2.7.3
+PORTREVISION= 1
CATEGORIES= www
MAINTAINER= dvl@FreeBSD.org
diff --git a/www/glewlwyd/pkg-plist b/www/glewlwyd/pkg-plist
index 659edfe22120..4901826fdf89 100644
--- a/www/glewlwyd/pkg-plist
+++ b/www/glewlwyd/pkg-plist
@@ -1,7 +1,6 @@
bin/glewlwyd
-%%ETCDIR%%/config.json.sample
-%%ETCDIR%%/glewlwyd.conf
-%%ETCDIR%%/glewlwyd.conf.sample
+@sample(root,glewlwyd,0640) %%ETCDIR%%/config.json.sample
+@sample(root,glewlwyd,0640) %%ETCDIR%%/glewlwyd.conf.sample
etc/rc.d/glewlwyd
lib/glewlwyd/client/libclientmoddatabase.so
lib/glewlwyd/plugin/libprotocol_oauth2.so