aboutsummaryrefslogtreecommitdiff
path: root/security/scamp
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-05-20 16:37:00 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-05-20 16:37:00 +0000
commit4b48c7a3395c58b3c2e104a87d899ad674fdcd68 (patch)
treed7632bc62af1df4bea9a82a6944d1a211a877d6c /security/scamp
parentfeea6b4060ed51afa891dafba18fa23e6e27bb22 (diff)
downloadports-4b48c7a3395c58b3c2e104a87d899ad674fdcd68.tar.gz
ports-4b48c7a3395c58b3c2e104a87d899ad674fdcd68.zip
Notes
Diffstat (limited to 'security/scamp')
-rw-r--r--security/scamp/Makefile8
-rw-r--r--security/scamp/distinfo6
-rw-r--r--security/scamp/files/pkg-message.in27
3 files changed, 24 insertions, 17 deletions
diff --git a/security/scamp/Makefile b/security/scamp/Makefile
index f4d18fee5c09..32568c161b54 100644
--- a/security/scamp/Makefile
+++ b/security/scamp/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= scamp
-PORTVERSION= 5.2b
+PORTVERSION= 5.2c
CATEGORIES= security
MASTER_SITES= SF
@@ -15,7 +15,7 @@ COMMENT= Download & Install additional definition files for Clamav
RUN_DEPENDS+= bash>=3.2.48_1:${PORTSDIR}/shells/bash3 \
clamav>=0.95.1:${PORTSDIR}/security/clamav \
gnupg>=2.0.11:${PORTSDIR}/security/gnupg \
- rsync>=3.0.5:${PORTSDIR}/net/rsync
+ rsync>=3.0.6:${PORTSDIR}/net/rsync
.if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl)
RUN_DEPENDS+= wget>=1.11.4:${PORTSDIR}/ftp/wget
@@ -31,8 +31,8 @@ MAN1= scamp.1
MANCOMPRESSED= no
post-patch:
- @${REINPLACE_CMD} -e 's|SIG_DB=$${SIG_DB:-""}|SIG_DB=$${SIG_DB:-"/var/db/clamav"}|g' ${WRKSRC}/${PORTNAME}.sh
- @${REINPLACE_CMD} -e 's|CONFIG_DIR="/etc/scamp"|CONFIG_DIR="${PREFIX}/etc/scamp"|g' ${WRKSRC}/${PORTNAME}.sh
+ @${REINPLACE_CMD} -e 's|SIG_DB=$${SIG_DB:-""}|SIG_DB=$${SIG_DB:-/var/db/clamav}|g' ${WRKSRC}/${PORTNAME}.sh
+ @${REINPLACE_CMD} -e 's|CONFIG_DIR=$${CONFIG_DIR:-"/etc/scamp"}|CONFIG_DIR=$${CONFIG_DIR:-${PREFIX}/etc/scamp}|g' ${WRKSRC}/${PORTNAME}.sh
post-install:
@if [ ! -d ${PREFIX}/etc/scamp ]; then \
diff --git a/security/scamp/distinfo b/security/scamp/distinfo
index fdce14bb045c..f1c629f8fe9b 100644
--- a/security/scamp/distinfo
+++ b/security/scamp/distinfo
@@ -1,3 +1,3 @@
-MD5 (scamp-5.2b.tar.gz) = 3b383c811ab59387a78e76a72b1a0368
-SHA256 (scamp-5.2b.tar.gz) = 497de3420cbcfc01315534cbe57e484dc932cc9e71ab849e1c901570b5300be9
-SIZE (scamp-5.2b.tar.gz) = 21201
+MD5 (scamp-5.2c.tar.gz) = cb68cd42938e4c631d503144a2f8be63
+SHA256 (scamp-5.2c.tar.gz) = 730ee3a1af765bd28154d10a9b93933c9b136bc6cd359af1c271ce4e3748fb58
+SIZE (scamp-5.2c.tar.gz) = 22401
diff --git a/security/scamp/files/pkg-message.in b/security/scamp/files/pkg-message.in
index b7e67616f2f5..864e4deff446 100644
--- a/security/scamp/files/pkg-message.in
+++ b/security/scamp/files/pkg-message.in
@@ -1,12 +1,19 @@
- **************************************************
- * *
- * To configure this script prior to running it *
- * the first time, please use the [-c] command *
- * line option; i.e.: scamp.sh -c *
- * *
- * This will create a new config file and exit. *
- * *
- **************************************************
-
+ ***************************************************
+ * ** WARNING ** *
+ * *
+ * Please read before running "scamp.sh" *
+ * To configure this script prior to running it *
+ * the first time, or if updating from an earlier *
+ * release, please use the [-c] command line *
+ * option; i.e.: "scamp.sh -c" to create a new *
+ * default config file. *
+ * *
+ * Use the [-e] command line option to update any *
+ * other existing config files. *
+ * *
+ * Example: "scamp.sh -e <name>" with <name> *
+ * being a pre-existing config file. *
+ * *
+ ***************************************************