git: d73239ccf9 - main - porters-handbook: remove $FreeBSD$ tags from examples and checklists.
Date: Fri, 09 Sep 2022 18:58:16 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/doc/commit/?id=d73239ccf94856fbaa075d492c5fa2689da2c7f6
commit d73239ccf94856fbaa075d492c5fa2689da2c7f6
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2022-09-08 12:15:50 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-09-09 18:58:09 +0000
porters-handbook: remove $FreeBSD$ tags from examples and checklists.
---
.../content/en/books/porters-handbook/special/_index.adoc | 5 -----
.../content/en/books/porters-handbook/special/_index.po | 13 -------------
2 files changed, 18 deletions(-)
diff --git a/documentation/content/en/books/porters-handbook/special/_index.adoc b/documentation/content/en/books/porters-handbook/special/_index.adoc
index 046b741f5d..63d9623d2b 100644
--- a/documentation/content/en/books/porters-handbook/special/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/special/_index.adoc
@@ -1594,8 +1594,6 @@ Please use it as a guide for creating new ports.
[.programlisting]
....
-# $FreeBSD$
-
PORTNAME= regexxer
DISTVERSION= 0.10
CATEGORIES= devel textproc gnome
@@ -4581,8 +4579,6 @@ An example simple [.filename]#rc.d# script to start the doormand daemon:
....
#!/bin/sh
-# $FreeBSD$
-#
# PROVIDE: doormand
# REQUIRE: LOGIN
# KEYWORD: shutdown
@@ -4655,7 +4651,6 @@ The package:devel/rclint[] port can check for most of these, but it is not a sub
[.procedure]
. If this is a new file, does it have a [.filename]#.sh# extension? If so, that must be changed to just [.filename]#file.in# since [.filename]#rc.d# files may not end with that extension.
-. Does the file have a `$FreeBSD$` tag?
. Do the name of the file (minus [.filename]#.in#), the `PROVIDE` line, and `$` _name_ all match? The file name matching `PROVIDE` makes debugging easier, especially for man:rcorder[8] issues. Matching the file name and `$`_name_ makes it easier to figure out which variables are relevant in [.filename]#rc.conf[.local]#. It is also a policy for all new scripts, including those in the base system.
. Is the `REQUIRE` line set to `LOGIN`? This is mandatory for scripts that run as a non-root user. If it runs as root, is there a good reason for it to run prior to `LOGIN`? If not, it must run after so that local scrips can be loosely grouped to a point in man:rcorder[8] after most everything in the base is already running.
. Does the script start a persistent service? If so, it must have `KEYWORD: shutdown`.
diff --git a/documentation/content/en/books/porters-handbook/special/_index.po b/documentation/content/en/books/porters-handbook/special/_index.po
index 309cf2c6ba..69b8f9d372 100644
--- a/documentation/content/en/books/porters-handbook/special/_index.po
+++ b/documentation/content/en/books/porters-handbook/special/_index.po
@@ -3151,12 +3151,6 @@ msgid ""
"creating new ports."
msgstr ""
-#. type: delimited block . 4
-#: documentation/content/en/books/porters-handbook/special/_index.adoc:1592
-#, no-wrap
-msgid "# $FreeBSD$\n"
-msgstr ""
-
#. type: delimited block . 4
#: documentation/content/en/books/porters-handbook/special/_index.adoc:1597
#, no-wrap
@@ -12070,8 +12064,6 @@ msgstr ""
#: documentation/content/en/books/porters-handbook/special/_index.adoc:4585
#, no-wrap
msgid ""
-"# $FreeBSD$\n"
-"#\n"
"# PROVIDE: doormand\n"
"# REQUIRE: LOGIN\n"
"# KEYWORD: shutdown\n"
@@ -12228,11 +12220,6 @@ msgid ""
"files may not end with that extension."
msgstr ""
-#. type: Plain text
-#: documentation/content/en/books/porters-handbook/special/_index.adoc:4647
-msgid "Does the file have a `$FreeBSD$` tag?"
-msgstr ""
-
#. type: Plain text
#: documentation/content/en/books/porters-handbook/special/_index.adoc:4648
msgid ""