aboutsummaryrefslogtreecommitdiff
path: root/share/tools/portsgrowth/getinfo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'share/tools/portsgrowth/getinfo.sh')
-rw-r--r--share/tools/portsgrowth/getinfo.sh44
1 files changed, 0 insertions, 44 deletions
diff --git a/share/tools/portsgrowth/getinfo.sh b/share/tools/portsgrowth/getinfo.sh
deleted file mode 100644
index 61dc3812be..0000000000
--- a/share/tools/portsgrowth/getinfo.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh -ex
-#
-# Refresh source file used for ploting ports growth status.
-#
-# Get an information about all revisions listed in 'cvs log' and merge
-# it with our current list. This lets us keep info about revisions that
-# have been axed from the repository during ports/INDEX cleanup.
-#
-# $FreeBSD$
-
-CVSCMD='cvs -QR'
-INDEX=ports/INDEX
-
-echo "*** Refreshing ports.log status"
-cp ports.log ports.log1
-
-$CVSCMD co $INDEX
-
-$CVSCMD log $INDEX |
-awk '$1 ~ /^revision/ {
- print $2
- next
- }
- $1 ~ /^date/ {
- print $2 " " substr($3, 1, length($3)-1)
- next
- }' |
-while read rev ; do
- read date
- grep "$date" ports.log > /dev/null 2>&1
- if [ $? = 1 ]; then
- echo $date
- $CVSCMD up -r "$rev" $INDEX
- echo $date $(wc -l < $INDEX) >> ports.log1
- fi
-done
-
-# Remove dupes.
-sort -u ports.log1 > ports.log
-
-# Cleanup
-rm ports.log1
-rm -r ports
-