You are not logged in.
when building yaourt -S gsd
i also changed gt to gt4 as a dependency in the pkbuild like i was told to do in the comments.
it does infact find gt4 like people said it would in the comments. yet it still fails...
specifically i get:
==> gsd dependencies:
- glibc (already installed)
- glib2 (already installed)
- gnutls (already installed)
- openvas-libraries (already installed)
- qt4 (already installed)
- qtwebkit (already installed)
- gcc (already installed)
- automake (already installed)
- cmake (already installed)
- doxygen (already installed)
==> Continue building gsd ? [Y/n]
==> -----------------------------
==>
==> Building and installing package
==> ERROR: Missing package() function in /tmp/yaourt-tmp-john/aur-gsd/./PKGBUILD
==> ERROR: Makepkg was unable to build gsd.
==> Restart building gsd ? [y/N]
==> ----------------------------
==> Last edited by DarkSpiritAK47 (2015-01-06 09:57:56)
Offline
The error message says it all. The PKGBUILD doesn't have a package function. Support for PKGBUILD without one has been depreciated for ages, and with pacman 4.2, has been dropped entirely (except in the case of meta packages).
Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 16GB (4x 4GB) Corsair DDR3 (@ 1333MHz) // Storage: 1x 3TB Seagate SATAII 4x 1TB Samsung SATAII, 2x 120GB Corsair SSD
Offline
hmmm i am really sleepy and will reread your post. what i gather form it, is you are saying is i cannot get it at all that way. no matter what i do. i guess my only question is now is it possible to get gsd in any other fashion but i am pretty sure the arch moderator would want me to post a whole new question regarding that (which i will do). as i have been told to do so in the past when asking a new question.
THANK YOU for your help! i sincerely appreciate your responding to my inquiry! at least now i know it is not possible to get it that way...
Last edited by DarkSpiritAK47 (2015-01-06 12:06:14)
Offline
but i am pretty sure the arch moderator would want me to post a whole new question
No, please don't. The problem, as indicated above, is that the PKGBUILD is faulty. Just fix the PKGBUILD. If you want help fixing the PKGBUILD, post it here.
EDIT: note that gsd has been flagged out of date for almost a year and has been orphaned. If you want to adopt it in the AUR we can help you get it up and running. But otherwise you'd be best not to use it at all.
Last edited by Trilby (2015-01-06 13:13:52)
Interrobang • Slider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.
Online
I took a look at the package, and it doesn't even build if the PKGBUILD is modernised. You could probably get it to build if you hacked around the problems in the code, but it should be noted that this software is not supported upstream, and doesn't even support all the features of the OpenVAS version it is built for.
The package has been orphaned on the AUR, so if you want to take a stab at getting it to work, feel free. Here is a modern PKGBUILD to get you started:
# Contributor: WorMzy Tykashi <wormzy.tykashi@gmail.com>
# Contributor: Vlatko Kosturjak <kost@linux.hr>
pkgname=gsd
pkgver=1.2.2
pkgrel=1
pkgdesc="Greenbone Security Desktop (gsd) - OpenVAS GUI frontend"
url="http://www.openvas.org/"
license=GPL
depends=('glibc' 'glib2' 'gnutls' 'openvas-libraries' 'qt4' 'qtwebkit')
makedepends=('cmake' 'doxygen')
backup=(etc/openvas/gsd_log.conf)
source=(http://wald.intevation.org/frs/download.php/1084/gsd-$pkgver.tar.gz
gsd-enum-fix.patch)
md5sums=('12fcf80fc377e2d13c715d8162489e79'
'b5069fbede143de008c1b5a10e33e29c')
arch=('i686' 'x86_64')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i "$srcdir/gsd-enum-fix.patch"
}
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var .
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 16GB (4x 4GB) Corsair DDR3 (@ 1333MHz) // Storage: 1x 3TB Seagate SATAII 4x 1TB Samsung SATAII, 2x 120GB Corsair SSD
Offline