Commit graph

49 commits

Author SHA1 Message Date
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
martti
97bdd322bb Activated LICENSE=... 2009-05-12 12:27:19 +00:00
martti
8b8f9427d3 Added PKG_DESTDIR_SUPPORT=user-destdir 2009-05-12 11:09:26 +00:00
martti
7830e12df3 Updated mail/clamsmtp to 1.10
- Make the XFOWARD HELO available as a environment variable in scripts.
- Send an RSET to the server after filter fails an email.
2009-03-22 11:21:04 +00:00
martti
5bd9ea7955 Updated mail/clamsmtp to 1.9
1.9 [2007-05-28]
  - Resolve any DNS name for each connection.
  - Use my real name 'Stefan Walter'
    See: http://memberwebs.com/nielsen/
2008-01-10 07:47:29 +00:00
martti
858615b6b8 - Some "pkglint -Wall" fixes
- Make this build on Solaris 10 by checking for strcasestr (patch received
  from Andri Piik in a private mail)
2008-01-09 14:10:06 +00:00
wiz
8a5b10ea93 Update HOMEPAGES and MASTER_SITES; from Sergey Svishchev. 2007-12-02 13:04:06 +00:00
martti
9fc7653761 Based on some feedback, comment out the newly added LICENSE=xxx for now.
I'll re-activate this later when the global license stuff is activated.
2007-10-30 19:31:38 +00:00
martti
ddfeca2008 Added LICENSE=modified-bsd 2007-10-30 15:25:30 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
martti
302551e042 Added clamsmtpd_maxwait (default is 600 seconds). This makes it possible
to define how long clamsmtpd should wait for clamd.

PKGREVISION++
2007-06-15 09:47:06 +00:00
martti
3e4acf536e Fix name of configuration file (pkg/36433).
PKGREVISION++
2007-06-04 12:55:48 +00:00
martti
4bad409970 Updated mail/clamsmtp to 1.8nb1
* Make sure clamd is really running before starting clamsmtpd (pkg/36292)
2007-05-30 06:07:08 +00:00
martti
b869c730a4 pkglint -Wall fix. 2007-05-22 12:28:55 +00:00
martti
f128964b02 I can adopt this as I'm using clamsmtp on several production servers. 2007-05-22 11:26:13 +00:00
xtraeme
5372a8855c I'm not maintaining these packages anymore. 2007-05-22 11:03:49 +00:00
xtraeme
e5fcf30e24 Update to 1.8:
- Fix dumb bug with 'Action' config line
  - Added support for setting the REMOTE variable when an XFORWARD
    command is seen.
2006-10-27 17:37:18 +00:00
xtraeme
5a73eb16f4 Update to 1.7:
1.7 [2006-08-10]
  - Fix crashes when connection goes down unexpectedly.
  - Add support for letting virus emails pass.
  - Better message for 'busy' [Akihiro Sagawa]
2006-08-25 06:31:00 +00:00
ghen
3f9ccf5ce6 Adjust the default clamd socket location to match the real default used by
pkgsrc/mail/clamav (/tmp/clamd).  Bump PKGREVISION.  Ok with xtraeme.
2006-04-08 21:56:55 +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
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
xtraeme
716f158de7 Update to 1.6:
- IMPORTANT: Removed support for listening on ports under < 1024
  - Support embedded NULLs in email data.
  - Fix problems with not listening properly when in daemon mode
  - Fix warnings when compiled with gcc 4.0
  - Handle empty addresses properly in logs.
  - Don't let exchange send it's strange binary data through the proxy
  - More Solaris fixes :(
  - Don't reject emails when server is overloaded or errors.
  - Don't reject emails when starting the filter command fails.
2005-12-02 08:48:37 +00:00
xtraeme
245c73aadb Use VARBASE. 2005-10-08 08:56:48 +00:00
xtraeme
da7e111892 Update to 1.5.
Changes:

  - Handle condition of server refusing data transfers more gracefully.
  - Less chatty when setting timeouts fail
  - Drop privileges after binding to port. Allows listening on ports < 1024
  - Ported to Solaris
  - Fix problem with binding to certain 'long' addresses
2005-08-08 01:52:22 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +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
xtraeme
7e54683b82 Update to 1.4.1
* Fixed bug (introduced in 1.4) when Header was not present.
2005-04-19 13:15:25 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
xtraeme
ae5152d28b Update to 1.4
Changes:

  - Documentation fixes [Sean Franklin]
  - Don't leak file descriptors when clamsmtpd can't connect to outgoing
        SMTP server [Chris Mason]
  - Now accepts special format arguments on 'Header' line [Olivier Beyssac]
2005-03-24 08:08:56 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
xtraeme
d99d8565a2 Update to 1.3.
Changes:

1.3  [2005-01-27]
  - Fixed crasher when outgoing connection couldn't be established
  - Removed erroneous chown line from clamsmtpd.sh
2005-02-01 00:39:19 +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
xtraeme
24283fb8be Update to 1.2.
Changes:

  - XCLIENT support
  - Drop XCLIENT commands coming in from clients for security.
  - Added the sample virus_action.sh script to the distribution
  - Documentation fixes [Olivier Beyssac]
2004-12-20 23:40:27 +00:00
xtraeme
1ea39ce33a Update mail/clamsmtp to 1.1.
Changes:

  - Added CLIENT and SERVER variables to VirusAction script environment.
  - Even better logging for network errors.
  - Print out clamsmtp version in debug logs
  - Allow configuration of server keep alives (NOOPs). Default to none
2004-11-01 23:08:44 +00:00
xtraeme
a291720f9b Update mail/clamsmtp to 1.0.
Changes:

  - Removed user option from startup script (use User config option)
  - Don't send lines that are too long to syslog [Ben Mesman]
  - Stable release
2004-10-25 08:08:53 +00:00
xtraeme
abc5c705e8 Update mail/clamsmtp to 0.9.6.
Changes:

  - Fixed problem when filtering the last of a list of EHLO responses
  - Send NOOPs to the server when receiving data slowly from client
    to prevent timeouts on the server side.
  - Made the log line always keep the status, rather than dropping of
    the end in the case of many recipeints.
2004-10-19 12:10:24 +00:00
xtraeme
484422ead4 Update mail/clamsmtp to 0.9.5:
0.9.5
  - Fixed problems with the select zeroing out timeouts.
  - Added support for setting the PidFile from the config file

0.9
  - Don't quit when too many threads created
  - Restructured smtp passthru system so it can be used by other apps
  - Better IO and SMTP parsing
  - Changed default header to be similar to Amavis
  - Compiles and runs on systems without error checking mutexes
  - Ability to drop privileges and run as a different user [Rubio Vaughan]
  - Fixed config file bugs
  - Virus Actions. Run a script every time a virus is found.
  - By default don't use ClamAV sessions. This fixes several stability
    problems that were being experienced with clamd.
2004-10-08 05:39:22 +00:00
xtraeme
8d18b6b1d4 Update mail/clamsmtp to 0.8.
Changes:

0.8
  - clamsmtpd now uses a configuration file
  - Transparent proxy support [Andreas Steinmetz]
  - Compile option -Wall only enabled on debug builds
  - Sample script changed due to configuartion file
  - Fixed other minor bugs
2004-09-21 10:16:05 +00:00
xtraeme
1de52c5fda Update mail/clamsmtp to 0.7.
Changes:

  - Added support for ESMTP [Andreas Steinmetz]
  - Fixed crash when too many connections established
  - Announce ourselves as 'clamsmtp' in EHLO/HELO responses which fixes 'loopback'
    problems with certain versions of Postfix 1.x
  - Better IO performance under heavy load
  - Fixed most warnings when compiled with -Wall
  - Fixed other minor bugs
2004-08-30 06:52:29 +00:00
xtraeme
0226b083ee Update mail/clamsmtp to 0.6.
Changes:

  - Proper adding of customized header [Berk D. Bemir]
  - Fixes to documentation [Jasper Slits]
2004-08-27 05:28:13 +00:00
xtraeme
40d18b66cc Update mail/clamsmtp to 0.5.
Changes:

  - Announce ourselves as 'clamsmtp' in banner to prevent loop warnings
  - Fixed endless loop that occurred on failure to connect out
  - Added option for leaving all files in temp directory (debugging purposes)
  - Prints version number when run with -v
2004-08-04 07:08:41 +00:00
jlam
a87b168c5f Always specify the pidfile when starting clamsmtp. 2004-08-04 06:50:16 +00:00
jlam
2c3bc41c08 This package doesn't work with GNU pth (yet). Require native threads
for now.
2004-08-03 08:27:51 +00:00
jlam
5959ac9d4c Allow the user to override clamsmtpd arguments in /etc/rc.conf by setting
clamsmtpd_flags.
2004-08-03 08:24:56 +00:00
jlam
c0ab491909 Remove unnecessary bits. In particular, we don't need clamav installed to
build this package.
2004-08-03 08:23:58 +00:00
jlam
f2a1fee771 Correct the example to follow postfix guidelines, and point the user to
additional documentation.
2004-08-03 08:23:06 +00:00
xtraeme
e504e98c22 Uncomment out BUILD_DEPENDS, to get the dependency. 2004-07-28 09:30:08 +00:00
xtraeme
20f3ee085a Update mail/clamsmtp to 0.4.
Changes:

  - Option for quarantining files with viruses
  - Fixed problem with returning wrong SMTP error code
  - Handling timeouts properly
  - Fixed stupid problem with sockets not getting closed properly
2004-07-27 02:30:29 +00:00
xtraeme
2239fad927 Initial import of clamsmtp-0.3.
ClamSMTP is an SMTP filter that allows you to check for viruses using
the ClamAV anti-virus software. It accepts SMTP connections and
forwards the SMTP commands and responses to another SMTP server. The
'DATA' email body is intercepted and scanned before forwarding.

ClamSMTP aims to be lightweight, reliable, and simple rather than have
a myriad of options. It's written in C without major dependencies.
If you need more options then you could use something big like AMaViS
which is written in PERL and can do almost anything.
2004-07-21 03:54:24 +00:00