pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Feb 19 17:49:06 UTC 2021

Modified Files:
        pkgsrc/mk/scripts: mkreadme
        pkgsrc/templates: README.top
Removed Files:
        pkgsrc/templates: README.ipv6

Log Message:
mkreadme: Do not generate an index of packages with IPv6 support

It is Current Year and most things have IPv6 support, whether there's
an "ipv6" PKG_OPTION is no longer a good indicator.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/mk/scripts/mkreadme
cvs rdiff -u -r1.5 -r0 pkgsrc/templates/README.ipv6
cvs rdiff -u -r1.17 -r1.18 pkgsrc/templates/README.top

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/scripts/mkreadme
diff -u pkgsrc/mk/scripts/mkreadme:1.31 pkgsrc/mk/scripts/mkreadme:1.32
--- pkgsrc/mk/scripts/mkreadme:1.31     Wed Aug 22 20:48:37 2018
+++ pkgsrc/mk/scripts/mkreadme  Fri Feb 19 17:49:06 2021
@@ -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
 #
 ######################################################################

Index: pkgsrc/templates/README.top
diff -u pkgsrc/templates/README.top:1.17 pkgsrc/templates/README.top:1.18
--- pkgsrc/templates/README.top:1.17    Thu Feb 18 11:14:56 2021
+++ pkgsrc/templates/README.top Fri Feb 19 17:49:06 2021
@@ -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 
 
 <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>



Home | Main Index | Thread Index | Old Index