Merge of master-melb:xfs-cmds:25138a by kenmcd.
#
PKG_MAJOR=2
PKG_MINOR=7
-PKG_REVISION=12
+PKG_REVISION=13
PKG_BUILD=1
+xfsprogs (2.7.13-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Nathan Scott <nathans@debian.org> Wed, 08 Feb 2006 09:49:48 +1100
+
xfsprogs (2.7.12-1) unstable; urgency=low
* New upstream release.
+xfsprogs-2.7.13 (08 February 2006)
+ - Convert fsck into a shell script and make it provide a
+ hint to run repair/check (in non-auto fsck modes).
+ Thanks to Marian Jancar <mjancar@suse.cz> for this.
+
xfsprogs-2.7.12 (31 January 2006)
- Added initial Polish translation.
Thanks to Jakub Bogusz <qboosh@pld-linux.org> for this.
#
-# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
+# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved.
#
TOPDIR = ..
include $(TOPDIR)/include/builddefs
-LTCOMMAND = fsck.xfs
-CFILES = xfs_fsck.c
-LCFLAGS = -s -O3
-LLDFLAGS += -static
+LSRCFILES = xfs_fsck.sh
default: $(LTCOMMAND)
install: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
- $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
+ $(INSTALL) -m 755 xfs_fsck.sh $(PKG_SBIN_DIR)/fsck.xfs
install-dev:
+++ /dev/null
-/*
- * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
- * All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-/* http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html */
-/* Unfortunately, we need to be a little more portable. ;^) */
-/* This used to be a symlink to /bin/true but that gives a wierd */
-/* dependency problem in a certain package manager. */
-
-int
-main(int argc, char **argv)
-{
- return 0;
-}
--- /dev/null
+#!/bin/sh -f
+#
+# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved.
+#
+
+AUTO=false
+while getopts ":aA" c
+do
+ case $c in
+ a|A) AUTO=true;;
+ esac
+done
+if $AUTO; then
+ echo "$0: XFS file system."
+else
+ echo "If you wish to check the consistency of an XFS filesystem or"
+ echo "repair a damaged filesystem, see xfs_check(8) and xfs_repair(8)."
+fi
+exit 0