+neurodebian (0.20) unstable; urgency=low
+
+ * New package neurodebian-popularity-contest
+
+ -- Yaroslav Halchenko <debian@onerussian.com> Mon, 06 Dec 2010 14:27:56 -0500
+
neurodebian (0.19) unstable; urgency=low
* Initial release.
The NeuroDebian project digitally signs its Release files. This package
contains the archive keys used for that.
+Package: neurodebian-popularity-contest
+Architecture: all
+Depends: ${misc:Depends}, popularity-contest
+Description: Helper for NeuroDebian popularity contest submissions
+ This package is a complement to a generic popularity-contest package
+ to enable submission of usage statistics to NeuroDebian in addition
+ to the submissions to the underlying distribution (e.g. Debian or
+ Ubuntu) popcon server.
+ .
+ It has an effect only if you have decided to participate in the
+ Popularity Contest.
+ .
+ Your participation in popcon is important for following reasons:
+ - Popular packages receive more attention from developers, bugs are
+ fixed faster and updates are provided quicker.
+ - Assure that we do not drop support for a previous release of Debian
+ or Ubuntu while are active users.
+ - User statistics could be used by upstream research software
+ developers to acquire funding for continued development.
+ .
+ You can always enable or disable your participation in popcon by
+ running 'dpkg-reconfigure popularity-contest' as root.
Package: neurodebian-guest-additions
Architecture: all
--- /dev/null
+#!/bin/bash -e
+
+popcon_conf=/etc/popularity-contest.conf
+if [ "$1" = "configure" -o "$1" = "abort-upgrade" ]; then
+ # Adjust popularity-contest.conf
+ if [ -e "$popcon_conf" ]; then
+ echo "Adding NeuroDebian url for Popularity Contest submissions."
+ grep -q 'SUBMITURLS.*neuro.debian.net' "$popcon_conf" || \
+ echo -e 'SUBMITURLS+=" http://neuro.debian.net/cgi-bin/popcon-submit.cgi"' >> "$popcon_conf"
+ fi
+fi
+
+#DEBHELPER#
+
--- /dev/null
+#!/bin/sh -e
+
+#DEBHELPER#
+
+# If requested to be purged -- remove our entry
+popcon_conf=/etc/popularity-contest.conf
+if [ "$1" = "purge" ]; then
+ # Adjust popularity-contest.conf
+ if [ -e "$popcon_conf" ]; then
+ echo "Removing NeuroDebian url for Popularity Contest submissions."
+ # First remove any explicit mentioning and then empty additions
+ sed -i -e 's,http://neuro.debian.net/cgi-bin/popcon-submit.cgi,,g' \
+ -e '/SUBMITURLS+=" *"/d'\
+ "$popcon_conf"
+ fi
+fi