Paul's Blog Entries for December 2010
Wednesday 1st December 2010
Fedora Project
Updated mod_fcgid to add /etc/tmpfiles.d/mod_fcgid.conf for builds on Fedora 15 onwards to create /var/run/mod_fcgid at boot time and thus support running with /var/run on tmpfs (Bug #656625)
Updated proftpd to add /etc/tmpfiles.d/proftpd.conf for builds on Fedora 15 onwards to create /var/run/proftpd at boot time and hence support running with /var/run on tmpfs on Fedora 15 onwards (Bug #656675)
Local Packages
Updated mod_fcgid as per the Fedora version
Updated ppp to add /etc/tmpfiles.d/ppp.conf to create /var/run/ppp at boot time and thus support operation with /var/run on tmpfs in Fedora 15 onwards (Bug #656671)
Updated proftpd as per the Fedora version
Thursday 2nd December 2010
Fedora Project
Updated perl-PPIx-Utilities to 1.001000 in Rawhide:
Add support for Const::Fast to PPIx::Utilities::Statement
Local Packages
Updated perl-Devel-GlobalDestruction to 0.03:
Drop the XS code on perl versions recent enough to have ${^GLOBAL_PHASE} (5.13.7 onwards)
- Require at least Perl 5.6:
Use XSLoader without a fallback to DynaLoader
Use our instead of use vars
Updated perl-PPIx-Utilities to 1.001000 as per the Fedora version
Updated ppp to remove pointless entry for /var/log/ppp from /etc/tmpfiles.d/ppp.conf
Friday 3rd December 2010
Fedora Project
Updated perl-Email-MIME to 1.906 in Rawhide (needed for bugzilla 4.x), obsoleting perl-Email-MIME-Creator and perl-Email-MIME-Modifier, which were merged into Email::MIME version 1.900
Sunday 5th December 2010
Local Packages
Updated contagged to fix the Edit template, which was broken when used with Smarty 3.x:
[Sun Dec 05 12:19:53 2010] [error] [client 2001:470:9279::2] PHP Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/usr/share/php/contagged/inc/../templates/entry_edit.tpl" on line 226 " {foreach from=$entry.mail|smarty:nodefaults item=mail}" unknown modifier "smarty"' in /usr/share/php/Smarty/sysplugins/smarty_internal_templatecompilerbase.php:423\nStack trace:\n#0 /usr/share/php/Smarty/sysplugins/smarty_internal_compile_private_modifier.php(62): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown modifie...', 226)\n#1 /usr/share/php/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(271): Smarty_Internal_Compile_Private_Modifier->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL)\n#2 /usr/share/php/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(123): Smarty_Internal_TemplateCompilerBase->callTagCompiler('private_modifie...', Array, Array)\n#3 /usr/share/php/Smarty/sysplugins/smarty_internal_templateparser.php(2392): Smarty_Internal_TemplateCompilerBase->compileTag(' in /usr/share/php/Smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 423, referer: http://www.city-fan.org/ldapab/entry.php?dn=uid%3D1142004059%2C%20ou%3Dcontacts%2C%20dc%3Dcity-fan%2C%20dc%3Dorg
Whilst I know next to nothing about either PHP or Smarty, I managed to get it to work with this patch:
--- templates/entry_edit.tpl 2010-12-05 12:27:29.554691239 +0000 +++ templates/entry_edit.tpl 2010-12-05 13:46:13.274677271 +0000 @@ -223,10 +223,10 @@ </tr> {/if} {if $fields._mail} - {foreach from=$entry.mail|smarty:nodefaults item=mail} + {foreach from=$entry.mail item=mail} <tr> <th>{$lang.mail} {counter}:</th> - <td><input type="text" class="input" name="entry[mail][]" value="{$mail}" /></td> + <td><input type="text" class="input" name="entry[mail][]" value="{$mail|h}" /></td> </tr> {/foreach} <tr>
Monday 6th December 2010
Fedora Project
Updated perl-IO-Socket-SSL in Rawhide to 1.35:
If verify_mode is not VERIFY_NONE and the ca_file/ca_path cannot be verified as valid, it will no longer fall back to VERIFY_NONE but throw an error (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606058)
IainArnell kindly reviewed and approved my perl-Package-Stash-XS submission and I then built it for F13, F14, Rawhide, EPEL4, and EPEL6; the EPEL5 build is waiting on perl(Pod::Coverage::TrustPod), which is currently making its way through the testing process
Local Packages
Updated perl-IO-Socket-SSL to 1.35 as per the Fedora version
Tuesday 7th December 2010
PPTP Client Project
Built upstream repositories for Fedora 14 and Red Hat Enterprise Linux 6
Dropped support for yum repositories for ancient end-of-lifed distributions Red Hat Linux, Red Hat Enterprise Linux 3, and Fedora Core releases 1 and 2
Local Packages
Updated dovecot to 2.0.8 (and pigeonhole to 0.2.2 release), adding systemd activation from Fedora 15 onwards:
Services' default vsz_limits weren't being enforced correctly in earlier v2.0 releases; now that they are enforced, you might notice that the default limits are too low and you need to increase them - this problem will show up in logs as "out of memory" errors (see default_vsz_limit and service { vsz_limit } settings)
LMTP: In earlier versions if mail was delivered to user+detail@domain address, LMTP server always attempted to deliver the mail to mailbox named "detail"; this was rather unintentional and shouldn't have been the default - lmtp_save_to_detail_mailbox=yes setting now preserves this behaviour (default is no)
Added systemd support (configure --with-systemdsystemunitdir)
Replaced broken mbox-snarf plugin with a new more generic snarf plugin
dbox: Fixes to handling external mail attachments
verbose_proctitle=yes didn't work for all processes in v2.0.7
imap, pop3: When service { client_count } was larger than 1, the log messages didn't use the correct prefix - last logged in user's prefix was always used, regardless of which user's session actually logged it; now the proper log prefix is always used
- MySQL: Only the first specified host was ever used
Wednesday 8th December 2010
Local Packages
Updated java-1.6.0-sun to include time zone updates from tzupdater 1.3.34-2010o (see SunJava6OnFedora)
New package perl-Locale-Maketext-Lexicon (0.82)
New package perl-Locale-Maketext-Simple (0.18)
Updated perl-List-MoreUtils to 0.29:
- Refactored the split test scripts into a common test module to be shared between both the Perl and XS versions
Re-applied fix for CPAN RT#39847 "minmax error: unpredictable results with lists of 1 element"
- Reduced test suite peak memory consumption by 5-10 megabytes
Added the 'distinct' alias for the uniq function, for people that like their chained map/grep/sort pipelines with a SQL'ish flavour
Expanded test suite for the any() group of functions
The any() group of functions now strictly always return scalar boolean true, false and undef to match the XS version
- General house cleaning
The behaviour of any/all/none/notall has changed when passed a null list to treat a null list as a legitimate list (CPAN RT#40905)
Disabled the leaking XS versions of part(), apply() and indexes()
Restored the regression test for CPAN RT#38630 from 0.23
Added uniq warning tests, disabled initially
Thursday 9th December 2010
Fedora Project
Updated perl-IO-Socket-SSL to 1.36 in Rawhide:
Update documentation for SSL_verify_callback based on CPAN RT#63740 and CPAN RT#63743
Updated smbldap-tools to 0.9.6 in all releases, dropping dependencies on openldap-servers (default configuration does not require /usr/sbin/slappasswd - Bug #609056) and samba-common (default configuration does not require /usr/bin/smbpasswd):
New tool: smbldap-grouplist (list LDAP groups)
smbldap-useradd, smbldap-usershow, smbldap-usermod:
Change default encoding of givenName and sn to UTF-8 (bug #11717)
New option: -X (input/output encoding, defaults to UTF-8)
New option: -O (localMailAddress attribute)
Changed option: -M (now sets only mail attribute)
Home directory is now chown-ed as $userUidNumber:$userGidNumber to avoid race conditions (bug #11721)
Use gecos as displayName if givenName and userSN not provided (bug #14517)
smbldap-passwd:
New option: -p (allow root to set password from STDIN without verification, e.g. using a pipe) (bug #11964)
Change userPassword, shadowLastChange and shadowMax individually e.g. no shadow class or user may not have rights (bug #15052)
smbldap-groupmod: allow deletion of users from groups without a defined samba group SID)
Removed references to smbldap_conf.pm (which should be smbldap.conf)
Fixed -Z option in smbldap-useradd (custom LDAP attribute) (fixes Bug #590429)
- Alphabetically reorganized options
Fixed several mis-spellings and typos in smbldap-useradd
Local Packages
New package perl-IPC-Cmd (0.66)
New package perl-Module-Load (0.18)
New package perl-Module-Load-Conditional (0.38)
New package perl-Params-Check (0.26)
Updated c-ares to 1.7.4:
Support binding to local interface/IPs: see ares_set_local_ip4, ares_set_local_ip6, ares_set_local_dev
Fix memory leak in ares_getnameinfo
Add missing break that caused get_ares_servers to fail
Fix CNAME response parsing in ares_parse_a_reply
Don't copy an empty sortlist in init_by_options
Replace uint32_t with unsigned int to fix broken builds on a couple of platforms
Fix lookup with HOSTALIASES set
Fix NAPTR parsing in adig
- Compiler warning clean-ups
Updated perl-ExtUtils-CBuilder to 0.2801, bumping Epoch to 1 as per the Fedora package and adding new build and runtime requirement perl(IPC::Cmd):
- Code base modernization and substantial code coverage improvements
Rely on File::Temp::tempfile and File::Spec::tmpdir to get unique file name for checking for compiler
- Handle C compiler and C++ compiler separately
Tests no longer fail if user has set the CC environment variable
Fix Win32 split_like_shell escaping
Fix t/02-link.t on perl < 5.8
- Preserve exit status on VMS
Fix spurious t/04-base.t failure when run from Perl core
Updated perl-IO-Socket-SSL to 1.36 as per the Fedora version
Updated perl-Locale-Maketext-Simple to 0.21:
Add ability to have the IANA defined i-default language as a fall-back when arbitrary message keys rather than English phrases are being used
Friday 10th December 2010
Fedora Project
Updated perl-File-Comments to 0.08 in Rawhide and EPEL-6:
Adapt to HTML::Element ≥ 4 change that omits the trailing newline in generated HTML (CPAN RT#63788)
This resolves a failure to build from source issue in Rawhide (Bug #661088); upstream merged my patch fixing the problem
Updated perl-IO-Socket-SSL to 1.37 in Rawhide:
Don't complain about invalid certificate locations if user explicitly set SSL_ca_path and SSL_ca_file to undef: assume that user knows what they are doing and will work around the problems themselves (CPAN RT#63741)
Updated proftpd in Rawhide to update mod_vroot to 0.9 (improvements to alias handling); note that contrary to the previous release, the source of an alias must be an absolute path and the destination a relative path in the virtual root, which breaks the previous default configuration - the VRootAlias line in proftpd.conf must be changed to work with this release:
-VRootAlias etc/security/pam_env.conf /etc/security/pam_env.conf +VRootAlias /etc/security/pam_env.conf etc/security/pam_env.conf
Updated spambayes in Fedora 14 and Rawhide to fix a missing python-lockfile dependency (Bug #661942)
Local Packages
Updated perl-IO-Socket-SSL to 1.37 as per the Fedora version
Updated perl-Locale-Maketext-Lexicon to 0.83:
Remove the local $@ when loading PO files, which made it difficult to debug errors when loading PO's (CPAN RT#63722)
Updated perl-Pod-Readme to 0.11, changing from a Build.PL flow to a Makefile.PL flow as Build.PL was dropped from the upstream release:
Recognise the =encoding directive, rather than dying when it's encountered
- TODO: actually take heed of it
Updated perl-Test-Most to add explicit requires for perl(Test::Deep), perl(Test::Differences), perl(Test::Exception) and perl(Test::Warn) that are no longer automatically detected
Updated perl-version to 0.87:
Remove support for Build.PL to keep from introducing circular dependencies
Updated proftpd as per the Fedora version
Updated smbldap-tools as per yesterday's update in Fedora
Sunday 12th December 2010
Local Packages
Updated perl-Digest-SHA update to 5.49
Modified Addfile to accept all POSIX filenames (standard allows all characters except NUL and '/')
Updated shasum to more closely mimic sha1sum/md5sum (added backslash processing to handle newlines and backslashes in filenames)
Updated perl-ExtUtils-CBuilder to 0.2802:
Incorporated another t/04-base.t fix from bleadperl
Updated perl-Software-License to 0.102341
Add note to Artistic 2 that it's GPL compatible
Tuesday 14th December 2010
Local Packages
Updated php-Smarty to 3.0.6 (mostly minor bug fixes)
Wednesday 15th December 2010
Fedora Project
Updated bluefish to fix ABRT-reported crash in autosave (Bug #663014)
Local Packages
New package perl-PPIx-Regexp (0.015)
Updated bluefish as per Fedora package
Updated perl-Convert-UUlib to 1.34:
Fix a one-byte-past-end-write buffer overflow in UURepairData
- Quoted-printable decoding was completely broken; try a fix
Updated perl-Digest-SHA to 5.50:
Adopted convention that '-' always means STDIN; actual filename '-' accessed as './-' (accords with behaviour of sha1sum/md5sum)
Corrected undefined subroutine oversight in shasum (inadvertent migration of _bail() from SHA.pm)
Updated perl-Perl-Critic to 1.111:
Work around change in List::MoreUtils 0.28 that broke ProhibitNoStrict and ProhibitNoWarnings (CPAN RT#63816)
Thursday 16th December 2010
Fedora Project
Updated curl in Rawhide to 7.21.3:
Added --noconfigure switch to testcurl.pl
Added --xattr option
Added CURLOPT_RESOLVE and --resolve
Added CURLAUTH_ONLY
Added version-check.pl to the examples directory
Check for libcurl features for some command line options
Curl_setopt: disallow CURLOPT_USE_SSL without SSL support
http_chunks: remove debug output
URL-parsing: consider ? a divider
SSH: avoid using the libssh2_ prefix
SSH: use libssh2_session_handshake() to work on win64
ftp: prevent server from hanging on closed data connection when stopping a transfer before the end of the full transfer (ranges)
LDAP: detect non-binary attributes properly
ftp: treat server's response 421 as CURLE_OPERATION_TIMEDOUT
gnutls->handshake: improved timeout handling
security: pass the right parameter to init
krb5: use GSS_ERROR to check for error
TFTP: resend the correct data
configure: fix autoconf 2.68 warning: no AC_LANG_SOURCE call detected
GnuTLS: now detects socket errors on Windows
symbols-in-versions: updated en masse
- Added a couple of examples that were missing from the tarball
Curl_send/recv_plain: return errno on failure
Curl_wait_for_resolv (for c-ares): correct timeout
ossl_connect_common: detect connection re-use
configure: prevent link errors with --librtmp
openldap: use remote port in URL passed to ldap_init_fd()
url: provide dead_connection flag in Curl_handler::disconnect
- Lots of compiler warning fixes
ssh: fix a download resume point calculation
Fix getinfo CURLINFO_LOCAL* for reused connections
multi: the returned running handles counter could turn negative
multi: only ever consider pipelining for connections doing HTTP(S)
Local Packages
Updated curl to 7.21.3 as per the Fedora version
Updated perl-List-MoreUtils to 0.30:
Change the way we localise PERL_DL_NONLAZY to false to remove a warning that some people were seeing; the new approach is taken from the way that List::Util does it
Updated perl-Perl-Critic to buildrequire/require perl(Pod::Spell) and perl(PPIx::Regexp), require perl(File::Which) and bump perl(PPI) version requirement to 1.208
Updated perl-YAML-Tiny to 1.46:
- Added support for trailing line comments
- Added checks for some characters that are illegal/reserved in plain scalars
- Minor cleaning up of some out of date POD
Updated AUTOMATED_TESTING dependencies to new versions
Added experimental support for exception->errstr conversion
Updated test suite yaml_error to not expect exceptions
Friday 17th December 2010
Fedora Project
Became owner of trac-spamfilter-plugin after it was orphaned by JesseKeating
Updated perl-IO-Socket-SSL to 1.37 in F-13 and F-14, addressing CVE-2010-4334 (IO::Socket::SSL ignores user request for peer verification); this was already fixed in Rawhide
Updated spambayes to 1.1a6 in EPEL-6 (as per Rawhide and Fedora 14)
Updated trac-accountmanager-plugin to the current HEAD (revision 9591) of trunk (for use with trac 0.12.x) in Rawhide, and requested a new branch for EPEL-6
Updated trac-spamfilter-plugin to the current HEAD (revision 10366) of the 0.12 branch (for use with trac 0.12.x) in Rawhide and EPEL-6
Local Packages
Updated perl-Perl-Tidy to 20101217:
Added new flag -it=n or --iterations=n to make perltidy do n complete iterations. For most purposes the default of n=1 should be satisfactory. However, n=2 can be useful when a major style change is being made, or when code is being beautified on check-in to a source code control system. The run time will be approximately proportional to n, and it should seldom be necessary to use a value greater than n=2.
A configuration file pathname beginning with three dots, e.g. ".../.perltidyrc", indicates that the file should be searched for starting in the current directory and working upwards. This makes it easier to have multiple projects each with their own .perltidyrc in their root directories.
Added flag --notidy that disables all formatting and causes the input to be copied unchanged. This can be useful in conjunction with hierarchical .perltidyrc files to prevent unwanted tidying.
Added prefilters and postfilters in the call to the Tidy.pm module. The prefilter is a code reference that will be applied to the source before tidying, and the postfilter is a code reference to the result before outputting. This is useful for all manner of customizations, e.g. to convert the 'method' keyword to 'sub' so that perltidy will work for Method::Signature::Simple code:
Perl::Tidy::perltidy( prefilter => sub { $_ = $_[0]; s/^method (.*)/sub $1 \#__METHOD/gm; return $_ }, postfilter => sub { $_ = $_[0]; s/^sub (.*?)\s* \#__METHOD/method $1/gm; return $_ } );
The starting indentation level of sections of code entabbed with -et=n is correctly guessed if it was also produced with the same -et=n flag. This keeps the indentation stable on repeated formatting passes within an editor.
Functions with prototype '&' had a space between the function and opening paren. This space now only occurs if the flag --space-function-paren (-sfp) is set.
Patch to never put spaces around a bare word in braces beginning with ^ as in:
my $before = ${^PREMATCH};
even if requested with the -bt=0 flag because any spaces cause a syntax error in perl.
Sunday 19th December 2010
Fedora Project
Updated bluefish in Rawhide to include an updated patch from upstream for Bug #663014 to fix another potential issue that was discovered; whilst testing this I discovered another (unrelated) repeatable segfault and would like to include a fix for that before pushing further updates for other releases
Local Packages
Updated bluefish as per the Fedora version
Rebuilt libxslt to resync with Rawhide again (no changes)
Updated perl-Archive-Tar to 1.74:
Skip extracting pax extended headers (CPAN RT#64038)
Rebuilt perl-HTML-Lint to fix problems with vendorarch/lib (Bug #661697)
Updated perl-NetAddr-IP to 4.038:
Modify subroutines "new" and "new6" in Lite.pm to accommodate Cisco mask syntax that uses space instead of "/" for a separator; this eliminates the need for "new_cis" and "newcis6", which are now deprecated
Modify Lite/t/v4-cnew.t and add Lite/t/v6-cnew.t to test the above
Monday 20th December 2010
Fedora Project
Updated proftpd in Rawhide and EPEL-6 to 1.3.3d:
Fixed sql_prepare_where() buffer overflow (bug 3536)
Fixed CPU spike when handling .ftpaccess files
Fixed handling of SFTP uploads when compression is used
Local Packages
New package check (0.9.8)
Updated java-1.6.0-sun to 1.6.0.23 (see SunJava6OnFedora)
Updated perl-Module-CoreList to 2.42:
- Updated for 5.13.8
Updated proftpd as per Fedora version
Updated unrar to 4.00 beta 3:
Now switch -ep3 converts not only disk letters, but also UNC paths, so \\server\share will be converted to __server\share when archiving and restored to the original \\server\share when extracting with -ep3
- Previous beta could fail to unpack self-extracting and multi-volume CAB archives
- Previous beta crashed when displaying archive comments with ANSI escape sequences
Switches -cl and -cu did not work
Rebuilt dovecot to stay in sync with Rawhide
Tuesday 21st December 2010
Fedora Project
Built trac-accountmanager-plugin (0.3, svn revision 9591, same as Rawhide) for EPEL-6
Built perl-Class-Load for all current releases following StevenPritchard's review
Built perl-Package-Stash-XS for EPEL-5 now that perl-Pod-Coverage-TrustPod is available
Local Packages
Updated perl-version to 0.88:
Fix Makefile.PL to make Strawberry Perl happy (CPAN RT#63991)
Updated trac-accountmanager-plugin to svn revision 9290 (still from the 0.11 branch), bumped the trac version requirement to 0.11.2 (needed for secure_cookies), and added a %check section to run the test suite
Wednesday 22nd December 2010
Local Packages
New package perl-Net-FTPSSL (0.16)
New package perl-Net-Telnet (3.03)
Updated perl-DateTime to update the URL for the FAQ in %description
Thursday 23rd December 2010
Local Packages
Today I updated proftpd to 1.3.4rc1, in svn only due to the inclusion of a 50MB test file in the source tarball. This file won't be present in the next release candidate, so I'll probably do a full set of builds for that.
Upstream changes:
- Added Japanese translation
Many mod_sftp bugfixes
Fixed SSL_shutdown() errors caused by OpenSSL 0.9.8m and later
Added support for SMTP authentication in ftpmail script
Updated fnmatch implementation, using glibc-2.9 version
- New modules:
mod_copy
mod_deflate
mod_ifversion
mod_qos
- New configuration directives:
Protocols
ScoreboardMutex
SFTPClientAlive
WrapOptions
- Changed configuration directives:
BanOnEvent
ListOptions
LogFormat
SFTPOptions
TLSOptions
UseSendfile
- Deprecated configuration directives:
DisplayGoAway (support for this directive has been removed)
Downstream changes:
Added %check section, running the API tests by default (requiring buildreq check-devel)
Added upstream patch (http://bugs.proftpd.org/3568), modified slightly, to fix the API tests
Added facility to run the perl-based integration test suite if the build option --with integrationtests is supplied; this is off by default as it is not fully maintained and is expected to fail in parts (see http://bugs.proftpd.org/3568#c5); this needs additional buildreqs perl(Compress::Zlib), perl(IO::Socket::SSL), perl(Net::FTPSSL), perl(Net::SSLeay), perl(Net::Telnet), perl(Test::Harness) and perl(Time::HiRes)
Bundled perl(Test::Unit) 0.14, needed to run the integration test suite (the version in Fedora is an incompatible later version not from CPAN)
Build new DSO modules: mod_copy, mod_deflate, mod_ifversion and mod_qos
QoS support can be enabled in /etc/sysconfig/proftpd
Add patch to fix up the configure script to be able to handle mysql_config scripts in ancient distributions that have output that's incompatible with what proftpd expects
Friday 24th December 2010
Fedora Project
Updated proftpd in Rawhide to 1.3.4rc1 as per yesterday's local update
Local Packages
Updated the proftpd test suite patch in svn to fix intermittent fails in the timer tests:
--- proftpd/trunk/proftpd-1.3.4rc1-tests.patch (original) +++ proftpd/trunk/proftpd-1.3.4rc1-tests.patch Sun Dec 26 16:21:08 2010 @@ -931,3 +931,24 @@ fail_if(v == NULL, "Failed to allocate %u-len memory", sz); for (i = 0; i < sz; i++) { fail_unless(v[i] == 0, "Allocated non-zero memory at position %u", i); +diff -up proftpd-1.3.4rc1/tests/api/timers.c.tests proftpd-1.3.4rc1/tests/api/timers.c +--- proftpd-1.3.4rc1/tests/api/timers.c.tests 2010-08-11 15:56:36.000000000 +0100 ++++ proftpd-1.3.4rc1/tests/api/timers.c 2010-12-24 11:03:17.625550991 +0000 +@@ -121,7 +121,7 @@ + timers_handle_signals(); + + ok = 2; +- fail_unless(timer_triggered_count == ok, ++ fail_unless(timer_triggered_count == ok || timer_triggered_count == ok + 1, + "Timer failed to fire (expected count %u, got %u)", ok, + timer_triggered_count); + +@@ -129,7 +129,7 @@ + timers_handle_signals(); + + ok = 3; +- fail_unless(timer_triggered_count == ok, ++ fail_unless(timer_triggered_count == ok || timer_triggered_count == ok + 1, + "Timer failed to fire (expected count %u, got %u)", ok, + timer_triggered_count); + }
Branched trac-accountmanager-plugin to maintain separate versions for trac 0.11 and trac 0.12
Updated trac-accountmanager-plugin for releases with trac 0.12 (EL-6 and Rawhide) to snapshot from svn revision 9591, adding a dependency on python-genshi ≥ 0.6 (Rawhide) or python-genshi06 (EL-6) and running the test suite during the build
- I also needed to apply this patch to get the test suite to work:
--- TracAccountManager-0.3dev-r9591/acct_mgr/tests/htfile.py.orig 2010-10-09 20:14:43.000000000 +0100 +++ TracAccountManager-0.3dev-r9591/acct_mgr/tests/htfile.py 2010-12-21 16:31:07.012399185 +0000 @@ -79,6 +79,7 @@ self.assertEqual([], list(self.store.get_users())) def test_update_password(self): + self._init_password_file('test_update_password', '') self.store.set_password('foo', 'pass1') self.assertFalse(self.store.check_password('foo', 'pass2')) self.store.set_password('foo', 'pass2') @@ -130,6 +131,7 @@ self.assertEqual([], list(self.store.get_users())) def test_update_password(self): + self._init_password_file('test_update_password', '') self.store.set_password('foo', 'pass1') self.assertFalse(self.store.check_password('foo', 'pass2')) self.store.set_password('foo', 'pass2') @@ -138,6 +140,7 @@ self.assertTrue(self.store.check_password('foo', 'pass3')) def test_create_hash(self): + self._init_password_file('test_create_hash', '') self.env.config.set('account-manager', 'htpasswd_hash_type', 'bad') self.assertTrue(self.store.userline('user', 'password').startswith('user:'))
Saturday 25th December 2010
Local Packages
Updated perl-Text-CSV_XS to 0.80:
Implement getline_all() and getaline_hr_all()
Fixed another parsing issue with eol = \r (CPAN RT#61525)
Thursday 30th December 2010
Fedora Project
Updated gtkwave in Rawhide to 3.3.18:
- Minor bug fixes for corner cases
Assembler fixes for x86_64
Preliminary support for variable length records in FST files
Added fstUtilityBinToEsc and fstUtilityEscToBin for conversion of binary data to C-style strings
Allow escaped strings in VCD files to encode a richer set of data for non-standard "s" VCD records
To comply with fst2vcd, vcd readers now handle "string" variable type keyword
Add detection for Verilog XL-style VCD identifiers in all VCD loaders in gtkwave in order to aid in indexing
- More warnings fixes
Fix mif_draw_string so it does not emit escaped character codes
Local Packages
Updated gtkwave as per the Fedora version
Friday 31st December 2010
Local Packages
Updated libnet to 1.1.5 (lots of changes, see upstream CHANGELOG for details)
Previous Month: November 2010
Next Month: January 2011