Sat Jan 2 14:18:22 2021 UTC ()
update news/inn to version 2.6.3

Changes in 2.6.3

    * Fixed the selection of the elliptic curve to use with OpenSSL 1.1.0 or
      later; NIST P-256 was enforced instead of using the most secure curve.

    * A new inn.conf parameter has been added to fine-tune the cipher suites
      to use with TLS 1.3:  the *tlsciphers13* now permits configuring them.
      A separate cipher suite configuration parameter is needed for TLS 1.3
      because TLS 1.3 cipher suites are not compatible with TLS 1.2, and
      vice-versa.  In order to avoid issues where legacy TLS 1.2 cipher
      suite configuration configured in the *tlsciphers* parameter would
      inadvertently disable all TLS 1.3 cipher suites, the inn.conf
      configuration has been separated out.

    * Fixed a regression since INN 2.6.1 that prevented articles with
      internationalized header fields (that is to say encoded in UTF-8) from
      being posted.

    * Support for Python 3 has been added to INN.  Embedded Python filtering
      and authentication hooks for innd and nnrpd can now use version 3.3.0
      or later of the Python interpreter.  In the 2.x series, version 2.3.0
      or later is still supported.

      When configuring INN with the --with-python flag, the "PYTHON"
      environment variable, when set, is used to select the interpreter to
      embed.  Otherwise, it is searched in standard paths.

      In case you change the Python interpreter to embed, make sure that the
      Python scripts you use are written in the expected syntax for that
      version of the Python interpreter.  Notably, buffer objects have been
      replaced with memoryview objects in Python 3, and UTF-8 encoding now
      really matters for string literals (Python 3 uses bytes and Unicode
      objects).

      INN documentation and samples of Python hooks have been updated to
      provide more examples.

    * When a Python or Perl filter hook rejects an article, innd now
      mentions the reason in response to CHECK and TAKETHIS commands.
      Previously, the reason was given only for the IHAVE command.

    * nnrpd now properly logs the hostname of clients whose connection
      failed owing to an issue during the negotiation of a TLS session or
      high load average.

Changes in 2.6.2

    * A new *syntaxchecks* parameter has been added in inn.conf.  It permits
      controlling the level of checks performed by innd and nnrpd.  Up to
      now, only one check can be enabled/disabled:  when *laxmid* is
      mentioned in the values of this new parameter, INN accepts Message-IDs
      that contain ".." in the left part, as well as Message-IDs with two
      "@" (such Message-IDs would otherwise be considered as syntactically
      invalid).  See the inn.conf(5) man page for more details.

      The check is disabled by default (*no-laxmid*), which corresponds to
      the legacy behaviour of INN 2.6.1 and earlier.

    * Use of the ovdb_server helper server is now the default when using the
      ovdb overview method, that is to say the default value for the
      *readserver* parameter in ovdb.conf is now set to true.  It improves
      stability and avoids deadlocks, timing issues and corrupted ovdb
      databases.

    * mailpost now removes empty header fields before attempting to post
      articles, and keeps trace of them in the X-Mailpost-Empty-Hdrs: newly
      generated header field body.  Also, mailpost now sanitizes header
      fields with regards to empty continuation header lines.  Thanks to
      Kamil Jonca for these bug reports.

    * A new -z parameter has been added to mailpost to mention a list of
      header fields to remove from the gated message.  Thanks to Dieter
      Stussy for the patch.

    * Fixed a bug in inews that was rejecting articles containing header
      fields whose length exceeded 998 bytes.  This limitation is for the
      length of a single line of a header field (and not for the length of
      the whole header field, as it was wrongly the case).

    * Added support for GnuPG's gpg binary (in addition to gpgv) in
      pgpverify.  Indeed, gpg still validates signatures made with weak
      digest algorithms like MD5 whereas gpgv no longer do.  Thanks to
      Thomas Hochstein for the patch, which permits validating control
      articles for hierarchies that are still using old PGP keys.

    * Added similar support for GnuPG's gpg binary in perl-nocem to validate
      NoCeM notices from issuers who are still using old PGP keys.

    * A few commands listed in the "Control commands to INND" section in
      daily Usenet reports were appearing as a mere letter; all of them are
      now properly converted to meaningful words.

    * The *tlsprotocols* parameter in inn.conf now recognizes the "TLSv1.3"
      value (for OpenSSL versions implementing TLS 1.3, that is to say
      starting from OpenSSL 1.1.1).

    * The buffindexed overview method will now hopefully work properly on
      systems with a native page size larger than 16KB.

    * Other minor bug fixes and documentation improvements.


(spz)
diff -r1.132 -r1.133 pkgsrc/news/inn/Makefile
diff -r1.26 -r1.27 pkgsrc/news/inn/PLIST
diff -r1.36 -r1.37 pkgsrc/news/inn/distinfo
diff -r1.8 -r1.9 pkgsrc/news/inn/options.mk

cvs diff -r1.132 -r1.133 pkgsrc/news/inn/Makefile (expand / switch to unified diff)

--- pkgsrc/news/inn/Makefile 2020/12/04 20:45:37 1.132
+++ pkgsrc/news/inn/Makefile 2021/01/02 14:18:22 1.133
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.132 2020/12/04 20:45:37 nia Exp $ 1# $NetBSD: Makefile,v 1.133 2021/01/02 14:18:22 spz Exp $
2 2
3DISTNAME= inn-2.6.1 3DISTNAME= inn-2.6.3
4PKGREVISION= 6 4#PKGREVISION= 0
5CATEGORIES= news 5CATEGORIES= news
6MASTER_SITES= ftp://ftp.isc.org/isc/inn/ 6MASTER_SITES= ftp://ftp.isc.org/isc/inn/
7MASTER_SITES+= ftp://ftp.fu-berlin.de/unix/news/inn/ 7MASTER_SITES+= ftp://ftp.fu-berlin.de/unix/news/inn/
8 8
9MAINTAINER= spz@NetBSD.org 9MAINTAINER= spz@NetBSD.org
10HOMEPAGE= http://www.isc.org/software/inn/ 10HOMEPAGE= http://www.isc.org/software/inn/
11COMMENT= The public release of InterNet News (INN) 11COMMENT= The public release of InterNet News (INN)
12LICENSE= modified-bsd AND gnu-gpl-v2 12LICENSE= modified-bsd AND gnu-gpl-v2
13 13
14CONFLICTS+= libradius-[0-9]* nntpclnt-[0-9]* 14CONFLICTS+= libradius-[0-9]* nntpclnt-[0-9]*
15 15
16.include "../../news/inn/Makefile.common" 16.include "../../news/inn/Makefile.common"
17 17
@@ -65,54 +65,62 @@ DEPENDS+= p5-GD-[0-9]*:../../graphics/p @@ -65,54 +65,62 @@ DEPENDS+= p5-GD-[0-9]*:../../graphics/p
65DEPENDS+= gnupg-[0-9]*:../../security/gnupg 65DEPENDS+= gnupg-[0-9]*:../../security/gnupg
66 66
67USERGROUP_PHASE= pre-install 67USERGROUP_PHASE= pre-install
68PKG_USERS_VARS+= INN_USER 68PKG_USERS_VARS+= INN_USER
69PKG_GROUPS_VARS+= INN_GROUP 69PKG_GROUPS_VARS+= INN_GROUP
70 70
71PKG_GROUPS+= ${INN_GROUP} 71PKG_GROUPS+= ${INN_GROUP}
72PKG_USERS+= ${INN_USER}:${INN_GROUP} 72PKG_USERS+= ${INN_USER}:${INN_GROUP}
73PKG_GECOS.${INN_USER}= Internet\ News 73PKG_GECOS.${INN_USER}= Internet\ News
74PKG_HOME.${INN_USER}= ${INN_DATA_DIR} 74PKG_HOME.${INN_USER}= ${INN_DATA_DIR}
75PKG_SHELL.${INN_USER}= ${SH} 75PKG_SHELL.${INN_USER}= ${SH}
76 76
77EXAMPLEDIR= ${PREFIX}/share/examples/inn 77EXAMPLEDIR= ${PREFIX}/share/examples/inn
78INN_DATADIRS= log log/OLD run tmp db spool http 78INN_DATADIRS= log log/OLD tmp db spool http
79INN_SPOOLDIRS= archive articles overview incoming incoming/bad \ 79INN_SPOOLDIRS= archive articles overview incoming incoming/bad \
80 outgoing uniover innfeed 80 outgoing uniover innfeed
81 81
 82INSTALL_ENV+= CHOWNPROG="echo chmod"
 83INSTALL_ENV+= CHGRPPROG="echo chgrp"
 84
82INSTALLATION_DIRS+= sbin 85INSTALLATION_DIRS+= sbin
83INSTALLATION_DIRS+= bin 86INSTALLATION_DIRS+= bin
84INSTALLATION_DIRS+= ${EXAMPLEDIR} 87INSTALLATION_DIRS+= ${EXAMPLEDIR}
85INSTALLATION_DIRS+= ${EXAMPLEDIR}/filter 88INSTALLATION_DIRS+= ${EXAMPLEDIR}/filter
86 89
87MAKE_DIRS+= ${PREFIX}/bin 
88MAKE_DIRS+= ${PREFIX}/sbin 
89MAKE_DIRS+= ${PREFIX}/lib 
90 
91INN_DIRS+= ${PKG_SYSCONFDIR} 90INN_DIRS+= ${PKG_SYSCONFDIR}
92INN_DIRS+= ${INN_DATA_DIR} 91INN_DIRS+= ${INN_DATA_DIR}
93 92
94OWN_DIRS+= ${PREFIX}/${INN_PATHBIN} 93MAKE_DIRS+= ${PREFIX}/${INN_PATHBIN}
95OWN_DIRS+= ${PREFIX}/${INN_PATHBIN}/filter 94MAKE_DIRS+= ${PREFIX}/${INN_PATHBIN}/auth
96OWN_DIRS+= ${EXAMPLEDIR} 95MAKE_DIRS+= ${PREFIX}/${INN_PATHBIN}/auth/resolv
 96MAKE_DIRS+= ${PREFIX}/${INN_PATHBIN}/auth/passwd
 97MAKE_DIRS+= ${PREFIX}/${INN_PATHBIN}/control
 98MAKE_DIRS+= ${PREFIX}/${INN_PATHBIN}/filter
 99MAKE_DIRS+= ${PREFIX}/${INN_PATHBIN}/rnews.libexec
 100MAKE_DIRS+= ${EXAMPLEDIR}
97 101
98.for dir in ${INN_DIRS} 102.for dir in ${INN_DIRS}
99OWN_DIRS_PERMS+= ${dir} ${INN_USER} ${INN_GROUP} 0775 103OWN_DIRS_PERMS+= ${dir} ${INN_USER} ${INN_GROUP} 0775
100.endfor 104.endfor
 105
101.for dir in ${INN_DATADIRS} 106.for dir in ${INN_DATADIRS}
102MAKE_DIRS_PERMS+= ${INN_DATA_DIR}/${dir} ${INN_USER} ${INN_GROUP} 0775 107OWN_DIRS_PERMS+= ${INN_DATA_DIR}/${dir} ${INN_USER} ${INN_GROUP} 0775
103.endfor 108.endfor
 109
 110OWN_DIRS_PERMS+= ${INN_DATA_DIR}/run ${INN_USER} ${INN_GROUP} 0770
 111
104.for dir in ${INN_SPOOLDIRS} 112.for dir in ${INN_SPOOLDIRS}
105MAKE_DIRS_PERMS+= ${INN_DATA_DIR}/spool/${dir} \ 113OWN_DIRS_PERMS+= ${INN_DATA_DIR}/spool/${dir} \
106 ${INN_USER} ${INN_GROUP} 0775 114 ${INN_USER} ${INN_GROUP} 0775
107.endfor 115.endfor
108 116
109CFILES= actsync.cfg actsync.ign buffindexed.conf \ 117CFILES= actsync.cfg actsync.ign buffindexed.conf \
110 control.ctl control.ctl.local cycbuff.conf \ 118 control.ctl control.ctl.local cycbuff.conf \
111 distrib.pats distributions \ 119 distrib.pats distributions \
112 expire.ctl incoming.conf inn.conf innfeed.conf \ 120 expire.ctl incoming.conf inn.conf innfeed.conf \
113 innreport.conf innwatch.ctl \ 121 innreport.conf innwatch.ctl \
114 innshellvars.local innshellvars.pl.local \ 122 innshellvars.local innshellvars.pl.local \
115 innshellvars.tcl.local \ 123 innshellvars.tcl.local \
116 localgroups moderators \ 124 localgroups moderators \
117 motd.innd motd.nnrpd \ 125 motd.innd motd.nnrpd \
118 news2mail.cf newsfeeds nnrpd.track \ 126 news2mail.cf newsfeeds nnrpd.track \
@@ -138,29 +146,42 @@ CONF_FILES_PERMS+= ${EXAMPLEDIR}/${file} @@ -138,29 +146,42 @@ CONF_FILES_PERMS+= ${EXAMPLEDIR}/${file}
138 ${INN_USER} ${INN_GROUP} 0664 146 ${INN_USER} ${INN_GROUP} 0664
139.endfor 147.endfor
140 148
141FILTERFILES= INN.py filter_innd.py nnrpd.py nnrpd_access.py \ 149FILTERFILES= INN.py filter_innd.py nnrpd.py nnrpd_access.py \
142 nnrpd_auth.py nnrpd_dynamic.py \ 150 nnrpd_auth.py nnrpd_dynamic.py \
143 filter_innd.pl filter_nnrpd.pl nnrpd_access.pl \ 151 filter_innd.pl filter_nnrpd.pl nnrpd_access.pl \
144 nnrpd_auth.pl startup_innd.pl 152 nnrpd_auth.pl startup_innd.pl
145 153
146.for file in ${FILTERFILES} 154.for file in ${FILTERFILES}
147CONF_FILES_PERMS+= ${EXAMPLEDIR}/filter/${file} ${INN_PATHBIN}/filter/${file} \ 155CONF_FILES_PERMS+= ${EXAMPLEDIR}/filter/${file} ${INN_PATHBIN}/filter/${file} \
148 ${INN_USER} ${INN_GROUP} 0664 156 ${INN_USER} ${INN_GROUP} 0664
149.endfor 157.endfor
150 158
151RCD_SCRIPTS= innd 159SPECIAL_PERMS+= ${PREFIX}/${INN_PATHBIN}/innbind ${REAL_ROOT_USER} ${INN_GROUP} 4555
 160SPECIAL_PERMS+= ${PREFIX}/${INN_PATHBIN}/inews ${INN_USER} ${INN_GROUP} 2555
 161SPECIAL_PERMS+= ${PREFIX}/${INN_PATHBIN}/rnews ${INN_USER} ${UUCP_GROUP} 2555
 162
 163NEWSONLYBINS+= buffindexed_d cnfsheadconf ctlinnd expire expireover
 164NEWSONLYBINS+= expirerm imapfeed inncheck innd innfeed innstat
 165NEWSONLYBINS+= innupgrade innwatch makedbz makehistory mod-active
 166NEWSONLYBINS+= news.daily ovdb_init ovdb_monitor ovdb_server ovdb_stat
 167NEWSONLYBINS+= overchan procbatch prunehistory rc.news scanlogs
 168NEWSONLYBINS+= tally.control tdx-util writelog
 169.for file in ${NEWSONLYBINS}
 170SPECIAL_PERMS+= ${PREFIX}/${INN_PATHBIN}/${file} ${INN_USER} ${INN_GROUP} 0550
 171.endfor
152 172
153PKG_DESTDIR_SUPPORT= destdir 173
 174RCD_SCRIPTS= innd
154 175
155.include "../../mk/bsd.prefs.mk" 176.include "../../mk/bsd.prefs.mk"
156 177
157.if ${OPSYS} == "SunOS" 178.if ${OPSYS} == "SunOS"
158CONFIGURE_ARGS+= --with-sendmail=/usr/lib/sendmail 179CONFIGURE_ARGS+= --with-sendmail=/usr/lib/sendmail
159.else 180.else
160CONFIGURE_ARGS+= --with-sendmail=/usr/sbin/sendmail 181CONFIGURE_ARGS+= --with-sendmail=/usr/sbin/sendmail
161.endif 182.endif
162 183
163.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32" 184.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
164GCC_REQD+= 2.95.3 185GCC_REQD+= 2.95.3
165.endif 186.endif
166 187

cvs diff -r1.26 -r1.27 pkgsrc/news/inn/PLIST (expand / switch to unified diff)

--- pkgsrc/news/inn/PLIST 2017/05/20 06:53:05 1.26
+++ pkgsrc/news/inn/PLIST 2021/01/02 14:18:22 1.27
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.26 2017/05/20 06:53:05 spz Exp $ 1@comment $NetBSD: PLIST,v 1.27 2021/01/02 14:18:22 spz Exp $
2bin/inews 2bin/inews
3bin/rnews 3bin/rnews
4include/inn/buffer.h 4include/inn/buffer.h
5include/inn/concat.h 5include/inn/concat.h
6include/inn/confparse.h 6include/inn/confparse.h
7include/inn/dbz.h 7include/inn/dbz.h
8include/inn/defines.h 8include/inn/defines.h
9include/inn/dispatch.h 9include/inn/dispatch.h
10include/inn/fdflag.h 10include/inn/fdflag.h
11include/inn/hashtab.h 11include/inn/hashtab.h
12include/inn/history.h 12include/inn/history.h
13include/inn/innconf.h 13include/inn/innconf.h
14include/inn/inndcomm.h 14include/inn/inndcomm.h
@@ -223,26 +223,27 @@ man/man8/ident.8 @@ -223,26 +223,27 @@ man/man8/ident.8
223man/man8/imapfeed.8 223man/man8/imapfeed.8
224man/man8/innbind.8 224man/man8/innbind.8
225man/man8/inncheck.8 225man/man8/inncheck.8
226man/man8/innd.8 226man/man8/innd.8
227man/man8/inndf.8 227man/man8/inndf.8
228man/man8/innfeed.8 228man/man8/innfeed.8
229man/man8/innreport.8 229man/man8/innreport.8
230man/man8/innstat.8 230man/man8/innstat.8
231man/man8/innupgrade.8 231man/man8/innupgrade.8
232man/man8/innwatch.8 232man/man8/innwatch.8
233man/man8/innxbatch.8 233man/man8/innxbatch.8
234man/man8/innxmit.8 234man/man8/innxmit.8
235man/man8/inpaths.8 235man/man8/inpaths.8
 236${PLIST.kerberos}man/man8/auth_krb5.8
236man/man8/mailpost.8 237man/man8/mailpost.8
237man/man8/makedbz.8 238man/man8/makedbz.8
238man/man8/makehistory.8 239man/man8/makehistory.8
239man/man8/mod-active.8 240man/man8/mod-active.8
240man/man8/news.daily.8 241man/man8/news.daily.8
241man/man8/news2mail.8 242man/man8/news2mail.8
242man/man8/ninpaths.8 243man/man8/ninpaths.8
243man/man8/nnrpd.8 244man/man8/nnrpd.8
244man/man8/nntpsend.8 245man/man8/nntpsend.8
245man/man8/ovdb_init.8 246man/man8/ovdb_init.8
246man/man8/ovdb_monitor.8 247man/man8/ovdb_monitor.8
247man/man8/ovdb_server.8 248man/man8/ovdb_server.8
248man/man8/ovdb_stat.8 249man/man8/ovdb_stat.8

cvs diff -r1.36 -r1.37 pkgsrc/news/inn/distinfo (expand / switch to unified diff)

--- pkgsrc/news/inn/distinfo 2017/05/20 06:53:05 1.36
+++ pkgsrc/news/inn/distinfo 2021/01/02 14:18:22 1.37
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1$NetBSD: distinfo,v 1.36 2017/05/20 06:53:05 spz Exp $ 1$NetBSD: distinfo,v 1.37 2021/01/02 14:18:22 spz Exp $
2 2
3SHA1 (inn-2.6.1.tar.gz) = 254ef2e8f0121334ee52eb2174e19a2a5e7fa3a1 3SHA1 (inn-2.6.3.tar.gz) = 2a6646030c77b2332d167bcadfcda797822932d0
4RMD160 (inn-2.6.1.tar.gz) = 5884482d06b997db8b2ea7fdb8e7a9db4e644e04 4RMD160 (inn-2.6.3.tar.gz) = 13a4a8a034f4e914b5579000f378203ad4037370
5SHA512 (inn-2.6.1.tar.gz) = 3764a1be4f3e83ca555f2399d9555af9811f7b0dc83915a555e2664c875188fd4a4a3abb0fe412826b434eedd1f96dad240573fb5f3d8c5a0e2e1692afdd8ab0 5SHA512 (inn-2.6.3.tar.gz) = 123881d474ce1df21983b3093827915706670a400d48c3945c32635cd2fa7f52be2470c39ad54b84cc31b5454d7a3be31feb306802957954a3450146e31f52cb
6Size (inn-2.6.1.tar.gz) = 2570558 bytes 6Size (inn-2.6.3.tar.gz) = 2586168 bytes
7SHA1 (patch-aa) = 1801206391e5f37e75edad0955cfc426d4701e45 7SHA1 (patch-aa) = 1801206391e5f37e75edad0955cfc426d4701e45
8SHA1 (patch-ab) = 28b341559ba7d132e8a6dbb0989e964b1d5849fd 8SHA1 (patch-ab) = 28b341559ba7d132e8a6dbb0989e964b1d5849fd
9SHA1 (patch-ac) = edb03ca5998873627278764ed4e528f13f3f74fd 9SHA1 (patch-ac) = edb03ca5998873627278764ed4e528f13f3f74fd
10SHA1 (patch-ad) = 96a38291dcd9a836dcaaa9f48ec6a8d2133dc7c6 10SHA1 (patch-ad) = 96a38291dcd9a836dcaaa9f48ec6a8d2133dc7c6
11SHA1 (patch-ag) = 31bee657a4e35475e902cd179716328aa39ee4b1 11SHA1 (patch-ag) = 31bee657a4e35475e902cd179716328aa39ee4b1
12SHA1 (patch-ah) = 231ccb7c0402441760692c32fa0dafcf5c6a72aa 12SHA1 (patch-ah) = 231ccb7c0402441760692c32fa0dafcf5c6a72aa
13SHA1 (patch-ak) = cdc37267d5f5151300b4c595b9274dc984c66651 13SHA1 (patch-ak) = cdc37267d5f5151300b4c595b9274dc984c66651
14SHA1 (patch-al) = 3751913f2e7f1e530db9b2f6e762bdda314fd4fd 14SHA1 (patch-al) = 3751913f2e7f1e530db9b2f6e762bdda314fd4fd

cvs diff -r1.8 -r1.9 pkgsrc/news/inn/options.mk (expand / switch to unified diff)

--- pkgsrc/news/inn/options.mk 2020/05/31 15:08:27 1.8
+++ pkgsrc/news/inn/options.mk 2021/01/02 14:18:22 1.9
@@ -1,38 +1,64 @@ @@ -1,38 +1,64 @@
1# $NetBSD: options.mk,v 1.8 2020/05/31 15:08:27 rillig Exp $ 1# $NetBSD: options.mk,v 1.9 2021/01/02 14:18:22 spz Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.inn 3PKG_OPTIONS_VAR= PKG_OPTIONS.inn
4PKG_SUPPORTED_OPTIONS= perl python uucp 4PKG_SUPPORTED_OPTIONS= perl python uucp kerberos gnupg2
5PKG_SUGGESTED_OPTIONS= perl 5PKG_SUGGESTED_OPTIONS= perl
6 6
7.include "../../mk/bsd.options.mk" 7.include "../../mk/bsd.options.mk"
8 8
 9PLIST_VARS+= kerberos
 10
9### 11###
10### uucp support (requires a group uucp to exist) 12### uucp support (requires a group uucp to exist)
11### 13###
12.if !empty(PKG_OPTIONS:Muucp) 14.if !empty(PKG_OPTIONS:Muucp)
 15PKG_GROUPS_VARS+= UUCP_GROUP
 16PKG_GROUPS+= ${UUCP_GROUP}
 17
13CONFIGURE_ARGS+= --enable-uucp-rnews 18CONFIGURE_ARGS+= --enable-uucp-rnews
14PKG_GROUPS+= uucp 
15.else 19.else
16CONFIGURE_ARGS+= --disable-uucp-rnews 20CONFIGURE_ARGS+= --disable-uucp-rnews
17.endif 21.endif
18 22
19### 23###
20### perl support for INN 24### perl support for INN
21### 25###
22.if !empty(PKG_OPTIONS:Mperl) 26.if !empty(PKG_OPTIONS:Mperl)
23CONFIGURE_ARGS+= --with-perl 27CONFIGURE_ARGS+= --with-perl
24CONFIGURE_ENV+= _PATH_PERL=${PERL5:Q} 28CONFIGURE_ENV+= _PATH_PERL=${PERL5:Q}
25 29
26.include "../../lang/perl5/buildlink3.mk" 30.include "../../lang/perl5/buildlink3.mk"
27.else 31.else
28CONFIGURE_ARGS+= --without-perl 32CONFIGURE_ARGS+= --without-perl
29.endif 33.endif
 34
30### 35###
31### Python support for INN 36### Python support for INN
32### 37###
33.if !empty(PKG_OPTIONS:Mpython) 38.if !empty(PKG_OPTIONS:Mpython)
34CONFIGURE_ARGS+= --with-python 39CONFIGURE_ARGS+= --with-python
35CONFIGURE_ENV+= _PATH_PYTHON=${PYTHONBIN:Q} 40CONFIGURE_ENV+= _PATH_PYTHON=${PYTHONBIN:Q}
36 41
37.include "../../lang/python/application.mk" 42.include "../../lang/python/application.mk"
38.endif 43.endif
 44
 45###
 46### kerberos support for INN
 47###
 48.if !empty(PKG_OPTIONS:Mkerberos)
 49. include "../../mk/krb5.buildlink3.mk"
 50
 51CONFIGURE_ARGS+= --with-krb5
 52.else
 53CONFIGURE_ARGS+= --without-krb5
 54.endif
 55
 56###
 57### pick either gnupg2 or gnupg
 58###
 59.if !empty(PKG_OPTIONS:Mgnupg2)
 60DEPENDS+= gnupg2-[0-9]*:../../security/gnupg2
 61.else
 62DEPENDS+= gnupg-[0-9]*:../../security/gnupg
 63.endif
 64