mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-16 01:21:07 +00:00
* what-patch: change default operation back to quiet mode -- script is used
in automated tools, so default behavior is best to leave unchanged. * check-symbols: check for binary list very carefully. * dch-repeat: add Hardy to distro list. * mk-sbuild-lv: use -r instead of -f for possible debootstrap symlinks.
This commit is contained in:
parent
a79b16b3cc
commit
36cd6cd742
@ -6,7 +6,9 @@
|
|||||||
# This script is used to get a diff of the exported symbols of all .so files in
|
# This script is used to get a diff of the exported symbols of all .so files in
|
||||||
# every binary package of package $1.
|
# every binary package of package $1.
|
||||||
|
|
||||||
PACKAGES="`apt-cache showsrc $1 | grep ^Binary | sed 's/Binary\:\ //g;s/\,//g' | sort -u`"
|
DISTRO=$(lsb_release -c -s)
|
||||||
|
VERSION=$(apt-cache madison "$1" | grep -- "$DISTRO"'/.*Sources$' | awk '{print $3}')
|
||||||
|
PACKAGES=$(apt-cache showsrc "$1" | grep-dctrl -s Binary -F Version "$VERSION" | sed 's/Binary\:\ //g;s/\,//g' | sort -u)
|
||||||
DEBLINE=""
|
DEBLINE=""
|
||||||
DEBUG=False
|
DEBUG=False
|
||||||
|
|
||||||
@ -21,6 +23,8 @@ else
|
|||||||
DEBDIR="$2";
|
DEBDIR="$2";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sudo apt-get install $PACKAGES
|
||||||
|
|
||||||
for pack in $PACKAGES;
|
for pack in $PACKAGES;
|
||||||
do
|
do
|
||||||
for lib in `dpkg -L $pack | grep -E "\.so$" | sort -u`;
|
for lib in `dpkg -L $pack | grep -E "\.so$" | sort -u`;
|
||||||
|
@ -30,7 +30,7 @@ EOM
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
my @releases = ('dapper', 'edgy', 'feisty', 'gutsy');
|
my @releases = ('dapper', 'edgy', 'feisty', 'gutsy', 'hardy');
|
||||||
|
|
||||||
#Getopt::Long::Configure("bundling", "no_ignore_case");
|
#Getopt::Long::Configure("bundling", "no_ignore_case");
|
||||||
our $opt_build_tree = "/scratch/ubuntu/build";
|
our $opt_build_tree = "/scratch/ubuntu/build";
|
||||||
|
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -37,7 +37,14 @@ ubuntu-dev-tools (0.25) UNRELEASED; urgency=low
|
|||||||
[ Daniel Holbach ]
|
[ Daniel Holbach ]
|
||||||
* hugdaylist: drop one Ubuntu filter statement.
|
* hugdaylist: drop one Ubuntu filter statement.
|
||||||
|
|
||||||
-- Daniel Holbach <daniel.holbach@ubuntu.com> Mon, 21 Jan 2008 10:43:52 +0100
|
[ Kees Cook ]
|
||||||
|
* what-patch: change default operation back to quiet mode -- script is used
|
||||||
|
in automated tools, so default behavior is best to leave unchanged.
|
||||||
|
* check-symbols: check for binary list very carefully.
|
||||||
|
* dch-repeat: add Hardy to distro list.
|
||||||
|
* mk-sbuild-lv: use -r instead of -f for possible debootstrap symlinks.
|
||||||
|
|
||||||
|
-- Kees Cook <kees@ubuntu.com> Mon, 21 Jan 2008 09:20:05 -0800
|
||||||
|
|
||||||
ubuntu-dev-tools (0.24) hardy; urgency=low
|
ubuntu-dev-tools (0.24) hardy; urgency=low
|
||||||
|
|
||||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -13,7 +13,7 @@ Standards-Version: 3.7.3
|
|||||||
Package: ubuntu-dev-tools
|
Package: ubuntu-dev-tools
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Section: devel
|
Section: devel
|
||||||
Depends: ${python:Depends}, ${misc:Depends}, binutils, devscripts, sudo, python-launchpad-bugs (>= 0.2.25), reportbug (>= 3.39ubuntu1), python-debian
|
Depends: ${python:Depends}, ${misc:Depends}, binutils, devscripts, sudo, python-launchpad-bugs (>= 0.2.25), reportbug (>= 3.39ubuntu1), python-debian, dctrl-tools, lsb-release
|
||||||
Recommends: bzr, pbuilder
|
Recommends: bzr, pbuilder
|
||||||
Conflicts: devscripts (<< 2.10.7ubuntu5)
|
Conflicts: devscripts (<< 2.10.7ubuntu5)
|
||||||
Replaces: devscripts (<< 2.10.7ubuntu5)
|
Replaces: devscripts (<< 2.10.7ubuntu5)
|
||||||
|
@ -163,7 +163,7 @@ if [ `sudo vgdisplay -c "$VG" | wc -l` -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Is the specified release known to debootstrap?
|
# Is the specified release known to debootstrap?
|
||||||
if [ ! -f "/usr/share/debootstrap/scripts/$RELEASE" ]; then
|
if [ ! -r "/usr/share/debootstrap/scripts/$RELEASE" ]; then
|
||||||
echo "Specified release not known to debootstrap" >&2
|
echo "Specified release not known to debootstrap" >&2
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
36
what-patch
36
what-patch
@ -4,28 +4,32 @@
|
|||||||
# Modified by Daniel Hahler <ubuntu@thequod.de>
|
# Modified by Daniel Hahler <ubuntu@thequod.de>
|
||||||
# License: GPLv2
|
# License: GPLv2
|
||||||
|
|
||||||
if [ "$1" ] && ( [ $1 = '-h' ] || [ $1 = '--help' ] )
|
# Default operation reports only the patch system. Verbose mode can be
|
||||||
|
# enabled with -v
|
||||||
|
if [ "$1" = "-h" ] || [ "$1" = "--help" ]
|
||||||
then
|
then
|
||||||
echo "Usage: $0 [-q]"
|
cat <<EOM
|
||||||
echo
|
Usage: $0 [-v]
|
||||||
echo "Run this inside the source directory of a Debian package and it will detect the patch system that it uses."
|
|
||||||
echo
|
Run this inside the source directory of a Debian package and it will detect
|
||||||
echo "Additionally, it will try to print a list of all those files outside the debian/ directory that have been modified (if any); if you don't want this, use the -q option."
|
the patch system that it uses.
|
||||||
|
|
||||||
|
-v: Print a list of all those files outside the debian/ directory that have
|
||||||
|
been modified (if any).
|
||||||
|
EOM
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -d debian ]]; then
|
while [ ! -r debian/rules ];
|
||||||
cd . # pass
|
do
|
||||||
elif [[ -d ../debian ]]; then
|
if [ "$PWD" = "/" ]; then
|
||||||
|
echo "Can't find debian/rules."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
elif [[ -d ../patches ]]; then
|
done
|
||||||
cd ../..
|
|
||||||
else
|
|
||||||
echo "Can't find debian/rules."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$1" != "-q" ]
|
if [ "$1" = "-v" ]
|
||||||
then
|
then
|
||||||
files=`lsdiff -z ../$(dpkg-parsechangelog | grep ^Source: | sed -e "s/^Source: //")_$(dpkg-parsechangelog | grep ^Version: | sed -e "s/^Version: //").diff.gz 2>/dev/null | grep -v 'debian/'`
|
files=`lsdiff -z ../$(dpkg-parsechangelog | grep ^Source: | sed -e "s/^Source: //")_$(dpkg-parsechangelog | grep ^Version: | sed -e "s/^Version: //").diff.gz 2>/dev/null | grep -v 'debian/'`
|
||||||
if [ -n "$files" ]
|
if [ -n "$files" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user