Re: [ufdbGuard] configure questions
URL filter to block unwanted content on the internet
Brought to you by:
ufdb
|
From: Marcus K. <mar...@ur...> - 2016-07-11 12:54:20
|
On 07/11/2016 09:09 AM, Marcus Kool wrote: > X-Mail-List: ufdbGuard > > > On 07/10/2016 12:38 AM, Stanford Prescott wrote: >> X-Mail-List: ufdbGuard >> >> >> I have been trying to customize the configuration of ufdbGuard. My system is Smoothwall Express and has no /etc/rc.d/init.d or /etc/sysconfig directories so I have been trying to place the configured >> files in custom directories. There are two files that will not go where I want them to, though. >> >> For /etc/rc.d/init.d/ufdb (used for ufdb start, ufdb stop, etc) to go into /var/smoothwall/mods/ufdbguard/bin but do not see any config uptions (using ./configuration -help) that allow me to do that. >> >> For /etc/sysconfig/ufdbguard I want ufdbguard to go into /var/smoothwall/mods/ufdbguard/etc/sysconfig/ but, no matter what directory I use with the --sysconfdir=DIR, when I run "make install" the >> ufdbguard file goes into /etc/sysconfig/ and not /var/smoothwall/mods/ufdbguard/etc/sysconfig/. > > I will investigate and probably will make a new release with a fix. > Marcus Each operating system has it own fixed directories to install these files. I added in 1.32-rc7 Smoothwall as an operating system and the installation scripts consider a system where the directory "/var/smoothwall" exists as a system with a "Smoothwall OS" and use the directories /var/smoothwall/mods/ufdbguard/bin and /var/smoothwall/mods/ufdbguard/etc/sysconfig to install the files. You can download ufdbGuard 1.32-rc7 at https://files.urlfilterdb.com/ufdbGuard-1.32-rc7.tar.gz Marcus >> These are the config options I am using: >> /./configure --prefix=/var/smoothwall/mods/ufdbugard --with-ufdb-user=squid --localstatedir=/var/smoothwall/mods --with-ufdb-bindir=/var/smoothwall/mods/ufdbguard/bin >> --with-ufdb-config=/var/smoothwall/mods/ufdbguard/etc --sysconfdir=///var/smoothwall/mods/ufdbguard/etc/sysconfig //--with-ufdb-logdir=/var/log/ufdbguard >> --with-ufdb-dbhome=/var/smoothwall/mods/ufdbguard/blacklists --with-ufdb-images_dir=/var/smoothwall/mods/ufdbguard/httpd/html/ui/img/ufdbguard --with-ufdb-piddir=/var/run/ >> >> These are the summary messages I get at the end of ./configure: >> >> /user: squid use --with-ufdb-user=USER to override/ >> /config file: /etc/sysconfig/ufdbguard use --with-ufdb-config=DIR to override/ >> /config dir: /var/smoothwall/mods/ufdbguard/etc use --with-ufdb-config=DIR to override/ >> /binaries dir: /var/smoothwall/mods/ufdbguard/bin use --with-ufdb-bindir=DIR to override/ >> /pid file dir: /var/run use --with-ufdb-piddir=DIR to override/ >> /man page dir: /usr/share/man use --with-ufdb-mandir=DIR to override/ >> >> / >> / >> Also, when I try changing --sysconfdir to --with-ufdb-config=/ /var/smoothwall/mods/ufdbguard/etc /like it says above to use to override /etc/sysconfig/ufdbguard it still will not change the install |