gnewsense-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gNewSense-users] [Fwd: Re: popularity-contest]


From: Matthew Flaschen
Subject: [gNewSense-users] [Fwd: Re: popularity-contest]
Date: Thu, 29 Mar 2007 07:39:07 -0400
User-agent: Thunderbird 1.5.0.10 (X11/20070306)

This is a package that optionally sends information about most-used
packages to a developer address.  It is installed by default, but
disabled.  However, the address is currently set to
address@hidden .  I made a builder script to change ubuntu to
${DISTRONAME_L} everywhere.  Really, there should be a separate variable
for domain name (maybe there is).  On that note, can gnewsense.com be
forwarded to gnewsense.org?... The script's attached.

I'd appreciate feedback.

Matt Flaschen
#!/bin/bash
#
#    Copyright (C) 2006  Brian Brazil, 2007 Matthew Flaschen
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
#

set -ex

. config

rm -rf $WORKINGDIR
mkdir -p $WORKINGDIR
cd $WORKINGDIR

$APTGET source popularity-contest$VERSION
cd popularity-contest-*

find * -maxdepth 0 -type f -execdir sed -i -e "s/ubuntu/${DISTRONAME_L}/g" "{}" 
"+"

dch -D $RELEASE -v $(sed  -n 
'1s#^.*(\(.*\)).*#\1'${DISTRONAME_L}${POPULARITY_CONTEST_VERSION}'#p' 
debian/changelog)  "Changed all mentions of ubuntu (including domains) to 
${DISTRONAME_L}"

dpkg-buildpackage -rfakeroot -us -uc
cd ..
reprepro -Vb $REPODST include $RELEASE 
${DISTRONAME_L}-popularity-contest*.changes
--- Begin Message --- Subject: Re: popularity-contest Date: Wed, 28 Mar 2007 16:36:49 +0200 User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070306 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666
OOzy Pal wrote:
> I just updated my Kubuntu and I saw popularity-contest installing in
> my computer. What is this

Quote from aptitude show popularity-contest

"
When you install this package, it sets up a cron job that will
anonymously submit statistics about your most used packages periodically
to the developers.

 This information helps us make decisions such as which packages should
be promoted and so be in standard installs.

 Homepage: http://popcon.ubuntu.com

"

HTH

Carsten

-- 
ubuntu-users mailing list
address@hidden
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]