Commit graph

79 commits

Author SHA1 Message Date
wiz
89e2c3ea9e clamav-milter(8) is installed even if milter plugin
is not built. Add it to PLIST unconditionally. Bump PKGREVISION.
2006-02-19 00:05:11 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
xtraeme
57e6bcb2b5 Update to 0.88:
A possible heap overflow in the UPX code has been fixed. General improvements
include better zip and mail processing, and support for a self-protection mode.
The security of the UPX, FSG and Petite modules has been improved, too.
2006-01-10 19:00:00 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
grant
67d3a05330 update clamav to 0.87.1.
changes since 0.87:

  * Bugfixes:
    - libclamav/petite.c: fix boundary checks (acab)
    - libclamav/mbox.c: scan attachments that have no filename (njh)
    - libclamav/fsg.c: fix buffer size calculation in unfsg_133
      Reported by Zero Day Initiative (ZDI-CAN-004)
    - libclamav/tnef.c: fix possible infinite loop
      Reported by iDEFENSE (IDEF1169).
    - libclamav/mspack/cabd.c: fix possible infinite loop in cabd_find
      (tk)
      Reported by iDEFENSE (IDEF1180).
    - clamd/others.c: fix compilation error on Cobalt Qube 1 (tk)
    - clamd: properly handle ReadTimeout in SESSION (tk)
      Bug reported by Kamil Kaczkowski <kamil*kamil.eisp.pl>
    - libclamav/others.c,h: Add generic bitset implementation (trog)
    - libclamav/ole2_extract.c: Make sure the property tree doesn't
      loop (trog)
      Fixes CAN-2005-3239. Installations with default settings were
      not affected by this bug.
2005-11-04 03:47:49 +00:00
rillig
78e94603af Added --with-zlib=${BUILDLINK_PREFIX.zlib} to CONFIGURE_ARGS. This
should fix PR 31898.
2005-10-23 22:32:20 +00:00
rillig
4850700f3c Added a chunk to patch-ah that fixes one of the ubiquitous
declaration-after-code occurences. Fixes PR #31576.
2005-10-13 18:09:06 +00:00
xtraeme
1fee0d8f1b Update to 0.87, closes PR pkg/31339.
This version fixes vulnerabilities in handling of UPX and FSG compressed
executables. Support for PE files, Zip and Cabinet archives has been improved
and other small bugfixes have been made. The new option "--on-outdated-execute"
allows freshclam to run a command when system reports a new engine version.
2005-09-27 14:23:41 +00:00
rillig
7a95adad42 The real user name in PKG_USERS does not need to be escaped with double
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
2005-08-23 11:48:47 +00:00
grant
3eb4635a5b bump BUILDLINK_RECOMMENDED to 0.86.2, for security issue described in
http://secunia.com/advisories/16180/
2005-07-27 01:21:49 +00:00
grant
ff44807920 update clamav to 0.86.2.
changes since 0.86.1:

  V 0.86.2
  * Fixes backported from CVS:
    - configure.in: disable support for URLs downloading with libcurl
      (--with-libcurl) by default (tk)
    - libclamav/others.c: cli_rmdirs: fix possible infinite loop (tk)
      Patch by Mark Pizzolato <clamav-devel*subscriptions.pizzolato.net>
    - libclamav/mspack: Some cab archives were not properly decompressed (tk)
      Problem reported by Diego d'Ambra <diego*clamav.net>
    - libclamav/pe.c: cli_peheader: Sync entry point calculation with
      cli_scanpe (tk)
      Problem reported by Christoph Cordes <ccordes*clamav.net>
    - configure.in: fix compilation error when curl is installed in
      a non-standard location (tk)
      Reported by Serge van den Boom <svdb*stack.nl>
    - configure.in: Add support for DragonFly (tk)
      Thanks to Joerg Sonnenberger <joerg*britannica.bec.de>
    - clamscan/clamscan.c: Verify arguments passed to --max-dir-recursion and
      --max-ratio (tk)
      Problem reported by Jo Mills <Jonathan.Mills*frequentis.com>
    - libclamav/fsg.c: Fix possible integer overflow (acab)
      Reported by Alex Wheeler.
    - libclamav/mbox.c: Fix name clash with glibc library (njh)
      Reported by Brian Bruns <bruns at 2mbit.com>
    - libclamav/others.c: Check for 0 byte allocations in cli_(m|c|re)alloc (tk)
    - libclamav/chmunpack.c: Fix possible malloc overflow (trog)
      Reported by Alex Wheeler.
    - libclamav/tnef.c: Fix possible crash if the length field is 0 or negative
      in headers (njh)
      Reported by Alex Wheeler (alexbling at gmail.com)
    - clamav-milter: Honour LogClean. Only syslog once when storing email in
      quarantine (reported by Panagiotis Christias, christias at gmail.com).
      Log database reloads to the LogFile (njh)
    - clamav-milter: Changed the default child_timeout to 5 minutes. Keep a
      copy of the trie root in privdata. Removed trylock/unlock code in
      clamfi_abort (njh)
2005-07-26 07:53:50 +00:00
tv
3fd560be8d Force use of pkgsrc libmilter, not builtin. If the builtin version is 8.12
(as with NetBSD 2, for instance), but pkgsrc sendmail 8.13 is installed,
then clamav will attempt to use the 8.13 milter API, and fail linking.
(It probably should use an autoconf symbol test instead.)

This change forces an API at least new enough to match the latest version
offered via pkgsrc; and since libmilter is a static library, it still
ends up with no runtime DEPENDS.

No PKGREVISION bump required, as milter is a non-default option.
2005-07-14 02:26:09 +00:00
grant
40429dd365 add DragonFly support.
from Joerg Sonnenberger.
2005-07-01 03:27:49 +00:00
salo
2a6e9f4aef sort. 2005-06-25 17:41:35 +00:00
salo
d86f812c9c Bump BUILDLINK_RECOMMENDED, the fix in 0.86.1 prevents a DoS vulnerability. 2005-06-25 17:39:01 +00:00
grant
bbc0371bd2 bump BUILDLINK_RECOMMENDED to 0.85, as the latest virus definitions
require this version.
2005-06-24 05:59:09 +00:00
grant
5e1ab3b34c update clamav to 0.86.1.
changes since 0.85.1:

Thu Jun 23 23:13:41 CEST 2005
-----------------------------
  V 0.86.1
    - libclamav/mspack/qtmd.c: fix possible crash (tk)
      Reported by Andrew Toller <atoller*connectfree.co.uk>
      and Stefan Kanthak <stefan.kanthak*fujitsu-siemens.com>

Sun Jun 19 21:37:07 CEST 2005
-----------------------------
  V 0.86
    - libclamav/mspack/cabd.c: fix possible infinite loop (tk)
    - libclamav/cvd.c: fix potential directory traversal in cvd unpacker (a low
      risk problem since all databases are digitally signed). Pointed out by
      Florian Weimer <fw*deneb.enyo.de> (tk)
    - libclamav/zziplib/zzip-file.c: add method id for AES encrypted archives
      (thanks to David Majorel <dm*lagoon.nc>) (tk)
    - clamscan/manager.c: better message on zip/rar unpacking error (tk)
    - libclamav/mbox.c: Fix mishandling of fast track uuencoded files (njh)
    - clamav-milter: Better error message if the white-list file can't be
      opened (njh)
    - clamav-milter: When loading a new database when not in external mode,
      keep scanning with the old one rather than hold up incoming mails while
      waiting for clamav-milter to become idle then reloading the database (njh)
    - libclamav/others.c: print warnings and errors in single call to write
      (thanks to Denis Vlasenko <vda*ilport.com.ua>) (tk)
    - clamscan/others.c: enable REG_EXTENDED in match_regex (tk)
    - libclamav/scanners.c: fix file descriptor leaks if cli_msexpand() returns
      an error in cli_scanszdd, patch by Mark Pizzolato (tk)
    - libclamav/scanners.c: fix file descriptor leak in error path (out of mem)
      in cli_scangzip(), patch by Mark Pizzolato (tk)
    - clamd/scanner.c: fix error path for a read timeout which logged messages
      indicating that both a timeout and a poll error occurred (patch by Mark
      Pizzolato <clamav-devel*subscriptions.pizzolato.net>) (tk)
    - libclamav:  Extract TNEF files even when the filename isn't known,
      problem reported by John Miller (contact*glideslopesoftware.co.uk) (njh)
2005-06-24 05:58:42 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
xtraeme
69f182641e Update to 0.85.1.
A problem where an email with more than one content-disposition type line,
one or more of which was empty, could crash libclamav has been fixed. Other
minor bugfixes have been made.
2005-05-23 22:41:26 +00:00
xtraeme
488b3fc7d0 Update to 0.85, changes:
- freshclam/manager.c: fix socket descriptor leak in --no-dns mode (patch
    by GertJan Spoelman <cav*gjs.cc>) (tk)
  - clamscan, freshclam: return with 62 (instead of 1) when logger can't be
    initialized (tk)
  - libclamav/matcher-ac.c, libclamav/matcher-bm.c: fix detection problem
    with *.ndb OLE2 signatures (problem reported by Trog) (tk)
  - fix signature offset calculation in large files (problem reported by
    Christoph) (tk)
  - clamav-milter: print segfault diagnostic, even if print_trace is not
    available (njh)
  - sigtool/sigtool.c: fix support for *.fp databases (tk)
  - clamav-milter: Better handling of log file errors. Always send 451 when
    loading a new database when --external is not set (njh)
  - libclamav/tnef.c: If a parse fails and debugging is on, the file being
    scanned is dumped to a temporary file (njh)
  - libclamav/scanners.c: do not report I/O error with encrypted zips (tk)
2005-05-18 02:39:40 +00:00
xtraeme
188e1fccbc Update to 0.84, this closes PR pkg/30130.
Changes:

-) libclamav:
    + JPEG exploit detector now also checks embedded Photoshop thumbnail images
    + archive meta-data scanner (improves malware detection within encrypted
      archives)
    + support for TNEF (winmail.dat) decoding
    + support for all tar archive formats
    + MD5 implementation replaced with a slightly faster one
    + improved database reloading with reference counter
    + database updateable false positive eliminator
    + speed improvements
    + various bugfixes

-) clamd:
    + VirusEvent now sets CLAM_VIRUSEVENT_FILENAME and CLAM_VIRUSEVENT_VIRUSNAME
      environment variables

-) clamav-milter:
    + improved database update detection when not --external

-) clamscan:
    + new options --include-dir and exclude-dir
    + new option --max-dir-recursion

-) freshclam:
    + new directive LocalIPAddress
2005-05-05 00:42:56 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
grant
c0de906ace update to 0.83.
changes since 0.82 (summarized):

  * clamd: change default value of StreamMaxPort to 2048
  * freshclam: add support for Foreground (requested by Jeremy Kitchen
	       <kitchen*scriptkitchen.com>)
  * clamav-milter:	Added --whistlist-file and --sendmail-cf options
			When in SESSION mode, not all sessions would send END

other changes are documentation and misc. bug fixes.
2005-02-14 11:20:13 +00:00
grant
d12c453113 remove unused patch. 2005-02-13 13:08:50 +00:00
grant
aa16d7bf73 update clamav to 0.82. closes PR pkg/29139, PR pkg/29319.
changes since 0.80 (summarized to include only the significant
changes. other changes are documentation updates and misc. bug fixes.
see the full ChangeLog for details).

Sat Feb  5 16:48:46 CET 2005 (tk)
---------------------------------
  * libclamav: activate RIFF code (patch by Trog)

Sat Feb  5 16:17:41 CET 2005 (tk)
---------------------------------
  * libclamav/scanners.c: do not report Suspected.Zip on standard breaking zip
			  archives created by ICEOWS (problem reported by
			  Hamacker <sirhamacker*vidy.com.br> and Dirk Mueller
			  <mueller*kde.org>)

Sat Feb  5 09:39:48 GMT 2005 (trog)
-----------------------------------
  * libclamav/special.c: support for big-endian system in RIFF code.

Fri Feb  4 10:02:08 GMT 2005 (trog)
-----------------------------------
  * libclamav/special.c: check RIFF files for MS05-002. Not yet activated.

Thu Feb  3 21:09:34 GMT 2005 (njh)
----------------------------------
  * libclamav/mbox.c:	Speed improvements in the handling of bounce messages

Wed Feb  2 08:32:46 GMT 2005 (njh)
----------------------------------
  * clamav-milter:	Call watchdog when neither SESSION nor --external is
				given

Tue Feb  1 14:47:21 GMT 2005 (njh)
----------------------------------
  * libclamav/blob.c:	Sanitise tab characters in filenames ("Heinz Martin"
				<Martin*hemag.ch>)
			Decode encapsulated messages that have for some reason
				been base64 encoded (even though they're already
				7 bit)

Tue Feb  1 08:54:46 GMT 2005 (njh)
----------------------------------
  * clamav-milter:	Delete X-Virus-Status in clamfi_eom not in
				clamfi_header. Patch by Jef Poskanzer
				<jef*acme.com>
			X-Virus-Status now says that virus that it's infected
				with. Suggestion by "Hank Beatty"
				<hbeatty*starband.net>

Mon Jan 31 11:05:20 GMT 2005 (njh)
----------------------------------
  * libclamav/mbox.c:	Empty lines should the end of the headers,
				but some base64 decoders, e.g. uudeview, are
				broken and will handle this type of entry,
				decoding the base64 content that's after the
				text that's after the header

Sun Jan 30 15:18:02 GMT 2005 (njh)
----------------------------------
  * clamav-milter:	SESSION is on now by default, to test clamd
			PACKADDR is now uses unsinged to remove warning on
				Sun's C compiler, patch by
				"Dugal James P." <jpd*louisiana.edu>
			Don't check compatibility with sendmail.cf if sendmail
				is running on a different machine

Fri Jan 28 08:51:08 GMT 2005 (njh)
----------------------------------
  * clamav-milter:	Some error messages still talked about --internal
			Scanmail not set warning is now only given if
				DisableDefaultScanOptions is set

Thu Jan 27 14:11:13 GMT 2005 (njh)
----------------------------------
  * libclamav/mbox.c:	Scan sendmail queue df* files

Thu Jan 27 10:55:35 GMT 2005 (njh)
----------------------------------
  * clamav-milter:	Don't scan emails intended for the --quarantine address,
				that stops scanning of emails generated with
				viruses if --outgoing has been set
			Downgraded scanmail not defined if --external isn't
				given from error to warning
			Added -i flag when calling sendmail, suggested by
				Michal Jaegermann <michal*harddata.com>

Thu Jan 27 01:35:35 CET 2005 (tk)
---------------------------------
  * freshclam/manager.c: add support for HTTP/1.0 ansers in IMS (--no-dns) mode
			 (patch by Sven Strickroth <sstrickroth*gym-oha.de>)

Wed Jan 26 19:27:57 CET 2005 (tk)
---------------------------------
  V 0.81

Tue Jan 25 08:12:51 GMT 2005 (njh)
----------------------------------
  * clamav-milter:	Internal mode is now the default. Removed --internal
				option, added --external.
			Don't use clamd's SESSION mode, since that causes
				problems with clamd/freshclam when freshclam
				is run. SESSION mode can be enabled from
				the source code. Most people can use SESSION
				mode safely, but it has caused problems on BSD

Mon Jan 24 13:56:19 GMT 2005 (njh)
----------------------------------
  * libclamav/message.c:	Some Exploit.IE.CrashSOS were not being caught,
			found by Carsten.Borchardt*drs-systemberatung.de

Sat Jan 22 13:45:42 GMT 2005 (njh)
----------------------------------
  * clamav-milter:	If forwarding to a quarantine user fails log as LOG_ERR
				not LOG_DEBUG
			Try to santity check that the input socket name is the
				same as the same given to sendmail
			Redirect stdout and stderr to LogFile, if that is set
			--quarantine didn't redirect to the given email address
				if --internal was used (reported by N Fung
				<nsfung*yahoo.com>)

Sun Jan 16 06:28:59 CET 2005 (tk)
---------------------------------
  * libclamav/pe.c: attempt to detect W32.Parite.B using cryptanalysis (thanks
		    to aCaB for info on detection)

Fri Jan 14 16:12:21 GMT 2005 (trog)
-----------------------------------
  * libclamav/filetypes.c: add a few more HTML filetype markers

Fri Jan 14 14:53:59 GMT 2005 (trog)
-----------------------------------
  * libclamav/htmlnorm.c: RFC2397 ("data" URL scheme) support.
  * libclamav/scanner.c: scan RFC2397 data.

Wed Jan 12 08:58:29 GMT 2005 (njh)
----------------------------------
  * clamav-milter:	Fixed DNS resolution error messages which could print
		the incorrect hostname that is not being resolved. Patch from
		Yar Tikhiy <yar*comp.chem.msu.su>

Tue Jan 11 02:27:24 CET 2005 (tk)
---------------------------------
  * libclamav/scanners.c: Fix possible crash when handling file information in
			  corrupted zip archives (problem reported by
			  Reinhard Max <max*suse.de>)

Sun Jan  9 21:24:58 GMT 2005 (njh)
----------------------------------
  * libclamav/mbox.c:	Some HTML.Phishing.Bank-41 were getting through

Sun Jan  9 11:38:39 GMT 2005 (njh)
----------------------------------
  * libclamav/mbox.c:	Add support for messages that break RFC2047

Sat Jan  8 02:53:20 CET 2005 (tk)
---------------------------------
  * libclamav/filetypes.c: Add support for mail files parsed by CMU Sieve
			   (samples provided by Stefan Kaltenbrunner
			   <stefan*kaltenbrunner.cc>)

Wed Jan  5 21:09:14 GMT 2005 (njh)
----------------------------------
  * libclamav/message.c:	Fix crash caused when looking for non-existant
			uuencoded files. This happens when the stated encoding
			method is wrong so we have to try all methods and
			including those which will fail

Mon Dec 27 05:01:54 CET 2004 (tk)
---------------------------------
  * freshclam/manager.c: use If-Modified-Since in --no-dns mode (based on code
			 by Reini Urban <rurban*x-ray.at>)

Mon Dec 27 01:09:20 CET 2004 (tk)
---------------------------------
  * libclamav/scanners.c: Add missing ArchiveBlockMax rule for recursion limit
			  (reported by HR <haavard*zyf.no-ip.org>)

Sun Dec 19 17:01:56 GMT 2004 (njh)
----------------------------------
  * clamav-milter: Correctly warn that --max_childen must be given in SESSION
		mode if LocalSocket is used and MaxThreads isn't given in
		clamd.conf. max_children is needed to know how many sessions
		to initiate to clamd(s)

Tue Dec 14 11:36:43 GMT 2004 (trog)
-----------------------------------
  * libclamav/vba_extract.c:
	- Add signature for MacOffice 2004
	- Guess endianness of unknown versions of MS Office.

Tue Dec 14 11:15:22 GMT 2004 (trog)
-----------------------------------
  * sigtool/options.c sigtool/sigtool.c: New options: --vba and --vba-hex
  * sigtool/vba.c sigtool/vba.h: New files. Code to extract VBA/Word6 macros

Tue Dec  7 23:40:30 CET 2004 (tk)
---------------------------------
  * configure: added --disable-zlib-vcheck (allows building on potentially
	       buggy zlib versions (1.2.0 & 1.2.1))

Tue Dec  7 19:25:06 GMT 2004 (njh)
----------------------------------
  * clamav-milter:	Ensure that the daily quarantine directory is created

Tue Dec  7 02:48:08 CET 2004 (tk)
---------------------------------
  * clamd: added support for file descriptor passing (patch by Richard Lyons
	   <frob-clamav*webcentral.com.au>)

Mon Dec  6 22:33:26 GMT 2004 (njh)
----------------------------------
  * clamav-milter:	Ensure the date is kept in the quarantine path

Wed Dec  1 22:29:33 GMT 2004 (njh)
----------------------------------
  * clamav-milter:	Added --internal flag (some functionality to do)
			SESSIONS: Don't hang when StreamMaxLength is hit

Wed Dec  1 13:14:33 GMT 2004 (njh)
----------------------------------
  * libclamav/mbox.c:	Decode text/plain parts marked as being encoded,
		reported by Trog

Mon Nov 29 00:23:55 CET 2004 (tk)
---------------------------------
  * clamdscan: add support for --move and --remove options

Sun Nov 28 16:30:18 GMT 2004 (njh)
----------------------------------
  * libclamav/message.c:	Allow lower case hex in quoted-printable
			messages

Sat Nov 27 14:40:55 GMT 2004 (njh)
----------------------------------
 * libclamav/mbox.c:	Honour section 7.2.6 of RFC1521

Sat Nov 27 13:18:42 GMT 2004 (njh)
----------------------------------
 * libclamav:	Assume x-uue is the same as x-uuencode
		If uudecoding fails and other possibilities have been
			registered, don't take the failure as fatal, also try
			the other decoding methods

Thu Nov 25 18:38:06 CET 2004 (tk)
---------------------------------
  * clamd: new directives StreamMinPort and StreamMaxPort (allow port range
	   specification for stream mode). Patch by Alexander Marx
	   <mad-ml*madness.at>)

Thu Nov 18 20:28:13 CET 2004 (tk)
---------------------------------
  * libclamav: add support for Mac's HQX file format (patch by Nigel)

Thu Nov 18 11:03:14 CET 2004 (tk)
---------------------------------
  * libclamav: try to detect (and mark as Suspected.Zip) zip archives with
	       modified information in local header

Fri Nov 12 09:44:23 GMT 2004 (njh)
----------------------------------
  * libclamav/mbox.c:		Draft of RFC1341 support is now on by default.
			Fragments arriving out of order are not scanned (yet).
			If you use clamav-milter to load balance clamd across
				servers you will need to ensure that the partial
				directory is on a shared directory (e.g. NFS)

Mon Nov  8 15:24:18 CET 2004 (tk)
---------------------------------
  * clamd: new directive ExitOnOOM (stop deamon when libclamav reports out of
	   memory condition)

Wed Nov  3 12:47:41 GMT 2004 (njh)
----------------------------------
  * libclamav/clamav-milter:	Save the original subject as X-Original-Subject
			when running in advisory or qurantine mode
			SESSION mode: warn when no clamd can be reached

Wed Oct 27 13:36:14 BST 2004 (njh)
----------------------------------
  * clamav-milter:	Remove X-VIRUS-STATUS on incoming messages
			Plug remote possibility of file descriptor leak
			Return EX_OSERR if fork fails, not EX_TEMPFAIL
			If clamav-milter points to more than one server, ensure
				that the version information for that server is
				added to the header
			Update version information in the watchdog. There may
				therefore be a delay between the server updating
				and this being reflected in the headers
2005-02-13 07:24:22 +00:00
wiz
f472d1ec5e Bump PKGREVISION because of curl dependency bump. 2005-01-03 15:59:12 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
salo
a1fa2125cc Do not hardcode /bin/sh. 2004-11-09 10:08:06 +00:00
xtraeme
5726a1fc14 Don't harcode default flags for freshclam, use defaults if none was
given (-c 2). Patch submitted by Koji Mori in PR pkg/27734.
2004-11-02 00:55:20 +00:00
grant
9e01f784c7 apply patch from Koji Mori in PR pkg/27337 to fix bad fprintf()
format string.
2004-10-30 12:34:51 +00:00
recht
4c50ab7e78 The name of the configuration file has changed to clamd.conf recently, so
change the rc.d script to look for that one.
Fix suggested by Mirko Thiesen in PR pkg/27618
Bump PKGREVISION
2004-10-30 12:09:12 +00:00
grant
e4b28c9211 whitespace police 2004-10-30 10:23:47 +00:00
grant
6164657302 add freshclamd rc.d script from xtraeme@. bump PKGREVISION. 2004-10-30 10:23:02 +00:00
xtraeme
777c996205 Add missing NetBSD RCSID and regen. 2004-10-30 09:50:33 +00:00
grant
73ee68a738 add dependency on www/curl via PKG_OPTIONS.clamav. reported by Timo
Schöler.

bump PKGREVISION.
2004-10-20 10:18:15 +00:00
grant
bfdbf83cf6 take over maintainership from David Ferlier, who is no longer
maintaining this package.
2004-10-20 09:12:11 +00:00
grant
81c52fa581 bump BUILDLINK_RECOMMENDED to >=0.80 since the latest virus
signatures require 0.80.
2004-10-20 06:30:24 +00:00
grant
471ed5e779 fix typo in #define used for backward compatibility. ride the 0.80
update.
2004-10-19 00:37:41 +00:00
grant
2b2fce31a2 update clamav to 0.80.
many changes since 0.75.1, most notably, the latest virus databases
need at least 0.80.

see the ChangeLog for full details.
2004-10-19 00:02:44 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
tv
29e4cdd255 Ah, I see what that REQUIRE: LOGIN was meaning to do -- in case of a
nonlocal TCP socket in the config, clamd needs full networking support.
So, rather, this should be REQUIRE: DAEMON like other generic daemons.
2004-08-03 11:57:32 +00:00
tv
832d92c8eb ...and clamd does not actually require LOGIN. 2004-08-03 11:29:57 +00:00
tv
953844416e Put clamd BEFORE: local as well, so that clamav-milter can be kicked off
from rc.local (since it doesn't have a rc.d script -- yet?).
2004-08-03 11:28:37 +00:00
jlam
de34e9ebe7 It's PKG_OPTIONS.clamav, not PKG_OPTIONS.milter. 2004-08-03 06:56:10 +00:00