Debian Package Tracker
Register | Log in
Subscribe

fspy

filesystem activity monitoring tool

Choose email to subscribe with

general
  • source: fspy (main)
  • version: 0.2.1-1
  • maintainer: Bean Huo (DMD)
  • std-ver: 4.5.0
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 0.1.1-4
  • oldstable: 0.1.1-4
  • stable: 0.1.1-4
  • testing: 0.1.1-6
  • unstable: 0.2.1-1
versioned links
  • 0.1.1-4: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.1.1-6: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.2.1-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • fspy
action needed
36 new commits since last upload, is it time to release? normal
vcswatch reports that this package seems to have new commits in its VCS but has not yet updated debian/changelog. You should consider updating the Debian changelog and uploading this new version into the archive.

Here are the relevant commit logs:
commit c1a9e03a050a4e0e8f8fe0134e829f4ed5bde83e
Author: Bean Huo <beanhuo@micron.com>
Date:   Sun Feb 22 11:47:31 2026 +0100

    debian: Fix changelog and remove empty patches directory
    
    Address sponsor review feedback from Tobi:
    
    - Drop never-uploaded 0.2.0-1 changelog entry; merge its packaging
      changes into the 0.2.1-1 entry
    - Remove upstream change descriptions from 0.2.1-1 (d/changelog
      should record packaging changes, not upstream changelog)
    - Note segfault fix (-D with -P) as notable upstream change
    - Remove empty debian/patches/series and debian/patches/ directory
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit a1009d8ceb85614fb0251d790f75a17c00f130b8
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Feb 16 11:22:38 2026 +0100

    debian: New upstream release 0.2.1-1
    
    New upstream release 0.2.1 includes:
    - README cleanup: update maintainer info, remove defunct URLs
    - fanotify: replace strncpy with memcpy to fix build warnings
    - Version bump to 0.2.1
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit d3f5a19937dedb32a2f7732a3d52e93ee12236c5
Merge: b75ab83 9dd80c9
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Feb 16 11:22:06 2026 +0100

    Merge upstream version 0.2.1 into debian/master

commit 9dd80c97e5a2ddd0e226bb8584353d03ef93d0ac
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Feb 16 11:21:23 2026 +0100

    Import Upstream version 0.2.1

commit b75ab83e87fec587d5771d066639d2283aeb4881
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Feb 16 11:20:11 2026 +0100

    fspy: Bump version to 0.2.1
    
    Bump SUBMINORVERSION from 0 to 1 for the new upstream release
    that includes the README cleanup and strncpy fix.
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit 4886163e1ea5090bcabdcf7385799532aa83d042
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Feb 16 11:10:47 2026 +0100

    fspy: fanotify: replace strncpy with memcpy to fix truncation warnings
    
    Replace strncpy() calls with explicit length calculation + memcpy() +
    null-termination in fanotify_events.c. This fixes three
    -Wstringop-truncation warnings triggered by Debian hardened build flags
    (-D_FORTIFY_SOURCE=2).
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit d7b7ba340cbe467a33205c710ff2e65f76d144fb
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Feb 16 11:03:56 2026 +0100

    fspy: README: update maintainer info and clean up
    
    - Update header with current maintainer and Salsa URL
    - Remove defunct mytty.org URL
    - Remove outdated PGP key block and obfuscated email
    - Point bug reports to Salsa issue tracker
    - Fix typo: "comile" -> "compile"
    - Capitalize sentence starts in MISC section
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit 489a8df49df33ffb6a9d3f79979679353d56196a
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Feb 16 10:59:52 2026 +0100

    fspy: debian/copyright: update upstream contact and copyright
    
    Update debian/copyright to reflect current project maintainership:
    - Change Upstream-Contact to Bean Huo
    - Update Source URL from defunct mytty.org to Salsa repository
    - Add Bean Huo copyright to Files: * section
    - Remove redundant fanotify-specific copyright block
    - Simplify copyright year to 2025
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit 665eace871e6874a234821958b6ab6333d4b6a93
Author: Bean Huo <beanhuo@micron.com>
Date:   Sun Feb 15 18:17:05 2026 +0100

    ci: retrigger after pushing upstream/0.2.0 tag and pristine-tar

commit e6ec712d011a360706bd24cf1971a0e0acd72048
Merge: 5fdbb49 98df39f
Author: bean huo <beanhuo@outlook.com>
Date:   Sun Feb 15 18:11:00 2026 +0100

    Merge branch 'debian/master' into 'debian/master'
    
    merge 0.2.0
    
    See merge request debian/fspy!11

commit 98df39f78780c4a9df8897bfe90075c616c30dda
Merge: 5fdbb49 3cfcbd6
Author: Bean Huo <beanhuo@micron.com>
Date:   Sun Feb 15 18:01:20 2026 +0100

    Merge branch 'debian-0.2.0' into debian/master
    
    New upstream release 0.2.0-1 with all Debian patches folded into
    upstream source.
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit 3cfcbd67df6f600a3a9a7385a98230c29bc95eec
Author: Bean Huo <beanhuo@micron.com>
Date:   Sun Feb 15 17:18:13 2026 +0100

    fspy: Makefile: Create obj/ directory automatically
    
    Add an order-only prerequisite to create the obj/ directory if it
    does not exist. This fixes build failures in clean environments
    (e.g., Debian sbuild) where obj/ is not present.
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit 6031e475a395c2c11793126ec05cd715b3570b63
Author: Bean Huo <beanhuo@micron.com>
Date:   Sun Feb 15 17:02:49 2026 +0100

    Import Upstream version 0.2.0

commit 5a5d145a26a69eaecb2e7ac48fb5e0c6fcafa406
Author: Bean Huo <beanhuo@micron.com>
Date:   Sun Feb 15 17:13:26 2026 +0100

    ci: retrigger after adding upstream/0.2.0 tag and pristine-tar

commit c922df682f748f05e451c29dd205faa2bef896b3
Author: Bean Huo <beanhuo@micron.com>
Date:   Sun Feb 15 16:47:18 2026 +0100

    debian: New upstream release 0.2.0-1, fold all patches into upstream
    
    All 9 Debian patches have been folded into the upstream 0.2.0 source:
      01_fix_makefile, 02_reproducible_build, 03_fix_makefile_cppflags,
      04_fix_compiler_warnings, 05_reformat_to_linux_style,
      06_update_version_output, 07_fix_read_warning, 08_improve_readme,
      09_add_fanotify_support.
    
    New upstream changes in 0.2.0:
      - SPDX license identifiers in all source files
      - Concise event descriptions (READ, WRITE, OPEN, etc.)
      - Fix segfault when using -D with -P
      - Improved SIGINT handling for clean shutdown
      - Remove defunct website references
    
    Packaging changes:
      - debian/patches: Remove all patches (empty series)
      - debian/control: Set maintainer, remove defunct Homepage, add help2man
      - debian/copyright: Add Bean Huo copyright for fanotify files
      - debian/dirs: Remove (replaced by debian/install)
      - debian/fspy.1: Remove static manpage (generated by help2man at build)
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit b7bfb23e856011e068ccae484f1b0d8b7b994684
Author: Bean Huo <beanhuo@micron.com>
Date:   Sun Feb 15 16:09:32 2026 +0100

    fspy: Bump version to 0.2.0 and remove defunct website
    
    Update version from 0.1.1 to 0.2.0 to reflect the new fanotify
    process tracking support and other improvements. Remove the defunct
    mytty.org website URL from version output and WEBSITE define.
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit 7e0b7922d07a5d5521b4d32bb477c91ea37ee56f
Author: Bean Huo <beanhuo@micron.com>
Date:   Sun Feb 15 15:57:53 2026 +0100

    fspy: Improve SIGINT handling for clean shutdown
    
    Always print "fspy: stopping tracing..." on Ctrl+C instead of hiding
    the message behind _DEBUG. Check sigint flag in fanotify inner event
    loop so it exits immediately rather than processing the entire buffered
    batch. Handle EINTR from read() silently since it is expected when
    SIGINT arrives during a blocking read.
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit 21e39caf52587c6352612c49c12f5a74d35fc78e
Author: Bean Huo <beanhuo@micron.com>
Date:   Sat Feb 14 22:20:46 2026 +0100

    fspy: fanotify: Fix segfault when using -D with -P
    
    init_diff() was only called in the inotify path (enumdirs.c), so the
    felsptr array was NULL when the fanotify path called diffing(). This
    caused a segfault when combining -P and -D options.
    
    Initialize the diff element list in fanotify_monitor() and dynamically
    register new files into felsptr as they are encountered, since fanotify
    discovers files at runtime rather than pre-enumerating them like inotify.
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit fe425cf17ca35e60c60e5788a4bad4c960ba6bca
Author: Bean Huo <beanhuo@micron.com>
Date:   Sun Feb 15 15:50:06 2026 +0100

    fspy: output: Use concise event description strings
    
    Replace verbose event descriptions with short uppercase labels for
    more compact output. For example, "file was accessed" becomes "READ",
    "file was modified" becomes "WRITE", "file was opened" becomes "OPEN".
    
    Add inline comments documenting the meaning of each event type.
    
    Signed-off-by: Bean huo <beanhuo@iokpp.de>

commit 27840a82e7a6ecd0b32eb371857da331140d99b9
Author: Bean Huo <beanhuo@iokpp.de>
Date:   Thu Jan 22 22:27:26 2026 +0100

    fspy: Modernize copyright headers with SPDX identifiers
    
    Replace verbose ASCII box-style copyright headers with concise,
    modern format using SPDX license identifiers. This follows current
    Linux kernel coding conventions and improves maintainability.
    
    Key changes:
    - Add SPDX-License-Identifier: GPL-2.0-or-later to all source files
    - Remove outdated kernel version references (2.6.13/2.6.18.4)
    - Remove obsolete contact info and editor settings from headers
    - Preserve original author copyright (Richard Sammet, 2007)
    
    Signed-off-by: Bean Huo <beanhuo@iokpp.de>

commit c921d7dcf23fb348d44a529c0bdba6b090ec33cf
Author: Bean Huo <beanhuo@iokpp.de>
Date:   Sun Nov 30 14:24:21 2025 +0100

    debian: salsa-ci: Ignore master branch (development branch with patches applied)

commit b34b31dcb075eaffa91bdf6f56ca8ac92ba039ef
Author: Bean Huo <beanhuo@iokpp.de>
Date:   Sun Nov 30 12:02:41 2025 +0100

    debian: Add upstream metadata file (DEP-12)
    
    Add debian/upstream/metadata following DEP-12 specification to provide
    upstream project information for the Ultimate Debian Database.
    
    Includes:
    - Archive location (SourceForge)
    - Bug tracking URLs
    - Repository information
    
    Fixes: upstream-metadata-file-is-missing lintian tag
    
    Signed-off-by: Bean Huo <beanhuo@iokpp.de>

commit 40c95eedfaa3031779c3ae2a209a91db9fcb637c
Author: Bean Huo <beanhuo@iokpp.de>
Date:   Sun Nov 30 00:01:40 2025 +0100

    debian: rules: Force xz compression for .deb packages
    
    Add override_dh_builddeb to force xz compression instead of the
    default zstd compression. This ensures compatibility with older
    lintian versions and Debian infrastructure that don't yet support
    zstd-compressed .deb files.
    
    Fixes: malformed-deb-archive lintian error on Debian mentors
    
    Signed-off-by: Bean Huo <beanhuo@iokpp.de>

commit fae78be4c6f937ffe288970abc84f7863fece56a
Author: Bean Huo <beanhuo@iokpp.de>
Date:   Sat Nov 29 18:11:11 2025 +0100

    debian: copyright: Update FSF address and add 2025 maintainer copyright
    
    Update debian/copyright:
    - Replace obsolete FSF postal address with https://www.gnu.org/licenses/
    - Add 2025 copyright line for debian/* files
    - Mark upstream Source URL as defunct
    
    Signed-off-by: Bean Huo <beanhuo@iokpp.de>

commit 003fcca02652de4daaf960964797729175d2df16
Author: Bean Huo <beanhuo@micron.com>
Date:   Sun Nov 23 10:53:01 2025 +0100

    fspy: fanotify: add support for process tracking with unified option handling
    
    Add fanotify-based process tracking feature that integrates seamlessly with
    existing fspy options. When users specify -P/--show-process flag, fspy now
    uses the fanotify API to monitor filesystem events and identify which process
    (PID, UID, command name) is accessing files.
    
    Key changes:
    
    - Add new fanotify implementation (fanotify_events.c/h) that shares filtering
      and output logic with inotify code path
    - Modify fanotify_monitor() to accept all command-line options (output format,
      filter, inverted filter, type filter, diff) instead of relying solely on
      environment variables
    - Implement regex filtering using shared reg_match() and ireg_match() functions
    - Implement type filtering using shared checktype() function
    - Implement custom output formatting using shared print_data() function
    - Update README with comprehensive documentation on inotify vs fanotify modes,
      kernel requirements (fanotify introduced in 2.6.36, stable in 2.6.37), and
      usage examples
    - Add process information output fields (,w, for PID, ,U, for UID) to output.c
    
    Both monitoring modes now support consistent option handling:
      -O/--output: Custom output formatting (works with both modes)
      -F/--filter: Regex pattern filtering (works with both modes)
      -I/--inverted: Inverted regex filtering (works with both modes)
      -T/--type: File type filtering (works with both modes)
      -D/--diff: Metadata difference tracking (works with both modes)
      -R/--recursive: Only applicable to inotify (fanotify monitors entire mount)
    
    This allows users to combine process tracking with all existing filtering and
    output options, enabling powerful security auditing capabilities:
    
      sudo fspy -P -O 'f, - ,d, (PID:,w,)' -F '\.conf$' -T f /etc
    
    The implementation maintains backwards compatibility with FSPY_OUTPUT
    environment variable while preferring command-line options.
    
    Signed-off-by: Bean Huo <beanhuo@iokpp.de>

commit dd6b1095282a0ba85e4f18000cd8dd35f871f26b
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Nov 17 12:38:22 2025 +0100

    Remove build artifacts from Git tracking
    
    - Add .gitignore for build artifacts (fspy, *.o, obj/)
    - Remove fspy binary from tracking
    - Remove object files from tracking
    - Add Debian build artifact patterns to .gitignore
    
    These files were historically tracked but should not be in version control.

commit c59622514fe58dd4cd593eca34dace4ebabfefdf
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Nov 17 12:25:44 2025 +0100

    Improve README documentation
    
    Forwarded: no
    Last-Update: 2025-11-16
    
    Enhance the README with better structure, clearer examples,
    and more comprehensive usage instructions. Add detailed
    explanations of monitoring options, filtering, and output formatting.
    
    Gbp-Pq: Name 08_improve_readme.patch

commit 14cedd98ece6ea72848ba87aa64acfc6b18fe6b0
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Nov 17 12:25:44 2025 +0100

    Fix read() return value warning in enumdirs.c
    
    Forwarded: no
    Last-Update: 2025-11-12
    
    Detailed description of the changes made.
    
    This patch implements the following:
    - (Add details here as needed)
    
    Gbp-Pq: Name 07_fix_read_warning.patch

commit 16f5dd6fc0fc1f547350fc2abffb27c442b8a195
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Nov 17 12:25:44 2025 +0100

    Update version output to show Debian package and maintainer info
    
    Forwarded: no
    Last-Update: 2025-11-12
    
    Enhances the --version output to display:
    - License information (GPL v2+)
    - Better formatted output with clearer labels
    
    This provides users with complete version and maintenance information
    when running fspy --version.
    
    Gbp-Pq: Name 06_update_version_output.patch

commit 8de12adf60cf859b7629cfdefa34cdcb018b637e
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Nov 17 12:25:44 2025 +0100

    Reformat source code to Linux kernel coding style
    
    Forwarded: no
    Last-Update: 2025-11-12
    
    Reformat all C source and header files using astyle with Linux kernel
    coding style settings:
    - Linux style brace placement (K&R style)
    - Tab indentation (8 spaces)
    - Maximum line length of 80 characters
    
    This improves code readability and consistency with Linux kernel
    coding conventions. No functional changes.
    
    Gbp-Pq: Name 05_reformat_to_linux_style.patch

commit d074b54ea3a4e1148b0a5969d1550c51c0b4ce14
Author: Bean Huo <beanhuo@micron.com>
Date:   Mon Nov 17 12:25:44 2025 +0100

    Fix compiler warnings for uninitialized variables
    
    Forwarded: no
    Last-Update: 2025-11-11
    
    This patch fixes several compiler warnings that appear with modern GCC versions:
    - Fixes duplicate assignment of dprint.G in diff.c and fspy.c
    - Fixes uninitialized variable warning in adaptive.c (adaptive_delete)
    - Fixes uninitialized variable warning in enumdirs.c (recwrap)
    - Fixes uninitialized pointer warnings in diff.c, output.c, and stating.c (freeme)
    - Fixes format specifier warnings for sizeof() in debug prints (%i -> %li)
    - Fixes type mismatch for max_element_count (unsigned int -> int)
    - Fixes type mismatch for inotify watch descriptors (int vs unsigned int)
    - Adds proper function prototypes to enumdirs.h
    
    Gbp-Pq: Name 04_fix_compiler_warnings.patch

commit 1a4a56b1dd0b2e260c5184d0e9d77c8f574f94b5
Author: Francisco Vilmar Cardoso Ruviaro <francisco.ruviaro@riseup.net>
Date:   Mon Nov 17 12:25:44 2025 +0100

    fix Makefile added CPPFLAGS.
    
    Last-Update: 2020-05-19
    
    ===================================================================
    
    Gbp-Pq: Name 03_fix_makefile_cppflags.patch

commit 0ea9d1b4025fc677634d99acfd5729840508a4ef
Author: Chris Lamb <lamby@debian.org>
Date:   Mon Nov 17 12:25:44 2025 +0100

    This patch makes the build reproducible
    
    Bug-Debian: https://bugs.debian.org/831354
    Last-Update: 2017-08-01
    
    
    Gbp-Pq: Name 02_reproducible_build.patch

commit 4a208200544d1330bf6d840c729339738c0f89bb
Author: Debian QA Group <packages@qa.debian.org>
Date:   Mon Nov 17 12:25:44 2025 +0100

    _fix_makefile
    
    Some trivial fixes in Makefile
    
    Gbp-Pq: Name 01_fix_makefile.patch
Created: 2026-02-16 Last update: 2026-02-22 21:32
lintian reports 2 warnings normal
Lintian reports 2 warnings about this package. You should make the package lintian clean getting rid of them.
Created: 2026-01-01 Last update: 2026-01-01 07:00
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.7.3 instead of 4.5.0).
Created: 2020-11-17 Last update: 2026-02-22 23:02
testing migrations
  • excuses:
    • Migration status for fspy (0.1.1-6 to 0.2.1-1): Waiting for test results or another package, or too young (no action required now - check later)
    • Issues preventing migration:
    • ∙ ∙ Too young, only 4 of 5 days old
    • Additional info (not blocking):
    • ∙ ∙ Piuparts tested OK - https://piuparts.debian.org/sid/source/f/fspy.html
    • ∙ ∙ Autopkgtest for fspy/0.2.1-1: amd64: No tests, superficial or marked flaky ♻ (reference ♻), arm64: No tests, superficial or marked flaky ♻ (reference ♻), i386: No tests, superficial or marked flaky ♻ (reference ♻), ppc64el: No tests, superficial or marked flaky ♻, riscv64: No tests, superficial or marked flaky ♻, s390x: No tests, superficial or marked flaky ♻
    • ∙ ∙ Reproducible on amd64
    • ∙ ∙ Reproducible on arm64
    • ∙ ∙ Reproducible on armhf
    • ∙ ∙ Reproducible on i386
    • ∙ ∙ Reproducible on ppc64el
    • Not considered
news
[rss feed]
  • [2026-02-22] Accepted fspy 0.2.1-1 (source) into unstable (Bean Huo) (signed by: Tobias Frost)
  • [2026-01-06] fspy 0.1.1-6 MIGRATED to testing (Debian testing watch)
  • [2025-12-31] Accepted fspy 0.1.1-6 (source) into unstable (Bean Huo) (signed by: Tobias Frost)
  • [2025-11-23] fspy 0.1.1-5 MIGRATED to testing (Debian testing watch)
  • [2025-11-17] Accepted fspy 0.1.1-5 (source) into unstable (Bean Huo) (signed by: bage@debian.org)
  • [2025-09-21] fspy REMOVED from testing (Debian testing watch)
  • [2020-06-14] fspy 0.1.1-4 MIGRATED to testing (Debian testing watch)
  • [2020-06-08] Accepted fspy 0.1.1-4 (source) into unstable (Francisco Vilmar Cardoso Ruviaro) (signed by: Samuel Henrique)
  • [2020-06-04] Accepted fspy 0.1.1-3 (source) into unstable (Francisco Vilmar Cardoso Ruviaro) (signed by: Samuel Henrique)
  • [2017-08-12] fspy 0.1.1-2 MIGRATED to testing (Debian testing watch)
  • [2017-08-07] Accepted fspy 0.1.1-2 (source) into unstable (David William Richmond Davies-Jones) (signed by: Adam Borowski)
  • [2009-03-18] fspy 0.1.1-1 MIGRATED to testing (Debian testing watch)
  • [2009-03-07] Accepted fspy 0.1.1-1 (source amd64) (Giuseppe Iuculano) (signed by: Matthew Palmer)
  • [2009-03-07] Accepted fspy 0.1.0-1 (source amd64) (Giuseppe Iuculano) (signed by: Matthew Palmer)
bugs [bug history graph]
  • all: 0
links
  • lintian (0, 2)
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • edit tags
  • other distros
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 0.1.1-6

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing