View previous topic :: View next topic |
Author |
Message |
skeimer Tux's lil' helper
Joined: 25 Dec 2002 Posts: 99
|
Posted: Fri Jan 17, 2003 12:49 am Post subject: ebuild for PureSecure |
|
|
hi folks,
I've posted this some hours ago but while checking my post I found the bug in my ebuild script and removed the post due it hasn't been viewed more than five times.
PureSecure is a TIDS based on Apache, MySQL, Snort and Perl, you can find it at [1]
The ebuild is nearly finished, the only remaining blocker is that I cannot figure out how I can execute an action like mv /path/to/some/file /new/location or/and ln -s /path/to/another/file /path/to/link/name without violating the sandbox.
If that's fixed Gentoo will be able to offer a real professional TIDS.
[1] http://www.demarc.com/download |
|
Back to top |
|
|
kutsuya Retired Dev
Joined: 21 Oct 2002 Posts: 189
|
Posted: Fri Jan 17, 2003 12:57 am Post subject: Re: ebuild for PureSecure |
|
|
skeimer wrote: | hi folks,
I've posted this some hours ago but while checking my post I found the bug in my ebuild script and removed the post due it hasn't been viewed more than five times.
...
I cannot figure out how I can execute an action like mv /path/to/some/file /new/location or/and ln -s /path/to/another/file /path/to/link/name without violating the sandbox.
|
Hi,
I was actually working on a reply to your earlier msg...but when I went to submit it...
How about:
Code: |
mv /path/to/some/file ${D}/new/location
|
man 5 ebuild wrote: |
D = "${PORTAGE_TMPDIR}/portage/${PF}/image"
Contains the path to the temporary install directory. Every
write operation that does not involve the helper tools and func-
tions (found below) should be prefixed with ${D}. Do not modify
this variable.
|
Hope that helps,
--Kutsuya |
|
Back to top |
|
|
skeimer Tux's lil' helper
Joined: 25 Dec 2002 Posts: 99
|
Posted: Fri Jan 17, 2003 11:56 am Post subject: it worked, the ebuild is completed |
|
|
thank you for your help, it's finished now.
For those who can't wait, grab the ebuild under
[url]majestic.lugh.de/~sk/files/puresecure-1.6.ebuild[/url]
I will send this to bugzilla, hopefully it will be added to the portage tree, soon. |
|
Back to top |
|
|
skeimer Tux's lil' helper
Joined: 25 Dec 2002 Posts: 99
|
|
Back to top |
|
|
|