Paul's Blog Entries for July 2009
Wednesday 1st July 2009
Local Packages
New package automake19 (1.9.6)
New package automake110 (1.10.2)
Updated dovecot to 1.2.rc8
I built the automake packages as a reaction to the controversial set of updates to automake 1.11 made for Fedora releases 9, 10, and 11 - in particular the one for Fedora 11 which is already "stable". As a packager, I sometimes need to make patches to autotools files, and the resulting patches to the generated output is always smaller and more understandable if I use the same versions of the tools that the original project used, hence the usefulness of these compatibility packages.
Thursday 2nd June 2009
Local Packages
Updated dovecot to 1.2.0
Updated perl-ExtUtils-CBuilder to 0.2601
Updated perl-ExtUtils-ParseXS to 2.20
Friday 3rd July 2009
Fedora Project
Updated perl-IO-Socket-SSL to 1.25 in Rawhide
Updated perl-Sysadm-Install to 0.29 in Rawhide
Local Packages
Updated perl-IO-Socket-SSL to 1.25
Saturday 4th July 2009
Fedora Project
Updated perl-IO-Socket-SSL to 1.26 for all current releases - a security issue due to improper certificate hostname checking; I'd have done EPEL-4 too but EL-5 has the same package and I don't want the EPEL-4 version to be rpm-newer than the EL-5 version so I'll see what happens for EL-5 before making a move on that
Local Packages
Updated perl-ExtUtils-CBuilder to 0.2602
Updated perl-IO-Socket-SSL to 1.26
Sunday 5th July 2009
Local Packages
Updated curl to enable the built-in manual and run the test suite after the build
Updated python-zope-interface to 3.5.2
Tuesday 7th July 2009
Local Packages
Updated moin-theme-balanced to work with moin >= 1.6
Updated proftpd to 1.3.2a; this is a major update that I've been working on for over a week, which includes a rewritten configuration file that should need very little tweaking for many common applications (option in /etc/sysconfig/proftpd to enable anonymous FTP for instance), the merging of the proftpd-extras subpackage back into the main proftpd package, and many more of the optional modules - many of these changes will soon be appearing in the Fedora proftpd package too
New package svnmailer - the last svn snapshot, released back in 2005 as opposed to the stable version (1.0.8) in Fedora; I've been using the snapshot in production for over 2 years and am quite happy with it, and it adds plenty of extra functionality
Wednesday 8th July 2009
Local Packages
Cleaned up and rebuilt moin-theme-dew
Updated perl-Module-Build to 0.34; I couldn't get t/PL_files.t to work with RHL-9 and RHEL-3 so I disabled it for perl < 5.8.1:
--- Module-Build-0.34/t/PL_files.t 2009-07-08 12:17:26.000000000 +0100 +++ Module-Build-0.34/t/PL_files.t 2009-07-08 12:23:05.000000000 +0100 @@ -2,10 +2,18 @@ use strict; use lib $ENV{PERL_CORE} ? '../lib/Module/Build/t/lib' : 't/lib'; -use MBTest tests => 8; +use MBTest; use DistGen; use Module::Build; +{ + if ( $] < 5.008001 ) { + plan skip_all => 'Test would fail on perl < 5.8.1'; + } else { + plan tests => 8; + } +} + my $dist; # Test that PL files don't get installed even in bin or lib
Not quite sure what was going wrong there but perhaps related to the old version of File::Temp on those releases?
Updated unrar to 3.9.5 and made the package compatible with the one in RPM Fusion, by including subpackages for libunrar and libunrar-devel, and using alternatives to manage the unrar binary (and also its manpage, which the RPM Fusion version doesn't do yet)
Friday 10th July 2009
Local Packages
Updated curl to fix potential segfault issues with NSS as per the Fedora version
Updated davfs2 to include copies of davfs2.conf and secrets in /usr/share/davfs2, since mount.davfs tries to copy files from there to ~/.davfs2 if not already present
Updated dovecot to 1.2.1, managesieve to 0.11.6
Updated perl-IPC-Run to 0.83
Updated perl-Package-Generator to 0.103
Saturday 11th July 2009
Local Packages
Cleaned up and rebuilt moin-theme-monobook
Monday 13th July 2009
Local Packages
Updated perl-IPC-Run to 0.84
Updated perl-Test-Pod to 1.40
Tuesday 14th July 2009
Trac SpamFilter Plugin
My repository trac instance has recently attracted the interest of a pill-spammer, so I installed trac-spamfilter-plugin with a view to making life awkward for the spammer. Whilst it was easy enough to install, I had a few issues with it.
The checkbox to enable Logging consistently forgot it should be checked, though the setting in trac.ini was correct (ticket/6130)
Even though I had enabled Logging, nothing was getting logged, which in turn meant that I had to manually train the Bayes classifier
This latter problem turned out to be due to the (default) assumption by the SpamFilter plugin that authenticated users are to be trusted, i.e. not to have their submissions vetted by the spam filter. This assumption doesn't hold true when, as in my case, the AccountManager plugin is used to enable users to register themselves. The spammer was registering himself (or herself) and using the newly-created account to spam the wiki. This behaviour can be turned off, but not using the Admin pages in a browser. Instead, the following option needs to be added in the [spam-filter] section of trac.ini:
[spam-filter] trust_authenticated = false
It's also necessary to make test submissions from an account that doesn't have TRAC_ADMIN permission - admins bypass the spam filter too, and that can't be turned off.
Fedora Project
Became co-maintainer of trac-spamfilter-plugin (with JesseKeating) and updated F-11 and Rawhide to svn revision 8330
Local Packages
Updated contagged to 0.7.0 (adds QR_Code support)
Updated perl-Test-ClassAPI to 1.06 (build system and test changes, nothing functional)
Updated python-setuptools to fix its inability to handle subversion checkouts made with subversion 1.6 (Bug #511021)
Wednesday 15th July 2009
Problems with Yum and Arch/Noarch Packages
The yum tool as shipped in Fedora 11 will choose an arch-specific package over a "later" arch-independent package - Bug #502401. This is a bit of a blow for those of us trying to move ahead with Features/NoarchSubpackages and it's been closed UPSTREAM and not fixed in Fedora (a pet hate of mine). So I built the Rawhide version of yum (which contains the fix) for F-11 and stuck it in my local repository. This allowed me to build the perl-IO-Zlib update today (the package has build requirements that have changed from arch-specific to arch-independent, and F-11's yum was selecting the arch-specific version, which was too old for perl-IO-Zlib).
Using this update was not without its consequences. My custom repocheck script (a modified version of repoclosure) broke:
Running: repocheck --config=/home/paul/lib/repoc-rhel5-i386.conf --newest --checkrepo city-fan.org-rhel5-i386 Traceback (most recent call last): File "/home/paul/bin/repocheck", line 258, in <module> main() File "/home/paul/bin/repocheck", line 158, in main my = RepoClosure(arch = opts.arch, config = opts.config, builddeps = opts.builddeps) File "/home/paul/bin/repocheck", line 69, in __init__ self.doConfigSetup(fn = config,init_plugins=False) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 168, in doConfigSetup return self.conf File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 681, in <lambda> conf = property(fget=lambda self: self._getConfig(), File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 210, in _getConfig arch = self.arch.canonarch AttributeError: 'list' object has no attribute 'canonarch'
Now I don't know much python but after a bit of googling around and looking at the code, I made these changes, which seemed to fix things:
--- repoclosure.orig 2009-07-15 17:21:13.168971727 +0100 +++ repoclosure 2009-07-15 17:26:10.748969996 +0100 @@ -69,10 +69,11 @@ def __init__(self, arch=[], config="/etc/yum.conf", builddeps=False, pkgonly=None): yum.YumBase.__init__(self) self.logger = logging.getLogger("yum.verbose.repoclosure") - self.arch = arch + self.arch.archlist = arch self.builddeps = builddeps self.pkgonly = pkgonly - self.doConfigSetup(fn = config,init_plugins=False) + self.preconf.fn = config + self.preconf.init_plugins = False if hasattr(self.repos, 'sqlite'): self.repos.sqlite = False self.repos._selectSackType() @@ -98,10 +99,10 @@ def readMetadata(self): self.doRepoSetup() archs = [] - if not self.arch: + if not self.arch.archlist: archs.extend(rpmUtils.arch.getArchList()) else: - for arch in self.arch: + for arch in self.arch.archlist: archs.extend(rpmUtils.arch.getArchList(arch)) if self.builddeps and 'src' not in archs: archs.append('src')
Fedora Project
Updated gtkwave for F-11 and Rawhide to resolve Bug #511858, an easily-reproducible crash when trying to use Print to File
Looking through fedora-perl-devel-list, I noticed a bunch of FTBFS (Fails To Build Build From Source) bugs had been raised. I didn't have time to look through many of them, but I noticed that the perl-Template-Plugin-Class failure had also been reported upstream and that a new version 0.14 had been issued, removing the bogus test that had triggered the failure. So I updated perl-Template-Plugin-Class and closed Bug #511438 accordingly.
Local Packages
Updated gtkwave as per the Fedora version
Updated perl-IO-Zlib to 1.10 (no functional changes)
Thursday 16th July 2009
Local Packages
Updated perl-File-Find-Rule-Perl to 0.17 (fix no_index regression with absolute paths)
Friday 17th July 2009
Local Packages
Updated getmail to 4.9.2 (honour TMPDIR, recode CHANGELOG as UTF-8)
Updated libpng10 to 1.0.47 (changes to unknown chunk handling and documentation)
Updated nmap to 5.00 (http-open-proxy script fixes)
Updated perl-File-Find-Rule-Perl to 1.08 (added the debian/ directory to skipped paths list - RT#47921)
Updated perl-Pod-Simple to 3.08 (fix installdirs for Perl versions where Pod::Simple was core - RT#36446, RT#39709; fix encoding handling for code in paragraphs - RT#45829)
Updated perl-Text-Diff to 1.37 (clean up and add author tests)
Fedora Project
Updated libpng10 in Rawhide to 1.0.47
Monday 27th July 2009
Local Packages
Updated nmap to use -noms patch from Fedora instead of my own (functionally identical) version
Updated perl-ExtUtils-CBuilder to 0.2603 (fix INSTALLDIRS setting for older Perls (CPAN RT#47985)
Updated perl-ExtUtils-ParseXS to 2.2002 (fix INSTALLDIRS setting for older Perls; fix XSUsage prototypes for testing)
Updated perl-IO-Socket-SSL to 1.27 (various regex fixes for i18n and service names ; fix warnings from perl -w (CPAN RT#48131); improve handling of errors from Net::ssl_write_all)
Updated perl-Test-Manifest to 1.23 (fix bug for missing file - should warn and skip, not pass to run_t_files; file path and unlink fixes for VMS (CPAN RT#32061)
Fedora Project
Updated perl-IO-Socket-SSL to 1.27 as per local package
Tuesday 28th July 2009
Local Packages
Updated compat-wxGTK26 to merge changes from Fedora version, including fix for CVE-2009-2369
Updated dovecot to 1.2.2 and switched the dovecot-sieve implementation from CMU Sieve (1.1.6) to Dovecot Sieve (0.1.9), requiring an epoch bump for that package; also updated managesieve to 0.11.7
Updated moin to remove filemanager/ directory from bundled FCKeditor, which has known vulnerabilities and isn't needed by moin
Updated perl-version to 0.77, requiring a patch to address CPAN RT#48268, which I raised about test suite failures in old releases
Wednesday 29th July 2009
Local Packages
Updated perl-File-Which to 1.07 (general clean-up)
Updated perl-version to 0.7701 (fixes CPAN RT#48268, which I raised yesterday)
Updated perl-Parse-CPAN-Meta to 1.40 (recodes t/data/utf_16_le_bom.yml as ASCII - CPAN RT#47844)
Thursday 30th July 2009
Local Packages
Updated dovecot to include a fix for GSSAPI auth as per Fedora (Bug #506782); the Fedora version has also migrated from CMU Sieve to Dovecot Sieve so the packages will remain close
Updated sendmail to build with _FFR_TLS_1 as per the Fedora version
Updated moin-theme-monomoin to fix various compatibility issues with moin ≥ 1.5
Updated perl-File-Find-Rule-Perl to 1.09 (fix for Windows)
Fedora Project
Finally committed my changes for proftpd in the devel branch following feedback from MatthiasSaou in Bug #506735. My first attempted build failed on i386 and x86_64 due to a parallel build problem that I'd not seen locally, so I raised upstream bug #3271 about it and disabled parallel build as a workaround.
Friday 31st July 2009
Fedora Project
Updated bluefish in Rawhide with a patch from Bug #509514 to use enchant rather than aspell for spell-checking as part of Releases/FeatureDictionary
Updated proftpd in Rawhide with a patch from upstream Bug #3189 to fix the parallel build problem
Previous Month: June 2009
Next Month: August 2009