|
Lines 3-9
Link Here
|
| 3 |
|
3 |
|
| 4 |
PORTNAME= racoon2 |
4 |
PORTNAME= racoon2 |
| 5 |
PORTVERSION= 20100526a |
5 |
PORTVERSION= 20100526a |
| 6 |
PORTREVISION= 8 |
6 |
PORTREVISION= 9 |
| 7 |
CATEGORIES= security net ipv6 |
7 |
CATEGORIES= security net ipv6 |
| 8 |
MASTER_SITES= ftp://ftp.racoon2.wide.ad.jp/pub/racoon2/ |
8 |
MASTER_SITES= ftp://ftp.racoon2.wide.ad.jp/pub/racoon2/ |
| 9 |
|
9 |
|
|
Lines 13-18
Link Here
|
| 13 |
USES= perl5 tar:tgz |
13 |
USES= perl5 tar:tgz |
| 14 |
USE_RC_SUBR= YES |
14 |
USE_RC_SUBR= YES |
| 15 |
USE_OPENSSL= YES |
15 |
USE_OPENSSL= YES |
|
|
16 |
CONFIGURE_ARGS+= --disable-kinkd |
| 17 |
PLIST_SUB+= KINK="@comment " |
| 16 |
|
18 |
|
| 17 |
USE_AUTOTOOLS= autoconf |
19 |
USE_AUTOTOOLS= autoconf |
| 18 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
|
Lines 20-53
Link Here
|
| 20 |
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/racoon2 |
22 |
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/racoon2 |
| 21 |
CONFIGURE_ENV= YACC=/usr/bin/yacc |
23 |
CONFIGURE_ENV= YACC=/usr/bin/yacc |
| 22 |
|
24 |
|
| 23 |
OPTIONS_DEFINE= KINK DOCS |
25 |
OPTIONS_DEFINE= DOCS |
| 24 |
KINK_DESC= Enable KINK support |
26 |
OPTIONS_RADIO= KERBEROS |
|
|
27 |
OPTIONS_RADIO_KERBEROS= KRB5 KRB5-112 KRB5-113 KRB5-114 \ |
| 28 |
HEIMDAL_PORTS HEIMDAL_BASE |
| 29 |
KRB5_DESC= Build with Kerberos (security/krb5) |
| 30 |
KRB5-112_DESC= Build with Kerberos (security/krb5-112) |
| 31 |
KRB5-113_DESC= Build with Kerberos (security/krb5-113) |
| 32 |
KRB5-114_DESC= Build with Kerberos (security/krb5-114) |
| 33 |
HEIMDAL_PORTS_DESC= Build with Heimdal in ports (security/heimdal) |
| 34 |
HEIMDAL_BASE_DESC= Build with Heimdal in base |
| 25 |
|
35 |
|
|
|
36 |
KRB5_USES= gssapi:mit |
| 37 |
KRB5_CONFIGURE_ON= --enable-kinkd |
| 38 |
KRB5_MAKE_ENV= WITH_KINK=yes |
| 39 |
KRB5_PLIST_SUB= KINK="" |
| 40 |
KRB5_LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5 |
| 41 |
KRB5_RUN_DEPENDS= kinit:${PORTSDIR}/security/krb5 |
| 42 |
KRB5_VARS= KINK=yes |
| 43 |
|
| 44 |
KRB5-112_USES= gssapi:mit |
| 45 |
KRB5-112_CONFIGURE_ON= --enable-kinkd |
| 46 |
KRB5-112_MAKE_ENV= WITH_KINK=yes |
| 47 |
KRB5-112_PLIST_SUB= KINK="" |
| 48 |
KRB5-112_LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5-112 |
| 49 |
KRB5-112_RUN_DEPENDS= kinit:${PORTSDIR}/security/krb5-112 |
| 50 |
KRB5-112_VARS= KINK=yes |
| 51 |
|
| 52 |
KRB5-113_USES= gssapi:mit |
| 53 |
KRB5-113_CONFIGURE_ON= --enable-kinkd |
| 54 |
KRB5-113_MAKE_ENV= WITH_KINK=yes |
| 55 |
KRB5-113_PLIST_SUB= KINK="" |
| 56 |
KRB5-113_LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5-113 |
| 57 |
KRB5-113_RUN_DEPENDS= kinit:${PORTSDIR}/security/krb5-113 |
| 58 |
KRB5-113_VARS= KINK=yes |
| 59 |
|
| 60 |
KRB5-114_USES= gssapi:mit |
| 61 |
KRB5-114_CONFIGURE_ON= --enable-kinkd |
| 62 |
KRB5-114_MAKE_ENV= WITH_KINK=yes |
| 63 |
KRB5-114_PLIST_SUB= KINK="" |
| 64 |
KRB5-114_LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5-114 |
| 65 |
KRB5-114_RUN_DEPENDS= kinit:${PORTSDIR}/security/krb5-113 |
| 66 |
KRB5-114_VARS= KINK=yes |
| 67 |
|
| 68 |
HEIMDAL_PORT_USES= gssapi:heimdal |
| 69 |
HEIMDAL_PORTS_CONFIGURE_ON= --enable-kinkd |
| 70 |
HEIMDAL_PORTS_MAKE_ENV= WITH_KINK=yes |
| 71 |
HEIMDAL_PORT_PLIST_SUB= KINK="" |
| 72 |
HEIMDAL_PORT_VARS= KINK=yes |
| 73 |
|
| 74 |
HEIMDAL_BASE_USES= gssapi:base |
| 75 |
HEIMDAL_BASE_CONFIGURE_ON= --enable-kinkd |
| 76 |
HEIMDAL_BASE_MAKE_ENV= WITH_KINK=yes |
| 77 |
HEIMDAL_BASE_PLIST_SUB= KINK="" |
| 78 |
HEIMDAL_BASE_VARS= KINK=yes |
| 79 |
|
| 26 |
.include <bsd.port.pre.mk> |
80 |
.include <bsd.port.pre.mk> |
| 27 |
|
81 |
|
| 28 |
PLIST_SUB+= PFX=${PREFIX} |
82 |
PLIST_SUB+= PFX=${PREFIX} |
| 29 |
|
83 |
|
| 30 |
pre-configure: |
|
|
| 31 |
.if ${PORT_OPTIONS:MKINK} |
| 32 |
.if !exists(/usr/lib/libkrb5.a) |
| 33 |
@${ECHO_MSG} 'Required Kerberos5 is not in this system. Disable KINK support.' |
| 34 |
CONFIGURE_ARGS+= --disable-kinkd |
| 35 |
PLIST_SUB+= KINK="@comment " |
| 36 |
.else |
| 37 |
CONFIGURE_ARGS+= --enable-kinkd |
| 38 |
MAKE_ENV= WITH_KINK=yes |
| 39 |
PLIST_SUB+= KINK="" |
| 40 |
.endif |
| 41 |
.else |
| 42 |
CONFIGURE_ARGS+= --disable-kinkd |
| 43 |
PLIST_SUB+= KINK="@comment " |
| 44 |
.endif |
| 45 |
|
| 46 |
.if ${PORT_OPTIONS:MDOCS} |
84 |
.if ${PORT_OPTIONS:MDOCS} |
| 47 |
PORTDOCS+= INSTALL USAGE config-usage.ja.txt config-usage.txt |
85 |
PORTDOCS+= INSTALL USAGE config-usage.ja.txt config-usage.txt |
| 48 |
PORTDOCS+= iked-memo.ja.txt libracoon.ja.txt specification.ja.txt |
86 |
PORTDOCS+= iked-memo.ja.txt libracoon.ja.txt specification.ja.txt |
| 49 |
PORTDOCS+= spmif.txt style.txt system-message.ja.txt |
87 |
PORTDOCS+= spmif.txt style.txt system-message.ja.txt |
| 50 |
.if ${PORT_OPTIONS:MKINK} |
88 |
.if defined(KINK) |
| 51 |
PORTDOCS+= kinkd-data-struct.obj kinkd-impl.ja.txt |
89 |
PORTDOCS+= kinkd-data-struct.obj kinkd-impl.ja.txt |
| 52 |
PORTDOCS+= kinkd-install.ja.txt kinkd-state-txn.obj |
90 |
PORTDOCS+= kinkd-install.ja.txt kinkd-state-txn.obj |
| 53 |
.endif |
91 |
.endif |