X Strike Force SVN commit: rev 280 - branches/4.3.0/sid/debian/scripts
Author: branden
Date: 2003-07-03 01:47:37 -0500 (Thu, 03 Jul 2003)
New Revision: 280
Added:
branches/4.3.0/sid/debian/scripts/manifest-install-reconcile
Log:
debian/scripts/manifest-install-reconcile: haul this script over from the
trunk
Copied: branches/4.3.0/sid/debian/scripts/manifest-install-reconcile (from rev 279, trunk/debian/scripts/manifest-install-reconcile)
==============================================================================
--- trunk/debian/scripts/manifest-install-reconcile 2003-07-03 06:41:03 UTC (rev 279)
+++ branches/4.3.0/sid/debian/scripts/manifest-install-reconcile 2003-07-03 06:47:37 UTC (rev 280)
@@ -0,0 +1,49 @@
+#!/bin/sh
+
+# Run this from the debian/ directory of the unpacked source tree.
+# It will generate INSTALL.$(ARCH) files. You can then use a command like:
+# diff -U 0 MANIFEST.$ARCH INSTALL.$ARCH
+# to check for discrepancies between what's built for that arch and what
+# the packages ship.
+
+# Minuses in the diff are things that are built but not shipped; pluses are
+# things that are shipped but not build (these can cause build failures!)
+
+# There are false results for every architecture.
+
+# Known false "minuses" (ignore these):
+# etc/X11/twm/system.twmrc
+# etc/X11/xdm/GiveConsole
+# etc/X11/xdm/TakeConsole
+# etc/X11/xdm/Xsetup_0
+# etc/X11/xkb/xkbcomp
+# usr/X11R6/lib/X11/XF86Config.98
+# usr/X11R6/lib/X11/XF86Config.eg
+# usr/X11R6/lib/X11/XF86Config.indy
+# usr/X11R6/lib/X11/doc/*
+# usr/X11R6/lib/X11/etc/sun.termcap
+# usr/X11R6/lib/X11/etc/sun.terminfo
+# usr/X11R6/lib/X11/etc/xterm.termcap
+# usr/X11R6/lib/X11/etc/xterm.terminfo
+# usr/X11R6/lib/X11/fonts/*/{encoding.dir,fonts.alias,fonts.dir}
+# var/lib/xkb/README
+
+# Known false "pluses" (ignore these):
+# Files from *.install for a package that isn't built for that arch. Check
+# debian/control. Examples include xserver-xfree86* for s390 and xlibosmesa*
+# for several architectures.
+
+for F in MANIFEST.*; do
+ ARCH=$(echo $F | sed 's/MANIFEST\.//')
+ echo $ARCH
+ FILE=$(tempfile)
+ for G in *.install; do
+ if [ -e $G.$ARCH ]; then
+ awk '{print $1}' < $G.$ARCH >> $FILE
+ else
+ awk '{print $1}' < $G >> $FILE
+ fi
+ done
+ sort -u < $FILE > INSTALL.$ARCH
+ rm $FILE
+done
Reply to: