1
0
mirror of synced 2026-02-21 14:17:36 +00:00

Compare commits

..

21 Commits

Author SHA1 Message Date
Axel Beckert
7860d5ac4e Release 4.3.1 RC1 unmodified as 4.3.1 2012-06-30 16:45:59 +02:00
Axel Beckert
bb54ee7868 4.3.1 release candidate 1
Will likely just appear in the Ubuntu PPA to check if it finally build
for Ubuntu again
2012-06-30 16:07:41 +02:00
Axel Beckert
6a5506768c Changelog entry for t/hook-tls.t failures on 32-bit 2012-06-27 01:52:12 +02:00
Axel Beckert
d6e33edb5b Only run testTLSDisabling if distribution actually has 10-disable-tls 2012-06-27 01:49:56 +02:00
Axel Beckert
611d6c4eb4 Ignore hooks/common in t/hook-tls.t 2012-06-27 01:49:21 +02:00
Axel Beckert
0cde7cdf39 t/hook-tls.t: Always output tested distribution 2012-06-27 01:41:42 +02:00
Axel Beckert
cde5617a29 Use "rm -vf" instead of "-rm" in t/Makefile 2012-06-27 01:33:47 +02:00
Axel Beckert
74411f970b Remove t/modules.t in upstream's t/Makefile
... instead of remove it in debian/rules' clean target.

Call clean target of t/Makefile also from clean target of toplevel
Makefile.
2012-06-27 01:32:41 +02:00
Axel Beckert
3383b6dacf Bump version to 4.3+dev 2012-06-27 01:31:09 +02:00
Axel Beckert
d9f8a3fc31 Release 4.3 2012-06-27 00:03:56 +02:00
Axel Beckert
5703f8b5c9 Remove generated file t/modules.t in clean target
Otherwise the package wouldn't build twice in a row.

It didn't hurt while developing since it's listed in .gitignore. :-)
2012-06-27 00:03:56 +02:00
Axel Beckert
f67c7e25c8 Don't remove stamp files manually, dh_clean does that already 2012-06-27 00:03:56 +02:00
Axel Beckert
8dbd0ef7dc Switch to source format to "3.0 (quilt)" 2012-06-26 22:32:52 +02:00
Axel Beckert
58a050218f Remove most Mercurial traces 2012-06-08 21:45:49 +02:00
Axel Beckert
3ce7398cf6 Add bug report reference to FTBFS in testsuite 2012-06-08 21:28:28 +02:00
Axel Beckert
0ec64f6926 Rewrite current changelog entry; start new NEWS entry 2012-06-08 20:36:34 +02:00
Axel Beckert
fa9a420490 Add build-dependency on git for t/gitignore.t 2012-06-08 20:31:05 +02:00
Axel Beckert
c212cfb08f Add build-dependency on Test::Pod::Coverage for t/pod-coverage.t 2012-06-08 18:54:53 +02:00
Axel Beckert
c400b6644a Add build-dependency on Moose for t/perl-syntax.t 2012-06-08 18:51:28 +02:00
Axel Beckert
917d3d6b2a Skip t/hook-inittab.t if /etc/inittab is not present
Fixes FTBFS on Ubuntu.
2012-06-08 18:41:58 +02:00
Axel Beckert
8ba16d0e7a Disable tests of not yet used Xen::Tools perl modules.
Fixes FTBFS in test suite due to not satisifed Moose dependency in
Xen::Tools::Log.
2012-06-08 17:37:28 +02:00
23 changed files with 82 additions and 49 deletions

1
.gitignore vendored
View File

@@ -5,7 +5,6 @@
.* .*
# but we _wan't_ those dot-files # but we _wan't_ those dot-files
!.gitignore !.gitignore
!.hgignore
!.mailmap !.mailmap
# ChangeLog is generated during make # ChangeLog is generated during make

View File

@@ -1,5 +0,0 @@
(^|/)CVS($|/)
(^|/)\.hg($|/)
(^|/)\.hgtags($|/)
ChangeLog
~$

View File

@@ -14,12 +14,10 @@
# #
TMP ?= /tmp TMP ?= /tmp
DIST_PREFIX = ${TMP} DIST_PREFIX = ${TMP}
VERSION = 4.3rc1 VERSION = 4.3.1
DEBVERSION = $(shell echo $(VERSION)|sed 's/\(rc\|pre\|beta\|alpha\)/~\1/') DEBVERSION = $(shell echo $(VERSION)|sed 's/\(rc\|pre\|beta\|alpha\)/~\1/')
BASE = xen-tools BASE = xen-tools
VCS = $(shell if git ls-files > /dev/null; then echo git; \ VCS = git
elif hg st > /dev/null; then echo hg; \
else echo cannot-determine-used-vcs; fi)
# #
# Installation prefix, useful for the Debian package. # Installation prefix, useful for the Debian package.
@@ -70,6 +68,7 @@ clean:
@if [ -d debian/xen-tools ]; then rm -rf ./debian/xen-tools; fi @if [ -d debian/xen-tools ]; then rm -rf ./debian/xen-tools; fi
@if [ -e $(BASE)-$(VERSION).tar.gz ]; then rm $(BASE)-$(VERSION).tar.gz ; fi @if [ -e $(BASE)-$(VERSION).tar.gz ]; then rm $(BASE)-$(VERSION).tar.gz ; fi
@if [ -e $(BASE)-$(VERSION).tar.gz.asc ]; then rm $(BASE)-$(VERSION).tar.gz.asc ; fi @if [ -e $(BASE)-$(VERSION).tar.gz.asc ]; then rm $(BASE)-$(VERSION).tar.gz.asc ; fi
cd t; $(MAKE) clean
# #
@@ -240,7 +239,6 @@ release: tidy fixup-perms update-version update-modules clean changelog
rm -f $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz rm -f $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz
cp -R . $(DIST_PREFIX)/$(BASE)-$(VERSION) cp -R . $(DIST_PREFIX)/$(BASE)-$(VERSION)
rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)/debian rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)/debian
rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)/.hg*
rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)/.git* rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)/.git*
cd $(DIST_PREFIX) && tar -cvf $(DIST_PREFIX)/$(BASE)-$(VERSION).tar $(BASE)-$(VERSION)/ cd $(DIST_PREFIX) && tar -cvf $(DIST_PREFIX)/$(BASE)-$(VERSION).tar $(BASE)-$(VERSION)/
gzip $(DIST_PREFIX)/$(BASE)-$(VERSION).tar gzip $(DIST_PREFIX)/$(BASE)-$(VERSION).tar

15
NEWS
View File

@@ -1,3 +1,18 @@
xen-tools 4.3rc2 (released TODO)
=======================================
Bug Fixes
---------
* Fix several testuite failures depending on the build host's
installation.
Other Changes
-------------
* Remove most Mercurial traces
xen-tools 4.3rc1 (released 08 Jun 2012) xen-tools 4.3rc1 (released 08 Jun 2012)
======================================= =======================================

View File

@@ -822,7 +822,7 @@ my $FAIL = 0;
# #
# Release number. # Release number.
# #
my $RELEASE = '4.3rc1'; my $RELEASE = '4.3.1';
# #

View File

@@ -131,7 +131,7 @@ $CONFIG{ 'template' } = '/etc/xen-tools/xm-nfs.tmpl';
# #
# Release number. # Release number.
# #
my $RELEASE = '4.3rc1'; my $RELEASE = '4.3.1';
# store version number away. # store version number away.

View File

@@ -171,7 +171,7 @@ my %CONFIG;
# #
# Release number. # Release number.
# #
my $RELEASE = '4.3rc1'; my $RELEASE = '4.3.1';

View File

@@ -101,7 +101,7 @@ $CONFIG{ 'prefix' } = "/etc/xen";
# #
# Release number. # Release number.
# #
my $RELEASE = '4.3rc1'; my $RELEASE = '4.3.1';

View File

@@ -116,7 +116,7 @@ my %CONFIG;
# #
# Release number. # Release number.
# #
my $RELEASE = '4.3rc1'; my $RELEASE = '4.3.1';

View File

@@ -120,7 +120,7 @@ my %CONFIG;
# #
# Release number. # Release number.
# #
my $RELEASE = '4.3rc1'; my $RELEASE = '4.3.1';
# #

View File

@@ -156,7 +156,7 @@ $CONFIG{ 'extension' } = '.cfg';
# #
# Release number. # Release number.
# #
my $RELEASE = '4.3rc1'; my $RELEASE = '4.3.1';

View File

@@ -98,7 +98,7 @@ my %CONFIG;
# #
# Release number. # Release number.
# #
my $RELEASE = '4.3rc1'; my $RELEASE = '4.3.1';

View File

@@ -81,7 +81,7 @@ use strict;
# #
# Release number. # Release number.
# #
my $RELEASE = '4.3rc1'; my $RELEASE = '4.3.1';
# Init # Init
my $mirror = ''; my $mirror = '';

View File

@@ -118,7 +118,7 @@ my %CONFIG;
# #
# Release number. # Release number.
# #
my $RELEASE = '4.3rc1'; my $RELEASE = '4.3.1';
# #

28
debian/changelog vendored
View File

@@ -1,3 +1,31 @@
xen-tools (4.3.1-1) unstable; urgency=low
* Remove t/modules.t in upstream's t/Makefile instead of debian/rules'
clean target.
* Run t/hook-tls.t only if distribution actually has
10-disable-tls. Fixes test suite failure on 32 bit architectures.
-- Axel Beckert <abe@debian.org> Sat, 30 Jun 2012 16:44:50 +0200
xen-tools (4.3-1) unstable; urgency=low
* New upstream release
- Remove most Mercurial traces
* Fixes FTBFS due to testsuite failures (Closes: #676681)
- Disable tests of not yet used Xen::Tools. Fixes FTBFS in test suite
due to not satisifed Moose dependency in Xen::Tools::Log.
- Added build-dependencies on libmoose-perl, git, and
libtest-pod-coverage-perl for t/perl-syntax.t, t/gitignore.t, and
t/pod-coverage.t.
- Skip t/hook-inittab.t if /etc/inittab is not present on the build
host. Fixes FTBFS on Ubuntu.
* Switch to source format to "3.0 (quilt)"
* Don't remove stamp files manually, dh_clean does that already
* Remove generated file t/modules.t in clean target to be able to build
twice in a row.
-- Axel Beckert <abe@debian.org> Tue, 26 Jun 2012 22:23:59 +0200
xen-tools (4.3~rc1-1) unstable; urgency=low xen-tools (4.3~rc1-1) unstable; urgency=low
* New upstream release candidate * New upstream release candidate

2
debian/control vendored
View File

@@ -2,7 +2,7 @@ Source: xen-tools
Section: utils Section: utils
Priority: extra Priority: extra
Maintainer: Axel Beckert <abe@debian.org> Maintainer: Axel Beckert <abe@debian.org>
Build-Depends: debhelper (>= 7.0.0), libtest-pod-perl, libtext-template-perl, libfile-slurp-perl, devscripts Build-Depends: debhelper (>= 7.0.0), libtest-pod-perl, libtext-template-perl, libfile-slurp-perl, devscripts, libmoose-perl, libtest-pod-coverage-perl, git
Standards-Version: 3.9.3 Standards-Version: 3.9.3
Homepage: http://xen-tools.org/software/xen-tools Homepage: http://xen-tools.org/software/xen-tools
Vcs-Browser: http://gitorious.org/xen-tools/xen-tools Vcs-Browser: http://gitorious.org/xen-tools/xen-tools

1
debian/rules vendored
View File

@@ -20,7 +20,6 @@ clean:
dh_testdir dh_testdir
dh_testroot dh_testroot
make clean make clean
rm -f build-stamp configure-stamp
dh_clean dh_clean
install: build install: build

View File

@@ -1 +1 @@
1.0 3.0 (quilt)

View File

@@ -10,4 +10,4 @@ modules: modules.sh
./modules.sh > modules.t ./modules.sh > modules.t
clean: clean:
-rm *~ rm -vf *~ modules.t

View File

@@ -7,39 +7,38 @@
# #
use strict; use strict;
use Test::More qw( no_plan ); use Test::More 'no_plan', skip_all => '/etc/inittab not present';
use File::Temp; use File::Temp;
use File::Copy; use File::Copy;
# #
# Sanity check. # Check if build system has /etc/inittab.
# #
ok( -e "/etc/inittab", "/etc/inittab exists." ); SKIP: {
skip '/etc/inittab not present' unless -e "/etc/inittab";
# #
# Rather than having a hardwired list of distributions to test # Rather than having a hardwired list of distributions to test
# against we look for subdirectories beneath hooks/ and test each # against we look for subdirectories beneath hooks/ and test each
# one. # one.
# #
foreach my $dir ( glob( "hooks/*" ) ) foreach my $dir ( glob( "hooks/*" ) )
{
next if ( $dir =~ /CVS/i );
next if ( $dir =~ /common/i );
next if ( ! -d $dir );
if ( $dir =~ /hooks\/(.*)/ )
{ {
my $dist = $1; next if ( $dir =~ /CVS/i );
next if ( $dir =~ /common/i );
next if ( ! -d $dir );
next if ( $dist =~ /(edgy|dapper|ubuntu)/i ); if ( $dir =~ /hooks\/(.*)/ )
{
my $dist = $1;
testHook( $dist ); next if ( $dist =~ /(edgy|dapper|ubuntu)/i );
testHook( $dist );
}
} }
} } # SKIP

View File

@@ -27,14 +27,14 @@ else
# #
foreach my $dir ( glob( "hooks/*" ) ) foreach my $dir ( glob( "hooks/*" ) )
{ {
next if ( $dir =~ /CVS/i ); next if ( $dir =~ /CVS|common/i );
next if ( ! -d $dir ); next if ( ! -d $dir );
if ( $dir =~ /hooks\/(.*)/ ) if ( $dir =~ /hooks\/(.*)/ )
{ {
my $dist = $1; my $dist = $1;
testTLSDisabling( $dist ) unless ( $dist =~ /(dapper|edgy|ubuntu|debian)/i ); testTLSDisabling( $dist ) if -e "hooks/$dist/10-disable-tls";
} }
} }
@@ -69,8 +69,8 @@ sub testTLSDisabling
# #
ok( -d "hooks/$dist", "There is a hook directory for the distro $dist" ); ok( -d "hooks/$dist", "There is a hook directory for the distro $dist" );
ok( -e "hooks/$dist/10-disable-tls", "TLS Disabling hook exists" ); ok( -e "hooks/$dist/10-disable-tls", "TLS Disabling hook exists ($dist)" );
ok( -x "hooks/$dist/10-disable-tls", "TLS Disabling hook is executable" ); ok( -x "hooks/$dist/10-disable-tls", "TLS Disabling hook is executable ($dist)" );
# #
# Call the hook # Call the hook
@@ -80,7 +80,7 @@ sub testTLSDisabling
# #
# Make sure the the TLS directory is empty # Make sure the the TLS directory is empty
# #
ok( ! -e "$dir/lib/tls/foo", "The fake library from /lib/tls is gone" ); ok( ! -e "$dir/lib/tls/foo", "The fake library from /lib/tls is gone ($dist)" );
ok( -e "$dir/lib/tls.disabled/foo", "The fake library ended up in /lib/tls.disabled" ); ok( -e "$dir/lib/tls.disabled/foo", "The fake library ended up in /lib/tls.disabled ($dist)" );
ok( -d "$dir/lib/tls", "There is a new /lib/tls directory" ); ok( -d "$dir/lib/tls", "There is a new /lib/tls directory ($dist)" );
} }