summaryrefslogtreecommitdiff
path: root/pkgtools/pkgsurvey/files
diff options
context:
space:
mode:
authoragc <agc>2001-02-01 12:31:43 +0000
committeragc <agc>2001-02-01 12:31:43 +0000
commit63b2a76f649ce017accfc9b1cf9b0bffaeb6f1b1 (patch)
treee779b9368cd06b7f4e478c470406ebdc8bfcafaf /pkgtools/pkgsurvey/files
parent8880473b21382746c564fb2193b278d45e93fcc2 (diff)
downloadpkgsrc-63b2a76f649ce017accfc9b1cf9b0bffaeb6f1b1.tar.gz
Initial import of pkgsurvey, a utility to feedback package usage
information, when run, to the NetBSD pkgsrc people. There is a possibility that you may not want to divulge this information - in which case, you should consider deleting this package from your system (to ensure that no-one can run it). Information is only sent when pkgsurvey is invoked. The information gathered will not be divulged to anyone. It will be used for pkgsrc scheduling purposes.
Diffstat (limited to 'pkgtools/pkgsurvey/files')
-rw-r--r--pkgtools/pkgsurvey/files/pkgsurvey.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgtools/pkgsurvey/files/pkgsurvey.sh b/pkgtools/pkgsurvey/files/pkgsurvey.sh
new file mode 100644
index 00000000000..455144c2e45
--- /dev/null
+++ b/pkgtools/pkgsurvey/files/pkgsurvey.sh
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+${PKG_INFO} | sort | mail -s "`hostname` `${UNAME} -s`-`${UNAME} -p`-`${UNAME} -r`" agc-pkgsurvey@pkgsrc.org
+
+exit 0