Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Apr 2015 07:12:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199137] www/e2guardian: port always build with debug support. Start script missing
Message-ID:  <bug-199137-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199137

            Bug ID: 199137
           Summary: www/e2guardian: port always build with debug support.
                    Start script missing
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: sa.inbox@gmail.com
                CC: marcellocoutinho@gmail.com
             Flags: maintainer-feedback?(marcellocoutinho@gmail.com)
                CC: marcellocoutinho@gmail.com

Hello.

When I try to build e2guardian without debug option, it builds with debug
support.
Details available below:
/usr/ports/www/e2guardian# make showconfig
===> The following configuration options are available for e2guardian-3.0.4:
     APACHE=off: Enable Apache support for access denied page
     CLAMD=on: Enable ClamD AV content scanner
     CLISCAN=off: Enable support for CLI content scanners
     DEBUG=off: Build with debugging support
     DNS=off: Include DNS authetication plugin
     DOCS=on: Build and/or install documentation
     EMAIL=off: Enable e-mail reporting support
     ICAP=off: Enable ICAP AV content scanner support
     KAV=off: Enable Kaspersky AV support
     NTLM=off: Include NTLM authentication plugin
     SSL=off: SSL protocol support
     TRICKLE=on: Enable the trickle download manager
====> Options available for the radio DESCRIPTORS: you can only select none or
one of them
     1024=on: Enable default file descriptors
     2048=off: Enable 2048 file descriptors
     4096=off: Enable 4096 file descriptors
     8192=off: Enable 8192 file descriptors
===> Use 'make config' to modify these settings

Wgen I run
% /usr/local/sbin/e2guardian
Running in debug mode...
...
Also it would be nice to add startup/shutdown script to port. Script could be
like this:
---
#!/bin/sh
 # $FreeBSD:  340872 2014-01-24 00:14:07Z mat $

 # PROVIDE: e2guardian
 # REQUIRE: NETWORKING SERVERS squid clamd
 # KEYWORD: shutdown

 # Define these dansguardian_* variables in one of these files:
 #       /etc/rc.conf
 #       /etc/rc.conf.local
 #
 # DO NOT CHANGE THESE DEFAULT VALUES HERE
 #
 # e2guardian_enable="YES"
 # e2guardian_flags="<set as needed>"

 e2guardian_enable=${e2guardian_enable:-"NO"}
 e2guardian_pidfile=${e2guardian_pidfile:-"/var/run/e2guardian.pid"}

 . /etc/rc.subr

 name="e2guardian"
 rcvar=e2guardian_enable
 command="/usr/local/sbin/${name}"

 load_rc_config $name

 pidfile="${e2guardian_pidfile}"

 run_rc_command "$1"
---

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199137-13>