lsof (4.99.4+dfsg-2) unstable; urgency=medium
authorAndres Salomon <dilinger@debian.org>
Wed, 19 Feb 2025 22:59:10 +0000 (22:59 +0000)
committerAndres Salomon <dilinger@debian.org>
Wed, 19 Feb 2025 22:59:10 +0000 (22:59 +0000)
  * Rename no-socket-state-test.patch to disable-tests.patch, and disable
    another test that causes FTBFS on the buildds.

[dgit import unpatched lsof 4.99.4+dfsg-2]

19 files changed:
1  2 
debian/README.Debian
debian/README.Debian-source
debian/README.source
debian/changelog
debian/control
debian/copyright
debian/liblsof-dev.install
debian/liblsof0.install
debian/lsof.docs
debian/lsof.examples
debian/lsof.install
debian/patches/disable-tests.patch
debian/patches/netcat.patch
debian/patches/series
debian/patches/tests
debian/repack.local
debian/rules
debian/source/format
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d59e7dbe3e646f4457368913460a5d5f39f29f21
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,11 @@@
++lsof for DEBIAN
++----------------------
++
++This version of the debian package no longer supports 2.0.x kernels
++It now uses the /proc filesystem and should work on any kernel 2.2.x 
++or 2.4.x
++
++To use the example scripts from /usr/share/doc/lsof/examples, run
++perl <(zcat /usr/share/doc/lsof/examples/foo.perl.gz)
++
++Norbert Tretkowski <nobse@debian.org>  Mon, 15 May 2006 17:56:08 -0500
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d6f8e39130f8e58838afc47ef244678606f85af5
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,26 @@@
++lsof (4.77.dfsg.1-1) unstable; urgency=low
++
++  * Most problematic code was removed upstream, there are only two files
++    left which need to be removed:
++    + dialects/uw/uw7/sys/fs/namenode.h
++    + dialects/uw/uw7/sys/fs/fifonode.h
++
++ -- Norbert Tretkowski <nobse@debian.org>  Wed, 10 May 2006 10:28:03 -0500
++
++lsof (4.76.dfsg.1-1) unstable; urgency=low
++
++  * Because some files in the original tarball contained files with comments
++    like "THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE", it was necessary to
++      remove those files. This did not affect any of the Debian supported
++      platforms. These files have been removed:
++      + dialects/sun/include/sys/auxv.h
++      + dialects/uw/uw21/fs/proc/prdata.h
++      + dialects/uw/uw21/sys/fs/fifonode.h
++      + dialects/uw/uw21/sys/fs/namenode.h
++      + dialects/uw/uw7/sys/fs/namenode.h
++      + dialects/uw/uw7/sys/fs/fifonode.h
++      + dialects/ou/ou8/sys/fs/namenode.h
++      + dialects/ou/ou8/sys/fs/fifonode.h
++      + dialects/ou/ou8/sys/fs/memfs_mnode.h
++
++ -- Norbert Tretkowski <nobse@debian.org>  Sun, 23 Apr 2006 21:58:35 +0200
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..be2c5b4f4034172580bd2317c3c6e3af102baa3d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,125 @@@
++The Git Repository
++==================
++
++Git allows repositories to have a number of formats and a number of ways
++of working so there is a need to document the working practice.
++What follows is largely drawn from the Debian Perl Group's git guide:
++http://pkg-perl.alioth.debian.org/git.html .
++
++The repository can be browsed at:
++http://anonscm.debian.org/gitweb/?p=collab-maint/lsof.git;a=summary
++
++The latest version of this file can be found at:
++http://anonscm.debian.org/gitweb/?p=collab-maint/lsof.git;a=blob_plain;f=debian/README.source;hb=HEAD
++
++A key point is that using a repository like this means that there is no
++need for using mentors or any other upload site.  We just use the 
++repository to communicate.
++
++Layout
++------
++The repository has three branches: "master", "upstream" and "pristine-tar".
++You always work in "master" and the other branches are maintained behind the
++scenes by the various tools. The "upstream" branch represents the contents
++of the "orig" tarball - that is after the non-DFSG source has been removed.
++The "pristine-tar" branch contains housekeeping data in a binary format.
++
++So the "upstream" branch never contains the debian directory. Also at the point
++of writing the upstream branch contains unpatched files (e.g. scripts/00README),
++but the master branch contains patched files. However when we switch to the
++modern package layout, the Debian Perl Group practice would be for the master 
++branch to also contain unpatched files with the patches in quilt format in
++debian/patches. This practice works well with dpkg-buildpackage but not from
++what I have seen with git-buildpackage. So beware.
++
++Also note that there are two parallel series of tags: one for the upstream code and
++one for the package as a whole.
++
++Requirements
++------------
++First of all you need to register an alioth account:
++https://alioth.debian.org/account/register.php .
++
++Then you need to join the collab-maint:
++https://alioth.debian.org/projects/collaba-maint/
++
++To work on this package you need the following packages:
++    git-buildpackage
++    pristine-tar
++    pbuilder (or sbuild or cowbuilder)
++
++Initial checkout
++----------------
++This command creates an "lsof" directory with all the appropriate git trimmings:
++$ gbp-clone --all --pristine-tar ssh://git.debian.org/git/collab-maint/lsof.git
++
++Upgrading to a new upstream source
++----------------------------------
++I would like to be able to say that the first step is usually:
++$ git-import-orig --uscan --pristine-tar  # DO NOT DO THIS!
++
++However we are suffering under #635920. It may be that the latest release
++has no non-DFSG material in which case we can move in that direction.
++In the meantime the sequence seems to be:
++
++$ uscan --verbose 
++$ git fetch origin upstream:upstream pristine-tar:pristine-tar
++$ git-import-orig --pristine-tar ../lsof_X_orig.tar.gz
++
++Assuming that this is a clean upgrade requiring no other changes, you 
++do the following:
++
++$ dch -vX
++[ Make sure that the debian/changelog file is okay.]
++$ dch -r        # Updates the timestamp and sets the distribution to unstable
++$ debcommit -a -r # Checks in the code and takes the git commit messages from the changelog
++$ git push 
++$ git push --tag
++
++That is as much as you can do as a non-DD.
++
++Other changes
++-------------
++It is a good idea to use the "dch" command to change the changelog. It does
++the following (at least if done right which I am not actually 100% sure about. ;-( )
++- Sets the distribution to UNRELEASED showing that the package is not yet ready.
++With the -r option it sets it "unstable". This is about communicating the 
++status of the package in a clear way.
++- It updates the timestamp.
++- It handles the situation where two people are working on different aspects of the
++package.
++
++Having made a change and described it in the changelog you do
++$ debcommit -a
++This checks the code in taking the git comment from the changelog.
++
++To push the code upto the server do
++$ git push
++
++I like this flow of debian/changelog driving the git comments. It feels natural 
++to me. However others swear by the alternative git comments driving the changelog
++which feels unnatural to me - checkout the "git-dch" command.
++
++If you need to make a change but there can be no corresponding changelog
++entry, do:
++$ git commit -a
++
++Also sometimes you need to add files:
++$ git add [file]
++
++And to check on the status of your working area:
++$ git status
++
++On a separate but related issue, it clearly is good practice to try to
++maintain a 1-1 correspondence between changes and commits. It would
++make it easier to backport a specific fix. However this is an ideal
++and noone should ever make an issue of this.
++
++Finishing off a release
++-----------------------
++Again when a release is ready for review (and after you have run 
++all the lintian and pbuilder checks) you indicate its readiness with:
++$ dch -r
++$ debcommit -a -r
++$ git push
++$ git push --tag
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d5e803d61ae555c8894358a7f5589cb8155c2e66
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,529 @@@
++lsof (4.99.4+dfsg-2) unstable; urgency=medium
++
++  * Rename no-socket-state-test.patch to disable-tests.patch, and disable
++    another test that causes FTBFS on the buildds.
++
++ -- Andres Salomon <dilinger@debian.org>  Wed, 19 Feb 2025 22:59:10 +0000
++
++lsof (4.99.4+dfsg-1) unstable; urgency=medium
++
++  * New upstream release; fixes gcc-15 build issues (closes: #1097318)
++  * d/patches/version.patch: drop, merged upstream.
++  * d/patches/netcat.patch: drop, merged upstream.
++  * Update standards-version to 4.7. No changes needed.
++  * Build-dep on netcat(-openbsd) to enable various tests.
++  * d/patches/no-socket-state-test.patch: add fix to skip test that
++    hangs indefinitely.
++
++ -- Andres Salomon <dilinger@debian.org>  Tue, 18 Feb 2025 05:45:12 +0000
++
++lsof (4.99.3+dfsg-2) unstable; urgency=low
++
++  * Add pkgconf as a build-dep (closes: #1087435).
++
++ -- Andres Salomon <dilinger@debian.org>  Thu, 14 Nov 2024 11:09:40 +0000
++
++lsof (4.99.3+dfsg-1) unstable; urgency=low
++
++  * New upstream release.
++  * Ack NMU (thanks Sebastian!), add libtirpc-dev build-dep.
++  * Fix debian/watch to switch back to generic upstream version; the
++    linux-specifc version is gone (closes: #1043481).
++  * Likewise, re-add excluded-files and resume repacking as +dfsg, as
++    the uw dialect stuff is back. And delete some other unnecessary
++    dialects that clutter up our copyright file.
++  * Upstream switched from custom Configure and hardcoded Makefiles to
++    autotools; update d/rules for that.
++  * Update d/patches:
++    - tests: replace to deal with Makefile.am instead of tests/Makefile.
++      Also delete three additional tests that fail in my chroot.
++    - version.patch: pulled from upstream to fix version test.
++    - netcat.patch: pulled from upstream to skip tests if wrong version
++      of netcat (because one of the nc tests hangs for some reason).
++      A fixed version should build-dep on netcat-openbsd.
++  * Drop d/manpages, as autoconf does the right thing.
++  * Upstream also separated core lsof functionality into a library;
++    create liblsof0 and liblsof-dev packages, with the lsof package
++    using liblsof0.
++  * Related to the lib-ification, clean up d/copyright. Update paths for
++    the new src/ and lib/ split, delete now unused licenses, and delete
++    or correct other copyright, license, and file path details.
++
++ -- Andres Salomon <dilinger@debian.org>  Wed, 13 Nov 2024 08:37:11 +0000
++
++lsof (4.95.0-1.1) unstable; urgency=medium
++
++  * Non-maintainer upload.
++  * debian/control: Add libtirpc-dev to Build-Depends (Closes: #1065283,
++    #1063461)
++
++ -- Sebastian Ramacher <sramacher@debian.org>  Sun, 10 Mar 2024 12:43:21 +0100
++
++lsof (4.95.0-1) unstable; urgency=low
++
++  * New upstream release.
++  * Fix debian/watch to pull in the linux-specific upstream version, and
++    properly mangle the new upstream version format.
++  * Drop excluded files from debian/copyright, and stop repacking as
++    +dfsg. The uw dialect stuff is gone (again, linux-specific), and
++    that stray a.out file went away.
++  * Update patches:
++    - patches/examples: drop, merged upstream (with improvements).
++    - patches/manpage: drop, merged upstream.
++    - patches/obsolete: drop, merged upstream.
++    - patches/preset-ccdate: drop, merged upstream.
++    - patches/tests: refresh.
++
++ -- Andres Salomon <dilinger@debian.org>  Thu, 28 Apr 2022 04:08:23 +0000
++
++lsof (4.94.0+dfsg-1) unstable; urgency=low
++
++  * New upstream release (closes: #1004521).
++  * Ack NMU; thanks Kentaro! (closes: #950601).
++  * Upstream now processes the manpage for us, so we can drop the call to
++    soelim and even the entire dh_installman override hook.
++  * Clean up a bunch of lintian warnings, use debhelper compat level 12,
++    and update standards version.
++  * Drop a stray a.out binary that ended up in upstream's tarball.
++  * Drop Suggests: perl. The higher dh compat now automatically compresses
++    the example perl scripts, so manually installing perl can just be
++    another step to running those scripts if desired (closes: #880553).
++  * Update patches:
++    - patches/manpage: renamed manpage from Lsof.8 to lsof.8
++    - patches/preset-ccdate: drop all the non-linux dialect patches, and
++      drop all the fancy logic; just delete LSOF_CCDATE.
++    - patches/ftbfs: drop patch; merged upstream.
++
++ -- Andres Salomon <dilinger@debian.org>  Sun, 10 Apr 2022 00:54:02 -0400
++
++lsof (4.93.2+dfsg-1.1) unstable; urgency=medium
++
++  * Non-maintainer upload.
++  * debian/rules
++    - Use soelim to fix unreadable manpage. It depends groff-base.
++      Thanks Roderich Schupp (Closes: #950601)
++
++ -- Kentaro Hayashi <kenhys@xdump.org>  Thu, 19 Nov 2020 21:35:27 +0900
++
++lsof (4.93.2+dfsg-1) unstable; urgency=low
++
++  * New upstream release.
++  * Now hosted on github with a new upstream; update new upstream urls
++    in debian/copyright, debian/watch, etc.
++  * Drop the ancient debian/repack* stuff, use uscan's repack instead.
++  * include ftbfs patch for newer glibc. Thanks Mathieu! (closes: #926716)
++  * Override manpage install in debian/rules to make manpage match command
++    name; need to fix upstream.
++
++ -- Andres Salomon <dilinger@debian.org>  Tue, 03 Sep 2019 13:52:06 +0000
++
++lsof (4.91+dfsg-1) unstable; urgency=low
++
++  * New upstream release (closes: #911818).
++    - fixes build failures with newer glibc (closes: #916160).
++    - debian/repack.local: Adjust for 4.91.
++  * Ack NMU (closes: #798315).
++  * Take over maintenance with Norbert's permission. Thanks for your
++    work, Norbert! (closes: #917937).
++  * Fix synopsis to start with lowercase letter (closes: #803973).
++
++ -- Andres Salomon <dilinger@debian.org>  Sat, 12 Jan 2019 09:23:59 +0000
++
++lsof (4.89+dfsg-0.1) unstable; urgency=low
++
++  * Non-maintainer upload.
++  [ Nicholas Bamber ]
++  * Corrected copright stanza
++  * Added patch to modernize Perl usage
++  * Dropped Perl dependency to Suggests (Closes: #694351)
++
++  [ Laurent Bigonville ]
++  * New upstream release (Closes: #764417)
++    - Refresh debian/patches/manpage
++  * debian/control: Add libselinux1-dev to the build-dependencies for linux
++    architectures (Closes: #751967)
++  * debian/repack.local: Adjust the file to be able to import version 4.89
++  * debian/control: Bump Standards-Version to 3.9.6 (no further changes)
++  * debian/control: Update the VCS URL to please lintian
++  * debian/control: Remove Nicholas Bamber from the uploaders list (Closes:
++    #739359)
++  * debian/copyright: Use BSD-4-clause has short name instead of just BSD
++  * debian/rules: Fix cross-compilation, thanks to Colin Watson for the patch
++    (Closes: #694914)
++  * debian/patches/preset-ccdate, debian/rules: Prevent recording of details
++    of the build environment to ensure build reproducibility (Closes: #762433)
++  * debian/control: Remove Raoul Gunnar Borenius from the Uploaders list per
++    his request
++
++ -- Laurent Bigonville <bigon@debian.org>  Sun, 13 Sep 2015 23:40:56 +0200
++
++lsof (4.86+dfsg-1) unstable; urgency=low
++
++  [ Nicholas Bamber ]
++  * Imported into git.debian.org and documented procedures in README.source
++
++  [ Raoul Gunnar Borenius ]
++  * New upstream release (Closes: #596393) and (Closes: #520587)
++  * packaging is now done with plain debhelper.
++  * updated debian/control (added Uploaders:, include
++    upstream homepage, bumped standards version, etc.)
++  * changed debian/copyright to latest format
++  * added debian/patches/examples to correct path to perl interpreter 
++  * added debian/patches/manpage to add missing escape signs in
++    manpage 
++  * added watch file and uscan helper files (repack.stub, repack.local)
++    in preparation for downloading and dfsg-repackaging of the newest source. 
++
++  [ Nicholas Bamber ]
++  * New upstream release (4.86) and refreshed manpage patch
++  * Added additional mirrors to watch file
++  * Marked examples patch as not requiring forwarding
++  * Removed obsolete debian/control clauses
++  * Enabled all tests apart from the NFS based test
++  * Passed '-n freebsd' to ./Configure on freebsd builds (cf. #589103)
++  * Added main comment to debian/copyright explaining modifications
++    to upstream tarball and added missing copyright stanzas
++
++ -- Nicholas Bamber <nicholas@periapt.co.uk>  Wed, 25 Apr 2012 07:11:12 +0100
++
++lsof (4.81.dfsg.1-1.1) unstable; urgency=low
++
++  * Non-maintainer upload.
++  * changed path to perl interpreter in examples (Closes: #544533) 
++
++ -- Raoul Gunnar Borenius <borenius@dfn.de>  Sun, 26 Feb 2012 00:20:17 +0100
++
++lsof (4.81.dfsg.1-1) unstable; urgency=low
++
++  * New upstream release.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Wed, 18 Feb 2009 13:38:26 +0100
++
++lsof (4.80.dfsg.1-1) experimental; urgency=low
++
++  * New upstream release.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Thu, 04 Sep 2008 17:35:52 +0200
++
++lsof (4.79~J-1) experimental; urgency=low
++
++  * New upstream prerelease with support for file offsets.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Thu, 04 Oct 2007 20:08:23 +0200
++
++lsof (4.78.dfsg.1-3) unstable; urgency=low
++
++  [ Justin Pryzby ]
++  * Fix FTBFS if built twice in a row. (closes: #424550)
++  * Fix dh_install in debian/rules to get proper permissions of the
++    lsof binary. (closes: #427683)
++  * Fix incorrect handling of nostrip build option. (closes: #437539)
++
++  [ Norbert Tretkowski ]
++  * Include upstream changelog. (closes: #377598)
++
++ -- Norbert Tretkowski <nobse@debian.org>  Sat, 08 Sep 2007 19:00:47 +0200
++
++lsof (4.78.dfsg.1-2) unstable; urgency=low
++
++  * Finally set myself as maintainer.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Mon,  7 May 2007 20:04:41 +0200
++
++lsof (4.78.dfsg.1-1) unstable; urgency=low
++
++  * New upstream release.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Sat,  5 May 2007 18:37:18 +0200
++
++lsof (4.77.dfsg.1-3) unstable; urgency=low
++
++  * Readded scripts which got lost with the upload of 4.77.dfsg.1-1.
++  * Documented the usage of example scripts. (closes: #184491)
++
++ -- Norbert Tretkowski <nobse@debian.org>  Mon, 15 May 2006 18:08:45 -0500
++
++lsof (4.77.dfsg.1-2) unstable; urgency=low
++
++  * Removed lsof-2.2 dummy package. (closes: #302732, #367269)
++  * Updated standards-version to 3.7.2.0, no changes required.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Sun, 14 May 2006 19:07:12 -0500
++
++lsof (4.77.dfsg.1-1) unstable; urgency=low
++
++  * Complete rewrite of build-sytem based on debhelper.
++  * New upstream release. (closes: #365095)
++    + No longer fails on mmaped files whose names contains spaces.
++      (closes: #323333)
++  * Documented the reason for repackaging the original upstream tarball.
++    (closes: #364348)
++
++ -- Norbert Tretkowski <nobse@debian.org>  Wed, 10 May 2006 10:29:48 -0500
++
++lsof (4.76.dfsg.1-1) unstable; urgency=low
++
++  * New upstream release.
++  * Updated standards-version to 3.6.2.0, no changes required.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Fri,  2 Sep 2005 09:09:16 +0200
++
++lsof (4.75.dfsg.1-1) unstable; urgency=low
++
++  * New upstream release.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Wed,  8 Jun 2005 19:29:42 +0200
++
++lsof (4.74.dfsg.3-2) unstable; urgency=medium
++
++  * Removed conflicts from lsof-2.2 package.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Tue, 22 Mar 2005 13:09:25 +0100
++
++lsof (4.74.dfsg.3-1) unstable; urgency=high
++
++  * Removed line in package description about supported kernels.
++    (closes: #276117)
++  * Re-added support for non-Linux ports. (closes: #300171)
++
++ -- Norbert Tretkowski <nobse@debian.org>  Fri, 18 Mar 2005 10:13:25 +0100
++
++lsof (4.74.dfsg.2-1) unstable; urgency=high
++
++  * Removed all subdirectories from dialects/ except the Linux one, by
++    request of Vic Abell <abe@purdue.edu>, lsof upstream.
++  * Changed priority of lsof-2.2 package from standard to extra.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Thu, 17 Mar 2005 11:54:36 +0100
++
++lsof (4.74.dfsg.1-1) unstable; urgency=high
++
++  * Removed non-free "unpublished proprietary code" from source tarball,
++    thanks to Peter Rockai for reporting. (closes: #299063)
++
++ -- Norbert Tretkowski <nobse@debian.org>  Mon, 14 Mar 2005 22:15:36 +0100
++
++lsof (4.74-1) unstable; urgency=low
++
++  * New upstream release.
++  * Raised version of debhelper build-dependency.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Sat, 05 Feb 2005 23:31:25 +0100
++
++lsof (4.73-1) unstable; urgency=low
++
++  * New upstream release.
++  * Added lsof-2.2 upgrade package. (closes: #108341)
++
++ -- Norbert Tretkowski <nobse@debian.org>  Sat, 27 Nov 2004 21:56:33 +0100
++
++lsof (4.72-1) unstable; urgency=low
++
++  * New upstream release.
++  * Bumped up standards-version, no changes needed.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Mon, 02 Aug 2004 23:46:33 +0200
++
++lsof (4.71-1) unstable; urgency=low
++
++  * New upstream release.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Sat, 03 Apr 2004 17:32:46 +0200
++
++lsof (4.70-1) unstable; urgency=medium
++
++  * New upstream release. (closes: #199017)
++  * Removed lsof-2.2 provides. (closes: #223908)
++  * New co-maintainer: Norbert Tretkowski <nobse@debian.org>.
++  * Added debian/watch file, thanks to Filippo Giunchedi.
++  * Bumped up standards-version, no changes needed.
++
++ -- Norbert Tretkowski <nobse@debian.org>  Sun, 22 Feb 2004 23:33:16 +0100
++
++lsof (4.64-1) unstable; urgency=low
++
++  * New upstream version (Closes: #152196)
++  * Fixed grammar in description (Closes: #145387)
++  * Moved to /usr/bin (with link to /usr/sbin) to 
++    conform with FSSTND and traceroute (Closes: #55587)
++
++ -- Jim Mintha <jmintha@debian.org>  Thu, 18 Jul 2002 01:28:50 +0200
++
++lsof (4.57-1) unstable; urgency=low
++
++  * New upstream version.
++
++ -- Jim Mintha <jmintha@debian.org>  Sun, 22 Jul 2001 03:21:07 +0200
++
++lsof (4.55-2) unstable; urgency=low
++
++  * Add Provides for lsof-2.2 (Closes: Bug#94922)
++
++ -- Jim Mintha <jmintha@debian.org>  Mon, 23 Apr 2001 01:45:03 +0200
++
++lsof (4.55-1) frozen unstable; urgency=low
++
++  * New upstream version (Closes: Bug#57203)
++  * Rename package back to just lsof (Closes: Bug#91231, Bug#87403)
++  * Fixes not showing flock type locks (Closes: Bug#67236)
++
++ -- Jim Mintha <jmintha@debian.org>  Thu, 12 Apr 2001 03:41:42 +0200
++
++lsof (4.48-1) frozen unstable; urgency=medium
++
++  * New upstream version
++  * compatible with linux 2.3.x kernels (#55242)
++  * -r doesn't hang anymore (#44573)
++  * /proc based lsof doesn't need setgid kmem
++  * fix grammer error in description (#56872)
++  
++ -- Jim Mintha <jmintha@debian.org>  Mon, 31 Jan 2000 00:43:03 +0100
++
++lsof (4.43-1) unstable; urgency=low
++
++  * New upstream version.
++  * Dynamically create the control file based on kernel version
++  * create a virtual package lsof that the different kernel version
++    will provide and conflict with.
++  * Support of 2.2 kernels (/proc based so don't need a verson for
++    each kernel
++  * This should build on glibc 2.1 systems (tested on SPARC)
++
++ -- Jim Mintha <jmintha@debian.org>  Sat, 15 May 1999 22:50:27 +0200
++
++lsof (4.37-4) stable; urgency=low
++
++  * Add control file to build for 2.0.36 kernel version
++
++ -- Jim Mintha <jmintha@debian.org>  Wed, 14 Apr 1999 01:04:09 +0200
++
++lsof (4.37-3) unstable stable frozen; urgency=high
++
++  * Patched to get rid of buffer overflow security problem (#33538)
++
++ -- Jim Mintha <jmintha@debian.org>  Thu, 18 Feb 1999 08:28:57 -0800
++
++lsof (4.37-2) unstable; urgency=low
++
++  * Binary wasn't being installed sgid kmem (#28548)
++  * .dsc file has lsof2.0.25 instead of lsof-2.0.35 (#28546)
++
++ -- Jim Mintha <jmintha@debian.org>  Mon, 26 Oct 1998 22:42:21 +0100
++
++lsof (4.37-1) unstable; urgency=low
++
++  * New upstream version.
++  * Change to use debhelper scripts
++  * Binary packages now contain kernel version number
++
++ -- Jim Mintha <jmintha@debian.org>  Wed, 14 Oct 1998 23:32:46 +0200
++
++lsof (4.28-2) frozen unstable; urgency=medium
++
++  * Change package name to include kernel version (#24327)
++  * Small patch to build with new glibc stuff.
++
++ -- Jim Mintha <jmintha@debian.org>  Thu, 16 Jul 1998 05:01:38 -0700
++
++lsof (4.28-1) unstable; urgency=low
++
++  * New upstream version.
++  * Fixed example scripts to call perl in the proper location
++
++ -- Jim Mintha <jmintha@debian.org>  Sun, 15 Mar 1998 04:42:33 -0800
++
++lsof (4.26-1) unstable; urgency=low
++
++  * New upstream version.
++  * Update docs to warn about kernel version dependencies (#17614)
++
++ -- Jim Mintha <jmintha@debian.org>  Mon, 23 Feb 1998 00:05:52 -0800
++
++lsof (4.25-1) unstable; urgency=low
++
++  * New upstream version.
++  * Patch to read /boot/System.map-`uname -r` now in upstream version.
++
++ -- Jim Mintha <jmintha@debian.org>  Thu, 12 Feb 1998 01:06:57 -0800
++
++lsof (4.23-1) unstable; urgency=low
++
++  * New upstream version.
++  * added patch by upstream maintainer to read /boot/System.map-`uname -r`
++    instead of /System.map. (#16972)
++
++ -- Jim Mintha <jmintha@debian.org>  Sun, 18 Jan 1998 18:21:14 -0800
++
++lsof (4.22-1) unstable; urgency=low
++
++  * New upstream version.
++  * build with newer version of deb-make (#15410)
++  * don't include automatically built files in the diff.
++  * New maintainer.
++
++ -- Jim Mintha <jmintha@debian.org>  Thu, 15 Jan 1998 04:20:43 -0800
++
++lsof (4.18-1) unstable; urgency=low
++
++  * New upstream version
++  * Rebuild with libc6 (#11715).
++  * Include scripts as examples.
++
++ -- Michael Meskes <meskes@debian.org>  Tue, 28 Oct 1997 12:11:06 +0100
++
++lsof (4.15-1) unstable; urgency=low
++
++  * New upstream version (#7551).
++  * Compiled with support for kernel 2.1.* (#8270).
++    this also fixes (#10160)
++  * New maintainer.
++
++ -- Michael Meskes <meskes@topsystem.de>  Fri, 29 Aug 1997 10:22:00 +0200
++
++lsof (3.65-5) frozen unstable; urgency=low
++
++  * added patch by Helmut Geyer <Helmut.Geyer@IWR.Uni-Heidelberg.De>
++    to read /boot/System.map-`uname -r` instead of /System.map.
++    This fixes bug#4888. 
++  * changed maintainer address to <dominik@debian.org>.
++
++ -- Dominik Kubla <dominik@debian.org>  Thu, 14 Nov 1996 16:08:30 +0100
++
++lsof (3.65-4) unstable; urgency=low
++
++  * manual pages are now installed in "gzip -9" format as per
++    "Debian Policy Manual", section 3.2.1
++
++  * copyright file is now installed in /usr/doc/lsof as per
++    "Debian Policy Manual", section 3.2.5
++
++  * changelog file is now installed in /usr/doc/lsof as per
++    "Debian Policy Manual", section 3.2.6
++
++  * package is now build with CFLAGS set to '-O2 -g -Wall' as per
++    "Debian Policy Manual", section 4.1
++
++ -- Dominik Kubla <dominik@debian.org>  Thu, 14 Nov 1996 16:08:30 +0100
++
++lsof (3.65-4) unstable; urgency=low
++
++  * manual pages are now installed in "gzip -9" format as per
++    "Debian Policy Manual", section 3.2.1
++
++  * copyright file is now installed in /usr/doc/lsof as per
++    "Debian Policy Manual", section 3.2.5
++
++  * changelog file is now installed in /usr/doc/lsof as per
++    "Debian Policy Manual", section 3.2.6
++
++  * package is now build with CFLAGS set to '-O2 -g -Wall' as per
++    "Debian Policy Manual", section 4.1
++
++ -- Dominik Kubla <Dominik.Kubla@Uni-Mainz.DE>  Sun, 29 Sep 1996 17:14:11 +0200
++
++lsof (3.65-3) unstable; urgency=low
++
++  * Converted to new packaing standards.
++
++ -- Dominik Kubla <Dominik.Kubla@Uni-Mainz.DE>  Fri, 20 Sep 1996 17:00:00 +0200
++
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..407502659e1be05e22da15b705d6e0f1e3b532c6
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,49 @@@
++Source: lsof
++Section: utils
++Priority: standard
++Maintainer: Andres Salomon <dilinger@debian.org>
++Build-Depends: debhelper-compat (= 12),
++  libselinux1-dev [linux-any],
++  libtirpc-dev,
++  netcat-openbsd,
++  pkgconf
++Standards-Version: 4.7.0
++Homepage: https://github.com/lsof-org/lsof
++
++Package: lsof
++Architecture: any
++Depends: liblsof0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
++Description: utility to list open files
++ Lsof is a Unix-specific diagnostic tool.  Its name stands
++ for LiSt Open Files, and it does just that.  It lists
++ information about any files that are open, by processes
++ currently running on the system.  
++ .
++ This package contains the classic lsof command line tool.
++
++Package: liblsof-dev
++Section: libdevel
++Priority: optional
++Architecture: any
++Depends: liblsof0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
++Description: utility to list open files (development files)
++ Lsof is a Unix-specific diagnostic tool.  Its name stands
++ for LiSt Open Files, and it does just that.  It lists
++ information about any files that are open, by processes
++ currently running on the system.  
++ .
++ This package contains the development files, allowing others
++ to link directly to the lsof library.
++
++Package: liblsof0
++Section: libs
++Priority: optional
++Architecture: any
++Depends: ${shlibs:Depends}, ${misc:Depends}
++Description: utility to list open files (shared library)
++ Lsof is a Unix-specific diagnostic tool.  Its name stands
++ for LiSt Open Files, and it does just that.  It lists
++ information about any files that are open, by processes
++ currently running on the system.  
++ .
++ This package contains the shared libraries used by the tool.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c35180914a86074e1da00b9aa65be12d751566c3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,119 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: lsof
++Source: https://github.com/lsof-org/lsof
++Files-Excluded: */dialects/darwin
++                lib/dialects/freebsd
++                lib/dialects/osr
++                lib/dialects/uw
++Comment: We remove everything in lib/dialects/uw because it isn't needed
++ for Debian, and also claims to be proprietary SCO code. We delete other
++ unnecessary dialects to simplify this copyright file.
++
++Files: *
++Copyright: 1994-2008, Purdue Research Foundation
++License: Purdue
++
++Files: debian/*
++Copyright: 1996, Dominik Kubla <dominik@debian.org>
++           1997, Michael Meskes <meskes@debian.org>
++           1998-2002, Jim Mintha <jmintha@debian.org>
++           2004-2009, Norbert Tretkowski <nobse@debian.org>
++           2012, Nicholas Bamber <nicholas@periapt.co.uk>
++           2012, Raoul Gunnar Borenius <borenius@dfn.de>
++           2018-2024, Andres Salomon <dilinger@debian.org>
++License: BSD-4-clause
++
++Files: INSTALL
++Copyright: 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free Software Foundation, Inc
++License: FSFAP
++
++Files: lib/rnmt.c
++Copyright: 2022, Tobias Nygren <tnn@NetBSD.org>
++License: PD
++
++Files: src/print.c [portions]
++Copyright: 1983, 1988, 1993, Regents of the University of California.
++License: BSD-4-clause
++
++Files: scripts/sort_res.pl
++Copyright: 2004, 2005, Fabian Frederick <fabian.frederick@gmx.fr>
++License: GPL-2+
++
++License: BSD-4-clause
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++    notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++    notice, this list of conditions and the following disclaimer in the
++    documentation and/or other materials provided with the distribution.
++ 3. All advertising materials mentioning features or use of this software
++    must display the following acknowledgement:
++        This product includes software developed by the University of
++        California, Berkeley and its contributors.
++ 4. Neither the name of the University nor the names of its contributors
++    may be used to endorse or promote products derived from this software
++    without specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ SUCH DAMAGE.
++
++License: FSFAP
++ Copying and distribution of this file, with or without modification,
++ are permitted in any medium without royalty provided the copyright
++ notice and this notice are preserved.  This file is offered as-is,      
++ without warranty of any kind.
++
++License: GPL-2+
++ 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; either version 2, or (at your option)
++ any later version.
++ .
++ On Debian systems, the complete text of version 2 of the GNU General
++ Public License can be found in `/usr/share/common-licenses/GPL-2'.
++
++License: PD
++ Permission to use, copy, modify, and/or distribute this software for any
++ purpose with or without fee is hereby granted.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
++ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
++ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
++ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
++ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
++ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
++
++License: Purdue
++ This software is not subject to any license of the American
++ Telephone and Telegraph Company or the Regents of the
++ University of California.
++ .
++ Permission is granted to anyone to use this software for
++ any purpose on any computer system, and to alter it and
++ redistribute it freely, subject to the following
++ restrictions:
++ .
++ 1. Neither the authors nor Purdue University are responsible
++    for any consequences of the use of this software.
++ .
++ 2. The origin of this software must not be misrepresented,
++    either by explicit claim or by omission.  Credit to the
++    authors and Purdue University must appear in documentation
++    and sources.
++ .
++ 3. Altered versions must be plainly marked as such, and must
++    not be misrepresented as being the original software.
++ .
++ 4. This notice may not be removed or altered.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ac06edfa93e6f9da1d52f2398b80ea43496dc65d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++usr/include
++usr/lib/*/liblsof.so
++usr/lib/*/liblsof.a
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..58fa002e918ac4582ac06ef64186bc1ccbaa8da8
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++usr/lib/*/liblsof.so.*
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..023e878bb071d0a79e96bcda66d8403d94bb420f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++00FAQ
++00LSOF-L
++00QUICKSTART
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..826ac77e99a80e94d6a0d51d5cb257163f5f8d89
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++scripts/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a65408f7ad114e94d1a0ba87ae557e5ccc5896ed
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++usr/bin
++usr/share/man
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..795498e39223a9fb39723ef4b6ff11d77c4e3960
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,18 @@@
++--- a/Makefile.am
+++++ b/Makefile.am
++@@ -144,7 +144,6 @@ check_PROGRAMS =
++ 
++ # Linux
++ LINUX_TESTS = lib/dialects/linux/tests/case-10-mqueue.bash \
++-     lib/dialects/linux/tests/case-10-ux-socket-state.bash \
++      lib/dialects/linux/tests/case-20-epoll.bash \
++      lib/dialects/linux/tests/case-20-eventfd-endpoint.bash \
++      lib/dialects/linux/tests/case-20-inet6-ffffffff-handling.bash \
++@@ -156,7 +155,6 @@ LINUX_TESTS = lib/dialects/linux/tests/c
++      lib/dialects/linux/tests/case-20-pidfd-pid.bash \
++      lib/dialects/linux/tests/case-20-pipe-endpoint.bash \
++      lib/dialects/linux/tests/case-20-pipe-no-close-endpoint.bash \
++-     lib/dialects/linux/tests/case-20-ux-socket-endpoint.bash \
++      lib/dialects/linux/tests/case-20-ux-socket-endpoint-unaccepted.bash
++ EXTRA_DIST += $(LINUX_TESTS) lib/dialects/linux/tests/Makefile lib/dialects/linux/tests/case-00-linux-hello.bash
++ if LINUX
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8ade10c2c5598f968ca66cb05f223e2f9b8f03a0
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,53 @@@
++From 0a13eb5656265397aaf9768aac66479977a4348e Mon Sep 17 00:00:00 2001
++From: Jiajie Chen <c@jia.je>
++Date: Sat, 14 Jan 2023 11:08:46 +0800
++Subject: [PATCH] [linux] Skip unix socket/ipv4 tests if nc does not work
++
++---
++ lib/dialects/linux/tests/case-10-ux-socket-state.bash      | 5 +++++
++ lib/dialects/linux/tests/case-20-inet-socket-endpoint.bash | 5 +++++
++ lib/dialects/linux/tests/case-20-ux-socket-endpoint.bash   | 5 +++++
++ 3 files changed, 15 insertions(+)
++
++--- a/lib/dialects/linux/tests/case-10-ux-socket-state.bash
+++++ b/lib/dialects/linux/tests/case-10-ux-socket-state.bash
++@@ -11,6 +11,11 @@ if [ -z "$(nc -h 2>&1 | grep '\-U')" ];
++     exit 77
++ fi
++ 
+++if [ -z "$(nc -h 2>&1 | grep '\-U')" ]; then
+++    echo "nc does not support unix socket" >> $report
+++    exit 2
+++fi
+++
++ ux=/tmp/$name-$$.sock
++ nc -l -U $ux > /dev/null < /dev/zero &
++ server=$!
++--- a/lib/dialects/linux/tests/case-20-inet-socket-endpoint.bash
+++++ b/lib/dialects/linux/tests/case-20-inet-socket-endpoint.bash
++@@ -6,6 +6,11 @@ if [ -z "$(nc -h 2>&1 | grep '\s\-4')" ]
++     exit 77
++ fi
++ 
+++if [ -z "$(nc -h 2>&1 | grep '\s\-4')" ]; then
+++    echo "nc does not support -4 option" >> $report
+++    exit 2
+++fi
+++
++ nc -l -4 127.0.0.1 10000 > /dev/null < /dev/zero &
++ server=$!
++ sleep 1
++--- a/lib/dialects/linux/tests/case-20-ux-socket-endpoint.bash
+++++ b/lib/dialects/linux/tests/case-20-ux-socket-endpoint.bash
++@@ -6,6 +6,11 @@ if [ -z "$(nc -h 2>&1 | grep '\-U')" ];
++     exit 77
++ fi
++ 
+++if [ -z "$(nc -h 2>&1 | grep '\-U')" ]; then
+++    echo "nc does not support unix socket" >> $report
+++    exit 2
+++fi
+++
++ ux=/tmp/$name-$$.sock
++ nc -l -U $ux > /dev/null < /dev/zero &
++ server=$!
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..3a4fcd72ecf2d9d8bc370e128989fdba4a0068a4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++tests
++disable-tests.patch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c010362e0e9d4defdfbf1b5e4c57e8abf56c4183
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,83 @@@
++Author: Nicholas Bamber <nicholas@periapt.co.uk>
++Subject: test integration
++ We always want to run the tests even if our platform is not 
++ in the database of validated platforms. And the NFS based
++ test has no chance of success in a bare Debian machine.
++Forwarded: not-needed
++Last-Update: 2012-04-18
++--- a/tests/Makefile
+++++ b/tests/Makefile
++@@ -10,7 +10,7 @@ CFLAGS=     ${DEBUG} -I. -I.. -I../include
++ 
++ HDR= LsofTest.h
++ 
++-CKTSTDB= CkTestDB
+++CKTSTDB= true
++ CONFCFL= ./config.cflags
++ CONFIG=      ./config.cc ${CONFCFL} ./config.xobj
++ LTOBJ=       LTlib.o
++@@ -19,13 +19,14 @@ LIBOBJ=   ${LTOBJ}
++ 
++ BASTST=      LTbasic
++ STDTST=      LTnlink LTsock LTszoff LTunix
++-OPTTST=      LTbigf LTdnlc LTlock LTnfs
+++OPTTST=      LTbigf LTdnlc LTlock
++ 
++-all: ${CKTSTDB} ${BASTST} ${STDTST} FRC
++-     @./${CKTSTDB}; xv=$$?; \
+++all: ${BASTST} ${STDTST} FRC
+++     @${CKTSTDB}; xv=$$?; \
++      if [ $$xv -ne 0 ]; then \
++        exit 1 ;\
++      fi
+++     @pwd
++      @rm -f config.LT*
++      @err=0; \
++      echo ""; \
++@@ -62,8 +63,8 @@ all:        ${CKTSTDB} ${BASTST} ${STDTST} FRC
++ 
++ auto:        ckDB silent FRC
++ 
++-ckDB:        ${CKTSTDB} FRC
++-     @echo "" | ./${CKTSTDB}; xv=$$?; \
+++ckDB:        FRC
+++     @echo "" | ${CKTSTDB}; xv=$$?; \
++      if [ $$xv -ne 0 ]; then \
++        exit 1 ;\
++      fi
++@@ -113,7 +114,7 @@ LTunix: LTunix.c ${CONFIG} ${LIBOBJ} ${H
++      `cat config.cc` ${CFLAGS} `cat config.cflags` LTunix.c \
++      ${LIBOBJ} `cat config.xobj` -o LTunix `cat config.ldflags`
++ 
++-opt: ${CKTSTDB} ${OPTTST} FRC
+++opt: ${OPTTST} FRC
++      @rm -f config.LT*
++      @err=0; \
++      echo ""; \
++--- a/Makefile.am
+++++ b/Makefile.am
++@@ -150,15 +150,12 @@ LINUX_TESTS = lib/dialects/linux/tests/c
++      lib/dialects/linux/tests/case-20-inet6-ffffffff-handling.bash \
++      lib/dialects/linux/tests/case-20-inet6-socket-endpoint.bash \
++      lib/dialects/linux/tests/case-20-inet-socket-endpoint.bash \
++-     lib/dialects/linux/tests/case-20-mmap.bash \
++-     lib/dialects/linux/tests/case-20-mqueue-endpoint.bash \
++      lib/dialects/linux/tests/case-20-open-flags-cx.bash \
++      lib/dialects/linux/tests/case-20-open-flags-path.bash \
++      lib/dialects/linux/tests/case-20-open-flags-tmpf.bash \
++      lib/dialects/linux/tests/case-20-pidfd-pid.bash \
++      lib/dialects/linux/tests/case-20-pipe-endpoint.bash \
++      lib/dialects/linux/tests/case-20-pipe-no-close-endpoint.bash \
++-     lib/dialects/linux/tests/case-20-pty-endpoint.bash \
++      lib/dialects/linux/tests/case-20-ux-socket-endpoint.bash \
++      lib/dialects/linux/tests/case-20-ux-socket-endpoint-unaccepted.bash
++ EXTRA_DIST += $(LINUX_TESTS) lib/dialects/linux/tests/Makefile lib/dialects/linux/tests/case-00-linux-hello.bash
++@@ -180,7 +177,7 @@ TESTS += $(LINUX_TESTS)
++ endif
++ 
++ # Testing programs
++-TESTS += tests/LTbasic tests/LTbigf tests/LTdnlc tests/LTlock tests/LTnfs tests/LTnlink tests/LTsock tests/LTszoff tests/LTunix
+++TESTS += tests/LTbasic tests/LTbigf tests/LTdnlc tests/LTlock tests/LTnlink tests/LTsock tests/LTszoff tests/LTunix
++ 
++ check_PROGRAMS += tests/LTbasic tests/LTbigf tests/LTdnlc tests/LTlock tests/LTnfs tests/LTnlink tests/LTsock tests/LTszoff tests/LTunix
++ tests_LTbasic_SOURCES = tests/LTbasic.c tests/LTlib.c
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..3ac3d3049b2a6a1ea6d2261311ff9cbf4efda6d1
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,52 @@@
++# needs to be incremented if we make changes in the source
++SUFFIX="+dfsg"
++# unpack the tar in the tar
++tar -xf lsof_4.91_src.tar
++rm lsof_4.91_src.tar
++rm lsof_4.91_src.tar.sig
++rm 00.README.FIRST_4.91
++rm README.lsof_4.91
++rm RELEASE.SUMMARY_4.91
++# remove unneeded files with non-free licenses
++rm -r lsof_4.91_src/dialects/uw
++# move files in lsof_4.91_src/ up to current dir so that
++# we do not need to state the version in debian/rules
++mv lsof_4.91_src/00CREDITS .
++mv lsof_4.91_src/00DCACHE .
++mv lsof_4.91_src/00DIALECTS .
++mv lsof_4.91_src/00DIST .
++mv lsof_4.91_src/00FAQ .
++mv lsof_4.91_src/00LSOF-L .
++mv lsof_4.91_src/00MANIFEST .
++mv lsof_4.91_src/00PORTING .
++mv lsof_4.91_src/00QUICKSTART .
++mv lsof_4.91_src/00README .
++mv lsof_4.91_src/00.README.FIRST .
++mv lsof_4.91_src/00TEST .
++mv lsof_4.91_src/00XCONFIG .
++mv lsof_4.91_src/AFSConfig .
++mv lsof_4.91_src/arg.c .
++mv lsof_4.91_src/ChangeLog .
++mv lsof_4.91_src/Configure .
++mv lsof_4.91_src/Customize .
++mv lsof_4.91_src/dialects .
++mv lsof_4.91_src/Inventory .
++mv lsof_4.91_src/lib .
++mv lsof_4.91_src/lsof.8 .
++mv lsof_4.91_src/lsof_fields.h .
++mv lsof_4.91_src/lsof.h .
++mv lsof_4.91_src/lsof.man .
++mv lsof_4.91_src/main.c .
++mv lsof_4.91_src/misc.c .
++mv lsof_4.91_src/node.c .
++mv lsof_4.91_src/print.c .
++mv lsof_4.91_src/proc.c .
++mv lsof_4.91_src/proto.h .
++mv lsof_4.91_src/regex.h .
++mv lsof_4.91_src/scripts .
++mv lsof_4.91_src/store.c .
++mv lsof_4.91_src/tests .
++mv lsof_4.91_src/usage.c .
++mv lsof_4.91_src/util.c .
++mv lsof_4.91_src/version .
++rmdir lsof_4.91_src
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d1cc24a942f806672daddcc3e6926f7c6669bdd7
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,50 @@@
++#!/usr/bin/make -f
++
++export DH_VERBOSE=1
++ifeq ($(shell uname -s),GNU/kFreeBSD)
++    PLATFORM:=freebsd
++else
++    PLATFORM:=linux
++endif
++
++# This has to be exported to make some magic below work.
++export DH_OPTIONS
++
++export DEB_BUILD_MAINT_OPTIONS=hardening=+all
++
++# this is used by ./Configure
++LSOF_CFGF := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
++export LSOF_CFGF
++LSOF_CFGL := $(shell dpkg-buildflags --get LDFLAGS)
++export LSOF_CFGL
++# prevent recording of details of the build environment to ensure build
++# reproducibility
++LSOF_CCDATE := none
++LSOF_HOST := none
++LSOF_LOGNAME := none
++LSOF_SYSINFO := none
++LSOF_USER := none
++export LSOF_CCDATE LSOF_HOST LSOF_LOGNAME LSOF_SYSINFO LSOF_USER
++
++DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
++DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
++ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
++    export LSOF_CC := $(DEB_HOST_GNU_TYPE)-gcc
++    export LSOF_CCV := $(shell $(LSOF_CC) -v 2>&1 | sed -n 's/.*version \(.*\)/\1/p')
++    export LINUX_CONF_CC := gcc
++    export LSOF_AR := $(DEB_HOST_GNU_TYPE)-ar cr
++    export LSOF_RANLIB := $(DEB_HOST_GNU_TYPE)-ranlib
++    # Autodetection will fail.
++    LSOF_CFGF += -DHAS_STRFTIME
++endif
++
++override_dh_installchangelogs:
++      dh_installchangelogs 00DIST
++
++#override_dh_auto_test:
++#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
++#     cd tests && make test && make opt && cd -
++#endif
++
++%:
++      dh $@
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f984468b92099bf5d3885d41cf3f01ca3e8c95d9
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++version=4
++opts="dversionmangle=auto, repacksuffix=+dfsg" \
++    https://github.com/lsof-org/lsof/tags  .*/v?(\d.*)@ARCHIVE_EXT@