Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 15:50:34 -0400
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        ports@FreeBSD.org
Subject:   Re: "Featured ports of the month"
Message-ID:  <200405191550.34155@misha-mx.virtual-estates.net>

next in thread | raw e-mail | index | archive | help
On a related subject -- the most popular ports.

The simplest is to just collect and publish download statistics as
collected by ftp.FreeBSD.org and the major mirrors?

More complex, but interesting would be to have ``make install'' send
an icmp (or udp) packet somewhere describing as much as the admin
wants it to describe -- from merely the portname (default) to "the
works" -- including portversion, build options, `uname -a`.

The reporting program (say, portreport) can be a port in itself. Once
it is installed, installing any port will automaticly invoke it. The
aggregated results can be published on a web-site.

A sample portreport.conf can read (TCL's syntax):

	set MyID	mi+[info hostname]@aldan.algebra.com
	# icmp is easier on the Net, but may not be allowed
	# through by your firewall:
	set proto	icmp	;#	udp
	# Possible fields: portname, version, options (if the port has any)
	# uname (output of `uname -a`), arch (ie i386, amd64):
	set report	{ portname version options arch }
	set host	portreport.FreeBSD.org
	# List any ports, you don't want reported (glob-style templates Ok):
	set dontreport	{ security/* }

	-mi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405191550.34155>