Just and idea, you could actually keep the getnessus.sh and simply add a check for if the RPM file already exists, as it seems the script itself is being entirely re-run itself, thus when its run the 2nd time you can have it check for the RPM, and only "Download source" if .RPM File isnt found... would likely be easiest most efficient way of sorting the duplicate download issue.
Search Criteria
Package Details: nessus 10.8.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/nessus.git (read-only, click to copy) |
---|---|
Package Base: | nessus |
Description: | Nessus vulnerability scanner |
Upstream URL: | https://www.tenable.com/downloads/nessus |
Keywords: | scanner security vulnerability |
Licenses: | custom |
Submitter: | r4um |
Maintainer: | noraj |
Last Packager: | noraj |
Votes: | 71 |
Popularity: | 0.003580 |
First Submitted: | 2007-03-11 15:14 (UTC) |
Last Updated: | 2024-09-12 19:58 (UTC) |
Dependencies (2)
- gnupg (gnupg-gitAUR, gnupg-largekeysAUR)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (make)
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 19 Next › Last »
NovaCygni commented on 2016-05-20 17:07 (UTC) (edited on 2016-05-20 17:08 (UTC) by NovaCygni)
MattWoelk commented on 2016-05-20 16:26 (UTC)
Do you (or anyone else who can help) know why that is, or how I can solve it?
It would be nice to remove the unnecessary download.
NovaCygni commented on 2016-05-20 16:13 (UTC) (edited on 2016-05-20 16:15 (UTC) by NovaCygni)
So you know it appears this package has gone from not downloading the Nessus RPM at all, to attempting to download it twice.
It downloads first when "Retrieving Sources" and then redownloads the Nessus RPM after entering the FakeRoot Environment.
MattWoelk commented on 2016-05-20 14:32 (UTC)
Thanks for the suggestion, redsolja. I have updated this package to 6.7.0 and put in echos like you suggested to indicate the Nessus download.
redsolja commented on 2016-05-19 13:14 (UTC)
I would suggest patching the script to inform the user that Nessus is being downloaded:
--- getnessus.sh 2016-05-19 16:00:57.410663619 +0300
+++ getnessus-mod.sh 2016-05-19 16:12:29.927298868 +0300
@@ -18,9 +18,12 @@
WGET_HSTS="--no-hsts"
#### Check for the latest availible version, and get the current changlog version
+echo -n "Getting the latest Nessus version and release... "
VERSION=$(wget $WGET_HSTS -qO - /dev/null "http://www.tenable.com/products/nessus/new-in-nessus" | grep -o "New in Nessus [0-9.0-9.0-9]*" | grep -o "[0-9.0-9.0-9]*" | head -1 | sed s/[.]/-/g)
RELEASE=$(wget $WGET_HSTS -qO - /dev/null http://www.tenable.com/products/nessus/new-in-nessus/$VERSION | grep -o "Changelog - [0-9.0-9.0-9]*" | head -1 | awk '{print $NF}')
+echo -e "$RELEASE-fc2$FEDORA"
+echo -n "Downloading... "
for FEDORA in {0..9}
do
ID=$(wget $WGET_HSTS -qO - /dev/null "https://downloads.nessus.org/nessus3dl.php?file=Nessus-$RELEASE-fc2$FEDORA.x86_64.rpm&licence_accept=yes" | grep "og:description" | cut -d= -f3 | sed -e 's/^"*//' | cut -d* -f1)
@@ -33,3 +36,4 @@
break
fi
done
+echo -e "done"
<deleted-account> commented on 2016-04-26 20:22 (UTC)
install Working !!! Tested all lab machines and all installs are working
Thanks MattWoelk
Without the package maintainers, arch wouldn't be as great as it is
MattWoelk commented on 2016-04-26 19:35 (UTC)
I have added the script now.
It works perfectly; the convenience cannot be paralleled.
Thanks to vendforce for the script.
(Apologies for the delay; it's been that kind of week.)
Please give it a test to make sure it works for you, and let me know if you have any problems.
<deleted-account> commented on 2016-04-26 18:47 (UTC)
Is there a reason you have'nt add the script ? .
I've installed arch on some lab machines and I went to install nessus on the machines and its still requires you to download the files.
While Im sure you are busy etc please just add the script , its such a pain in the arse having to download the file to install nessus ,
as I said before an aur package is pointless if you have to download the file manually the whole point of the aur is efficiency and automating the install of programs for the arch community
Or if your too busy and have other projects which is understandable and dont have the time to maintain this, please hand over the maintaining to someone thanks
Pinned Comments
noraj commented on 2022-05-30 21:23 (UTC) (edited on 2023-10-30 18:09 (UTC) by noraj)
⚠️⚠️⚠️
When the download link is dead just report as outdated, it's not an error it's just a new version is available.
⚠️⚠️⚠️