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

(-)e2guardian.new/Makefile (-91 / +27 lines)
Lines 7-22 Link Here
7
MASTER_SITES=	GH
7
MASTER_SITES=	GH
8
8
9
MAINTAINER=	marcellocoutinho@gmail.com
9
MAINTAINER=	marcellocoutinho@gmail.com
10
COMMENT=	Dansguardian fork with many improvements and bug fixes
10
11
11
LICENSE=	BSD
12
LICENSE=	GPLv2
12
13
13
BUILD_DEPENDS=	rst2man:${PORTSDIR}/textproc/py-docutils pcretest:${PORTSDIR}/devel/pcre
14
BUILD_DEPENDS=	rst2man:${PORTSDIR}/textproc/py-docutils
14
15
LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
15
COMMENT=	Dansguardian fork with many improvements and bug fixes.
16
16
17
USE_GITHUB=	yes
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	${PORTNAME}
18
GH_ACCOUNT=	${PORTNAME}
19
GH_PROJECT=	${PORTNAME}
20
GH_COMMIT=	8fbf487
19
GH_COMMIT=	8fbf487
21
GH_TAGNAME=	${PORTVERSION:S/^/v/}
20
GH_TAGNAME=	${PORTVERSION:S/^/v/}
22
21
Lines 31-36 Link Here
31
30
32
OPTIONS_DEFINE=	APACHE TRICKLE CLISCAN CLAMD ICAP KAV NTLM DNS EMAIL DEBUG SSL DOCS
31
OPTIONS_DEFINE=	APACHE TRICKLE CLISCAN CLAMD ICAP KAV NTLM DNS EMAIL DEBUG SSL DOCS
33
OPTIONS_DEFAULT=TRICKLE DOCS 1024
32
OPTIONS_DEFAULT=TRICKLE DOCS 1024
33
OPTIONS_SUB=	yes
34
34
35
APACHE_DESC=	Enable Apache support for access denied page
35
APACHE_DESC=	Enable Apache support for access denied page
36
TRICKLE_DESC=	Enable the trickle download manager
36
TRICKLE_DESC=	Enable the trickle download manager
Lines 56-155 Link Here
56
CFLAGS+=	-I${LOCALBASE}/include
56
CFLAGS+=	-I${LOCALBASE}/include
57
WRKSRC=		${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}
57
WRKSRC=		${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}
58
58
59
APACHE_USE=APACHE_RUN=22+
60
TRICKLE_CONFIGURE_ENABLE=	trickledm
61
CLISCAN_CONFIGURE_ENABLE=	commandline
62
CLAMD_CONFIGURE_ENABLE=		clamd=yes
63
ICAP_CONFIGURE_ENABLE=		icap
64
KAV_CONFIGURE_ENABLE=		kavd
65
NTLM_CONFIGURE_ENABLE=		ntlm
66
DNS_CONFIGURE_ENABLE=		dnsauth
67
EMAIL_CONFIGURE_ENABLE=		email
68
DEBUG_CONFIGURE_WITH=		dgdebug
69
1024_CONFIGURE_ON=		--with-filedescriptors=1024
70
2048_CONFIGURE_ON=		--with-filedescriptors=2048
71
4096_CONFIGURE_ON=		--with-filedescriptors=4096
72
8192_CONFIGURE_ON=		--with-filedescriptors=8192
73
74
CLAMD_RUN_DEPENDS=	${LOCALBASE}/sbin/clamd:${PORTSDIR}/security/clamav
75
NTLM_RUN_DEPENDS=	${LOCALBASE}/bin/iconv:${PORTSDIR}/converters/libiconv
76
NTLM_USES=	iconv
77
59
.include <bsd.port.pre.mk>
78
.include <bsd.port.pre.mk>
60
79
61
pre-configure:
80
pre-configure:
62
	@${REINPLACE_CMD} -e 's|.lresolv||g'    ${WRKSRC}/configure.ac
81
	@${REINPLACE_CMD} -e 's|.lresolv||g'    ${WRKSRC}/configure.ac
63
	cd ${WRKSRC}; ${SH} autogen.sh
82
	cd ${WRKSRC}; ${SH} autogen.sh
64
83
65
.if ${PORT_OPTIONS:MAPACHE}
66
USE_APACHE_RUN=	22+
67
.endif
68
69
.if ${PORT_OPTIONS:MTRICKLE}
70
CONFIGURE+=		--enable-trickledm
71
PLIST_SUB+=		TRICKLECONF=""
72
.else
73
PLIST_SUB+=		TRICKLECONF="@comment "
74
.endif
75
76
.if ${PORT_OPTIONS:MCLISCAN}
77
CONFIGURE_ARGS+=	--enable-commandline
78
PLIST_SUB+=		CLISCANCONF=""
79
.else
80
PLIST_SUB+=		CLISCANCONF="@comment "
81
.endif
82
83
.if ${PORT_OPTIONS:MCLAMD}
84
CONFIGURE_ARGS+=	--enable-clamd=yes
85
RUN_DEPENDS+=		${LOCALBASE}/sbin/clamd:${PORTSDIR}/security/clamav
86
PLIST_SUB+=		CLAMDCONF=""
87
.else
88
PLIST_SUB+=		CLAMDCONF="@comment "
89
.endif
90
91
.if ${PORT_OPTIONS:MICAP}
92
CONFIGURE_ARGS+=	--enable-icap
93
PLIST_SUB+=		ICAPCONF=""
94
.else
95
PLIST_SUB+=		ICAPCONF="@comment "
96
.endif
97
98
.if ${PORT_OPTIONS:MKAV}
99
CONFIGURE_ARGS+=	--enable-kavd
100
PLIST_SUB+=		KAVDCONF=""
101
.else
102
PLIST_SUB+=		KAVDCONF="@comment "
103
.endif
104
105
.if ${PORT_OPTIONS:MCLAMD} || ${PORT_OPTIONS:MICAP} || \
84
.if ${PORT_OPTIONS:MCLAMD} || ${PORT_OPTIONS:MICAP} || \
106
    ${PORT_OPTIONS:MKAV} || ${PORT_OPTIONS:MCLISCAN}
85
   ${PORT_OPTIONS:MKAV} || ${PORT_OPTIONS:MCLISCAN}
107
PLIST_SUB+=		SCANNERS=""
86
PLIST_SUB+=	SCANNERS=""
108
.else
87
.else
109
PLIST_SUB+=		SCANNERS="@comment "
88
PLIST_SUB+=	SCANNERS="@comment "
110
.endif
111
112
.if ${PORT_OPTIONS:MNTLM}
113
CONFIGURE_ARGS+=	--enable-ntlm
114
RUN_DEPENDS+=		${LOCALBASE}/bin/iconv:${PORTSDIR}/converters/libiconv
115
USES+=			iconv
116
PLIST_SUB+=		NTLMCONF=""
117
.else
118
PLIST_SUB+=		NTLMCONF="@comment "
119
.endif
120
121
.if ${PORT_OPTIONS:MDNS}
122
CONFIGURE_ARGS+=	--enable-dnsauth
123
PLIST_SUB+=		DNSCONF=""
124
.else
125
PLIST_SUB+=		DNSCONF="@comment "
126
.endif
127
128
.if ${PORT_OPTIONS:MEMAIL}
129
CONFIGURE_ARGS+=	--enable-email
130
PLIST_SUB+=		EMAILCONF=""
131
.else
132
PLIST_SUB+=		EMAILCONF="@comment "
133
.endif
134
135
.if ${PORT_OPTIONS:MDEBUG}
136
CONFIGURE_ARGS+=	--with-dgdebug
137
.endif
138
139
.if ${PORT_OPTIONS:M1024}
140
CONFIGURE_ARGS+=	--with-filedescriptors=1024
141
.endif
142
143
.if ${PORT_OPTIONS:M2048}
144
CONFIGURE_ARGS+=	--with-filedescriptors=2048
145
.endif
146
147
.if ${PORT_OPTIONS:M4096}
148
CONFIGURE_ARGS+=	--with-filedescriptors=4096
149
.endif
150
151
.if ${PORT_OPTIONS:M8192}
152
CONFIGURE_ARGS+=	--with-filedescriptors=8192
153
.endif
89
.endif
154
90
155
.if ${PORT_OPTIONS:MSSL}
91
.if ${PORT_OPTIONS:MSSL}
(-)e2guardian.new/pkg-plist (-97 / +8 lines)
Lines 1-12 Link Here
1
%%ETCDIR%%/authplugins/dnsauth.conf
1
%%DNS%%%%ETCDIR%%/authplugins/dnsauth.conf
2
%%ETCDIR%%/authplugins/ident.conf
2
%%ETCDIR%%/authplugins/ident.conf
3
%%ETCDIR%%/authplugins/ip.conf
3
%%ETCDIR%%/authplugins/ip.conf
4
%%ETCDIR%%/authplugins/port.conf
4
%%ETCDIR%%/authplugins/port.conf
5
%%ETCDIR%%/authplugins/proxy-basic.conf
5
%%ETCDIR%%/authplugins/proxy-basic.conf
6
%%ETCDIR%%/authplugins/proxy-digest.conf
6
%%ETCDIR%%/authplugins/proxy-digest.conf
7
%%ETCDIR%%/authplugins/proxy-ntlm.conf
7
%%NTLM%%%%ETCDIR%%/authplugins/proxy-ntlm.conf
8
%%ETCDIR%%/contentscanners/clamdscan.conf
8
%%CLAMD%%%%ETCDIR%%/contentscanners/clamdscan.conf
9
%%ETCDIR%%/contentscanners/icapscan.conf
9
%%ICAP%%%%ETCDIR%%/contentscanners/icapscan.conf
10
%%ETCDIR%%/downloadmanagers/default.conf
10
%%ETCDIR%%/downloadmanagers/default.conf
11
%%ETCDIR%%/downloadmanagers/fancy.conf
11
%%ETCDIR%%/downloadmanagers/fancy.conf
12
%%ETCDIR%%/e2guardian.conf
12
%%ETCDIR%%/e2guardian.conf
Lines 31-40 Link Here
31
%%ETCDIR%%/lists/blacklists/ads/domains
31
%%ETCDIR%%/lists/blacklists/ads/domains
32
%%ETCDIR%%/lists/blacklists/ads/urls
32
%%ETCDIR%%/lists/blacklists/ads/urls
33
%%ETCDIR%%/lists/contentregexplist
33
%%ETCDIR%%/lists/contentregexplist
34
%%ETCDIR%%/lists/contentscanners/exceptionvirusextensionlist
34
%%SCANNERS%%%%ETCDIR%%/lists/contentscanners/exceptionvirusextensionlist
35
%%ETCDIR%%/lists/contentscanners/exceptionvirusmimetypelist
35
%%SCANNERS%%%%ETCDIR%%/lists/contentscanners/exceptionvirusmimetypelist
36
%%ETCDIR%%/lists/contentscanners/exceptionvirussitelist
36
%%SCANNERS%%%%ETCDIR%%/lists/contentscanners/exceptionvirussitelist
37
%%ETCDIR%%/lists/contentscanners/exceptionvirusurllist
37
%%SCANNERS%%%%ETCDIR%%/lists/contentscanners/exceptionvirusurllist
38
%%ETCDIR%%/lists/downloadmanagers/managedextensionlist
38
%%ETCDIR%%/lists/downloadmanagers/managedextensionlist
39
%%ETCDIR%%/lists/downloadmanagers/managedmimetypelist
39
%%ETCDIR%%/lists/downloadmanagers/managedmimetypelist
40
%%ETCDIR%%/lists/embededreferersitelist
40
%%ETCDIR%%/lists/embededreferersitelist
Lines 156-247 Link Here
156
%%PORTDOCS%%%%DOCSDIR%%/FAQ
156
%%PORTDOCS%%%%DOCSDIR%%/FAQ
157
%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
157
%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
158
%%PORTDOCS%%%%DOCSDIR%%/Plugins
158
%%PORTDOCS%%%%DOCSDIR%%/Plugins
159
%%DATADIR%%/blockedflash.swf
160
%%DATADIR%%/e2guardian.pl
161
%%DATADIR%%/languages/arspanish/fancydmtemplate.html
162
%%DATADIR%%/languages/arspanish/messages
163
%%DATADIR%%/languages/arspanish/template.html
164
%%DATADIR%%/languages/bulgarian/fancydmtemplate.html
165
%%DATADIR%%/languages/bulgarian/messages
166
%%DATADIR%%/languages/bulgarian/template.html
167
%%DATADIR%%/languages/chinesebig5/fancydmtemplate.html
168
%%DATADIR%%/languages/chinesebig5/messages
169
%%DATADIR%%/languages/chinesebig5/template.html
170
%%DATADIR%%/languages/chinesegb2312/fancydmtemplate.html
171
%%DATADIR%%/languages/chinesegb2312/messages
172
%%DATADIR%%/languages/chinesegb2312/template.html
173
%%DATADIR%%/languages/czech/fancydmtemplate.html
174
%%DATADIR%%/languages/czech/messages
175
%%DATADIR%%/languages/czech/template.html
176
%%DATADIR%%/languages/danish/fancydmtemplate.html
177
%%DATADIR%%/languages/danish/messages
178
%%DATADIR%%/languages/danish/template.html
179
%%DATADIR%%/languages/dutch/fancydmtemplate.html
180
%%DATADIR%%/languages/dutch/messages
181
%%DATADIR%%/languages/dutch/template.html
182
%%DATADIR%%/languages/french/fancydmtemplate.html
183
%%DATADIR%%/languages/french/messages
184
%%DATADIR%%/languages/french/template.html
185
%%DATADIR%%/languages/german/fancydmtemplate.html
186
%%DATADIR%%/languages/german/messages
187
%%DATADIR%%/languages/german/template.html
188
%%DATADIR%%/languages/hebrew/fancydmtemplate.html
189
%%DATADIR%%/languages/hebrew/messages
190
%%DATADIR%%/languages/hebrew/template.html
191
%%DATADIR%%/languages/hungarian/fancydmtemplate.html
192
%%DATADIR%%/languages/hungarian/messages
193
%%DATADIR%%/languages/hungarian/template.html
194
%%DATADIR%%/languages/indonesian/fancydmtemplate.html
195
%%DATADIR%%/languages/indonesian/messages
196
%%DATADIR%%/languages/indonesian/template.html
197
%%DATADIR%%/languages/italian/fancydmtemplate.html
198
%%DATADIR%%/languages/italian/messages
199
%%DATADIR%%/languages/italian/template.html
200
%%DATADIR%%/languages/japanese/fancydmtemplate.html
201
%%DATADIR%%/languages/japanese/messages
202
%%DATADIR%%/languages/japanese/template.html
203
%%DATADIR%%/languages/lithuanian/fancydmtemplate.html
204
%%DATADIR%%/languages/lithuanian/messages
205
%%DATADIR%%/languages/lithuanian/template.html
206
%%DATADIR%%/languages/malay/fancydmtemplate.html
207
%%DATADIR%%/languages/malay/messages
208
%%DATADIR%%/languages/malay/template.html
209
%%DATADIR%%/languages/mxspanish/fancydmtemplate.html
210
%%DATADIR%%/languages/mxspanish/messages
211
%%DATADIR%%/languages/mxspanish/template.html
212
%%DATADIR%%/languages/polish/fancydmtemplate.html
213
%%DATADIR%%/languages/polish/messages
214
%%DATADIR%%/languages/polish/template.html
215
%%DATADIR%%/languages/portuguese/fancydmtemplate.html
216
%%DATADIR%%/languages/portuguese/messages
217
%%DATADIR%%/languages/portuguese/template.html
218
%%DATADIR%%/languages/ptbrazilian/fancydmtemplate.html
219
%%DATADIR%%/languages/ptbrazilian/messages
220
%%DATADIR%%/languages/ptbrazilian/template.html
221
%%DATADIR%%/languages/russian-1251/fancydmtemplate.html
222
%%DATADIR%%/languages/russian-1251/messages
223
%%DATADIR%%/languages/russian-1251/template.html
224
%%DATADIR%%/languages/russian-koi8-r/fancydmtemplate.html
225
%%DATADIR%%/languages/russian-koi8-r/messages
226
%%DATADIR%%/languages/russian-koi8-r/template.html
227
%%DATADIR%%/languages/slovak/fancydmtemplate.html
228
%%DATADIR%%/languages/slovak/messages
229
%%DATADIR%%/languages/slovak/template.html
230
%%DATADIR%%/languages/spanish/fancydmtemplate.html
231
%%DATADIR%%/languages/spanish/messages
232
%%DATADIR%%/languages/spanish/template.html
233
%%DATADIR%%/languages/swedish/fancydmtemplate.html
234
%%DATADIR%%/languages/swedish/messages
235
%%DATADIR%%/languages/swedish/template.html
236
%%DATADIR%%/languages/turkish/fancydmtemplate.html
237
%%DATADIR%%/languages/turkish/messages
238
%%DATADIR%%/languages/turkish/template.html
239
%%DATADIR%%/languages/ukenglish/fancydmtemplate.html
240
%%DATADIR%%/languages/ukenglish/messages
241
%%DATADIR%%/languages/ukenglish/template.html
242
%%DATADIR%%/scripts/bsd-init
243
%%DATADIR%%/scripts/e2guardian
244
%%DATADIR%%/scripts/logrotation
245
%%DATADIR%%/scripts/solaris-init
246
%%DATADIR%%/scripts/systemv-init
247
%%DATADIR%%/transparent1x1.gif

Return to bug 197289