You are not logged in.
I am using it already. Seems like it would be pretty trivial to put together and I would do it myself if I knew how. Here is the website:
http://www.scrt.ch/en/attack/downloads/webshag
Also, on a side note (off-topic): Can any recommend to me any similar (or better) programs like this one?
Offline
The following 2 wiki articles explain how you can setup your own PKGBUILD:
Burninate!
Offline
The following 2 wiki articles explain how you can setup your own PKGBUILD:
Yeah well I guess I can try to do it myself. I am familiar with the wiki. Thanks for looking up the links I guess. I thought that was why this forum section was called: "AUR Issues, Discussion & PKGBUILD Requests" though.
Offline
In your OP it sounded like you wanted to do it yourself but needed to know how ... so you were told how.
Here's a start
# Maintainer: Include your own info here if this goes to the AUR
pkgname=webshag
pkgver=1.10
pkgrel=1
pkgdesc="Webshag is a multi-threaded, multi-platform web server audit tool."
url="http://www.scrt.ch/en/attack/downloads/webshag"
arch=('x86_64' 'i686')
#license=('?')
depends=('python2' 'wxpython' 'nmap')
optdepends=('') #include AppID for domain information module - I don't know what package provides this.
source=("http://www.scrt.ch/outils/webshag/ws110.tar.gz")
md5sums=('14c0a579e6fe72ab691e063c06d33ed3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# include installs here for other needed files/man pages that are not handled by the Makefile
}If you've already compiled it, you'll know if it needs anything more than the ./configure make make install series. See the comments for potentially needed additions. Note, in particular, the missing license. I didn't look it up, I'll leave that to you.
Last edited by Trilby (2012-05-26 15:25:57)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
In your OP it sounded like you wanted to do it yourself but needed to know how ... so you were told how.
Now that I look at it you are totally right. I did make it sound that way. I was looking at it and it looks like I am going to have to do a sed -i python|python2 deal and dump the files in the right place and all that. Also, I have nmap as an opt depend. This will probably take me a long time to figure out because after looking at some examples I am a little unsure of how the install function works and where to dump all this stuff on the system. I will try to sort out the details if I can.
@Gcool Sorry for biting your head off hahaha. Thanks for trying to help.
Edit: Also, there is no compiling needed at all. It is just a python script.
Last edited by dodo3773 (2012-05-26 16:44:44)
Offline
If no compiling is needed, then there's a fair change the build function could be left empty(but see edit2); the package function could do all the work.
The "install" command is useful, but it is really just a 'cp' that sets file permissions. Sometimes a simple cp is sufficient, or a cp + chmod, thought this is essentially what 'install' is for. Just make sure you copy the files to something under ${pkgdir}.
Check out other python PKGBUILDS for reference. I don't do much in python, so I don't have great suggestions there.
Edit: you may want to check the Editra PKGBUILD as it is a fairly simple python project with some similar dependencies.
Edit2: similar python packages, like editra, use the python2 build and python2 install tools. The former may belong in the build function if required.
Last edited by Trilby (2012-05-26 17:21:38)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline