Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild for PureSecure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
skeimer
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2002
Posts: 99

PostPosted: Fri Jan 17, 2003 12:49 am    Post subject: ebuild for PureSecure Reply with quote

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
View user's profile Send private message
kutsuya
Retired Dev
Retired Dev


Joined: 21 Oct 2002
Posts: 189

PostPosted: Fri Jan 17, 2003 12:57 am    Post subject: Re: ebuild for PureSecure Reply with quote

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
View user's profile Send private message
skeimer
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2002
Posts: 99

PostPosted: Fri Jan 17, 2003 11:56 am    Post subject: it worked, the ebuild is completed Reply with quote

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
View user's profile Send private message
skeimer
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2002
Posts: 99

PostPosted: Fri Jan 17, 2003 12:17 pm    Post subject: Mail::Sendmail is required Reply with quote

You can find the Mail::Sendmail Perl module which is required at

http://majestic.lugh.de/~sk/files/Mail-Sendmail-0.78.ebuild
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum