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

(-)squidclamav/Makefile (-3 / +2 lines)
Lines 6-17 Link Here
6
#
6
#
7
7
8
PORTNAME=	squidclamav
8
PORTNAME=	squidclamav
9
PORTVERSION=	4.1
9
PORTVERSION=	5.3
10
PORTREVISION=	1
10
PORTREVISION=	1
11
CATEGORIES=	security
11
CATEGORIES=	security
12
MASTER_SITES=	SF \
12
MASTER_SITES=	SF \
13
		http://www.samse.fr/GPL/squidclamav/ \
13
		http://freefr.dl.sourceforge.net/project/squidclamav/squidclamav/$PORTVERSION/
14
		http://www.darold.net/projects/squidclamav/
15
14
16
MAINTAINER=	llevier@argosnet.com
15
MAINTAINER=	llevier@argosnet.com
17
COMMENT=	Squid interface to ClamAV
16
COMMENT=	Squid interface to ClamAV
(-)squidclamav/Makefile.orig (+37 lines)
Line 0 Link Here
1
# New ports collection makefile for:	squidclamav
2
# Date created:		2008-06-02
3
# Whom: 		Laurent LEVIER <llevier@argosnet.com>
4
#
5
# $FreeBSD: ports/security/squidclamav/Makefile,v 1.6 2010/04/03 10:44:30 roam Exp $
6
#
7
8
PORTNAME=	squidclamav
9
PORTVERSION=	5.3
10
PORTREVISION=	1
11
CATEGORIES=	security
12
MASTER_SITES=	SF \
13
		http://freefr.dl.sourceforge.net/project/squidclamav/squidclamav/$PORTVERSION/
14
15
MAINTAINER=	llevier@argosnet.com
16
COMMENT=	Squid interface to ClamAV
17
18
LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
19
20
USE_GMAKE=	yes
21
GNU_CONFIGURE=	yes
22
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
23
NO_LATEST_LINK=	yes
24
SUB_FILES=	pkg-message
25
26
PLIST_FILES=	bin/squidclamav etc/squidclamav.conf.dist
27
28
post-configure:
29
	@${REINPLACE_CMD} -E 's|^(LDFLAGS = ).*|\1-L${LOCALBASE}/lib|' \
30
		${WRKSRC}/Makefile
31
32
do-install:
33
	@${INSTALL_PROGRAM} ${WRKSRC}/squidclamav ${PREFIX}/bin
34
	@${INSTALL_DATA} ${WRKSRC}/squidclamav.conf.dist ${PREFIX}/etc
35
	@${CAT} ${PKGMESSAGE}
36
37
.include <bsd.port.mk>
(-)squidclamav/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (squidclamav-4.1.tar.gz) = dfb96fc89d9b5514a3f3b228b09c7a40
1
MD5 (squidclamav-5.3.tar.gz) = 39f4b98294782039840b2052eab543e2
2
SHA256 (squidclamav-4.1.tar.gz) = 0b3a0057eda8b7e9e8fba447f55d2b820f7b57f611032cc8d9567414d74a90bd
2
SHA256 (squidclamav-5.3.tar.gz) = 8a35d3de33fcb072fd0cc1e735108e92ac183f394a77596a461e6be0a2d1ad81
3
SIZE (squidclamav-4.1.tar.gz) = 102505
3
SIZE (squidclamav-5.3.tar.gz) = 759760
(-)squidclamav/files/patch-Makefile.in (-38 lines)
Lines 1-38 Link Here
1
--- Makefile.in.orig	2008-04-23 10:01:57.000000000 +0200
2
+++ Makefile.in	2008-04-23 10:04:30.000000000 +0200
3
@@ -58,7 +58,7 @@
4
 	log.$(OBJEXT) main.$(OBJEXT) squidclamav.$(OBJEXT)
5
 squidclamav_OBJECTS = $(am_squidclamav_OBJECTS)
6
 squidclamav_LDADD = $(LDADD)
7
-DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
8
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I. -I/usr/local/include
9
 depcomp = $(SHELL) $(top_srcdir)/depcomp
10
 am__depfiles_maybe = depfiles
11
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
12
@@ -80,13 +80,8 @@
13
 GZIP_ENV = --best
14
 distuninstallcheck_listfiles = find . -type f -print
15
 distcleancheck_listfiles = find . -type f -print
16
-ACLOCAL = @ACLOCAL@
17
 AMDEP_FALSE = @AMDEP_FALSE@
18
 AMDEP_TRUE = @AMDEP_TRUE@
19
-AMTAR = @AMTAR@
20
-AUTOCONF = @AUTOCONF@
21
-AUTOHEADER = @AUTOHEADER@
22
-AUTOMAKE = @AUTOMAKE@
23
 AWK = @AWK@
24
 CC = @CC@
25
 CCDEPMODE = @CCDEPMODE@
26
@@ -105,9 +100,9 @@
27
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
28
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
29
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
30
-LDFLAGS = @LDFLAGS@
31
+LDFLAGS = -L/usr/local/lib
32
 LIBOBJS = @LIBOBJS@
33
-LIBS = @LIBS@
34
+LIBS = -lcurl
35
 LTLIBOBJS = @LTLIBOBJS@
36
 MAKEINFO = @MAKEINFO@
37
 OBJEXT = @OBJEXT@
38
(-)squidclamav/files/pkg-message.in (-1 / +1 lines)
Lines 4-7 Link Here
4
4
5
Read the follow site reference:
5
Read the follow site reference:
6
6
7
http://www.samse.fr/GPL/squidclamav/README
7
http://sourceforge.net/projects/squidclamav/

Return to bug 145524