===> The following configuration options are available for squidGuard-1.4_15:
DNS_BL=off: Enable DNS based blacklists
DOCS=on: Build and/or install documentation
EXAMPLES=on: Install sample blacklists
LDAP=off: LDAP protocol support
QUOTE_STRING=off: Add quoted string patch
STRIP_NTDOMAIN=off: Add options to strip NT domain and krb realm
===> Use 'make config' to modify these settings
In order to activate squidGuard you have to edit squid.conf
To the contain "url_rewrite_program /usr/local/bin/squidGuard"
and create a configuration file for squidGuard.
Sample blacklists have been installed in /usr/local/share/examples/squidGuard.
A sample configuration file has beeen installed in
/usr/local/etc/squid/squidGuard.conf.sample.
You need to edit the configuration and compile the blacklist
you choose to use with:
squidGuard -d -C all
Please bear in mind that this is just a sample configuration file
and for any real world usage you need to download or create your
own updated blacklists and create your own configuration file.
Check documentation here:
http://www.squidguard.org/Doc/
To activate the changes do a /usr/local/sbin/squid -k reconfigure
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Convert the USE_LDAP=yes to USES=ldap and adds the following features:
- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features
Reviewed by: delphij
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D38233
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
www/squidguard: Unbreak
* Host source files on my local area
* While here, re-generate patches with make makepatch
Sponsored by: Rubicon Communications, LLC (Netgate)
- Add an optional patch, off by default, that enable 2 new options:
- stripntdomain
- striprealm
- Take maintainership
Approved by: madpilot (maintainer)
Obtained from: pfSense
Sponsored by: Netgate
www/squidguard: remove optional dependency on expired www/squid33
Since there is only one squid version left, always depend on www/squid34 [1]
Differential Revision: https://reviews.freebsd.org/D2067
Submitted by: myself, madpilot [1]
Approved by: maintainer (madpilot)
- Import patch from upstream to allow squidguard to work correctly
with squid 3.4 [1]
- Put back the option to choose on which squid version to depend,
which also controls if the above patch is applied, to allow using
squid33 until it expires
- While here, take advantage of option helpers to simplify Makefile
a little
- Canonicalize patch filenames
PR: 193771 [1]
Submitted by: adrik@salesmanager.nl
Berkeley DB cleanup, remove versions 4.0 ... 4.7.
- Mk/bsd.database.mk rewrite, new default to db5.
- db6 is eligible by default only if installed on the system.
- Bump PORTREVISION of all ports that directly depend on BerkeleyDB or
where USE_BDB is found in the port's directory
- Patch a few ports such that they will pick up or work with newer
versions.
- Add UPDATING entry
- Drive-by format fix for pks
- Drop BerkeleyDB option from mail/popular for now, requires more work.
- Exp-run logs linked from the PR below.
- Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes
for new Berkeley DB, but are untested.
NOTE: please read UPDATING and the Wiki page before proceeding!
Announcement: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html
Wiki reference: https://wiki.freebsd.org/Ports/BerkeleyDBCleanup
PR: 192690
Approved by: portmgr (implicit, PORTREVISION bump on unstaged ports)
- Depend on squid33 unconditionally, this is the only squid port
which isn't being deprecated. [1]
- Depend on any BDB version in the ports tree [1]
- Make packaging as a user possible and fix plist accordingly
Reported by: marino@ [1]
Retire www/squid in a month, and deprecate 6 dependent ports too
Squid cache is only supported for one stable release. There was an
exception for squid 2.7 (www/squid) as it was supported until squid 3.x
reached feature parity which occurred with the release of Squid 3.2
Thus the maintainers of Squid have declared Squid 2.7 reached End-of-Life
on 14 August 2012. As a result, set this port to expire on 15 Sept 2014.
Seven ports dependent on www/squid have been deprecated with the same
date. Perhaps they can be switched to www/squid33 before they expire.
Approved by: portmgr (implicit, some ports not staged)
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Category W.
CR: D510
Approved by: portmgr (bapt)
net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD
databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip
databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample
(Only the first 15 lines of the commit message are shown above )
- Respect EXAMPLES option and EXAMPLESDIR.
- Install sample configuration from distribution (with a small fix applied)
- Stop compiling sample blacklists automatically during installation
- Modify pkg-message to be in line with the above changes
- Support staging
- Use option helpers
Reviewed by: bapt
- Add OPTION to choose which version of squid to depend on
- Trim Makefile headers [1]
PORTREVISION not bumped since there is no functional change or
dependency change with default options.
Requested by: Rainer Duffner <rainer@ultra-secure.de> and many others in the
past
Approved by: Dan Larsson <dl@tyfon.net> (creator) [1]
Feature safe: yes
Remove databases/db3. All users were using db3+
and have in fact been using 4.0+ since 2011-04-12 (Mk/bsd.database.mk r1.57).
Chase upgrade in dependent ports and change USE_BDB to 40+.
- Add an option to activate a vendor patch which allows using quoted
strings in the configuration file.
PR: 154656
Submitted by: Guido Falsi <mad@madpilot.net> (maintainer)
- Fix ldap support by helping the port's configure script find the ldap
libraries. [1]
- Prevent an ECHO_MSG from being displayed twice
- Bump PORTREVISION
PR: ports/151473
Submitted by: maintainer
Reported by: cyx on freebsd-ports@
Added options to choose if sample blacklists should be installed
or not and for LDAP support.
Sample blacklists are now installed in a *.sample hierarchy and
copied other to the working one only if not present. This fixes
a problem with user blacklists being removed/overwritten on port
deinstall and update.
Patched the configure to correctly detect ldap library. This was
requested by many.
Many thanks to Gianni Doe <gdoe6545@yahoo.it> who tested the patch
and reported back ldap support is working properly.
PR: ports/136628
Submitted by: Guido Falsi <mad@madpilot.net> (maintainer)
[patch] www/squidguard - improve Makefile
Redo Makefile:
- split pre-install in post-build with regarding to extracting
of blacklists.
- Make targets easier to read.
- Merge pkg-plist and pkg-plist.blacklist and use PLIST_SUB.
- Add files/pkg-message.in
PR: ports/126626
Approved by: maintainer timeout
www/squidguard does not work unless its UID/GID are modified
www/squigguard installs blacklist files to /var/db/squidGuard
and the UID:GID of the installed files is set to nobody:nogroup.
The permission for the files is 0550 or 0660. On the other
hand, www/squid specifies squid:squid as UID:GID.
As a result, squidGuard cannot handle blacklist files so
websites that should not be accessed cannot be filtered.
PR: ports/120923
Submitted by: Jiro Kita <ktj@ktjdragon.com>
Approved by: maintainer timeout
Fix install when WRKDIRPREFIX is different
PR: 88871
Submitted by: Dean Phillips <dmphilli@gmail.com>
Approved by: Dan Larsson <dl@tyfon.net> (maintainer)
- ost.eltele.no seems to have moved to teledanmark.no, reflect this in
MASTER_SITES. The distfile is fetchable from these sites although
www.squidguard.org is currently not reachable (for me) due to DNS
or domain registration problems.
- move runtime dependency from www/squid24 to www/squid
PR: 61255
Submitted by: Thomas-Martin Seck <tmseck@netcologne.de>
Approved by: maintainer
BerkeleyDB cleanup - stage 2
Update databases/db3 to 3.3.11, and fix the few ports that need sorting
after the shlib version update, and a slight API change from 3.2.x->3.3.x
The port installation fails during brand new installs, e.g not upgrades,
because of a missing file. This patch addresses this and adds an
alternative master site.
PR: 36875
Submitted by: Dan Larsson <ports@tyfon.net>