Bash Pastebin - Nopaste - Paste - easy sharing of text and codes

Posted by punkgode on Fri 25th Feb 00:04 (modification of post by view diff)
download | new post

  1. # Maintainer: marc0s <marc0s@fsfe.org>
  2. pkgname=xsser
  3. pkgver=19
  4. pkgrel=1
  5. pkgdesc="A penetration testing tool for detecting and exploiting XSS vulnerabilites."
  6. arch=('any')
  7. url="http://xsser.sourceforge.net/"
  8. license=('GPL3')
  9. groups=('network')
  10. depends=('python2' 'python-beautifulsoup' 'python-pycurl')
  11. makedepends=('subversion')
  12.  
  13. _svntrunk="https://xsser.svn.sourceforge.net/svnroot/xsser/"
  14. _svnmod="xsser"
  15.  
  16. install=
  17. changelog=
  18. source=()
  19. noextract=()
  20. md5sums=() #generate with 'makepkg -g'
  21.  
  22. build() {
  23.   cd "${srcdir}"
  24.   msg "Starting SVN checkout..."
  25.   if [ -d $_svnmod/.svn ] ; then
  26.     cd $_svnmod && svn up
  27.   else
  28.     svn export $_svntrunk --config-dir ./ $_svnmod
  29.   fi  
  30.  
  31.   msg "SVN export done or server timeout"
  32.  
  33.   msg "Copying files..."
  34.   cd $srcdir/$_svnmod
  35.   python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
  36. }
  37.  
  38.  
  39. # vim:set ts=2 sw=2 et:

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


I'm Human
Remember me



Captcha required for posting