Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

19
pkgtools/pkgsurvey/DESCR Normal file
View File

@@ -0,0 +1,19 @@
pkgsurvey is a small utility to aid the pkgsrc people at pkgsrc.org
Information of currently-installed packages is taken from the current
machine, along with Operating System type, hardware architecture, and
operating system release version information, and mailed to a central
site.
No information will be divulged to anyone - it is simply meant for use
by the pkgsrc people, for finding the most popular packages.
If the idea of divulging package or operating system version
information is distasteful to you, or does not conform to your site's
policy, then please feel free to delete pkgsurvey from your system:
as root, type
pkg_delete -v pkgsurvey
Alistair G. Crooks
Thu Feb 1 07:48:48 GMT 2001

View File

@@ -0,0 +1,17 @@
===========================================================================
$NetBSD: MESSAGE,v 1.3 2003/05/06 17:42:24 jmmv Exp $
Run
pkgsurvey
to send a list of all your installed packages via mail to the people
doing NetBSD pkgsrc works to help them keep the system at an optimum.
If the idea of divulging package or operating system version
information is distasteful to you, or does not conform to your site's
policy, then please feel free to delete pkgsurvey from your system:
as root, type
pkg_delete -v pkgsurvey
===========================================================================

View File

@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.12 2012/09/11 23:19:39 asau Exp $
#
DISTNAME= pkgsurvey-0.0
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= agc@pkgsrc.org
COMMENT= Utility to collate pkg information, and mail to central census site
WRKSRC= ${WRKDIR}
NO_CONFIGURE= yes
NO_BUILD= yes
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
${SED} -e 's|\$${PKG_INFO}|${PKG_INFO}|' \
-e 's|\$${UNAME}|${UNAME}|g' \
${FILESDIR}/pkgsurvey.sh > ${DESTDIR}${PREFIX}/bin/pkgsurvey
${CHMOD} 755 ${DESTDIR}${PREFIX}/bin/pkgsurvey
.include "../../mk/bsd.pkg.mk"

2
pkgtools/pkgsurvey/PLIST Normal file
View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 21:31:52 zuntum Exp $
bin/pkgsurvey

View File

@@ -0,0 +1,5 @@
#! /bin/sh
${PKG_INFO} | sort | mail -s "`hostname` `${UNAME} -s`-`${UNAME} -p`-`${UNAME} -r`" agc-pkgsurvey@pkgsrc.org
exit 0