From: Sebastian Ramacher Date: Sun, 10 Mar 2024 11:43:21 +0000 (+0100) Subject: lsof (4.95.0-1.1) unstable; urgency=medium X-Git-Tag: archive/raspbian/4.99.4+dfsg-2+rpi1~1^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4d9bbce21c62bb0758872bd7fd49d8ff71e04443;p=lsof.git lsof (4.95.0-1.1) unstable; urgency=medium * Non-maintainer upload. * debian/control: Add libtirpc-dev to Build-Depends (Closes: #1065283, #1063461) [dgit import unpatched lsof 4.95.0-1.1] --- 4d9bbce21c62bb0758872bd7fd49d8ff71e04443 diff --cc debian/README.Debian index 0000000,0000000..d59e7db new file mode 100644 --- /dev/null +++ b/debian/README.Debian @@@ -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 Mon, 15 May 2006 17:56:08 -0500 diff --cc debian/README.Debian-source index 0000000,0000000..d6f8e39 new file mode 100644 --- /dev/null +++ b/debian/README.Debian-source @@@ -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 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 Sun, 23 Apr 2006 21:58:35 +0200 diff --cc debian/README.source index 0000000,0000000..be2c5b4 new file mode 100644 --- /dev/null +++ b/debian/README.source @@@ -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 diff --cc debian/changelog index 0000000,0000000..2774b9f new file mode 100644 --- /dev/null +++ b/debian/changelog @@@ -1,0 -1,0 +1,476 @@@ ++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 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 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 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 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 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 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 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 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 Sun, 26 Feb 2012 00:20:17 +0100 ++ ++lsof (4.81.dfsg.1-1) unstable; urgency=low ++ ++ * New upstream release. ++ ++ -- Norbert Tretkowski Wed, 18 Feb 2009 13:38:26 +0100 ++ ++lsof (4.80.dfsg.1-1) experimental; urgency=low ++ ++ * New upstream release. ++ ++ -- Norbert Tretkowski 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 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 Sat, 08 Sep 2007 19:00:47 +0200 ++ ++lsof (4.78.dfsg.1-2) unstable; urgency=low ++ ++ * Finally set myself as maintainer. ++ ++ -- Norbert Tretkowski Mon, 7 May 2007 20:04:41 +0200 ++ ++lsof (4.78.dfsg.1-1) unstable; urgency=low ++ ++ * New upstream release. ++ ++ -- Norbert Tretkowski 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 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 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 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 Fri, 2 Sep 2005 09:09:16 +0200 ++ ++lsof (4.75.dfsg.1-1) unstable; urgency=low ++ ++ * New upstream release. ++ ++ -- Norbert Tretkowski 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 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 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 , lsof upstream. ++ * Changed priority of lsof-2.2 package from standard to extra. ++ ++ -- Norbert Tretkowski 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 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 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 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 Mon, 02 Aug 2004 23:46:33 +0200 ++ ++lsof (4.71-1) unstable; urgency=low ++ ++ * New upstream release. ++ ++ -- Norbert Tretkowski 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 . ++ * Added debian/watch file, thanks to Filippo Giunchedi. ++ * Bumped up standards-version, no changes needed. ++ ++ -- Norbert Tretkowski 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 Thu, 18 Jul 2002 01:28:50 +0200 ++ ++lsof (4.57-1) unstable; urgency=low ++ ++ * New upstream version. ++ ++ -- Jim Mintha 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Fri, 29 Aug 1997 10:22:00 +0200 ++ ++lsof (3.65-5) frozen unstable; urgency=low ++ ++ * added patch by Helmut Geyer ++ to read /boot/System.map-`uname -r` instead of /System.map. ++ This fixes bug#4888. ++ * changed maintainer address to . ++ ++ -- Dominik Kubla 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 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 Sun, 29 Sep 1996 17:14:11 +0200 ++ ++lsof (3.65-3) unstable; urgency=low ++ ++ * Converted to new packaing standards. ++ ++ -- Dominik Kubla Fri, 20 Sep 1996 17:00:00 +0200 ++ diff --cc debian/control index 0000000,0000000..9dd01ca new file mode 100644 --- /dev/null +++ b/debian/control @@@ -1,0 -1,0 +1,16 @@@ ++Source: lsof ++Section: utils ++Priority: standard ++Maintainer: Andres Salomon ++Build-Depends: debhelper-compat (= 12), libselinux1-dev [linux-any], libtirpc-dev ++Standards-Version: 4.6.0.1 ++Homepage: https://github.com/lsof-org/lsof ++ ++Package: lsof ++Architecture: any ++Depends: ${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. diff --cc debian/copyright index 0000000,0000000..353f786 new file mode 100644 --- /dev/null +++ b/debian/copyright @@@ -1,0 -1,0 +1,214 @@@ ++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ++Upstream-Name: lsof ++Source: https://github.com/lsof-org/lsof ++Comment: We remove everything in dialects/uw because it isn't needed ++ for Debian, and also claims to be proprietary SCO code. ++ ++Files: * ++Copyright: Purdue Research Foundation, West Lafayette, Indiana 47907 2002 - 2011 ++License: Purdue ++ ++Files: debian/* ++Copyright: ++ 1996, Dominik Kubla ++ 1997, Michael Meskes ++ 1998-2002, Jim Mintha ++ 2004-2009, Norbert Tretkowski ++ 2012, Raoul Gunnar Borenius ++ 2012, Nicholas Bamber ++ 2018-2019, Andres Salomon ++License: BSD-4-clause ++ ++Files: dialects/freebsd/include/procfs/pfsnode.h ++Copyright: 1993, Paul Kranenburg ++License: BSD-4-clause ++ ++Files: dialects/darwin/libproc/dstore.c dialects/darwin/libproc/ddev.c dialects/darwin/libproc/dsock.c dialects/darwin/libproc/dproc.c dialects/darwin/libproc/dproto.h dialects/darwin/libproc/dlsof.h dialects/darwin/libproc/dfile.c dialects/darwin/libproc/dmnt.c dialects/darwin/libproc/machine.h [portins thereof] ++Copyright: 2005-2007, Apple Computer, Inc. All rights reserved. ++License: Purdue ++ ++Files: dialects/du/ddev.c[portions] dialects/osr/include/sys/cdefs.h ++Copyright: 1983, 1993, The Regents of the University of California ++License: BSD-4-clause ++ ++Files: dialects/osr/include/netdb.h ++Copyright: 1980, 1983, 1988, Regents of the University of California. ++License: BSD-4-clause ++ ++Files: print.c[portions] ++Copyright: 1983, 1988, 1993, Regents of the University of California. ++License: BSD-4-clause ++ ++Files: scripts/sort_res.perl5 ++Copyright: 2004, 2005, Fabian Frederick ++License: GPL-2+ ++ ++Files: regex.h lib/regex.c [portions thereof] ++Copyright: 1985, 1989-2000, Free Software Foundation, Inc. ++License: LGPL-2+ ++ ++Files: lib/snpf.c ++Copyright: ++ 1998, Sendmail, Inc. All rights reserved. ++ 1997, Eric P. Allman. All rights reserved. ++ 1988, 1993, The Regents of the University of California. All rights reserved. ++License: sendmail ++ SENDMAIL LICENSE ++ . ++ The following license terms and conditions apply, unless a different ++ license is obtained from Sendmail, Inc., 1401 Park Avenue, Emeryville, CA ++ 94608, or by electronic mail at license@sendmail.com. ++ . ++ License Terms: ++ . ++ Use, Modification and Redistribution (including distribution of any ++ modified or derived work) in source and binary forms is permitted only if ++ each of the following conditions is met: ++ . ++ 1. Redistributions qualify as "freeware" or "Open Source Software" under ++ one of the following terms: ++ . ++ (a) Redistributions are made at no charge beyond the reasonable cost of ++ materials and delivery. ++ . ++ (b) Redistributions are accompanied by a copy of the Source Code or by an ++ irrevocable offer to provide a copy of the Source Code for up to three ++ years at the cost of materials and delivery. Such redistributions ++ must allow further use, modification, and redistribution of the Source ++ Code under substantially the same terms as this license. For the ++ purposes of redistribution "Source Code" means the complete source ++ code of sendmail including all modifications. ++ . ++ Other forms of redistribution are allowed only under a separate royalty- ++ free agreement permitting such redistribution subject to standard ++ commercial terms and conditions. A copy of such agreement may be ++ obtained from Sendmail, Inc. at the above address. ++ . ++ 2. Redistributions of source code must retain the copyright notices as they ++ appear in each source code file, these license terms, and the ++ disclaimer/limitation of liability set forth as paragraph 6 below. ++ . ++ 3. Redistributions in binary form must reproduce the Copyright Notice, ++ these license terms, and the disclaimer/limitation of liability set ++ forth as paragraph 6 below, in the documentation and/or other materials ++ provided with the distribution. For the purposes of binary distribution ++ the "Copyright Notice" refers to the following language: ++ "Copyright (c) 1998 Sendmail, Inc. All rights reserved." ++ . ++ 4. Neither the name of Sendmail, Inc. nor the University of California nor ++ the names of their contributors may be used to endorse or promote ++ products derived from this software without specific prior written ++ permission. The name "sendmail" is a trademark of Sendmail, Inc. ++ . ++ 5. All redistributions must comply with the conditions imposed by the ++ University of California on certain embedded code, whose copyright ++ notice and conditions for redistribution are as follows: ++ . ++ (a) Copyright (c) 1988, 1993 The Regents of the University of ++ California. All rights reserved. ++ . ++ (b) Redistribution and use in source and binary forms, with or without ++ modification, are permitted provided that the following conditions ++ are met: ++ . ++ (i) Redistributions of source code must retain the above copyright ++ notice, this list of conditions and the following disclaimer. ++ . ++ (ii) 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. ++ . ++ (iii) 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." ++ . ++ (iv) 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. ++ . ++ 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY ++ SENDMAIL, INC. 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 SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF ++ CALIFORNIA 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 DAMAGES. ++ . ++ (Version 8.6, last updated 6/24/1998) ++ ++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: 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. ++ ++License: LGPL-2+ ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU Library 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 Library General ++ Public License can be found in `/usr/share/common-licenses/LGPL-2'. ++ ++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'. diff --cc debian/docs index 0000000,0000000..023e878 new file mode 100644 --- /dev/null +++ b/debian/docs @@@ -1,0 -1,0 +1,3 @@@ ++00FAQ ++00LSOF-L ++00QUICKSTART diff --cc debian/examples index 0000000,0000000..826ac77 new file mode 100644 --- /dev/null +++ b/debian/examples @@@ -1,0 -1,0 +1,1 @@@ ++scripts/* diff --cc debian/install index 0000000,0000000..d747ca6 new file mode 100644 --- /dev/null +++ b/debian/install @@@ -1,0 -1,0 +1,1 @@@ ++lsof usr/bin diff --cc debian/manpages index 0000000,0000000..fd2dd4d new file mode 100644 --- /dev/null +++ b/debian/manpages @@@ -1,0 -1,0 +1,1 @@@ ++lsof.8 diff --cc debian/patches/series index 0000000,0000000..2b29f27 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,1 @@@ ++tests diff --cc debian/patches/tests index 0000000,0000000..bdb2c5a new file mode 100644 --- /dev/null +++ b/debian/patches/tests @@@ -1,0 -1,0 +1,56 @@@ ++Author: Nicholas Bamber ++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.. ++ ++ 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 ""; \ diff --cc debian/repack.local index 0000000,0000000..3ac3d30 new file mode 100644 --- /dev/null +++ b/debian/repack.local @@@ -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 0000000,0000000..df55bdb new file mode 100755 --- /dev/null +++ b/debian/rules @@@ -1,0 -1,0 +1,60 @@@ ++#!/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_auto_clean: ++ dh_auto_clean ++ rm -f dfile.c dlsof.h dmnt.c dnode.c dproc.c dproto.h dsock.c dstore.c machine.h Makefile ++ rm -f lib/Makefile ++ cd tests && make clean && cd - ++ rm -f tests/config.cc tests/config.cflags tests/config.ldflags tests/config.xobj ++ ++override_dh_auto_configure: ++ ./Configure -n ${PLATFORM} ++ ++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 $@ diff --cc debian/source/format index 0000000,0000000..163aaf8 new file mode 100644 --- /dev/null +++ b/debian/source/format @@@ -1,0 -1,0 +1,1 @@@ ++3.0 (quilt) diff --cc debian/watch index 0000000,0000000..c253127 new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,4 @@@ ++version=4 ++opts="dversionmangle=auto, repacksuffix=+dfsg, uversionmangle=s/.linux//" \ ++ https://github.com/lsof-org/lsof/releases \ ++ .*/lsof_(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))