[aur-general] [Delete request] javaloic

solsTiCe d'Hiver solstice.dhiver at gmail.com
Thu Nov 4 11:40:43 CET 2010


hi
javaloic page on sourceforge seems to have been deleted.
So I assume the project is dead (?)
and the package ought to be deleted (?)
http://aur.archlinux.org/packages.php?ID=40867

The latest incarnation of LOIC is found on github

here is a PKGBUILD for anyone willing to put it on AUR
================================================================
# Contributor: solsTiCe d'Hiver <solstice.dhiver at gmail.com>
pkgname=loic-git
pkgver=20101104
pkgrel=1
pkgdesc="Low Orbit Ion Cannon - An open source network stress tool"
arch=('i686' 'x86_64')
url="http://github.com/NewEraCracker/LOIC"
license=('custom:Public Domain')
depends=('mono')
makedepends=('git' 'monodevelop')
provides=('loic')
replaces=('loic')
source=()
md5sums=()

_gitroot="https://github.com/NewEraCracker/LOIC.git"
_gitname="LOIC"

build() {
  cd "$srcdir"
  msg "Connecting to GIT server...."

  if [ -d $_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
  else
    git clone $_gitroot $_gitname
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting make..."

  rm -rf "$srcdir/$_gitname-build"
  git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
  cd "$srcdir/$_gitname-build"

  #
  # BUILD HERE
  #

  mdtool build
  mkdir -p $pkgdir/usr/{bin,lib/LOIC}
  cp LOIC.ico $pkgdir/usr/lib/LOIC
  #cp -a Resources $pkgdir/usr/lib/LOIC
  install -m755 bin/Debug/LOIC.exe $pkgdir/usr/lib/LOIC
  install -m755 bin/Debug/log4net.dll $pkgdir/usr/lib/LOIC
  install -m755 bin/Debug/IRC.dll $pkgdir/usr/lib/LOIC
  cat > $pkgdir/usr/bin/loic << EOB
#!/bin/bash
cd /usr/lib/LOIC
exec mono LOIC.exe "$@"
EOB
  chmod 755 $pkgdir/usr/bin/loic
}
================================================================
not fully tested i.e. flood attack



More information about the aur-general mailing list