[pkg-kolab] r1445 - pkg-kolab_testsuite

Mathieu Parent sathieu at alioth.debian.org
Sat Nov 28 16:29:10 UTC 2009


Author: sathieu
Date: 2009-11-28 16:29:10 +0000 (Sat, 28 Nov 2009)
New Revision: 1445

Modified:
   pkg-kolab_testsuite/testsuite
Log:
Use pinning for lenny

Modified: pkg-kolab_testsuite/testsuite
===================================================================
--- pkg-kolab_testsuite/testsuite	2009-11-28 16:17:31 UTC (rev 1444)
+++ pkg-kolab_testsuite/testsuite	2009-11-28 16:29:10 UTC (rev 1445)
@@ -498,6 +498,27 @@
     # ====
     print "* Preparing packages:\n";
     if(conf('kolab_installation_method') eq 'native') {
+        if(conf('vm_dist') eq 'lenny') {
+            print "* Using packages from squeeze:\n";
+            remote_command($domip, 'cat <<EOF > /etc/apt/sources.list.d/squeeze.list
+#squeeze
+deb http://ftp.us.debian.org/debian squeeze main
+EOF');
+            remote_command($domip, 'cat <<EOF > /etc/apt/preferences
+Package: *
+Pin: release o=Debian,a=testing
+Pin-Priority: -1
+
+Package: libnet-ldap-perl php-net-ldap2 horde3 imp4 ingo1 kronolith2 mnemo2 nag2 turba2
+Pin: release o=Debian,a=testing
+Pin-Priority: 900
+
+Package: kolab-webadmin kolab-webclient kolabd libkolab-perl php-kolab-filter php-kolab-freebusy
+Pin: release o=Debian,a=testing
+Pin-Priority: 900
+EOF');
+        }
+        print "* Using packages from pkg-kolab.alioth.debian.org:\n";
         remote_command($domip, 'cat <<EOF > /etc/apt/sources.list.d/kolab.list
 #kolab
 deb http://pkg-kolab.alioth.debian.org/packages UNRELEASED/




More information about the pkg-kolab-devel mailing list