Lines 19-26
Link Here
|
19 |
MAINTAINER= itetcu@people.tecnik93.com |
19 |
MAINTAINER= itetcu@people.tecnik93.com |
20 |
COMMENT= Bayesian spam filter - development version |
20 |
COMMENT= Bayesian spam filter - development version |
21 |
|
21 |
|
22 |
PORTVER_MAJ= 3.5.2 |
22 |
PORTVER_MAJ= 3.6.0 |
23 |
SNAP_DATE= .20050725.0800 |
23 |
#SNAP_DATE= .20051016.2141 |
24 |
|
24 |
|
25 |
.ifdef(SNAP_DATE) |
25 |
.ifdef(SNAP_DATE) |
26 |
WRKSRC= ${WRKDIR}/dspam-cvs-devel${SNAP_DATE} |
26 |
WRKSRC= ${WRKDIR}/dspam-cvs-devel${SNAP_DATE} |
Lines 45-63
Link Here
|
45 |
OPTIONS+= VERBOSE_DEBUG "Enable debug in LOGDIR/dspam.debug" off |
45 |
OPTIONS+= VERBOSE_DEBUG "Enable debug in LOGDIR/dspam.debug" off |
46 |
OPTIONS+= BNR_DEBUG "Enable debug for BNR" off |
46 |
OPTIONS+= BNR_DEBUG "Enable debug for BNR" off |
47 |
OPTIONS+= PREF_EXT "Preferences in database not in files" off |
47 |
OPTIONS+= PREF_EXT "Preferences in database not in files" off |
48 |
OPTIONS+= DAEMON "Daemonize dspam; speak proprietary LMTP" on |
48 |
OPTIONS+= DAEMON "Daemonize dspam; speak LMTP or DLMTP" on |
49 |
|
49 |
|
50 |
## algorithm options |
50 |
## algorithm options |
51 |
OPTIONS+= GRAHAM_BAYES "Enable Graham (traditional) bayesian" on |
|
|
52 |
OPTIONS+= BURTON_BAYES "Enable Burton (alternative) bayesian" on |
53 |
OPTIONS+= RNB "Use Robinson Naive Bayesian calculation" off |
54 |
OPTIONS+= CHI_SQUARE "Use Fisher-Robinson Inv Chi-Square" off |
55 |
OPTIONS+= RPV "Use Robinson technique combining p-values" on |
56 |
OPTIONS+= TEST_COND "More inoculous results rapidly, risk fps" on |
57 |
OPTIONS+= NO_BIAS "No bias toward innocent mail" off |
58 |
OPTIONS+= NEURAL_NET "Enable neural networking" off |
51 |
OPTIONS+= NEURAL_NET "Enable neural networking" off |
59 |
|
52 |
|
60 |
OPTIONS+= CLAMAV "Enable clamav support" off |
53 |
OPTIONS+= CLAMAV "Enable clamav support" on |
61 |
OPTIONS+= CLAMAV_DEVEL "Enable clamav support" off |
54 |
OPTIONS+= CLAMAV_DEVEL "Enable clamav support" off |
62 |
|
55 |
|
63 |
## run-time configure options |
56 |
## run-time configure options |
Lines 69-86
Link Here
|
69 |
OPTIONS+= MYSQL41 "Use MySQL 4.1.x as back-end" on |
62 |
OPTIONS+= MYSQL41 "Use MySQL 4.1.x as back-end" on |
70 |
OPTIONS+= MYSQL50 "Use MySQL 5.0.x as back-end" off |
63 |
OPTIONS+= MYSQL50 "Use MySQL 5.0.x as back-end" off |
71 |
OPTIONS+= MYSQL_COMPRESS "Compress dspam <--> MySQL" off |
64 |
OPTIONS+= MYSQL_COMPRESS "Compress dspam <--> MySQL" off |
72 |
OPTIONS+= POSTGRESQL "Use PostgreSQL as back-end" off |
65 |
OPTIONS+= POSTGRESQL "Use PostgreSQL as back-end" on |
73 |
OPTIONS+= ORACLE "Use Oracle as back-end (BROKEN)" off |
66 |
OPTIONS+= ORACLE "Use Oracle as back-end (BROKEN)" off |
74 |
OPTIONS+= BDB4 "Use BDB4 as back-end (not recomanded)" off |
67 |
OPTIONS+= BDB4 "Use BDB4 as back-end (not recomanded)" off |
75 |
OPTIONS+= SQLITE2 "Use SQLite v2.x as back-end" off |
68 |
OPTIONS+= SQLITE2 "Use SQLite v2.x as back-end" off |
76 |
OPTIONS+= SQLITE3 "Use SQLite v3.x as back-end" off |
69 |
OPTIONS+= SQLITE3 "Use SQLite v3.x as back-end" on |
77 |
OPTIONS+= CSS "Use CRM114 Sparse Spectra driver (BROKEN)" off |
70 |
OPTIONS+= HASH "Use hash driver" on |
78 |
OPTIONS+= VIRT_USERS "Enable virtual users (needs SQL back-end)" off |
71 |
OPTIONS+= VIRT_USERS "Enable virtual users (needs SQL back-end)" off |
79 |
OPTIONS+= LDAP "Enable recipient verification via LDAP" off |
72 |
OPTIONS+= LDAP "Enable recipient verification via LDAP" off |
80 |
OPTIONS+= LONG_USERNAMES "Usernames longer that OS supports" off |
73 |
OPTIONS+= LONG_USERNAMES "Usernames longer that OS supports" off |
81 |
OPTIONS+= LARGE_SCALE "File structure for large scale" off |
74 |
OPTIONS+= LARGE_SCALE "File structure for large scale" off |
82 |
OPTIONS+= DOMAIN_SCALE "File structure for multiple domains" off |
75 |
OPTIONS+= DOMAIN_SCALE "File structure for multiple domains" off |
83 |
#OPTIONS+= SIGNATURE_ATACH "Put server-side signature in mails" off |
|
|
84 |
|
76 |
|
85 |
## MTA and LDA |
77 |
## MTA and LDA |
86 |
OPTIONS+= CYRUS21_LDA "Use Cyrus's 2.1 deliver as LDA" off |
78 |
OPTIONS+= CYRUS21_LDA "Use Cyrus's 2.1 deliver as LDA" off |
Lines 100-106
Link Here
|
100 |
USE_REINPLACE= yes |
92 |
USE_REINPLACE= yes |
101 |
INSTALLS_SHLIB= yes |
93 |
INSTALLS_SHLIB= yes |
102 |
GNU_CONFIGURE= yes |
94 |
GNU_CONFIGURE= yes |
103 |
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" |
95 |
#CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" |
|
|
96 |
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ |
97 |
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ |
98 |
LDFLAGS="-L${LOCALBASE}/lib" \ |
99 |
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" |
104 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
100 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
105 |
|
101 |
|
106 |
.ifdef(GDBS) |
102 |
.ifdef(GDBS) |
Lines 141-179
Link Here
|
141 |
|
137 |
|
142 |
CONFIGURE_ARGS+= --with-dspam-owner=${DSPAM_OWNER} |
138 |
CONFIGURE_ARGS+= --with-dspam-owner=${DSPAM_OWNER} |
143 |
CONFIGURE_ARGS+= --with-dspam-group=${DSPAM_GROUP} |
139 |
CONFIGURE_ARGS+= --with-dspam-group=${DSPAM_GROUP} |
144 |
# we set DSPAM_MODE at the end as some LDA whant specific mode |
140 |
# we set DSPAM_MODE at the end as some LDAs whant specific mode |
145 |
|
141 |
|
146 |
_SED_SCRIPT= -e 's,%%DOCSDIR%%,${DOCSDIR},g' \ |
142 |
_SED_SCRIPT= -e 's,%%DOCSDIR%%,${DOCSDIR},g' \ |
147 |
-e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \ |
143 |
-e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \ |
148 |
-e 's,%%DSPAM_HOME%%,${DSPAM_HOME},g' \ |
144 |
-e 's,%%DSPAM_HOME%%,${DSPAM_HOME},g' \ |
149 |
-e 's,%%PORTNAME%%,${PORTNAME},g' \ |
145 |
-e 's,%%PORTNAME%%,${PORTNAME},g' \ |
150 |
-e 's,%%_VAR_DIR%%,${_VAR_DIR},g' |
146 |
-e 's,%%_VAR_DIR%%,${_VAR_DIR},g' |
151 |
# -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ |
|
|
152 |
# -e 's,%%PREFIX%%,${PREFIX},g' \ |
153 |
# -e 's,%%PKGNAME%%,${PKGNAME},g' \ |
154 |
|
147 |
|
155 |
.if defined(WITH_DEBUG) |
148 |
.ifdef(WITH_DEBUG) |
156 |
CONFIGURE_ARGS+= --enable-debug |
149 |
CONFIGURE_ARGS+= --enable-debug |
157 |
.endif |
150 |
.endif |
158 |
|
151 |
|
159 |
.if defined(WITH_VERBOSE_DEBUG) |
152 |
.ifdef(WITH_VERBOSE_DEBUG) |
160 |
CONFIGURE_ARGS+= --enable-verbose-debug |
153 |
CONFIGURE_ARGS+= --enable-verbose-debug |
161 |
.endif |
154 |
.endif |
162 |
|
155 |
|
163 |
.if defined(WITH_BNR_DEBUG) |
156 |
.ifdef(WITH_BNR_DEBUG) |
164 |
CONFIGURE_ARGS+= --enable-bnr-debug |
157 |
CONFIGURE_ARGS+= --enable-bnr-debug |
165 |
.endif |
158 |
.endif |
166 |
|
159 |
|
167 |
.if defined(WITH_PREF_EXT) |
160 |
.ifdef(WITH_PREF_EXT) |
168 |
CONFIGURE_ARGS+= --enable-preferences-extension |
161 |
CONFIGURE_ARGS+= --enable-preferences-extension |
169 |
.endif |
162 |
.endif |
170 |
|
163 |
|
171 |
#### |
|
|
172 |
# quick hack to build the package with daemon |
173 |
.ifndef(WITHOUT_DAEMON) |
174 |
WITH_DAEMON= on |
175 |
.endif |
176 |
|
177 |
.ifdef(WITH_DAEMON) |
164 |
.ifdef(WITH_DAEMON) |
178 |
CONFIGURE_ARGS+= --enable-daemon |
165 |
CONFIGURE_ARGS+= --enable-daemon |
179 |
RC_SUFX= .sh |
166 |
RC_SUFX= .sh |
Lines 184-321
Link Here
|
184 |
_SED_SCRIPT+= -e '/%%DAEMON%%/D' |
171 |
_SED_SCRIPT+= -e '/%%DAEMON%%/D' |
185 |
.endif |
172 |
.endif |
186 |
|
173 |
|
187 |
.if !defined(WITH_GRAHAM_BAYES) |
174 |
.ifdef(WITH_NEURAL_NET) |
188 |
CONFIGURE_ARGS+= --disable-traditional-bayesian |
|
|
189 |
.endif |
190 |
|
191 |
.if !defined(WITH_BURTON_BAYES) |
192 |
CONFIGURE_ARGS+= --disable-alternative-bayesian |
193 |
.endif |
194 |
|
195 |
.if defined(WITH_RNB) |
196 |
CONFIGURE_ARGS+= --enable-robinson |
197 |
.endif |
198 |
|
199 |
.if defined(WITH_CHI_SQUARE) |
200 |
CONFIGURE_ARGS+= --enable-robinson |
201 |
.endif |
202 |
|
203 |
.if defined(WITH_RPV) |
204 |
CONFIGURE_ARGS+= --enable-robinson-pvalues |
205 |
.endif |
206 |
|
207 |
.if !defined(WITH_TEST_COND) |
208 |
CONFIGURE_ARGS+= --disable-test-conditional |
209 |
.endif |
210 |
|
211 |
.if defined(WITH_NO_BIAS) |
212 |
CONFIGURE_ARGS+= --disable-bias |
213 |
.endif |
214 |
|
215 |
.if defined(WITH_NEURAL_NET) |
216 |
CONFIGURE_ARGS+= --enable-neural-networking |
175 |
CONFIGURE_ARGS+= --enable-neural-networking |
217 |
.endif |
176 |
.endif |
218 |
|
177 |
|
219 |
.if defined(WITH_CLAMAV) |
178 |
.ifdef(WITH_CLAMAV) |
220 |
RUN_DEPENDS+= ${LOCALBASE}/etc/clamd.conf:${PORTSDIR}/security/clamav |
179 |
RUN_DEPENDS+= ${LOCALBASE}/etc/clamd.conf:${PORTSDIR}/security/clamav |
221 |
.endif |
180 |
.endif |
222 |
|
181 |
|
223 |
.if defined(WITH_CLAMAV_DEVEL) |
182 |
.ifdef(WITH_CLAMAV_DEVEL) |
224 |
RUN_DEPENDS+= ${LOCALBASE}/etc/clamd.conf:${PORTSDIR}/security/clamav-devel |
183 |
RUN_DEPENDS+= ${LOCALBASE}/etc/clamd.conf:${PORTSDIR}/security/clamav-devel |
225 |
.endif |
184 |
.endif |
226 |
|
185 |
|
227 |
.if defined(WITH_CLAMAV) || defined(WITH_CLAMAV_DEVEL) |
186 |
.ifdef(WITH_CLAMAV) || defined(WITH_CLAMAV_DEVEL) |
228 |
CONFIGURE_ARGS+= --enable-clamav |
187 |
CONFIGURE_ARGS+= --enable-clamav |
229 |
SUB_LIST+= CLAMD=clamd |
188 |
SUB_LIST+= CLAMD=clamd |
230 |
.else |
189 |
.else |
231 |
SUB_LIST+= CLAMD= |
190 |
SUB_LIST+= CLAMD= |
232 |
.endif |
191 |
.endif |
233 |
|
192 |
|
234 |
.if defined(WITH_USER_HOMEDIR) |
193 |
.ifdef(WITH_USER_HOMEDIR) |
235 |
CONFIGURE_ARGS+= --enable-homedir |
194 |
CONFIGURE_ARGS+= --enable-homedir |
236 |
.endif |
195 |
.endif |
237 |
|
196 |
|
238 |
.if defined(WITH_TRUSTED_USERS) |
197 |
.ifdef(WITH_TRUSTED_USERS) |
239 |
CONFIGURE_ARGS+= --disable-trusted-user-security |
198 |
CONFIGURE_ARGS+= --disable-trusted-user-security |
240 |
.endif |
199 |
.endif |
241 |
|
200 |
|
242 |
DBDRV_TOTAL_COUNT= oooooooooo # 9 |
201 |
# we need to know if we are building statically or dynamicaly for the plist |
243 |
DBDRV_COUNT= ${DBDRV_TOTAL_COUNT} |
202 |
_DBDRV_COUNT= # blank, but defined so we can check against it |
|
|
203 |
#_DBDRV_ALL= pgsql_drv,ora_drv,libdb4_drv,sqlite3_drv,sqlite_drv,hash_drv,mysql_drv |
204 |
# above won't work because ORACLE support is broken so |
205 |
_DBDRV= pgsql_drv,libdb41_drv,sqlite3_drv,sqlite_drv,hash_drv,mysql_drv, |
244 |
|
206 |
|
245 |
.if defined(WITH_POSTGRESQL) |
207 |
.if defined(WITH_POSTGRESQL) |
246 |
USE_PGSQL= yes |
208 |
USE_PGSQL= yes |
247 |
CONFIGURE_ARGS+= --with-storage-driver=pgsql_drv \ |
209 |
CONFIGURE_ARGS+= --with-pgsql-includes=${LOCALBASE}/include \ |
248 |
--with-pgsql-includes=${LOCALBASE}/include \ |
|
|
249 |
--with-pgsql-libraries=${LOCALBASE}/lib |
210 |
--with-pgsql-libraries=${LOCALBASE}/lib |
250 |
PLIST_SUB+= DB4="@comment " |
|
|
251 |
PLIST_SUB+= MYSQL="@comment " |
252 |
PLIST_SUB+= PGSQL="" |
211 |
PLIST_SUB+= PGSQL="" |
253 |
PLIST_SUB+= SQLITE="@comment " |
|
|
254 |
#_SED_SCRIPT+= -e '/%%MYSQL%%/D' |
255 |
#_SED_SCRIPT+= -e 's,%%PGSQL%%,,g' |
256 |
#_SED_SCRIPT+= -e '/%%SQLITE%%/D' |
257 |
#PKGNAMESUFFIX= -pgsql |
212 |
#PKGNAMESUFFIX= -pgsql |
258 |
DBDRV_COUNT:= ${DBDRV_COUNT:S/o//} |
213 |
_DBDRV_COUNT:= ${_DBDRV_COUNT}o |
|
|
214 |
.else |
215 |
PLIST_SUB+= PGSQL="@comment " |
216 |
_DBDRV:= ${_DBDRV:S/pgsql_drv,//} |
259 |
.endif |
217 |
.endif |
260 |
|
218 |
|
261 |
.if defined(WITH_ORACLE) |
219 |
.if defined(WITH_ORACLE) |
262 |
BUILD_DEPENDS= ${LOCALBASE}/oracle7/rdbms/lib/libnlsrtl3.a:\ |
220 |
#BUILD_DEPENDS= ${LOCALBASE}/oracle7/rdbms/lib/libnlsrtl3.a:\ |
263 |
${PORTSDIR}/databases/oracle7-client |
221 |
# ${PORTSDIR}/databases/oracle7-client |
264 |
CONFIGURE_ARGS+= --with-storage-driver=ora_drv \ |
222 |
#CONFIGURE_ARGS+= --with-oracle-home= ${LOCALBASE}/oracle7 |
265 |
--with-oracle-home= ${LOCALBASE}/oracle7 |
|
|
266 |
#PKGNAMESUFFIX= -oracle |
223 |
#PKGNAMESUFFIX= -oracle |
267 |
DBDRV_COUNT:= ${DBDRV_COUNT:S/o//} |
224 |
#_DBDRV_COUNT:= ${_DBDRV_COUNT}o |
|
|
225 |
#.else |
226 |
#_DBDRV:= ${_DBDRV:S/ora_drv,//} |
268 |
.endif |
227 |
.endif |
269 |
|
228 |
|
270 |
.if defined(WITH_BDB4) |
229 |
.if defined(WITH_BDB4) |
271 |
LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 |
230 |
LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 |
272 |
CONFIGURE_ARGS+= --with-storage-driver=libdb4_drv \ |
231 |
CONFIGURE_ARGS+= --with-db4-includes=${LOCALBASE}/include/db41 |
273 |
--with-db4-includes=${LOCALBASE}/include/db41 |
|
|
274 |
PLIST_SUB+= DB4="" |
232 |
PLIST_SUB+= DB4="" |
275 |
PLIST_SUB+= MYSQL="@comment " |
233 |
#PKGNAMESUFFIX= -bdb41 |
276 |
PLIST_SUB+= PGSQL="@comment " |
234 |
_DBDRV_COUNT:= ${_DBDRV_COUNT}o |
277 |
PLIST_SUB+= SQLITE="@comment " |
235 |
.else |
278 |
#_SED_SCRIPT+= -e '/%%MYSQL%%/D' |
236 |
_DBDRV:= ${_DBDRV:S/libdb41_drv,//} |
279 |
#_SED_SCRIPT+= -e '/%%PGSQL%%/D' |
237 |
PLIST_SUB+= DB4="@comment " |
280 |
#_SED_SCRIPT+= -e '/%%SQLITE%%/D' |
|
|
281 |
#PKGNAMESUFFIX= -bdb |
282 |
DBDRV_COUNT:= ${DBDRV_COUNT:S/o//} |
283 |
.endif |
238 |
.endif |
284 |
|
239 |
|
285 |
.if defined(WITH_SQLITE3) |
240 |
.if defined(WITH_SQLITE3) |
286 |
HAVE_SQLITE= yes |
241 |
HAVE_SQLITE= yes |
287 |
LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3 |
242 |
LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3 |
288 |
CONFIGURE_ARGS+= --with-storage-driver=sqlite3_drv |
243 |
_DBDRV_COUNT:= ${_DBDRV_COUNT}o |
|
|
244 |
.else |
245 |
_DBDRV:= ${_DBDRV:S/sqlite3_drv,//} |
289 |
.endif |
246 |
.endif |
290 |
|
247 |
|
291 |
.if defined(WITH_SQLITE2) |
248 |
.if defined(WITH_SQLITE2) |
292 |
HAVE_SQLITE= yes |
249 |
HAVE_SQLITE= yes |
293 |
LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2 |
250 |
LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2 |
294 |
CONFIGURE_ARGS+= --with-storage-driver=sqlite_drv |
251 |
_DBDRV_COUNT:= ${_DBDRV_COUNT}o |
|
|
252 |
.else |
253 |
_DBDRV:= ${_DBDRV:S/sqlite_drv,//} |
295 |
.endif |
254 |
.endif |
296 |
|
255 |
|
297 |
.if defined(HAVE_SQLITE) |
256 |
.if defined(HAVE_SQLITE) |
298 |
CONFIGURE_ARGS+= --with-sqlite-includes=${LOCALBASE}/include \ |
257 |
CONFIGURE_ARGS+= --with-sqlite-includes=${LOCALBASE}/include \ |
299 |
--with-sqlite-libraries=${LOCALBASE}/lib |
258 |
--with-sqlite-libraries=${LOCALBASE}/lib |
300 |
PLIST_SUB+= DB4="@comment " |
|
|
301 |
PLIST_SUB+= MYSQL="@comment " |
302 |
PLIST_SUB+= PGSQL="@comment " |
303 |
PLIST_SUB+= SQLITE="" |
259 |
PLIST_SUB+= SQLITE="" |
304 |
#_SED_SCRIPT+= -e '/%%MYSQL%%/D' |
260 |
.else |
305 |
#_SED_SCRIPT+= -e '/%%PGSQL%%/D' |
261 |
PLIST_SUB+= SQLITE="@comment " |
306 |
#_SED_SCRIPT+= -e 's,%%SQLITE%%,,g' |
|
|
307 |
#PKGNAMESUFFIX= -sqlite2 |
308 |
DBDRV_COUNT:= ${DBDRV_COUNT:S/o//} |
309 |
.endif |
262 |
.endif |
310 |
|
263 |
|
311 |
.ifdef(WITH_CSS) |
264 |
.ifdef(WITH_HASH) |
312 |
CONFIGURE_ARGS+= --with-storage-driver=css_drv |
265 |
PLIST_SUB+= HASH="" |
313 |
PLIST_SUB+= DB4="@comment " |
|
|
314 |
PLIST_SUB+= MYSQL="@comment " |
315 |
PLIST_SUB+= PGSQL="@comment " |
316 |
PLIST_SUB+= SQLITE="@comment " |
317 |
#PKGNAMESUFFIX= -css |
266 |
#PKGNAMESUFFIX= -css |
318 |
DBDRV_COUNT:= ${DBDRV_COUNT:S/o//} |
267 |
_DBDRV_COUNT:= ${_DBDRV_COUNT}o |
|
|
268 |
.else |
269 |
_DBDRV:= ${_DBDRV:S/hash_drv,//} |
270 |
PLIST_SUB+= HASH="@comment " |
319 |
.endif |
271 |
.endif |
320 |
|
272 |
|
321 |
.ifdef(WITH_MYSQL40) |
273 |
.ifdef(WITH_MYSQL40) |
Lines 329-374
Link Here
|
329 |
#PKGNAMESUFFIX= -mysql50 |
281 |
#PKGNAMESUFFIX= -mysql50 |
330 |
.endif |
282 |
.endif |
331 |
|
283 |
|
332 |
.if defined(WITH_MYSQL40) || defined(WITH_MYSQL41) || defined(WITH_MYSQL50) || ${DBDRV_TOTAL_COUNT}==${DBDRV_COUNT} |
284 |
.if defined(WITH_MYSQL40) || defined(WITH_MYSQL41) || defined(WITH_MYSQL50) |
333 |
USE_MYSQL= yes |
285 |
USE_MYSQL= yes |
334 |
CONFIGURE_ARGS+= --with-storage-driver=mysql_drv \ |
286 |
CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include/mysql \ |
335 |
--with-mysql-includes=${LOCALBASE}/include/mysql \ |
|
|
336 |
--with-mysql-libraries=${LOCALBASE}/lib/mysql |
287 |
--with-mysql-libraries=${LOCALBASE}/lib/mysql |
337 |
PLIST_SUB+= DB4="@comment " |
|
|
338 |
PLIST_SUB+= MYSQL="" |
288 |
PLIST_SUB+= MYSQL="" |
339 |
PLIST_SUB+= PGSQL="@comment " |
289 |
_DBDRV_COUNT:= ${_DBDRV_COUNT}o |
340 |
PLIST_SUB+= SQLITE="@comment " |
|
|
341 |
#_SED_SCRIPT+= -e 's,%%MYSQL%%,,g' |
342 |
#_SED_SCRIPT+= -e '/%%PGSQL%%/D' |
343 |
#_SED_SCRIPT+= -e '/%%SQLITE%%/D' |
344 |
DBDRV_COUNT:= ${DBDRV_COUNT:S/o//} |
345 |
. if defined(WITH_MYSQL_COMPRESS) |
290 |
. if defined(WITH_MYSQL_COMPRESS) |
346 |
CONFIGURE_ARGS+= --enable-client-compression |
291 |
CONFIGURE_ARGS+= --enable-client-compression |
347 |
. endif |
292 |
. endif |
348 |
SUB_LIST+= MYSQL=mysql |
293 |
SUB_LIST+= MYSQL=mysql |
349 |
.else |
294 |
.else |
350 |
SUB_LIST+= MYSQL= |
295 |
SUB_LIST+= MYSQL= |
|
|
296 |
_DBDRV:= ${_DBDRV:S/mysql_drv,//} |
297 |
PLIST_SUB+= MYSQL="@comment " |
351 |
.endif |
298 |
.endif |
352 |
|
299 |
|
353 |
.if defined(WITH_VIRT_USERS) |
300 |
# now we have all the db backends the user wants and we remove last ',' |
|
|
301 |
CONFIGURE_ARGS+= --with-storage-driver=${_DBDRV:S/,$//} |
302 |
|
303 |
.if ${_DBDRV_COUNT} != "o" |
304 |
PLIST_SUB+= DYNAMIC="" |
305 |
.else |
306 |
PLIST_SUB+= DYNAMIC="@comment " |
307 |
.endif |
308 |
|
309 |
.ifdef(WITH_VIRT_USERS) |
354 |
CONFIGURE_ARGS+= --enable-virtual-users |
310 |
CONFIGURE_ARGS+= --enable-virtual-users |
355 |
.endif |
311 |
.endif |
356 |
|
312 |
|
357 |
.if defined(WITH_LDAP) |
313 |
.ifdef(WITH_LDAP) |
358 |
CONFIGURE_ARGS+= --enable-ldap \ |
314 |
CONFIGURE_ARGS+= --enable-ldap |
359 |
USE_OPENLDAP=YES |
315 |
USE_OPENLDAP= YES |
360 |
CPPFLAGS+= -I${LOCALBASE}/include |
316 |
#CPPFLAGS+= -I${LOCALBASE}/include |
361 |
LDFLAGS+= -lldap -llber |
317 |
#LDFLAGS+= -lldap -llber |
362 |
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
318 |
#CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
363 |
.endif |
319 |
.endif |
364 |
|
320 |
|
365 |
.if defined(WITH_LONG_USERNAMES) |
321 |
.ifdef(WITH_LONG_USERNAMES) |
366 |
CONFIGURE_ARGS+= --enable-long-usernames |
322 |
CONFIGURE_ARGS+= --enable-long-usernames |
367 |
.endif |
323 |
.endif |
368 |
.if defined(WITH_LARGE_SCALE) |
324 |
.ifdef(WITH_LARGE_SCALE) |
369 |
CONFIGURE_ARGS+= --enable-large-scale |
325 |
CONFIGURE_ARGS+= --enable-large-scale |
370 |
.endif |
326 |
.endif |
371 |
.if defined(WITH_DOMAIN_SCALE) |
327 |
.ifdef(WITH_DOMAIN_SCALE) |
372 |
CONFIGURE_ARGS+= --enable-domain-scale |
328 |
CONFIGURE_ARGS+= --enable-domain-scale |
373 |
.endif |
329 |
.endif |
374 |
|
330 |
|
Lines 388-397
Link Here
|
388 |
LDA_COUNT:= ${LDA_COUNT:S/o//} |
344 |
LDA_COUNT:= ${LDA_COUNT:S/o//} |
389 |
.endif |
345 |
.endif |
390 |
|
346 |
|
391 |
.if defined(WITH_EXIM_LDA) |
347 |
.ifdef(WITH_EXIM_LDA) |
392 |
. if defined(WITH_MYSQL40) || (WITH_MYSQL41) |
348 |
. ifdef(WITH_MYSQL40) || (WITH_MYSQL41) |
393 |
_EXIM_EXT= -mysql |
349 |
_EXIM_EXT= -mysql |
394 |
. elif defined(WITH_POSTGRESQL) |
350 |
. elifdef(WITH_POSTGRESQL) |
395 |
_EXIM_EXT= -postgresql |
351 |
_EXIM_EXT= -postgresql |
396 |
. endif |
352 |
. endif |
397 |
RUN_DEPENDS+= exim:${PORTSDIR}/mail/exim${_EXIM_EXT} |
353 |
RUN_DEPENDS+= exim:${PORTSDIR}/mail/exim${_EXIM_EXT} |
Lines 399-446
Link Here
|
399 |
LDA_COUNT:= ${LDA_COUNT:S/o//} |
355 |
LDA_COUNT:= ${LDA_COUNT:S/o//} |
400 |
.endif |
356 |
.endif |
401 |
|
357 |
|
402 |
.if defined(WITH_MAILDROP_LDA) |
358 |
.ifdef(WITH_MAILDROP_LDA) |
403 |
RUN_DEPENDS+= maildrop:${PORTSDIR}/mail/maildrop |
359 |
RUN_DEPENDS+= maildrop:${PORTSDIR}/mail/maildrop |
404 |
CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/bin/maildrop' |
360 |
CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/bin/maildrop' |
405 |
LDA_COUNT:= ${LDA_COUNT:S/o//} |
361 |
LDA_COUNT:= ${LDA_COUNT:S/o//} |
406 |
.endif |
362 |
.endif |
407 |
|
363 |
|
408 |
.if defined(WITH_PROCMAIL_LDA) |
364 |
.ifdef(WITH_PROCMAIL_LDA) |
409 |
RUN_DEPENDS+= procmail:${PORTSDIR}/mail/procmail |
365 |
RUN_DEPENDS+= procmail:${PORTSDIR}/mail/procmail |
410 |
CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/bin/procmail' |
366 |
CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/bin/procmail' |
411 |
LDA_COUNT:= ${LDA_COUNT:S/o//} |
367 |
LDA_COUNT:= ${LDA_COUNT:S/o//} |
412 |
.endif |
368 |
.endif |
413 |
|
369 |
|
414 |
.if defined(WITH_SENDMAIL_LDA) && exists(/usr/sbin/sendmail) |
370 |
.ifdef(WITH_SENDMAIL_LDA) && exists(/usr/sbin/sendmail) |
415 |
CONFIGURE_ARGS+= --with-delivery-agent=/usr/sbin/sendmail |
371 |
CONFIGURE_ARGS+= --with-delivery-agent=/usr/sbin/sendmail |
416 |
LDA_COUNT:= ${LDA_COUNT:S/o//} |
372 |
LDA_COUNT:= ${LDA_COUNT:S/o//} |
417 |
.else |
373 |
.else |
418 |
. if defined(WITH_SENDMAIL_LDA) && exists(${LOCALBASE}/sbin/sendmail) |
374 |
. ifdef(WITH_SENDMAIL_LDA) && exists(${LOCALBASE}/sbin/sendmail) |
419 |
CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/sbin/sendmail' |
375 |
CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/sbin/sendmail' |
420 |
LDA_COUNT:= ${LDA_COUNT:S/o//} |
376 |
LDA_COUNT:= ${LDA_COUNT:S/o//} |
421 |
. endif |
377 |
. endif |
422 |
.endif |
378 |
.endif |
423 |
|
379 |
|
424 |
.if defined(WITH_SENDMAIL) |
380 |
.ifdef(WITH_SENDMAIL) |
425 |
DSPAM_MODE= 4511 |
381 |
DSPAM_MODE= 4511 |
426 |
.endif |
382 |
.endif |
427 |
|
383 |
|
428 |
.if defined(WITH_POSTFIX_MBC) |
384 |
.ifdef(WITH_POSTFIX_MBC) |
429 |
DSPAM_MODE= 4511 |
385 |
DSPAM_MODE= 4511 |
430 |
#_SED_SCRIPT+= -e 's,%%POSTFIX_MBC%%,,g' |
|
|
431 |
.else |
432 |
#_SED_SCRIPT+= -e '/%%POSTFIX_MBC%%/D' |
433 |
.endif |
386 |
.endif |
434 |
|
387 |
|
435 |
.if defined(WITH_QMAIL) |
388 |
.ifdef(WITH_QMAIL) |
436 |
DSPAM_MODE= 4511 |
389 |
DSPAM_MODE= 4511 |
437 |
.endif |
390 |
.endif |
438 |
|
391 |
|
439 |
.if defined(DSPAM_MODE) |
392 |
.ifdef(DSPAM_MODE) |
440 |
CONFIGURE_ARGS+= --with-dspam-mode=${DSPAM_MODE} |
393 |
CONFIGURE_ARGS+= --with-dspam-mode=${DSPAM_MODE} |
441 |
.endif |
394 |
.endif |
442 |
|
395 |
|
443 |
.if defined(WITH_CGI) |
396 |
.ifdef(WITH_CGI) |
444 |
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd |
397 |
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd |
445 |
RUN_DEPENDS+= ${LOCALBASE}/sbin/apachectl:${PORTSDIR}/${APACHE_PORT} |
398 |
RUN_DEPENDS+= ${LOCALBASE}/sbin/apachectl:${PORTSDIR}/${APACHE_PORT} |
446 |
RUN_DEPENDS+= ${SITE_PERL}/mach/GD.pm:${PORTSDIR}/graphics/p5-GD |
399 |
RUN_DEPENDS+= ${SITE_PERL}/mach/GD.pm:${PORTSDIR}/graphics/p5-GD |
Lines 505-511
Link Here
|
505 |
@${ECHO_CMD} "DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP}" |
458 |
@${ECHO_CMD} "DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP}" |
506 |
@${ECHO_CMD} "DSPAM_HOME_MODE=${DSPAM_HOME_MODE} (default: 0770)" |
459 |
@${ECHO_CMD} "DSPAM_HOME_MODE=${DSPAM_HOME_MODE} (default: 0770)" |
507 |
@${ECHO_CMD} "LOG_DIR=${LOG_DIR} (default: ${_VAR_DIR}/log/dspam)" |
460 |
@${ECHO_CMD} "LOG_DIR=${LOG_DIR} (default: ${_VAR_DIR}/log/dspam)" |
508 |
. if defined(WITH_CGI) |
461 |
. ifdef(WITH_CGI) |
509 |
@${ECHO_CMD} "Define CGI_PATH before make-ing if you need the CGI files" |
462 |
@${ECHO_CMD} "Define CGI_PATH before make-ing if you need the CGI files" |
510 |
@${ECHO_CMD} "installed in other place that this installation's default" |
463 |
@${ECHO_CMD} "installed in other place that this installation's default" |
511 |
@${ECHO_CMD} "${PREFIX}/www/vhosts/dspam" |
464 |
@${ECHO_CMD} "${PREFIX}/www/vhosts/dspam" |
Lines 518-530
Link Here
|
518 |
USER_LOGGING SYSTEM_LOGGING WEBMAIL OPT_IN SAT PARSE_TO_HEADERS \ |
471 |
USER_LOGGING SYSTEM_LOGGING WEBMAIL OPT_IN SAT PARSE_TO_HEADERS \ |
519 |
BROKEN_MTA BROKEN_ERR_CODES SIGNATURE_HEADERS SIGNATURE_ATACH \ |
472 |
BROKEN_MTA BROKEN_ERR_CODES SIGNATURE_HEADERS SIGNATURE_ATACH \ |
520 |
HOMEDIR_DOT SIGNATURE_LIFE SQLITE QUARANTINE_AGENT WHITELIST \ |
473 |
HOMEDIR_DOT SIGNATURE_LIFE SQLITE QUARANTINE_AGENT WHITELIST \ |
521 |
POSTGRESQL73 POSTGRESQL74 |
474 |
POSTGRESQL73 POSTGRESQL74 GRAHAM_BAYES BURTON_BAYES RNB \ |
|
|
475 |
TEST_COND NO_BIAS CHI_SQUARE RPV |
522 |
. if defined(WITH_${old_opt}) || defined(WITHOUT_${old_opt}) |
476 |
. if defined(WITH_${old_opt}) || defined(WITHOUT_${old_opt}) |
523 |
@${ECHO_CMD} "" |
477 |
@${ECHO_CMD} "" |
524 |
@${ECHO_CMD} "******************************************************************" |
478 |
@${ECHO_CMD} "******************************************************************" |
525 |
@${ECHO_CMD} "******************************************************************" |
479 |
@${ECHO_CMD} "******************************************************************" |
526 |
@${ECHO_CMD} "Either:" |
480 |
@${ECHO_CMD} "Either:" |
527 |
@${ECHO_CMD} "an old option ${old_opt} or " |
481 |
@${ECHO_CMD} "an old option ${old_opt} or an old" |
528 |
@${ECHO_CMD} "OPTIONS config-file ${_OPTIONS_READ} has been detected !!!" |
482 |
@${ECHO_CMD} "OPTIONS config-file ${_OPTIONS_READ} has been detected !!!" |
529 |
@${ECHO_CMD} "Trying to prevent self-shooting this port's make ends here." |
483 |
@${ECHO_CMD} "Trying to prevent self-shooting this port's make ends here." |
530 |
@${ECHO_CMD} "You shold always read ${PORTSDIR}/UPDATING before installing/updating" |
484 |
@${ECHO_CMD} "You shold always read ${PORTSDIR}/UPDATING before installing/updating" |
Lines 560-576
Link Here
|
560 |
@${ECHO_CMD} "See ${LOCALBASE}/etc/dspam.conf for how to chage it at run time." |
514 |
@${ECHO_CMD} "See ${LOCALBASE}/etc/dspam.conf for how to chage it at run time." |
561 |
@${FALSE} |
515 |
@${FALSE} |
562 |
.endif |
516 |
.endif |
563 |
.if ${DBDRV_TOTAL_COUNT:S/o//}!=${DBDRV_COUNT} |
517 |
.if ${_DBDRV}=="" |
564 |
@${ECHO_CMD} |
518 |
@${ECHO_CMD} |
565 |
@${ECHO_CMD} "You can use one and only one database back-end at once." |
519 |
@${ECHO_CMD} "You need to enable at least one database back-end." |
566 |
@${FALSE} |
520 |
@${FALSE} |
567 |
.endif |
521 |
.endif |
568 |
.if defined(WITH_NEURAL_NET) && !(defined(USE_MYSQL) || defined(WITH_POSTGRESQL)) |
522 |
.if defined(WITH_NEURAL_NET) && \ |
|
|
523 |
!( defined(USE_MYSQL) || defined(WITH_POSTGRESQL) ) |
569 |
@${ECHO_CMD} "You need MySQL or POSTGRESQL to use neural networking." |
524 |
@${ECHO_CMD} "You need MySQL or POSTGRESQL to use neural networking." |
570 |
@${FALSE} |
525 |
@${FALSE} |
571 |
.endif |
526 |
.endif |
572 |
.if defined(WITH_VIRT_USERS) && !(defined(USE_MYSQL) || \ |
527 |
.if defined(WITH_VIRT_USERS) && !(defined(USE_MYSQL) || \ |
573 |
defined(WITH_POSTGRESQL) || defined(WITH_ORACLE)) |
528 |
defined(WITH_POSTGRESQL) || defined(WITH_ORACLE) || defined(WITH_HASH) ) |
574 |
@${ECHO_CMD} "You need MySQL, POSTGRESQL or ORACLE for virtual users." |
529 |
@${ECHO_CMD} "You need MySQL, POSTGRESQL or ORACLE for virtual users." |
575 |
@${FALSE} |
530 |
@${FALSE} |
576 |
.endif |
531 |
.endif |
Lines 580-591
Link Here
|
580 |
@${FALSE} |
535 |
@${FALSE} |
581 |
.endif |
536 |
.endif |
582 |
.if defined(WITH_DAEMON) && !( defined(USE_MYSQL) || \ |
537 |
.if defined(WITH_DAEMON) && !( defined(USE_MYSQL) || \ |
583 |
defined(WITH_POSTGRESQL) ) |
538 |
defined(WITH_POSTGRESQL) || defined(WITH_HASH) ) |
584 |
@${ECHO_CMD} "You need MySQL or Postgres for Daemon mode, because multithreading support is needed" |
539 |
@${ECHO_CMD} "You need MySQL or Postgres for Daemon mode, because multithreading support is needed" |
585 |
@${FALSE} |
540 |
@${FALSE} |
586 |
.endif |
541 |
.endif |
|
|
542 |
.if ( defined(WITH_MYSQL40) && defined(WITH_MYSQL50) && defined(WITH_MYSQL41) ) |
543 |
@${ECHO_CMD} "You can compile with only one MySQL version driver." |
544 |
@${FALSE} |
545 |
.endif |
587 |
.if defined(WITH_LDAP) && !( defined(USE_MYSQL) || \ |
546 |
.if defined(WITH_LDAP) && !( defined(USE_MYSQL) || \ |
588 |
defined(WITH_POSTGRESQL) || defined(HAVE_SQLITE)) |
547 |
defined(WITH_POSTGRESQL) || defined(HAVE_SQLITE) ) |
589 |
@${ECHO_CMD} "You need MySQL, Postgres or SQLITE for LDAP." |
548 |
@${ECHO_CMD} "You need MySQL, Postgres or SQLITE for LDAP." |
590 |
@${FALSE} |
549 |
@${FALSE} |
591 |
.endif |
550 |
.endif |
Lines 611-643
Link Here
|
611 |
${TEST} `ls -1 ${PREFIX}/lib/pkgconfig | wc -l` -eq 0 && \ |
570 |
${TEST} `ls -1 ${PREFIX}/lib/pkgconfig | wc -l` -eq 0 && \ |
612 |
${RM} -R ${PREFIX}/lib/pkgconfig || true |
571 |
${RM} -R ${PREFIX}/lib/pkgconfig || true |
613 |
|
572 |
|
614 |
.if defined(USE_MYSQL) |
573 |
.ifdef(USE_MYSQL) |
615 |
@${MKDIR} ${EXAMPLESDIR}/mysql |
574 |
@${MKDIR} ${EXAMPLESDIR}/mysql |
616 |
cd ${WRKSRC}/src/tools.mysql_drv && \ |
575 |
cd ${WRKSRC}/src/tools.mysql_drv && \ |
617 |
${INSTALL_DATA} mysql_objects-space.sql \ |
576 |
${INSTALL_DATA} mysql_objects-4.1.sql \ |
618 |
mysql_objects-speed.sql purge.sql \ |
577 |
mysql_objects-space.sql \ |
619 |
virtual_users.sql mysql_objects-4.1.sql \ |
578 |
mysql_objects-speed.sql \ |
620 |
purge-4.1.sql neural.sql ${EXAMPLESDIR}/mysql |
579 |
neural.sql \ |
621 |
@${INSTALL_DATA} ${FILESDIR}/2x_to_3x_db.sql ${EXAMPLESDIR}/mysql |
580 |
purge-4.1.sql purge.sql \ |
622 |
@${INSTALL_DATA} ${FILESDIR}/310_to_320.my.sql ${EXAMPLESDIR}/mysql |
581 |
virtual_user_aliases.sql \ |
|
|
582 |
virtual_users.sql ${EXAMPLESDIR}/mysql |
583 |
# @${INSTALL_DATA} ${FILESDIR}/2x_to_3x_db.sql ${EXAMPLESDIR}/mysql |
584 |
# @${INSTALL_DATA} ${FILESDIR}/310_to_320.my.sql ${EXAMPLESDIR}/mysql |
623 |
.endif |
585 |
.endif |
624 |
.if defined(WITH_POSTGRESQL) |
586 |
.ifdef(WITH_POSTGRESQL) |
625 |
@${MKDIR} ${EXAMPLESDIR}/pgsql |
587 |
@${MKDIR} ${EXAMPLESDIR}/pgsql |
626 |
@cd ${WRKSRC}/src/tools.pgsql_drv && \ |
588 |
@cd ${WRKSRC}/src/tools.pgsql_drv && \ |
627 |
${INSTALL_DATA} *.sql ${EXAMPLESDIR}/pgsql |
589 |
${INSTALL_DATA} *.sql ${EXAMPLESDIR}/pgsql |
628 |
.endif |
590 |
.endif |
629 |
.if defined(HAVE_SQLITE) |
591 |
.ifdef(HAVE_SQLITE) |
630 |
@${MKDIR} ${EXAMPLESDIR}/sqlite |
592 |
@${MKDIR} ${EXAMPLESDIR}/sqlite |
631 |
cd ${WRKSRC}/src/tools.sqlite_drv && \ |
593 |
cd ${WRKSRC}/src/tools.sqlite_drv && \ |
632 |
${INSTALL_DATA} *.sql ${EXAMPLESDIR}/sqlite |
594 |
${INSTALL_DATA} *.sql ${EXAMPLESDIR}/sqlite |
633 |
.endif |
595 |
.endif |
634 |
.if defined(WITH_ORACLE) |
596 |
.ifdef(WITH_ORACLE) |
635 |
@${MKDIR} ${EXAMPLESDIR}/oracle |
597 |
@${MKDIR} ${EXAMPLESDIR}/oracle |
636 |
cd ${WRKSRC}/src/tools.ora_drv && \ |
598 |
cd ${WRKSRC}/src/tools.ora_drv && \ |
637 |
${INSTALL_DATA} *.sql ${EXAMPLESDIR}/oracle |
599 |
${INSTALL_DATA} *.sql ${EXAMPLESDIR}/oracle |
638 |
.endif |
600 |
.endif |
639 |
|
601 |
|
640 |
.if defined(WITH_CGI) |
602 |
.ifdef(WITH_CGI) |
641 |
. for I in admin.cgi admingraph.cgi configure.pl dspam.cgi graph.cgi |
603 |
. for I in admin.cgi admingraph.cgi configure.pl dspam.cgi graph.cgi |
642 |
@${SED} -i '' -e "s,/usr/bin/perl,${PERL},g" ${WRKSRC}/webui/cgi-bin/${I} |
604 |
@${SED} -i '' -e "s,/usr/bin/perl,${PERL},g" ${WRKSRC}/webui/cgi-bin/${I} |
643 |
. endfor |
605 |
. endfor |
Lines 657-667
Link Here
|
657 |
.endif |
619 |
.endif |
658 |
|
620 |
|
659 |
@${SED} ${_SED_SCRIPT} ${.CURDIR}/pkg-message > ${WRKSRC}/README.FreeBSD |
621 |
@${SED} ${_SED_SCRIPT} ${.CURDIR}/pkg-message > ${WRKSRC}/README.FreeBSD |
|
|
622 |
|
660 |
.if !defined(NOPORTDOCS) |
623 |
.if !defined(NOPORTDOCS) |
661 |
@${MKDIR} ${DOCSDIR} |
624 |
@${MKDIR} ${DOCSDIR} |
662 |
cd ${WRKSRC} && ${INSTALL_DATA} ${_DOCS} ${DOCSDIR} |
625 |
@cd ${WRKSRC} && ${INSTALL_DATA} ${_DOCS} ${DOCSDIR} |
663 |
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${_DOCSL} ${DOCSDIR} |
626 |
@cd ${WRKSRC}/doc && ${INSTALL_DATA} ${_DOCSL} ${DOCSDIR} |
664 |
cd ${FILESDIR} && ${INSTALL_DATA} UPDATING ${DOCSDIR}/UPDATING |
627 |
@cd ${FILESDIR} && ${INSTALL_DATA} UPDATING ${DOCSDIR}/UPDATING |
665 |
.endif |
628 |
.endif |
666 |
|
629 |
|
667 |
@${MKDIR} -m ${DSPAM_HOME_MODE} ${DSPAM_HOME} |
630 |
@${MKDIR} -m ${DSPAM_HOME_MODE} ${DSPAM_HOME} |