On Mon, 18 Nov 2013, Bill Allombert wrote: > > > > indeed -- a good idea! Should I try to elaborate such a patch or you > > > > are on top of it?
> > > Do you need debconf preseeding support ? > > ATM not -- we just 'patch' (yes yes -- cruel) > > /etc/popularity-contest.conf to add our submission server to the > > SUBMITURLS variable. > Well, then you can as well patch it to change KEYRING and POPCONKEY. > You can also patch cron.daily if it is need. > I am considering simply replacing > $GPG --batch --no-options --no-default-keyring --trust-model=always \ > --homedir "$GPGHOME" --keyring "$KEYRING" --quiet \ > --armor -o "$POPCONGPG" -r "$POPCONKEY" --encrypt "$POPCON" > by > $GPG --batch --no-options --no-default-keyring --trust-model=always \ > --homedir "$GPGHOME" --keyring $KEYRING --quiet \ > --armor -o "$POPCONGPG" -r $POPCONKEY --encrypt "$POPCON" > (i.e. removing the ") > So you will be able to do > KEYRING="/usr/share/popularity-contest/debian-popcon.gpg --keyring > neurodebian-popcon.gpg" > POPCONKEY="6672B9765BDF38A3 -r D41D8CD98F00B204E" Thanks for checking on this! the patching is done at the neurodebian-popularity-contest postinst time https://github.com/neurodebian/neurodebian/blob/5dd6c9f932a2b07412488d62dad2b700054d0903/debian/neurodebian-popularity-contest.postinst so checking/patching also a cron file although possible, might be a bit too much of a hack... could this change be done "upstream" in stock popularity-contest in Debian? Then I will similarly patch /etc/popularity-contest.conf for the variables. Looking forward though -- imho it would be nice if the /etc/popularity-contest.conf had at the end smth like if [ -d /etc/popularity-contest.d ]; then for i in /etc/popularity-contest.d/*.conf; do if [ -r $i ]; then . $i fi done unset i fi so we could avoid patching at all and just provide /etc/popularity-contest.d/neurodebian.conf which would extend the necessary variables? > Better suggestions ? > Cheers, -- Yaroslav O. Halchenko, Ph.D. http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org Senior Research Associate, Psychological and Brain Sciences Dept. Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org