From owner-svn-ports-all@freebsd.org Wed Mar 25 11:46:32 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8FA8C27ECE5; Wed, 25 Mar 2020 11:46:32 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48nRCp2CGGz3Dlp; Wed, 25 Mar 2020 11:46:30 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5FED61A3FB; Wed, 25 Mar 2020 11:46:23 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02PBkNxG035487; Wed, 25 Mar 2020 11:46:23 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02PBkNc2035486; Wed, 25 Mar 2020 11:46:23 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202003251146.02PBkNc2035486@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 25 Mar 2020 11:46:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r529096 - head/x11/wlogout X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/x11/wlogout X-SVN-Commit-Revision: 529096 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2020 11:46:32 -0000 Author: jbeich Date: Wed Mar 25 11:46:22 2020 New Revision: 529096 URL: https://svnweb.freebsd.org/changeset/ports/529096 Log: x11/wlogout: preserve changes to system-wide config Modified: head/x11/wlogout/Makefile (contents, props changed) head/x11/wlogout/pkg-plist (contents, props changed) Modified: head/x11/wlogout/Makefile ============================================================================== --- head/x11/wlogout/Makefile Wed Mar 25 11:24:05 2020 (r529095) +++ head/x11/wlogout/Makefile Wed Mar 25 11:46:22 2020 (r529096) @@ -2,6 +2,7 @@ PORTNAME= wlogout PORTVERSION= 1.1.1 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org @@ -29,5 +30,11 @@ post-patch: ${WRKSRC}/main.c \ ${WRKSRC}/man/${PORTNAME}.1.scd \ ${WRKSRC}/style.css + +post-install: +# Let @sample handle default files under etc/ + @for f in ${STAGEDIR}${ETCDIR}/*; do \ + ${MV} $$f $$f.sample; \ + done .include Modified: head/x11/wlogout/pkg-plist ============================================================================== --- head/x11/wlogout/pkg-plist Wed Mar 25 11:24:05 2020 (r529095) +++ head/x11/wlogout/pkg-plist Wed Mar 25 11:46:22 2020 (r529096) @@ -1,6 +1,6 @@ bin/wlogout -%%ETCDIR%%/layout -%%ETCDIR%%/style.css +@sample %%ETCDIR%%/layout.sample +@sample %%ETCDIR%%/style.css.sample %%MANPAGES%%man/man1/wlogout.1.gz %%MANPAGES%%man/man5/wlogout.5.gz share/bash-completion/completions/wlogout.bash