~ubuntu-branches/debian/experimental/libeatmydata/experimental

« back to all changes in this revision

Viewing changes to .pc/multiarch-issue.patch/eatmydata.in

  • Committer: Package Import Robot
  • Author(s): Mattia Rizzolo
  • Date: 2014-10-03 20:48:40 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20141003204840-xyxqm6u7d2l72c3x
Tags: 82-1
* New upstream release (Closes: #700649).
  + fixes a issue with faketime (Closes: #747078).
* Add Multi-Arch support (Closes: #694314, LP: #1275932):
  + Upstream now has a basic multiarch support on its own, update packaging.
  + debian/control: split package to libeatmydata1 being Multi-Arch:same.
  + debian/rules: move shared library to /usr/lib/<triplet>/libeatmydata.
* debian/{bin,lib}: drop, included upstream.
* debian/control:
  + [19c31a7] Bump Standards-Version to 3.9.6. No changes required.
  + Bump debhelper version to 9.
  + Add autotools-dev and strace to Build-Depends.
  + [687e4b8] Add dpkg-dev to depends of eatmydata
  + [8083867] wrap-and sort maintenance.
  + [64b0f93] Add myself as uploader.
  + [e74b025] Add Breaks/Replaces relations to libeatmydata1.
  + [d46838e,512aabc] Update Vcs-* links to collab-maint.
* debian/copyright:
  + Update accordingly the new upstream release.
  + Update to the debian-copyright format 1.0.
  + Update the homepage to launchpad.net/libeatmydata.
  + Add myself to copyright owners.
* debian/compat: bump to 9.
* debian/rules:
  + use dh with autotools_dev addon.
  + [71e3563] remove the override_dh_makeshilibs.
* [db986b8] debian/libeatmydata1.lintian-overrides: add
  non-dev-pkg-with-shlib-symlink.
* debian/patches:
  + executable-not-elf-or-script.patch. add to fix omonim
    lintian warning.
  + [6eba479,bce9c1d] multiarch-issue: add to fix a issue with multiarch (a
    script refers to a fixed position, non multiarch-compatible).
  + bug-702711.patch: update headers. Thanks Petter for the NMU.
* [ad63684] debian/eatmydata.install:
  + Drop eatmydata.sh, now installed in libeatmydata1.
  + Change source to debian/tmp.
* debian/libmydata1.install: add, it installs all /usr/lib/* stuff.
* [9908ebb] debian/eatmydata.manpages: add to install the manpage.
* debian/watch, debian/upstream/signing-key.asc
  + [42f1561] add.
  + [86912da] fix debian-watch-may-check-gpg-signature lintian tag.
* debian/README.debian: drop, it's useless.

* Upload sponsored by Petter Reinholdtsen.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# Copyright ©: 2010, Modestas Vainius <modax@debian.org>
 
4
#
 
5
# This program is free software: you can redistribute it and/or modify
 
6
# it under the terms of the GNU General Public License as published by
 
7
# the Free Software Foundation, either version 3 of the License, or
 
8
# (at your option) any later version.
 
9
#
 
10
# This program is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
# GNU General Public License for more details.
 
14
#
 
15
# You should have received a copy of the GNU General Public License
 
16
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 
 
18
shlib="@libexecdir@/eatmydata.sh"
 
19
if [ -f "$shlib" ]; then
 
20
    . "$shlib"
 
21
else
 
22
    echo "Unable to locate eatmydata shell library, it was not enabled" >&2
 
23
    exec "$@"
 
24
fi
 
25
 
 
26
usage()
 
27
{
 
28
    echo "usage: $0 [--] command [ command arguments ... ]" >&2
 
29
    exit 2
 
30
}
 
31
 
 
32
# Detect operation mode. If this script is run via symlink, look for basename
 
33
# in the PATH and execute it.
 
34
if [ -L "$0" ]; then
 
35
    # Symlink mode. Get command to execute from the basename of $0.
 
36
    cmd="`basename "$0"`"
 
37
    set -- "$cmd" "$@"
 
38
else
 
39
    # Normal mode
 
40
    if [ "$1" = "--" ]; then
 
41
        shift
 
42
    fi
 
43
 
 
44
    if [ "$#" -eq 0 ]; then
 
45
        usage
 
46
    fi
 
47
fi
 
48
 
 
49
eatmydata_exec "$@"