Hallo Leute
I hab den Quellcode von Lilac übernommen, und entwickle das Teil aktiv mit einem Freund weiter.
https://sourceforge.net/projects/lilac--reloaded/
Die Installation des Tools mittels Ebuild (Tar.Gz) funktioniert. Uns wäre es aber sehr viel mehr geholfen wenn das ganze erst mal mit SVN gehen würde. Manueller Checkout funktioniert.
|
Quellcode
|
1
|
svn co http://lilac--reloaded.svn.sourceforge.net/svnroot/lilac--reloaded/trunk
|
Mit dem Ebuild leider nicht. Ich hab mir ein paar Ebuilds zum Vergleich angesehen, leider brachte mir das bis jetzt nicht den Erfolg. Hier mal das Ebuild.
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:$
EAPI=2
inherit subversion cmake-utils eutils webapp depend.php
DESCRIPTION="Web-based configuration tool written to configure Nagios"
HOMEPAGE="https://sourceforge.net/projects/lilac--reloaded/"
SRC_URI=""
ESVN_REPO_URI="http://lilac--reloaded.svn.sourceforge.net/svnroot/lilac--reloaded/trunk"
ESVN_PROJECT="lilac-reloaded"
LICENSE="GPL-2"
KEYWORDS=""
IUSE="nmap"
RDEPEND=">=virtual/mysql-5.1
>=net-analyzer/nagios-3.2
>=dev-php/PEAR-PEAR-1.9.2
dev-lang/php[curl,json,mysql,pcntl,pdo,posix,simplexml]
nmap? ( >=net-analyzer/nmap-5.51 )"
need_php_httpd
S="${WORKDIR}"/trunk
src_install() {
webapp_src_preinst
dodoc INSTALL UPGRADING
rm -f INSTALL UPGRADING
insinto "${MY_HTDOCSDIR}"
doins -r .
webapp_configfile "${MY_HTDOCSDIR}"/includes/lilac-conf.php.dist
webapp_serverowned "${MY_HTDOCSDIR}"/includes/lilac-conf.php.dist
webapp_src_install
}
|
Irgendwas passt da mit dem Pfad nicht. Als Fehlermeldung kommt dann sowas:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
>>> Emerging (1 of 1) net-analyzer/lilac-reloaded-9999 from custum1
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/net-analyzer/lilac-reloaded-9999/work
>>> Preparing source in /var/tmp/portage/net-analyzer/lilac-reloaded-9999/work ...
/var/tmp/portage/net-analyzer/lilac-reloaded-9999/temp/environment: Zeile 616: pushd: /var/tmp/portage/net-analyzer/lilac-reloaded-9999/work/trunk: Datei oder Verzeichnis nicht gefunden
/var/tmp/portage/net-analyzer/lilac-reloaded-9999/temp/environment: Zeile 648: popd: Der Verzeichnisstapel ist leer.
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-analyzer/lilac-reloaded-9999/work ...
find: "/var/tmp/portage/net-analyzer/lilac-reloaded-9999/work/trunk": Datei oder Verzeichnis nicht gefunden
find: "/var/tmp/portage/net-analyzer/lilac-reloaded-9999/work/trunk": Datei oder Verzeichnis nicht gefunden
>>> Working in BUILD_DIR: "/var/tmp/portage/net-analyzer/lilac-reloaded-9999/work/lilac-reloaded-9999_build"
* Unable to locate CMakeLists.txt under:
* "/var/tmp/portage/net-analyzer/lilac-reloaded-9999/work/trunk/CMakeLists.txt"
* Consider not inheriting the cmake eclass.
* ERROR: net-analyzer/lilac-reloaded-9999 failed (configure phase):
* FATAL: Unable to find CMakeLists.txt
*
* Call stack:
* ebuild.sh, line 56: Called src_configure
* environment, line 3614: Called cmake-utils_src_configure
* environment, line 901: Called _execute_optionaly 'src_configure'
* environment, line 362: Called enable_cmake-utils_src_configure
* environment, line 1202: Called die
* The specific snippet of code:
* die "FATAL: Unable to find CMakeLists.txt";
|
lg
boospy