From owner-svn-ports-all@freebsd.org Sun Jul 16 14:08:52 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A877DC08033; Sun, 16 Jul 2017 14:08:52 +0000 (UTC) (envelope-from dvl@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 mx1.freebsd.org (Postfix) with ESMTPS id 79BA57EC92; Sun, 16 Jul 2017 14:08:52 +0000 (UTC) (envelope-from dvl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6GE8pmS081651; Sun, 16 Jul 2017 14:08:51 GMT (envelope-from dvl@FreeBSD.org) Received: (from dvl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6GE8pXY081649; Sun, 16 Jul 2017 14:08:51 GMT (envelope-from dvl@FreeBSD.org) Message-Id: <201707161408.v6GE8pXY081649@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dvl set sender to dvl@FreeBSD.org using -f From: Dan Langille Date: Sun, 16 Jul 2017 14:08:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446005 - in head/sysutils/anvil: . files X-SVN-Group: ports-head X-SVN-Commit-Author: dvl X-SVN-Commit-Paths: in head/sysutils/anvil: . files X-SVN-Commit-Revision: 446005 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.23 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: Sun, 16 Jul 2017 14:08:52 -0000 Author: dvl Date: Sun Jul 16 14:08:51 2017 New Revision: 446005 URL: https://svnweb.freebsd.org/changeset/ports/446005 Log: Improve the pkg-message now that we install multiple scripts. Bump PORTREVISION Modified: head/sysutils/anvil/Makefile head/sysutils/anvil/files/pkg-message.in Modified: head/sysutils/anvil/Makefile ============================================================================== --- head/sysutils/anvil/Makefile Sun Jul 16 13:47:20 2017 (r446004) +++ head/sysutils/anvil/Makefile Sun Jul 16 14:08:51 2017 (r446005) @@ -2,6 +2,7 @@ PORTNAME= anvil PORTVERSION= 0.0.8 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= dvl@FreeBSD.org Modified: head/sysutils/anvil/files/pkg-message.in ============================================================================== --- head/sysutils/anvil/files/pkg-message.in Sun Jul 16 13:47:20 2017 (r446004) +++ head/sysutils/anvil/files/pkg-message.in Sun Jul 16 14:08:51 2017 (r446005) @@ -1,26 +1,48 @@ -After installing anvil, this is a short checklist of things to do: -* adjust anvil.conf +**************************************************************************** -* run 'cert-puller -s' to see the visudo settings you need +After installing anvil, this is a short checklist of things to do, depending +on which tools are using. -* adjust the service configuration files if cert filenames are different +For cert-puller: -* By default, anvil uses: + * adjust /usr/local/etc/anvil/cert-puller.conf - * example.org.fullchain.cer - * example.org.key + * run 'cert-puller -s' to see the visudo settings you need -* anvil does not distribute .key files. Do that manually. + * adjust the service configuration files (e.g. httpd.conf) if cert filenames + are different from defaults. By default, anvil uses: -* install the crontab for anvil: sudo crontab -e -u anvil: + * example.org.fullchain.cer + * example.org.key + * anvil does not distribute .key files. Do that manually. + + * install the crontab for anvil: sudo crontab -e -u anvil: + ### # use /bin/sh to run commands, overriding the default set by cron SHELL=/bin/sh # mail any output to here, no matter whose crontab this is MAILTO=you@example.org -7 13 * * * %%PREFIX%%/bin/cert-puller +7 13 * * * /usr/local/bin/cert-puller ### + +For cert-shifter: + + * adjust /usr/local/etc/anvil/cert-shifter.conf + + * install the crontab: + +### +# use /bin/sh to run commands, overriding the default set by cron +SHELL=/bin/sh +# mail any output to here, no matter whose crontab this is +MAILTO=you@example.org + +19 20 * * * /usr/local/bin/cert-shifter +### + +****************************************************************************