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

(-)/usr/ports/local/scamp/Makefile (-4 / +4 lines)
Lines 5-11 Link Here
5
# $FreeBSD: ports/security/scamp/Makefile,v 1.2 2009/04/27 01:39:24 amdmi3 Exp $
5
# $FreeBSD: ports/security/scamp/Makefile,v 1.2 2009/04/27 01:39:24 amdmi3 Exp $
6
6
7
PORTNAME=	scamp
7
PORTNAME=	scamp
8
PORTVERSION=	5.2b
8
PORTVERSION=	5.2c
9
CATEGORIES=	security
9
CATEGORIES=	security
10
MASTER_SITES=	SF
10
MASTER_SITES=	SF
11
11
Lines 15-21 Link Here
15
RUN_DEPENDS+=	bash>=3.2.48_1:${PORTSDIR}/shells/bash3 \
15
RUN_DEPENDS+=	bash>=3.2.48_1:${PORTSDIR}/shells/bash3 \
16
		clamav>=0.95.1:${PORTSDIR}/security/clamav \
16
		clamav>=0.95.1:${PORTSDIR}/security/clamav \
17
		gnupg>=2.0.11:${PORTSDIR}/security/gnupg \
17
		gnupg>=2.0.11:${PORTSDIR}/security/gnupg \
18
		rsync>=3.0.5:${PORTSDIR}/net/rsync
18
		rsync>=3.0.6:${PORTSDIR}/net/rsync
19
19
20
.if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl)
20
.if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl)
21
RUN_DEPENDS+=	wget>=1.11.4:${PORTSDIR}/ftp/wget
21
RUN_DEPENDS+=	wget>=1.11.4:${PORTSDIR}/ftp/wget
Lines 31-38 Link Here
31
MANCOMPRESSED=	no
31
MANCOMPRESSED=	no
32
32
33
post-patch:
33
post-patch:
34
	@${REINPLACE_CMD} -e 's|SIG_DB=$${SIG_DB:-""}|SIG_DB=$${SIG_DB:-"/var/db/clamav"}|g' ${WRKSRC}/${PORTNAME}.sh
34
	@${REINPLACE_CMD} -e 's|SIG_DB=$${SIG_DB:-""}|SIG_DB=$${SIG_DB:-/var/db/clamav}|g' ${WRKSRC}/${PORTNAME}.sh
35
	@${REINPLACE_CMD} -e 's|CONFIG_DIR="/etc/scamp"|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
36
36
37
post-install:
37
post-install:
38
	@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.2b.tar.gz) = 3b383c811ab59387a78e76a72b1a0368
1
MD5 (scamp-5.2c.tar.gz) = cb68cd42938e4c631d503144a2f8be63
2
SHA256 (scamp-5.2b.tar.gz) = 497de3420cbcfc01315534cbe57e484dc932cc9e71ab849e1c901570b5300be9
2
SHA256 (scamp-5.2c.tar.gz) = 730ee3a1af765bd28154d10a9b93933c9b136bc6cd359af1c271ce4e3748fb58
3
SIZE (scamp-5.2b.tar.gz) = 21201
3
SIZE (scamp-5.2c.tar.gz) = 22401
(-)/usr/ports/local/scamp/files/pkg-message.in (-10 / +17 lines)
Lines 1-12 Link Here
1
1
2
2
3
          **************************************************
3
          ***************************************************
4
          *                                                *
4
          *               ** WARNING **                     *
5
          *  To configure this script prior to running it  *
5
          *                                                 *
6
          *  the first time, please use the [-c] command   *
6
          *  Please read before running "scamp.sh"          *
7
          *         line option; i.e.: scamp.sh -c         *
7
          *  To configure this script prior to running it   *
8
          *                                                *
8
          *  the first time, or if updating from an earlier *
9
          *  This will create a new config file and exit.  *
9
          *  release, please use the [-c] command line      *
10
          *                                                *
10
          *  option; i.e.: "scamp.sh -c" to create a new    *
11
          **************************************************
11
          *  default config file.                           *
12
12
          *                                                 *
13
          *  Use the [-e] command line option to update any *
14
          *  other existing config files.                   *
15
          *                                                 *
16
          *  Example: "scamp.sh -e <name>" with <name>      *
17
          *  being a pre-existing config file.              *
18
          *                                                 *
19
          ***************************************************

Return to bug 134727