1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
Commit Graph

152 Commits

Author SHA1 Message Date
Renato Botelho
c1a3055b5f Execute a "make check" at post-build target, add libcheck as a dependency for it 2010-01-27 16:56:35 +00:00
Renato Botelho
8c76097b4c After some requests, change permission of clamav-milter socket to 0777 2010-01-22 11:13:09 +00:00
Renato Botelho
143dfac64e Update to 0.95.3 2009-10-29 10:46:26 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Renato Botelho
7201331c10 - Update to 0.95.2
PR:		ports/135501
Submitted by:	Alexey V.Degtyarev <alexey@renatasystems.org>
2009-06-12 11:50:56 +00:00
Renato Botelho
2d5b39dcf6 - Add reload option to startup script, it calls clamdscan --reload, a faster
way to reload clam data without need restart
- Bump PORTREVISION

PR:		ports/133868
Submitted by:	Michael Scheidell <scheidell@secnap.net>
2009-04-21 13:43:34 +00:00
Renato Botelho
8c7c9cf638 - Update to 0.95.1 and fix clamav-milter 2009-04-08 18:15:42 +00:00
Renato Botelho
d6a49fddec - Remove wrong patch added on last commit 2009-04-03 13:57:13 +00:00
Renato Botelho
4055e65cd4 - Mark clamav-milter as BROKEN since it's not working. I updated clamav-devel
to a version that have the fix and won't update it anymore until 0.95.1 is
  released
2009-04-03 13:56:35 +00:00
Renato Botelho
d253acf464 - Update to 0.95 2009-03-27 11:52:22 +00:00
Martin Matuska
c9e0963840 - Mark MAKE_JOBS_SAFE for SMP compilation
PR:		ports/132969
Approved by:	garga (maintainer, via ICQ)
2009-03-23 12:54:39 +00:00
Renato Botelho
2273a9bcea - Update to 0.94.2 2008-11-26 16:46:24 +00:00
Renato Botelho
a687baf638 - Remove libtools from depends and use its own version, without it next
versions will stop building
- Remove --disable-zlib-vcheck from CONFIGURE_ARGS to fix a warning on
  configure
2008-11-17 19:10:38 +00:00
Renato Botelho
a9c54712a8 - Update to 0.94.1
- Add --libdir to CONFIGURE_ARGS to fix libdir detection under 6.x
2008-11-03 22:48:53 +00:00
Renato Botelho
ce899b57f9 - Fix pkg-plist
- Bump PORTREVISION

Reported by:	QAT
Approved by:	portmgr (pav)
2008-09-15 20:36:53 +00:00
Renato Botelho
37c88c8e12 - Update security/clamav to 0.94 [1] and fix a remote DoS [2]
- Chase libclamav version bump on all dependant ports
- Bump necessary PORTREVISIONS
- Fix some BROKEN messages from ports that were already broken with clamav-0.93
- Mark security/klamav as BROKEN since it doesn't build with clamav-0.94

PR:		ports/127122 [1], ports/127310 [2]
Submitted by:	Gary Palmer <freebsd-gnats@in-addr.com> [1], delphij [2]
Approved by:	portmgr (pav)
2008-09-15 19:56:38 +00:00
Renato Botelho
fe6a84f89c - Change pre-install: target to pre-su-install: since user and group are
created there (via pkg-install), and it must be done as root.
- While i'm here, fix the same on clamav-devel port

PR:		ports/126701
Submitted by:	grog
2008-08-21 14:25:33 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Renato Botelho
78004c6d17 - Permit to ser owner and group to clamav milter socket [1]
- Remove @ to show some install commands, and add -v to cp
- Install clamav-milter doc
- User CHOWN and CHMOD from bsd.commands.mk

PR:		ports/126069 [1]
Submitted by:	Matthew D. Fuller <fullermd@over-yonder.net> [1]
2008-08-18 18:44:19 +00:00
Renato Botelho
162f09e1eb - Fix wrong error message in clamav-milter startup script
PR:		ports/126575
Submitted by:	Paul Toirkens <paul@sapphire.toirkens.com>
2008-08-18 14:39:59 +00:00
Renato Botelho
5db9c74f3c - Last change on clamav-milter startup script doesn't work if used with inet[6]
sockets, fixing it now.

No bump PORTREVISION needed since MILTER option is off by default

Reported by:	Gregory Shapiro <gshapiro@gshapiro.net>
Tested by:	Gregory Shapiro <gshapiro@gshapiro.net>
2008-07-14 11:21:50 +00:00
Renato Botelho
f92755b7ed - Update to 0.93.3
- Change clamav-milter startup script to wait clamav-milter socket be created
  before try to chmod it [1]

PR:		ports/124643 [1]
Submitted by:	Adrian Thearle <adrian@thearle.com.au> [1]
2008-07-07 20:37:37 +00:00
Renato Botelho
a6a0eaab90 - Fix checking of database viruses at startup script that i broke on last
commit
- Bump PORTREVISION again

Submitted by:	George L. Yermulnik <yz@iptcom.net>
Pointyhat to:	me
2008-06-17 11:20:04 +00:00
Renato Botelho
f5c9b5def5 - Fix clamd startup script to support cld containers for virus databases
- Bump PORTREVISION

Reported by:	Robert Huff <roberthuff@rcn.com>
2008-06-16 19:28:23 +00:00
Renato Botelho
102398f45a - Forgot to remove one conditional about PTHREAD_LIB on last commit 2008-06-09 23:55:20 +00:00
Renato Botelho
e4e0822bc9 - Remove < 6.1 conditional since it's no longer supported 2008-06-09 23:51:16 +00:00
Renato Botelho
1e0001cfe1 - Update to 0.93.1 2008-06-09 16:13:25 +00:00
Renato Botelho
af30d66979 - Fix default clamd socket name: clamd -> clamd.sock
- Some cosmetic changes (indentation)
- sort pkg-plist
- Add option on clamav-milter startup script to change socket permissions
  (tested on clamav-devel)
- Bump PORTREVISION
2008-05-20 18:06:34 +00:00
Renato Botelho
3de94d87f8 - Update to 0.93
This version fixes lock problem reported at ports/122534

Most important changes:
 *libclamav:
   - New logic in scan limits: provides much more efficient protection against
     DoS attacks but also results in different command line and config options
     to clamscan and clamd (see below)
   - New/improved modules: unzip, SIS, cabinet, CHM, SZDD, text normalisator,
     entity converter
   - Improved filetype detection; filetype definitions can be remotely updated
   - Support for .cld containers (which replace .inc directories)
   - Improved pattern matcher and signature formats
   - More efficient scanning of HTML files
   - Many other improvements

 * clamd:
   - NEW CONFIG FILE OPTIONS: MaxScanSize, MaxFileSize, MaxRecursion, MaxFiles
   - ** THE FOLLOWING OPTIONS ARE NO LONGER SUPPORTED **: MailMaxRecursion,
     ArchiveMaxFileSize, ArchiveMaxRecursion, ArchiveMaxFiles,
     ArchiveMaxCompressionRatio, ArchiveBlockMax

 * clamscan:
   - NEW CMDLINE OPTIONS: --max-filesize, --max-scansize
   - REMOVED OPTIONS: --block-max, --max-space, --max-ratio

 * freshclam:
   - NEW CONFIG OPTION CompressLocalDatabase
   - NEW CMDLINE SWITCH --no-warnings
   - main.inc and daily.inc directories are no longer used by ClamAV; please
     remove them manually from your database directory

PR:		ports/122770 [1] (based on)
		ports/122534 [2]
Submitted by:	Michael Scheidell <scheidell@secnap.net> [1]
		Sebastian Inacker <inacker@fmsweb.de> [2]
Security:	http://secunia.com/advisories/29000
2008-04-16 16:05:54 +00:00
Renato Botelho
6d71ccce3a - Fix a thread problem on FreeBSD 5.x forcing it to use -lpthread [1]
- Fix a problem on pkg-install, when umask is not default, it create dirs with
  wrong permissions [2]
- Bump PORTREVISION

PR:		ports/120885 [2]
Submitted by:	dmx@dmx.org.ru [2]
Noticed by:	havp pointyhat via pav
2008-02-21 13:19:50 +00:00
Renato Botelho
cf895233d5 - Update to 0.92.1 (bugfix release) [1]
- Fix distinfo, removing unrar.diff entry since this file don't exist more. [2]

PR:		ports/120547 [1], ports/120574 [2]
Submitted by:	Michael Scheidell <scheidell@secnap.net> [1], delphij [2]
2008-02-13 15:37:27 +00:00
Renato Botelho
fe390b5b52 - Add an OPTION ICONV to fix a problem that can be caused by auto detection.
No PORTREVISION bump necessary since it's off by default.
2008-01-24 17:04:37 +00:00
Renato Botelho
e74905e54b - Update security/clamav to 0.92
- Add a new OPTION (RAR) because unrar code is optional to fix a license
  issue
- Some cosmetic changes
- Chase library version bump and bump PORTREVISION of all dependant ports

Approved by:	portmgr (pav)
Security:	CVE-2007-6335, CVE-2007-6336, CVE-2007-6337
2007-12-19 23:08:38 +00:00
Ade Lovett
ccd0fca5ec Unbreak pthread-related issues on 5.x
Approved by:	portmgr
2007-11-26 17:45:55 +00:00
Renato Botelho
1c4eb6b78e - Update to 0.91.2
PR:		ports/115682
Submitted by:	Michael Scheidell <scheidell@secnap.net>
2007-08-21 16:03:49 +00:00
Renato Botelho
7453d766a3 Fix clamav-milter startup script to don't wait clamd socket when it's using tcp
socket

PR:		ports/115353 (Based on)
Submitted by:	Alexander Shikoff <minotaur@crete.org.ua>
2007-08-14 11:14:06 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Renato Botelho
3891059375 - Update to 0.91.1
PR:		ports/114643
Submitted by:	Michael Scheidell <scheidell@secnap.net>
2007-07-17 12:27:47 +00:00
Renato Botelho
c855c05c3f - Update to 0.91
- Remove CURL option because it's not needed anymore
2007-07-11 15:44:30 +00:00
Renato Botelho
517b8be9ce - Change clamav-milter rc.d script, now it just wait for clamd socket if
clamav_clamd_enable is set.

PR:		ports/111545
Submitted by:	Craig Leres <leres@ee.lbl.gov>
2007-06-05 14:22:46 +00:00
Renato Botelho
0744663c92 - Update to 0.90.3
- Remove unzoo support (clam doesn't support it anymore)

PR:		ports/113174
Submitted by:	Michael Scheidell <scheidell@secnap.net>
2007-06-01 17:09:09 +00:00
Renato Botelho
b27ec488de - Make arc, arj, lha and unzoo achives support dependency as OPTIONS enabled by
default. Clamav can run fine without these guys. PORTREVISION bump is not
  needed since final package is the same.

PR:		ports/113087
Submitted by:	baptiste.daroussin@gmail.com
2007-05-28 14:39:03 +00:00
Renato Botelho
5a4b3248d0 - Fix build with gethostbyname_r just after 601103 instead 600000
- Bump PORTREVISION

Reported by:	security <security@jim-liesl.org>
Submitted by:	Craig Butler <craig001@lerwick.hopto.org>
2007-04-16 11:18:26 +00:00
Renato Botelho
661e726925 - Update to 0.90.2
- Add a patch to increase performance of clamd in threaded systems [1]
- Change clamav-milter rc.d script to use a var to determine seconds of timeout
  to wait clamd socket be started [2]
- Add support to gethostbyname_r() on FreeBSD 6 and above [3]
- Install clamav-config.h [3]
- Fix all dependencies for klamav work fine [3]

PR:		ports/111130 [2], ports/111478 [3]
Submitted by:	Anton Yuzhaninov <citrin@rambler-co.ru> [1]
	  	Denis Eremenko <moonshade@pnhz.kz> [2]
		Anderson S. Ferreira <anderson@cnpm.embrapa.br> [3]
Obtained from:	https://wwws.clamav.net/bugzilla/show_bug.cgi?id=434 [1]
2007-04-13 17:49:09 +00:00
Renato Botelho
c264a5e4df Bump PORTREVISION for last changes
Pointy Hat to:	mbr
2007-03-16 19:16:32 +00:00
Martin Blapp
4d6596886f And unbreak support for older FreeBSDs where libthr/libpthread did not exist.
PR:	110334
2007-03-16 12:20:45 +00:00
Martin Blapp
53e5914eb9 Only use libthr for FreeBSD > 6.1 2007-03-16 12:04:04 +00:00
Renato Botelho
6dee7aadd2 - Update clamav to 0.90.1
- Use -lthr to build clamav since it has problems with libpthread
- Bump PORTREVISION of dependant ports, libclamav version was bumped
- Fix clamcour to build with clamav-0.90.x using patch sent by maintainer
2007-03-13 20:11:19 +00:00
Renato Botelho
35df6e4e45 Fix pthread lib for clamav-milter
PR:		ports/109792
Submitted by:	Eugene Grosbein <eugen@kuzbass.ru>
2007-03-05 11:32:06 +00:00
Renato Botelho
0c362b4540 Change the way to patch configure to respect ${PTHREAD_LIBS} to a better one. 2007-03-01 16:02:14 +00:00