View | Details | Raw Unified | Return to bug 147840
Collapse All | Expand All

(-)/usr/ports/local/scamp/Makefile (-8 / +7 lines)
Lines 5-27 Link Here
5
# $FreeBSD: ports/security/scamp/Makefile,v 1.8 2010/04/06 12:01:56 garga Exp $
5
# $FreeBSD: ports/security/scamp/Makefile,v 1.8 2010/04/06 12:01:56 garga Exp $
6
6
7
PORTNAME=	scamp
7
PORTNAME=	scamp
8
PORTVERSION=	5.2g
8
PORTVERSION=	5.2j
9
PORTREVISION=	1
10
CATEGORIES=	security
9
CATEGORIES=	security
11
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
10
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
12
11
13
MAINTAINER=	gerard@seibercom.net
12
MAINTAINER=	gerard@seibercom.net
14
COMMENT=	Download & Install additional definition files for Clamav
13
COMMENT=	Download & Install additional definition files for Clamav
15
14
16
RUN_DEPENDS+=	bash>=4.0.35:${PORTSDIR}/shells/bash \
15
RUN_DEPENDS+=	bash>=4.1.5_2:${PORTSDIR}/shells/bash \
17
		clamav>=0.95.3:${PORTSDIR}/security/clamav \
16
		clamav>=0.96.1:${PORTSDIR}/security/clamav \
18
		gnupg>=2.0.14:${PORTSDIR}/security/gnupg \
17
		gnupg>=2.0.14_2:${PORTSDIR}/security/gnupg \
19
		rsync>=3.0.7:${PORTSDIR}/net/rsync
18
		rsync>=3.0.7:${PORTSDIR}/net/rsync
20
19
21
.if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl)
20
.if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl)
22
RUN_DEPENDS+=	wget>=1.12:${PORTSDIR}/ftp/wget
21
RUN_DEPENDS+=	wget>=1.12:${PORTSDIR}/ftp/wget
23
.else
22
.else
24
RUN_DEPENDS+=	curl>=7.19.7_1:${PORTSDIR}/ftp/curl
23
RUN_DEPENDS+=	curl>=7.20.1:${PORTSDIR}/ftp/curl
25
.endif
24
.endif
26
25
27
NO_BUILD=	yes
26
NO_BUILD=	yes
Lines 32-39 Link Here
32
MANCOMPRESSED=	no
31
MANCOMPRESSED=	no
33
32
34
post-patch:
33
post-patch:
35
	@${REINPLACE_CMD} -e 's|CLAMAV_DB=$${CLAMAV_DB:-""}|CLAMAV_DB=$${CLAMAV_DB:-/var/db/clamav}|g' ${WRKSRC}/${PORTNAME}.sh
34
	@${REINPLACE_CMD} -e 's|CLAMAV_DB=$${CLAMAV_DB:-""}|CLAMAV_DB=$${CLAMAV_DB:-\"/var/db/clamav\"}|g' ${WRKSRC}/${PORTNAME}.sh
36
	@${REINPLACE_CMD} -e 's|CONFIG_DIR=$${CONFIG_DIR:-"/etc/scamp"}|CONFIG_DIR=$${CONFIG_DIR:-${PREFIX}/etc/scamp}|g' ${WRKSRC}/${PORTNAME}.sh
35
	@${REINPLACE_CMD} -e 's|CONFIG_DIR=$${CONFIG_DIR:-"/etc/scamp"}|CONFIG_DIR=$${CONFIG_DIR:-\"${PREFIX}/etc/scamp\"}|g' ${WRKSRC}/${PORTNAME}.sh
37
36
38
post-install:
37
post-install:
39
	@if [ ! -d ${PREFIX}/etc/scamp ]; then \
38
	@if [ ! -d ${PREFIX}/etc/scamp ]; then \
(-)/usr/ports/local/scamp/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (scamp-5.2g.tar.gz) = ec8afe9df9f03169c8f4ec54d406ab40
1
MD5 (scamp-5.2j.tar.gz) = e987825d06849c40370a32d2b063a68d
2
SHA256 (scamp-5.2g.tar.gz) = a425f0865452c6853498ec039169e0fd41c833c3db7990d0bbce3d351f1fc7f0
2
SHA256 (scamp-5.2j.tar.gz) = 042e10f426df3d9967c395279b331fafa57a77626d9ad082495716c1c425299a
3
SIZE (scamp-5.2g.tar.gz) = 22595
3
SIZE (scamp-5.2j.tar.gz) = 24827
(-)/usr/ports/local/scamp/files/default.sample (-12 / +8 lines)
Lines 1-16 Link Here
1
# This is the /etc/scamp/default file.
1
# This is the /usr/local/etc/scamp/default file.
2
# Created April 18, 2009 @ 07:16:40
2
# Created June 10, 2010 @ 15:37:48
3
3
4
SIG_DB=/var/db/clamav
4
SCAMP_VERSION=5.2j
5
CLAMAV_DB=""
5
T_DIR=/var/db/clamav/tmp
6
T_DIR=/var/db/clamav/tmp
6
C_GROUP=clamav
7
C_GROUP=clamav
7
C_PID=/var/run/clamav/clamd.pid
8
C_PID=/var/run/clamav/clamd.pid
8
C_USER=clamav
9
C_USER=clamav
9
GET_LDB=1
10
GET_LDB=1
10
GET_MALWARE=1
11
GET_MALWARE=1
11
GET_MSRBL=1
12
GET_MSRBL=0
12
GET_SANE=1
13
GET_SANE=1
13
GET_SECURITE=1
14
GET_SECURITE=4
14
GET_WINNOW=1
15
GET_WINNOW=1
15
gpg_key_url=http://www.sanesecurity.net/publickey.gpg
16
gpg_key_url=http://www.sanesecurity.net/publickey.gpg
16
L_TYPE=1
17
L_TYPE=1
Lines 22-38 Link Here
22
MSR_DIR=/var/db/clamav/tmp/msr
23
MSR_DIR=/var/db/clamav/tmp/msr
23
MW_DIR=/var/db/clamav/tmp/malware
24
MW_DIR=/var/db/clamav/tmp/malware
24
MW_FILE=mbl.ndb
25
MW_FILE=mbl.ndb
25
MW_URL=http://www.malware.com.br/cgi/submit?action=list_clamav_ext
26
MW_URL=http://www.malwarepatrol.com.br/cgi/submit?action=list_clamav_ext
26
RELOAD=1
27
RELOAD=1
27
REST=0
28
REST=1
28
SANE=rsync://rsync.sanesecurity.net/sanesecurity
29
SANE=rsync://rsync.sanesecurity.net/sanesecurity
29
SANE_DB=/var/db/clamav/tmp/sane
30
SANE_DB=/var/db/clamav/tmp/sane
30
SI_DIR=/var/db/clamav/tmp/securite
31
SI_DIR=/var/db/clamav/tmp/securite
31
SI_URL1=http://clamav.securiteinfo.com/vx.hdb.gz
32
SI_URL2=http://clamav.securiteinfo.com/honeynet.hdb.gz
33
SI_URL3=http://clamav.securiteinfo.com/securiteinfo.hdb.gz
34
SI_URL4=http://clamav.securiteinfo.com/antispam.ndb.gz
35
SI_URL=$SI_URL1" "$SI_URL2" "$SI_URL3" "$SI_URL4
36
SYS_LOG=1
32
SYS_LOG=1
37
WPC=1
33
WPC=1
38
W_SUM=1
34
W_SUM=1
(-)/usr/ports/local/scamp/files/pkg-message.in (-18 / +14 lines)
Lines 1-19 Link Here
1
1
2
2
***********************************************************************
3
          ***************************************************
3
                            ** WARNING **                             *
4
          *               ** WARNING **                     *
4
                                                                      *
5
          *                                                 *
5
* Please read the README file before running "scamp.sh"               *
6
          *  Please read before running "scamp.sh"          *
6
* If updating from an earlier version, it is suggested                *
7
          *  To configure this script prior to running it   *
7
* that you first run:                                                 *
8
          *  the first time, or if updating from an earlier *
8
*                                                                     *
9
          *  release, please use the [-c] command line      *
9
* "scamp.sh -D" to delete all old configuration. Then, running        *
10
          *  option; i.e.: "scamp.sh -c" to create a new    *
10
* "scamp.sh" will cause the script to create a new configuration      *
11
          *  default config file.                           *
11
*                                                                     *
12
          *                                                 *
12
* You will need to manually create any additional configuration files.*
13
          *  Use the [-e] command line option to update any *
13
* Read the README or type "man scamp" for further assistance.         *
14
          *  other existing config files.                   *
14
*                                                                     *
15
          *                                                 *
15
***********************************************************************
16
          *  Example: "scamp.sh -e <name>" with <name>      *
17
          *  being a pre-existing config file.              *
18
          *                                                 *
19
          ***************************************************

Return to bug 147840