Lines 16-21
Link Here
|
16 |
|
16 |
|
17 |
#BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp |
17 |
#BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp |
18 |
|
18 |
|
|
|
19 |
.if defined(WITH_LDAP) && !defined(WITH_LDAP2) |
20 |
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap |
21 |
LIB_DEPENDS+= lber.1:${PORTSDIR}/net/openldap |
22 |
.endif |
23 |
|
24 |
.if defined(WITH_LDAP2) |
25 |
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 |
26 |
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2 |
27 |
.endif |
28 |
|
29 |
|
19 |
# This may be set interactively at install-time. NNTPCache will |
30 |
# This may be set interactively at install-time. NNTPCache will |
20 |
# cache news articles and related data in ${SPOOLDIR}/nntpcache. |
31 |
# cache news articles and related data in ${SPOOLDIR}/nntpcache. |
21 |
SPOOLDIR?= /var/spool |
32 |
SPOOLDIR?= /var/spool |
Lines 24-35
Link Here
|
24 |
USE_GMAKE= yes |
35 |
USE_GMAKE= yes |
25 |
GNU_CONFIGURE= yes |
36 |
GNU_CONFIGURE= yes |
26 |
CONFIGURE_ARGS= --localstatedir=${SPOOLDIR} |
37 |
CONFIGURE_ARGS= --localstatedir=${SPOOLDIR} |
|
|
38 |
|
39 |
AUTHINFO_EXT= authinfo_pam.ext |
40 |
.if !defined(WITHOUT_RADIUS) |
41 |
CONFIGURE_ARGS+= --with-authinfo-radius |
42 |
AUTHINFO_EXT+= authinfo_radius.ext |
43 |
.endif |
44 |
.if defined(WITH_LDAP) || defined(WITH_LDAP2) |
45 |
CONFIGURE_ARGS+= --with-authinfo-ldap |
46 |
CPPFLAGS+= -I${PREFIX}/include -I/usr/local/include |
47 |
LDFLAGS+= -L${PREFIX}/lib -L/usr/local/lib |
48 |
AUTHINFO_EXT+= authinfo_ldap.ext |
49 |
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
50 |
.endif |
51 |
|
27 |
NNTPSPOOLDIR?= ${SPOOLDIR}/${PORTNAME} |
52 |
NNTPSPOOLDIR?= ${SPOOLDIR}/${PORTNAME} |
28 |
PLIST_SUB+= SPOOLDIR=${NNTPSPOOLDIR} |
53 |
PLIST_SUB+= SPOOLDIR=${NNTPSPOOLDIR} |
29 |
CPIO= cpio --quiet -pdum -R |
54 |
CPIO= cpio --quiet -pdum -R |
30 |
MAN8= nntpcached.8 newshound.8 |
55 |
MAN8= nntpcached.8 newshound.8 |
31 |
DOCS= AUTHORS ChangeLog FAQ FAQ.html HACKING HTML \ |
56 |
DOCS= AUTHORS ChangeLog FAQ FAQ.html HACKING HTML \ |
32 |
INSTALL LICENSING NEWS README README.INN VERSION |
57 |
INSTALL LICENSING NEWS README README.INN VERSION |
|
|
58 |
|
59 |
.if !defined(BATCH) |
60 |
post-fetch: |
61 |
@${ECHO} "To enable LDAP support use either:" |
62 |
@${ECHO} " WITH_LDAP - LDAP v1 support" |
63 |
@${ECHO} " WITH_LDAP2 - LDAP v2 support" |
64 |
@${ECHO} |
65 |
@${ECHO} "To disable radius support use WITHOUT_RADIUS" |
66 |
.endif |
67 |
|
68 |
post-configure: |
69 |
@cd ${WRKSRC}/src && ${GMAKE} ${AUTHINFO_EXT} |
33 |
|
70 |
|
34 |
post-install: |
71 |
post-install: |
35 |
@ ${MKDIR} ${PREFIX}/etc/rc.d |
72 |
@ ${MKDIR} ${PREFIX}/etc/rc.d |