Author: branden Date: 2003-07-02 14:58:10 -0500 (Wed, 02 Jul 2003) New Revision: 276
Added: trunk/debian/scripts/manifest-install-reconcile Modified: trunk/debian/changelog Log: debian/scripts/manifest-install-reconcile: new script to help keep MANIFEST and *.install* files in sync Modified: trunk/debian/changelog ============================================================================== --- trunk/debian/changelog 2003-06-30 10:31:33 UTC (rev 275) +++ trunk/debian/changelog 2003-07-02 19:58:10 UTC (rev 276) @@ -1,3 +1,10 @@ +xfree86 (4.2.1-10) unstable; urgency=low + + * debian/scripts/manifest-install-reconcile: new script to help keep + MANIFEST and *.install* files in sync + + -- Branden Robinson <[EMAIL PROTECTED]> Wed, 2 Jul 2003 14:55:52 -0500 + xfree86 (4.2.1-9) unstable; urgency=high * urgency due to xterm security fixes; see below Added: trunk/debian/scripts/manifest-install-reconcile ============================================================================== --- trunk/debian/scripts/manifest-install-reconcile 2003-06-30 10:31:33 UTC (rev 275) +++ trunk/debian/scripts/manifest-install-reconcile 2003-07-02 19:58:10 UTC (rev 276) @@ -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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]