From 084d0a37c8d0f1a991ce22ccc6d8c3dd8ca12a33 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 26 Dec 2012 22:14:47 -0500 Subject: (scripted) fix file permission breakage introduced in commit d62bd1 I did this with this command: git diff d62bd1^..d62bd1 | egrep '^old mode ' -C1 \ | tr '\n' ' ' | sed 's/diff --git/\n&/g' \ | sed -r 's|^diff --git a/([^ ]*) b/([^ ]*) old mode 100([0-9]*) new mode 100([0-9]*)|chmod \3 ./\1|' \ | bash The first line finds all of the file-permission changes in the commit. The second line squashes some newlines to get one line per file. This line is in the format: diff --git a/FILE b/FILE old mode OLDMODE new mode NEWMODE The third line extracts the values from those lines and transforms the line into: chmod FILE ./OLDMODE The fourth line (obviously) just executes the output. --- libre/dpkg/dpkg-arch.patch | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 libre/dpkg/dpkg-arch.patch (limited to 'libre/dpkg/dpkg-arch.patch') diff --git a/libre/dpkg/dpkg-arch.patch b/libre/dpkg/dpkg-arch.patch old mode 100755 new mode 100644 -- cgit v1.2.3-2-g168b From e00a747bc60604c09fed0d28dc12e49378c8f2a2 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 8 Jan 2013 14:22:36 -0500 Subject: update, improve libre/dpkg I finally split the package, as had always been TODO. Slightly more interestingly, I choose to NOT package some of the resulting packages, but only the ones that are appropriate to have on a pacman-based system. --- libre/dpkg/dpkg-arch.patch | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 libre/dpkg/dpkg-arch.patch (limited to 'libre/dpkg/dpkg-arch.patch') diff --git a/libre/dpkg/dpkg-arch.patch b/libre/dpkg/dpkg-arch.patch deleted file mode 100644 index 66e7a2ef2..000000000 --- a/libre/dpkg/dpkg-arch.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -ru dpkg-1.16.2.orig/scripts/Dpkg/Arch.pm dpkg-1.16.2/scripts/Dpkg/Arch.pm ---- dpkg-1.16.2.orig/scripts/Dpkg/Arch.pm 2012-03-19 02:40:08.000000000 -0400 -+++ dpkg-1.16.2/scripts/Dpkg/Arch.pm 2012-04-02 16:14:55.000000000 -0400 -@@ -49,12 +49,7 @@ - { - return $build_arch if defined $build_arch; - -- # Note: We *always* require an installed dpkg when inferring the -- # build architecture. The bootstrapping case is handled by -- # dpkg-architecture itself, by avoiding computing the DEB_BUILD_ -- # variables when they are not requested. -- -- my $build_arch = `dpkg --print-architecture`; -+ my $build_arch = `uname -m`; - syserr("dpkg --print-architecture failed") if $? >> 8; - - chomp $build_arch; -- cgit v1.2.3-2-g168b