From eda718ed257a4dea013bfdf342143aaa566a588661b1e0451ee1e21d3a577e12 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 8 Jan 2007 17:31:42 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fs-check?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + fs-check-0.7.dif | 76 ++++++++++++++++++++++++++++++++++++++ fs-check-0.7.tar.bz2 | 3 ++ fs-check.cf | 88 ++++++++++++++++++++++++++++++++++++++++++++ fs-check.changes | 45 ++++++++++++++++++++++ fs-check.spec | 86 +++++++++++++++++++++++++++++++++++++++++++ ready | 0 8 files changed, 322 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 fs-check-0.7.dif create mode 100644 fs-check-0.7.tar.bz2 create mode 100644 fs-check.cf create mode 100644 fs-check.changes create mode 100644 fs-check.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/fs-check-0.7.dif b/fs-check-0.7.dif new file mode 100644 index 0000000..8848992 --- /dev/null +++ b/fs-check-0.7.dif @@ -0,0 +1,76 @@ +unchanged: +================================================================================ +--- configure ++++ configure +@@ -2124,13 +2124,8 @@ + echo "$as_me:$LINENO: checking whether $DF accepts --local" >&5 + echo $ECHO_N "checking whether $DF accepts --local... $ECHO_C" >&6 + +-HAVE_DF_LOCAL='' +-if $DF --local > /dev/null 2>&1 ; then +- echo "yes" +- HAVE_DF_LOCAL=' --local' +-else +- echo "no" +-fi ++echo "yes" ++HAVE_DF_LOCAL=' --local' + + # Extract the first word of "find", so it can be a program name with args. + set dummy find; ac_word=$2 +@@ -2235,7 +2230,7 @@ + CORE_PAT='core' # don't know wait for someone to complain. + ;; + linux*) +- DF_OPTS="-t jfs -t ext2 -t ext3 -t ntfs -t reiserfs -t vfat$HAVE_DF_LOCAL" ++ DF_OPTS="-t xfs -t jfs -t ext2 -t ext3 -t ntfs -t reiserfs -t vfat$HAVE_DF_LOCAL" + CORE_PAT='core.[0-9]*' + ;; + netbsd*) +@@ -2257,14 +2252,8 @@ + echo "$as_me:$LINENO: checking whether $DF accepts --inodes" >&5 + echo $ECHO_N "checking whether $DF accepts --inodes... $ECHO_C" >&6 + +-HAVE_DF_INODES=0 +-if $DF --inodes > /dev/null 2>&1 ; then +- echo "yes" +- HAVE_DF_INODES=1 +-else +- echo "no" +-fi +- ++echo "yes" ++HAVE_DF_INODES=1 + + + echo "$as_me:$LINENO: checking if $DU can handle --separate-dirs or an equivalent" >&5 +--- fs-check.in.in ++++ fs-check.in.in +@@ -626,7 +626,7 @@ + $program = basename($0); # Who am I today, anyway? + + $mail_program = '@MAILER@'; +- $config_file = "/var/adm/fs-check.cf"; ++ $config_file = "/etc/fs-check.cf"; + $default_script_file = "@prefix@/bin/fs-report"; + $sleep_interval = 60*60; + $pid_file = "@PIDDIR@$program.pid"; +--- fs-report.in ++++ fs-report.in +@@ -243,6 +243,7 @@ + 'newest-lines=n' => \$newest_lines, + 'ls-lines=n' => \$ls_lines, + 'debug=n' => \$debug, ++ 'fast!' => \$fast, + 'ls!' => \$do_ls, + 'size!' => \$do_size, + 'core!' => \$do_core, +--- sample/crontab.add ++++ sample/crontab.add +@@ -1,5 +1,4 @@ +-# $Id: crontab.add,v 1.2 2005/07/26 15:59:18 rockyb Exp $ + # Change locations of files and frequencies as appropriate. + # File system checker.... + # +-5 * * * * /usr/local/bin/fs-check -1 --config /var/adm/fs_check.cnf ++5 * * * * /usr/bin/fs-check -1 --config /etc/fs-check.cf diff --git a/fs-check-0.7.tar.bz2 b/fs-check-0.7.tar.bz2 new file mode 100644 index 0000000..9aeb9dd --- /dev/null +++ b/fs-check-0.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ce07008529173682d8bf7ef7b964c39dc1b49a3e73f3f48f339e53955850917 +size 103631 diff --git a/fs-check.cf b/fs-check.cf new file mode 100644 index 0000000..ebb84a6 --- /dev/null +++ b/fs-check.cf @@ -0,0 +1,88 @@ +# Configuration file for fs-check +# This file tells the program fs-check +# 1. what filesystems are checked/excluded. Included filesystems +# are specified with OWNER and excluded filesystems are +# specified with EXCLUDE or EXCLUDE_PAT with optionally a DEFAULT prefix. +# 2. at what point to start to complain. A threshold is specified with +# LIMIT for filesystem space or ILIMIT for inode space with optionally +# a DEFAULT prefix. +# 3. who to send mail when there is trouble. A mail contact is specified +# with OWNER with possibly a DEFAULT prefix. +# 4. what program to run when there is trouble. A mail contact is specified +# with ACTION with possibly a DEFAULT prefix. +# 5. the shortest interval between which we send notifications. +# This is specified via MIN_INTERVAL with optionally a DEFAULT prefix. + +# Lines with # in column 1 or blank lines are ignored. Actually, any line +# that doesn't match a valid line is ignored. + +# So what *isn't* ignored? Lines that begin in column 1 with +# EXCLUDE +# EXCLUDE_PAT +# OWNER +# OWNER +# LIMIT +# ILIMIT +# ACTION