~ubuntu-branches/ubuntu/oneiric/libvirt/oneiric-updates

« back to all changes in this revision

Viewing changes to build-aux/depcomp

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2011-05-11 12:29:51 UTC
  • mfrom: (1.2.10) (3.4.30 sid)
  • Revision ID: package-import@ubuntu.com-20110511122951-ku5fk1tv37o5aymm
Tags: 0.9.1-1ubuntu1
* Resynchronize and merge from Debian unstable (LP: #794378). Remaining
  changes:
  - debian/control:
    * set X-Python-Version to 2.7, as 2.6 is not in oneiric.
    * set ubuntu maintainer
    * Build-Depends:
      - remove [linux-any] from all dependencies
      - remove [!linux-any] deps
      - swap libxen to libxen3, qemu to qemu-kvm, and open-iscsi to
        open-iscsi-utils in Build-Depends
      - remove virtualbox-ose Build-Depends
      - add parted and libapparmor-dev Build-Depends
    * convert Vcs-Git to Xs-Debian-Vcs-Git
    * libvirt-bin Depends: move netcat-openbsd, bridge-utils, dnsmasq-base
      (>= 2.46-1), and iptables from Recommends to Depends
    * libvirt-bin Recommends: move qemu to Suggests
    * libvirt-bin Suggests: add apparmor
    * libvirt0 Recommands: move lvm2 to Suggests
  - keep debian/libvirt-bin.apport
  - keep debian/libvirt-bin.cron.daily
  - debian/libvirt-bin.dirs:
    * add apparmor, cron.daily, and apport dirs
  - debian/libvirt-bin.examples:
    * add debian/libvirt-suspendonreboot
  - debian/libvirt-bin.install:
    * add /etc/apparmor.d files
    * add apport hook
  - debian/libvirt-bin.manpages:
    * add debian/libvirt-migrate-qemu-disks.1
  - debian/libvirt-bin.postinst:
    * replace libvirt groupname with libvirtd
    * add each admin user to libvirtd group
    * call apparmor_parser on usr.sbin.libvirtd and
      usr.lib.libvirt.virt-aa-helper
    * call 'libvirt-migrate-qemu-disks -a' after
      libvirt-bin has started if migrating from
      older than 0.8.3-1ubuntu1
  - debian/libvirt-bin.postrm:
    * replace libvirt groupname with libvirtd
    * remove usr.sbin.libvirtd and
      usr.lib.libvirt.virt-aa-helper
  - keep added files under debian/:
    * libvirt-bin.upstart
    * libvirt-migrate-qemu-disks
    * libvirt-migrate-qemu-disks.1
    * libvirt-suspendonreboot
    * apparmor profiles
  - debian/README.Debian:
    * add 'Apparmor Profile' section
    * add 'Disk migration' section
  - debian/rules:
    * move include of debhelper.mk to top of file so DEB_HOST_ARCH_OS
      is defined.
    * don't build with vbox since virtualbox-ose is in universe
      - remove WITH_VBOX, add explicit --without-vbox
    * add --with-apparmor to DEB_CONFIGURE_EXTRA_FLAGS
    * set DEB_DH_INSTALLINIT_ARGS to '--upstart-only'
    * remove unneeded binary-install/libvirt-bin:: and clean::
      sections (they only deal with sysvinit stuff)
    * add build/libvirt-bin:: section to install
      - apparmor files
      - apport hooks
      - libvirt-migrate-qemu-disks
* debian/patches/series:
  - don't apply Disable-CHECKSUM-rule.patch: our iptables can do this
  - don't apply Debian-specific Debianize-libvirt-guests.patch (sysvinit only)
  - don't apply Disable qemu-disable-network.diff.patch
* debian/patches:
  - drop 9007-fix-daemon-conf-ftbfs.patch (looks like it may be fixed)
  - drop patches applied upstream:
    * 9022-drop-booton-when-kernel-specified.patch
    * 9023-fix-lxc-console-hangup.patch
    * 9024-fix-broken-commandtest.patch
    * 9025-Pass-virSecurityManagerPtr-to-virSecurityDAC-Set-Res.patch
    * 9026-security-avoid-memory-leak.patch
    * 9027-CVE-2011-1146.patch
  - keep patches:
    * 9000-delayed_iff_up_bridge.patch
    * 9001-dont_clobber_existing_bridges.patch
    * 9002-better_default_uri_virsh.patch
    * 9003-better-default-arch.patch
    * 9004-libvirtd-group-name.patch
    * 9005-increase-unix-socket-timeout.patch
    * 9006-default-config-test-case.patch
    * 9011-move-ebtables-script.patch (refreshed)
    * 9014-skip-nodeinfotest.patch (modified to make it apply)
    * 9020-lp545795.patch (modified to make it still apply)
    * 9021-fix-uint64_t.patch
    * 9022-allows-lxc-containers-with-lxcguest.patch (renamed, modified
      to make it still apply, and added DEP-3 tags).
  - new patches:
    * 9023-disable-test-poll.patch - don't run broken test-poll

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# depcomp - compile a program generating dependencies as side-effects
3
3
 
4
 
scriptversion=2010-10-07.20; # UTC
 
4
scriptversion=2009-04-28.21; # UTC
5
5
 
6
 
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010
7
 
# Free Software Foundation, Inc.
 
6
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
 
7
# Software Foundation, Inc.
8
8
 
9
9
# This program is free software; you can redistribute it and/or modify
10
10
# it under the terms of the GNU General Public License as published by
90
90
   # This is just like msvisualcpp but w/o cygpath translation.
91
91
   # Just convert the backslash-escaped backslashes to single forward
92
92
   # slashes to satisfy depend.m4
93
 
   cygpath_u='sed s,\\\\,/,g'
 
93
   cygpath_u="sed s,\\\\\\\\,/,g"
94
94
   depmode=msvisualcpp
95
95
fi
96
96
 
97
 
if test "$depmode" = msvc7msys; then
98
 
   # This is just like msvc7 but w/o cygpath translation.
99
 
   # Just convert the backslash-escaped backslashes to single forward
100
 
   # slashes to satisfy depend.m4
101
 
   cygpath_u='sed s,\\\\,/,g'
102
 
   depmode=msvc7
103
 
fi
104
 
 
105
97
case "$depmode" in
106
98
gcc3)
107
99
## gcc 3 implements dependency tracking that does exactly what
413
405
   rm -f "$tmpdepfile"
414
406
   ;;
415
407
 
416
 
msvc7)
417
 
  if test "$libtool" = yes; then
418
 
    showIncludes=-Wc,-showIncludes
419
 
  else
420
 
    showIncludes=-showIncludes
421
 
  fi
422
 
  "$@" $showIncludes > "$tmpdepfile"
423
 
  stat=$?
424
 
  grep -v '^Note: including file: ' "$tmpdepfile"
425
 
  if test "$stat" = 0; then :
426
 
  else
427
 
    rm -f "$tmpdepfile"
428
 
    exit $stat
429
 
  fi
430
 
  rm -f "$depfile"
431
 
  echo "$object : \\" > "$depfile"
432
 
  # The first sed program below extracts the file names and escapes
433
 
  # backslashes for cygpath.  The second sed program outputs the file
434
 
  # name when reading, but also accumulates all include files in the
435
 
  # hold buffer in order to output them again at the end.  This only
436
 
  # works with sed implementations that can handle large buffers.
437
 
  sed < "$tmpdepfile" -n '
438
 
/^Note: including file:  *\(.*\)/ {
439
 
  s//\1/
440
 
  s/\\/\\\\/g
441
 
  p
442
 
}' | $cygpath_u | sort -u | sed -n '
443
 
s/ /\\ /g
444
 
s/\(.*\)/       \1 \\/p
445
 
s/.\(.*\) \\/\1:/
446
 
H
447
 
$ {
448
 
  s/.*/ /
449
 
  G
450
 
  p
451
 
}' >> "$depfile"
452
 
  rm -f "$tmpdepfile"
453
 
  ;;
454
 
 
455
 
msvc7msys)
456
 
  # This case exists only to let depend.m4 do its work.  It works by
457
 
  # looking at the text of this script.  This case will never be run,
458
 
  # since it is checked for above.
459
 
  exit 1
460
 
  ;;
461
 
 
462
408
#nosideeffect)
463
409
  # This comment above is used by automake to tell side-effect
464
410
  # dependency tracking mechanisms from slower ones.