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

(-)clamav-devel.new/Makefile (-4 / +5 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	clamav
8
PORTNAME=	clamav
9
PORTVERSION=	20040126
9
PORTVERSION=	20040129
10
CATEGORIES=	security
10
CATEGORIES=	security
11
MASTER_SITES=	http://clamav.sourceforge.net/snapshot/
11
MASTER_SITES=	http://clamav.sourceforge.net/snapshot/
12
PKGNAMESUFFIX=	-devel
12
PKGNAMESUFFIX=	-devel
Lines 121-140 Link Here
121
		${SH} ${PKGINSTALL} ${PREFIX} PRE-INSTALL
121
		${SH} ${PKGINSTALL} ${PREFIX} PRE-INSTALL
122
.if !defined(NOPORTDOCS)
122
.if !defined(NOPORTDOCS)
123
	@${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
123
	@${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
124
	${INSTALL_DATA} ${WRKSRC}/docs/*pdf ${DOCSDIR}${PKGNAMESUFFIX}
124
	@${INSTALL_DATA} ${WRKSRC}/docs/*pdf ${DOCSDIR}${PKGNAMESUFFIX}
125
.endif
125
.endif
126
126
127
post-install:
127
post-install:
128
	@[ -f ${PREFIX}/etc/clamav.conf ] || \
128
	@[ -f ${PREFIX}/etc/clamav.conf ] || \
129
		${CP} ${PREFIX}/etc/clamav.conf.default \
129
		${CP} ${BUILD_WRKSRC}/etc/clamav.conf.default \
130
			${PREFIX}/etc/clamav.conf
130
			${PREFIX}/etc/clamav.conf
131
	@[ -f ${PREFIX}/etc/freshclam.conf ] || \
131
	@[ -f ${PREFIX}/etc/freshclam.conf ] || \
132
		${CP} ${PREFIX}/etc/freshclam.conf.default \
132
		${CP} ${BUILD_WRKSRC}/etc/freshclam.conf.default \
133
			${PREFIX}/etc/freshclam.conf
133
			${PREFIX}/etc/freshclam.conf
134
	@${CHOWN} -R ${CLAMAVUSER}:${CLAMAVGROUP} ${DATADIR}
134
	@${CHOWN} -R ${CLAMAVUSER}:${CLAMAVGROUP} ${DATADIR}
135
	@${INSTALL_SCRIPT} ${WRKDIR}/clamav-clamd.sh \
135
	@${INSTALL_SCRIPT} ${WRKDIR}/clamav-clamd.sh \
136
		${RC_DIR}/clamav-clamd${RC_SUFX}
136
		${RC_DIR}/clamav-clamd${RC_SUFX}
137
	@${INSTALL_SCRIPT} ${WRKDIR}/freshclam.sh ${RC_DIR}/freshclam${RC_SUFX}
137
	@${INSTALL_SCRIPT} ${WRKDIR}/freshclam.sh ${RC_DIR}/freshclam${RC_SUFX}
138
	@${SH} ${PKGINSTALL} ${PREFIX} POST-INSTALL
138
.if defined(WITH_MILTER)
139
.if defined(WITH_MILTER)
139
	@${INSTALL_SCRIPT} ${WRKDIR}/clamav-milter.sh \
140
	@${INSTALL_SCRIPT} ${WRKDIR}/clamav-milter.sh \
140
		${RC_DIR}/clamav-milter${RC_SUFX}
141
		${RC_DIR}/clamav-milter${RC_SUFX}
(-)clamav-devel.new/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (clamav-devel-20040126.tar.gz) = 71b7793bd733f59253c8e75419a49d4e
1
MD5 (clamav-devel-20040129.tar.gz) = 8c0a73c2b832195b83edc163079285a4
(-)clamav-devel.new/pkg-install (-1 / +1 lines)
Lines 45-51 Link Here
45
45
46
if [ "$2" = "POST-INSTALL" ]; then
46
if [ "$2" = "POST-INSTALL" ]; then
47
	echo "===> Updating virus definitions..."
47
	echo "===> Updating virus definitions..."
48
	freshclam -u $3 --datadir=$4
48
	freshclam
49
fi
49
fi
50
50
51
exit 0
51
exit 0

Return to bug 62112