summaryrefslogtreecommitdiff
path: root/libre/dpkg
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
commit462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch)
tree11d4d3f054aae9ffd869adc634054f64a16d83b8 /libre/dpkg
parent748e32a3a886569b58a27003e85b76be5746153d (diff)
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'libre/dpkg')
-rwxr-xr-xlibre/dpkg/compare26
-rw-r--r--libre/dpkg/compare.mk8
2 files changed, 0 insertions, 34 deletions
diff --git a/libre/dpkg/compare b/libre/dpkg/compare
deleted file mode 100755
index 4556440a5..000000000
--- a/libre/dpkg/compare
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-# compare the packages extracted in pkg/ to the packages from debian
-
-_check() {
- local pacpkg=$1
- local debpkg=$2
-
- libremessages msg "dpkg:$debpkg -> pacman:$pacpkg"
-
- make -f compare.mk tmp/$pacpkg.pacman.filelist tmp/$debpkg.debian.filelist &>/dev/null
-
- echo -e 'pacman\tdpkg'
- comm -3 \
- <(sed -e 's|\.gz$||' tmp/$pacpkg.pacman.filelist|sort) \
- <(sed -e 's|\.gz$||' -e '/^usr\/share\/man\/..\/man.\//d' -e 's|usr/share/perl5/|&vendor_perl/|' -e "s|$debpkg|$pacpkg|g" tmp/$debpkg.debian.filelist|sort)
-}
-
-mkdir -p tmp
-
-_check dpkg dpkg
-_check dpkg-devtools dpkg-dev
-_check dselect dselect
-_check libdpkg libdpkg-dev
-_check perl-dpkg libdpkg-perl
-
-rm -rf tmp
diff --git a/libre/dpkg/compare.mk b/libre/dpkg/compare.mk
deleted file mode 100644
index 88219f283..000000000
--- a/libre/dpkg/compare.mk
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/make -f
-# Assist file for ./compare
-
-tmp/%.debian.filelist:
- curl http://packages.debian.org/sid/all/$*/filelist|sed -n "/<pre>/,/<\/pre>/{ s|.*<pre>||; s|</pre>.*||; /./p }"|sed 's|/||'|sort > $@
-
-tmp/%.pacman.filelist:
- ( cd pkg/$* && find * -not -type d; ) | sort > $@