diff options
-rwxr-xr-x | mk/scripts/mkreadme | 45 | ||||
-rw-r--r-- | templates/README.ipv6 | 35 | ||||
-rw-r--r-- | templates/README.top | 6 |
3 files changed, 3 insertions, 83 deletions
diff --git a/mk/scripts/mkreadme b/mk/scripts/mkreadme index 1d734c88b94..272e529e8ee 100755 --- a/mk/scripts/mkreadme +++ b/mk/scripts/mkreadme @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: mkreadme,v 1.31 2018/08/22 20:48:37 maya Exp $ +# $NetBSD: mkreadme,v 1.32 2021/02/19 17:49:06 nia Exp $ # # Script for README.html generation # @@ -455,49 +455,6 @@ fi ###################################################################### # -# Generate the README-IPv6.html file -# -###################################################################### - -echo " " -echo "Generating the README-IPv6.html file" -echo " " -cd ${PKGSRCDIR} -ipv6=${TMPDIR}/ipv6pkgs -ipv6_entries=${TMPDIR}/ipv6_entries - -echo -n "" > $ipv6 -cats=`${BMAKE} show-subdir-var VARNAME=SUBDIR` -for c in ${cats} ; do - if [ -d ${c} ]; then - ${GREP} -l -e '^BUILD_DEFS.*=.*IPV6_READY' -e '^PKG_SUPPORTED_OPTIONS.*=.*inet6' -e '^USE_FEATURES.*=.*inet6' ${c}/*/Makefile | ${SED} -e 's;Makefile;;g' >> $ipv6 - arethereoptions=`ls ${c}/*/options.mk 2>/dev/null` - if [ ! -z "$arethereoptions" ]; then - ${GREP} -l -e '^BUILD_DEFS.*=.*IPV6_READY' -e '^PKG_SUPPORTED_OPTIONS.*=.*inet6' -e '^USE_FEATURES.*=.*inet6' ${c}/*/options.mk | ${SED} -e 's;options.mk;;g' >> $ipv6 - fi - - fi -done -${FGREP} -f $ipv6 README-all.html | sort -t/ +1 > $ipv6_entries -${SED} \ - -e "/%%TRS%%/r${ipv6_entries}" \ - -e '/%%TRS%%/d' \ - templates/README.ipv6 > ${TMPDIR}/README-IPv6.html -if [ $? != 0 ]; then - echo "Error: README-IPv6.html generation failed (on sed script)" - clean_and_exit -fi - -if [ ! -f README-IPv6.html ]; then - mv -f ${TMPDIR}/README-IPv6.html README-IPv6.html -elif cmp -s ${TMPDIR}/README-IPv6.html README-IPv6.html ; then - echo "README-IPv6.html is unchanged (no changes were needed)" -else - mv -f ${TMPDIR}/README-IPv6.html README-IPv6.html -fi - -###################################################################### -# # Prune README.html files which are no longer needed # ###################################################################### diff --git a/templates/README.ipv6 b/templates/README.ipv6 deleted file mode 100644 index 556c1d4e0c5..00000000000 --- a/templates/README.ipv6 +++ /dev/null @@ -1,35 +0,0 @@ -<!-- $NetBSD: README.ipv6,v 1.5 2007/10/09 19:19:15 martti Exp $ --> -<html> -<head> -<title>NetBSD: IPv6 enabled Packages</title> -</head> -<body bgcolor="#ffffff"> - -<a href="http://www.mckusick.com/beastie/mainpage/copyright.html"> -<img align="right" src="templates/pkg-daemon.gif" alt="Daemon Power" - width="147" height="121" border="0"> -</a> -<h1>IPv6 ready packages in the NetBSD Packages Collection</h1> - -<p> -The following list contains all -packages currently available -in the NetBSD Packages Collection, that are known to support -IPv6. -Please select an entry for more details! -</p> - -<hr noshade> -<table> -<tr><th align="left">Package<th align="left">Category<th align="left">Package description -%%TRS%% -</table> - -<hr noshade> -[ -<a href="README.html">Go to top of packages tree</a> -| -<a href="README-all.html">List all packages</a> -] -</body> -</html> diff --git a/templates/README.top b/templates/README.top index 3a08d02e5bd..59ba4b30520 100644 --- a/templates/README.top +++ b/templates/README.top @@ -1,4 +1,4 @@ -<!-- $NetBSD: README.top,v 1.17 2021/02/18 11:14:56 nia Exp $ --> +<!-- $NetBSD: README.top,v 1.18 2021/02/19 17:49:06 nia Exp $ --> <html> <head> <title>The NetBSD Packages Collection</title> @@ -21,9 +21,7 @@ The packages collection is divided into categories of packages. <p>Here are the one-line descriptions for each of the categories, a <a href="README-all.html">complete list of all packages</a> -and one with all -<a href="README-IPv6.html">IPv6 enabled packages</a> -is also available: +is also available. </p> <hr noshade> |