mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-23 23:31:00 +02:00
dradis: remove, unable to maintain a limited version of commerial software
This commit is contained in:
parent
053a326875
commit
c3559fdcd7
6 changed files with 0 additions and 127 deletions
|
|
@ -1 +0,0 @@
|
|||
DIST dradis-v2.5.2.tar.bz2 4284799 SHA256 e0dc8583aec3b4e4141affcb2a460441c7e1a3b2042b8c64463a8c20b40eddbc SHA512 a01e833811e7d3984d0cf68ff6b0e63acfafe03ca3a6d828837cd9ed6a5dcbccea88dffc34bcb48fb291fb20a6a93c55fa6bb1698a7dfd9b5c05d4ed7e82c7aa WHIRLPOOL 93a48037b04fbe1e950c5cdebdbd25fe0c5e4d4134291d2102e129171199f3bfeb59e783d6fe936a326d21d4bbf754288fdc9ca871f3c171d7c9012fca3c90aa
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A framework for effective information sharing"
|
||||
HOMEPAGE="http://dradisframework.org/"
|
||||
SRC_URI="mirror://sourceforge/$PN/$PN-v$PV.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="mysql"
|
||||
|
||||
DEPEND="dev-ruby/rake
|
||||
dev-ruby/sqlite3
|
||||
dev-ruby/rubygems
|
||||
mysql? ( dev-ruby/mysql-ruby )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-2.5"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/$PN
|
||||
doins -r server/* || die "install failed"
|
||||
dodoc readme.txt CHANGELOG
|
||||
dosbin "${FILESDIR}"/$PN
|
||||
newinitd "${FILESDIR}"/${PN}.initd $PN
|
||||
newconfd "${FILESDIR}"/${PN}.confd $PN
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Setting up sqlite database."
|
||||
cd /usr/share/$PN/
|
||||
rake db:migrate
|
||||
rake dradis:reset
|
||||
if use mysql; then
|
||||
einfo "If you want to use a MySQL database check the dradis\
|
||||
documentation: http://dradisframework.org/configure.html\#configure"
|
||||
fi
|
||||
}
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A framework for effective information sharing"
|
||||
HOMEPAGE="http://dradisframework.org/"
|
||||
SRC_URI="mirror://sourceforge/$PN/$PN-v$PV.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="mysql"
|
||||
|
||||
DEPEND="dev-ruby/rake
|
||||
dev-ruby/sqlite3
|
||||
virtual/rubygems
|
||||
mysql? ( dev-ruby/mysql-ruby )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-2.5"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/$PN
|
||||
doins -r server/* || die "install failed"
|
||||
dodoc readme.txt CHANGELOG
|
||||
dosbin "${FILESDIR}"/$PN
|
||||
newinitd "${FILESDIR}"/${PN}.initd $PN
|
||||
newconfd "${FILESDIR}"/${PN}.confd $PN
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Setting up sqlite database."
|
||||
cd /usr/share/$PN/
|
||||
rake db:migrate
|
||||
rake dradis:reset
|
||||
if use mysql; then
|
||||
einfo "If you want to use a MySQL database check the dradis\
|
||||
documentation: http://dradisframework.org/configure.html\#configure"
|
||||
fi
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
cd /usr/share/dradis
|
||||
ruby script/server $@
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
# /etc/conf.d/dradis: config file for /etc/init.d/dradis
|
||||
# Bind to specified address
|
||||
# You can set to 0.0.0.0 to accept requests anywhere
|
||||
DRADIS_ADDRESS="localhost"
|
||||
|
||||
# Port
|
||||
DRADIS_PORT=3000
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
#!/sbin/runscript
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use mysql
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting dradis"
|
||||
cd /usr/share/dradis/
|
||||
start-stop-daemon --start --quiet \
|
||||
--pidfile /usr/share/dradis/tmp/pids/server.pid \
|
||||
--exec /usr/bin/ruby /usr/share/dradis/script/server -- \
|
||||
--daemon --environment=production \
|
||||
--binding=${DRADIS_ADDRESS} --port=${DRADIS_PORT}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping dradis"
|
||||
cd /usr/share/dradis/
|
||||
start-stop-daemon --stop --quiet --pidfile /usr/share/dradis/tmp/pids/server.pid
|
||||
eend $?
|
||||
}
|
||||
Loading…
Reference in a new issue