1 # $NetBSD: options.mk,v 1.5 2012/06/12 15:46:01 wiz Exp $
3 PKG_OPTIONS_VAR
= PKG_OPTIONS.quagga
4 PKG_SUPPORTED_OPTIONS
= inet6
5 PKG_SUPPORTED_OPTIONS
+= quagga-ospf-opaque-lsa
6 PKG_SUPPORTED_OPTIONS
+= quagga-vtysh
7 PKG_SUGGESTED_OPTIONS
= inet6
8 PKG_SUGGESTED_OPTIONS
+= quagga-ospf-opaque-lsa
9 PKG_SUGGESTED_OPTIONS
+= quagga-vtysh
11 .
include "../../mk/bsd.options.mk"
16 .if
!empty
(PKG_OPTIONS
:Minet6
)
17 PLIST_CAT
+= ${PKGDIR}/PLIST.v6
18 RCD_SCRIPTS
+= ospf6d ripngd
19 . for _file_ in ospf6d.conf ripngd.conf
20 CONF_FILES_PERMS
+= ${PREFIX}/share
/examples
/quagga
/log_syslog.conf \
21 ${PKG_SYSCONFDIR}/${_file_} quagga quagga
0600
24 CONFIGURE_ARGS
+= --disable-ospf6d
25 CONFIGURE_ARGS
+= --disable-ripngd
29 ### Include 'vtysh' program.
31 .if
!empty
(PKG_OPTIONS
:Mquagga-vtysh
)
32 USE_GNU_READLINE
= # uses rl_pending_input
33 .
include "../../devel/readline/buildlink3.mk"
34 CONFIGURE_ARGS
+= --enable-vtysh
35 PLIST_CAT
+= ${PKGDIR}/PLIST.vtysh
37 CONFIGURE_ARGS
+= --disable-vtysh
41 ### Include Opaque LSA support in OSPF (RFC2370).
43 .if
!empty
(PKG_OPTIONS
:Mquagga-ospf-opaque-lsa
)
44 # opaque-lsa is now the upstream default.
45 PLIST_CAT
+= ${PKGDIR}/PLIST.opaquelsa
47 CONFIGURE_ARGS
+= --disable-opaque-lsa