Post Reply 
Compiling Bfilter v.1.10
Dec. 15, 2005, 02:11 PM
Post: #16
Make file
As requested make file

was recorded using gmake install from bfilter root

thanks

nick
Quote this message in a reply
Dec. 15, 2005, 02:12 PM
Post: #17
 
having trouble uploading the Make.txt filewill try again in a few minutes

thanks
Quote this message in a reply
Dec. 15, 2005, 03:24 PM
Post: #18
 
Hi Jart,

Started from scratch with the install and the gmake command worked ok, it found the ERR*.inc files this time

However it still doesnt go past the install part and i am still getting stop errors

Actual Error


Making install in daemon

/bin/sh ../../tools/mkinstalldirs /usr/local/bin

/bin/sh ../../libtool --mode=install /usr/bin/install -c bfilter /usr/local/bin/bfilter

/usr/bin/install -c bfilter /usr/local/bin/bfilter

Making install in gui

Making install in gtk

make install-am

/bin/sh ../../../tools/mkinstalldirs /usr/local/bin

Making install in win32

Making install in conf

/bin/sh ../tools/mkinstalldirs /usr/local/etc/bfilter

/usr/bin/install -c -m 644 config.default /usr/local/etc/bfilter/config.default
/usr/bin/install -c -m 644 urls /usr/local/etc/bfilter/urls

if test ! -d /usr/local/etc/bfilter/filters; then mkdir /usr/local/etc/bfilter/filters; fi

-f "//usr/local/etc/bfilter/rules"

*** Error code 1


Stop in /usr/ports/distfiles/bfilter-0.10.1/conf.

*** Error code 1


Stop in /usr/ports/distfiles/bfilter-0.10.1/conf.

*** Error code 1

Stop in /usr/ports/distfiles/bfilter-0.10.1.

Once again hope you can help

Nick
Quote this message in a reply
Dec. 15, 2005, 04:16 PM
Post: #19
 
Get the newest beta from:
http://[email protected]
Username: bfilter
Password: <empty>

I hope it works and doesn't require gmake any more.
Add Thank You Quote this message in a reply
Dec. 15, 2005, 09:46 PM
Post: #20
 
thanks jart,

i will try the new build in the morning i am just downloading the 0.10.1c tar file?

then unpacking then use the ./confiure with flags

then make install???

thanks again

nick,
Quote this message in a reply
Dec. 15, 2005, 09:53 PM
Post: #21
 
Don't forget about CPPFLAGS for the compiler to find ACE headers.
Add Thank You Quote this message in a reply
Dec. 16, 2005, 09:55 PM
Post: #22
 
Hi Jart,

Downloaded the beta today worked a treat no problems at all during the install.

Started bfilter up and its working fine i have also started to add Urls into the urls.local file which works great to, i would like to ask a few questions which i hope you will be able to answer.

1) Can you start bfilter during the freeBSD start up? - I have tried putting enable bfilter=YES into the rc.conf but it doesnt seem to work?

2) When i add urls to the urls.local file they dont work untill i restart bfilter, is there a way i can add the files and they will work without restarting or does it load the urls.local file when the bfilter program starts?

Once again i would like to thank you so much for your help so far

Nick,
Quote this message in a reply
Dec. 17, 2005, 05:39 AM
Post: #23
 
Unfortunately I am not familiar with FreeBSD startup system, so I can't make a startup script for it. Ideally, the package maintainer would do it, but the old one has resigned, so currently the package is not maintained.

As for re-reading config files without a restart, it's not yet implemented, but I always keep this possibility in mind. For example, the new --chroot option insists that configuration directory must be inside the new root. So, eventually I may implement it. The reason why it's not there yet, is that it works fine without any rules or filters defined. BTW, the GUI version can apply new configuration without a restart.
Add Thank You Quote this message in a reply
Dec. 18, 2005, 11:20 AM
Post: #24
 
Hi Jart,

Thanks so much for your help so far, you have really done well to get this sorted for me.

I think i know how to start b filter on startup however i am not to sure how to stop and restart the program after changing the Urls,

I didnt want to run a GUI on BSD as i am just new to BSD myself and wanted to keep the server fairly low maintenace.

I will have a look into it and let you know how i get on,

Just as a side item are you activly looking for someone to maintain the software for BSD??

Thanks again


Nick,
Quote this message in a reply
Dec. 18, 2005, 01:11 PM
Post: #25
 
The latest beta has the new --kill [-k] option that can be used for shutting down bfilter. It does smart things like checking if the pid file is locked, sending SIGTERM first, then SIGKILL, if pid file is still locked.

You start-up bfilter like this:
bfilter -u nobody -g nobody -p /var/run/bfilter.pid
and you shut it down like this:
bfilter -k -p /var/run/bfilter.pid

If you want to maintain the FreeBSD package, you should contact FreeBSD team about it.
Add Thank You Quote this message in a reply
Apr. 01, 2008, 07:42 AM
Post: #26
RE: Compiling Bfilter v.1.10
may be somebody knows, which options should I use to compile minimal necessary configuration of ACE library to use with bfilter? default configuration requires too much disk space.
Quote this message in a reply
Apr. 01, 2008, 02:06 PM
Post: #27
RE: Compiling Bfilter v.1.10
It looks like ACE builds with debugging symbols by default, so I would try:
Code:
./configure --disable-debug
Add Thank You Quote this message in a reply
Apr. 02, 2008, 09:10 AM
Post: #28
RE: Compiling Bfilter v.1.10
jart Wrote:It looks like ACE builds with debugging symbols by default, so I would try:
Code:
./configure --disable-debug

Thanks for help. But I've understood my general mistake: I tried to compile all stuff in /ACE_WRAPPERS including examples, etc Smile! The problem was solved by compiling sources just in /ACE_WRAPPERS/ace folder.
Quote this message in a reply
Post Reply 


Forum Jump: