From: Kevin B. <kev...@gm...> - 2025-03-18 07:47:04
|
On 2025/03/18 11:10, Kevin Buckley wrote: > > I have found that I can generate a tarball WITHOUT the doubled > directories if I make this change > > > $ diff --git a/Makefile.am b/Makefile.am > index f0d58d4..21565c7 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -1,6 +1,6 @@ > SUBDIRS = src > > -EXTRA_DIST = doc/ examples/ CHANGELOG.rst CONTRIBUTING.rst INSTALL.rst README.rst > +EXTRA_DIST = CHANGELOG.rst CONTRIBUTING.rst INSTALL.rst README.rst doc examples > dist_man_MANS = doc/sshguard-setup.7 doc/sshguard.8 > > if BUILD_MAN > > $ > > After which, a make dist-bzip has these files > > drwxrwxr-x 20480/20480 0 2025-03-17 16:10 sshguard-2.5.0/doc/ > -rw-rw-r-- 20480/20480 4838 2025-03-17 15:45 sshguard-2.5.0/doc/sshguard.8.rst > -rw-rw-r-- 20480/20480 10492 2025-03-17 16:10 sshguard-2.5.0/doc/sshguard-setup.7 > -rw-rw-r-- 20480/20480 673 2025-03-17 15:45 sshguard-2.5.0/doc/sshguard.dot > -rw-rw-r-- 20480/20480 5769 2025-03-17 16:10 sshguard-2.5.0/doc/sshguard.8 > -rw-rw-r-- 20480/20480 8514 2025-03-17 15:45 sshguard-2.5.0/doc/sshguard-setup.7.rst > > drwxrwxr-x 20480/20480 0 2025-03-17 15:45 sshguard-2.5.0/examples/ > -rw-rw-r-- 20480/20480 263 2025-03-17 15:45 sshguard-2.5.0/examples/whitelistfile.example > -rw-rw-r-- 20480/20480 392 2025-03-17 15:45 sshguard-2.5.0/examples/net.sshguard.plist > -rw-rw-r-- 20480/20480 2744 2025-03-17 15:45 sshguard-2.5.0/examples/sshguard.conf.sample > -rw-rw-r-- 20480/20480 348 2025-03-17 15:45 sshguard-2.5.0/examples/sshguard.service > > which I think is correct. Deployed the RPM I was able to build to a test system. It seems to be working as expected, even more so now that I'm not trying to "intrude" from a whitelisted address ! Another Kevin |