View | Details | Raw Unified | Return to bug 156248 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/net/yate.new/Makefile (-3 / +18 lines)
Lines 29-35 Link Here
29
WRKSRC=		${WRKDIR}/yate
29
WRKSRC=		${WRKDIR}/yate
30
30
31
CONFIGURE_ARGS=	--without-fdsize \
31
CONFIGURE_ARGS=	--without-fdsize \
32
		--with-openssl \
33
		--with-zlib=/usr
32
		--with-zlib=/usr
34
33
35
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib"
34
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib"
Lines 47-53 Link Here
47
		PGSQL "PostgreSQL Database support" off \
46
		PGSQL "PostgreSQL Database support" off \
48
		SPANDSP "Enable Spandsp faxing support" off \
47
		SPANDSP "Enable Spandsp faxing support" off \
49
		DAHDI "Dahdi driver" off \
48
		DAHDI "Dahdi driver" off \
50
		H323 "H323 software channel/protocol support" off
49
		H323 "H323 software channel/protocol support" off \
50
		SSL "Enable SSL support" off
51
51
52
SUB_FILES=	pkg-message
52
SUB_FILES=	pkg-message
53
USE_RC_SUBR=	yate.sh
53
USE_RC_SUBR=	yate.sh
Lines 58-68 Link Here
58
.include <bsd.port.pre.mk>
58
.include <bsd.port.pre.mk>
59
59
60
.if !defined(WITHOUT_MYSQL)
60
.if !defined(WITHOUT_MYSQL)
61
CONFIGURE_ARGS+=	--with-mysql
61
MAKE_ENV+=	WITH_MYSQL=1
62
MAKE_ENV+=	WITH_MYSQL=1
62
PLIST_SUB+=	WITH_MYSQL=""
63
PLIST_SUB+=	WITH_MYSQL=""
63
USE_MYSQL=	yes
64
USE_MYSQL=	yes
64
.else
65
.else
65
CONFIGURE_ARGS+=	--with-mysql=/none
66
CONFIGURE_ARGS+=	--without-mysql
66
PLIST_SUB+=	WITH_MYSQL="@comment "
67
PLIST_SUB+=	WITH_MYSQL="@comment "
67
.endif
68
.endif
68
69
Lines 72-77 Link Here
72
PLIST_SUB+=	WITH_PGSQL=""
73
PLIST_SUB+=	WITH_PGSQL=""
73
USE_PGSQL=	yes
74
USE_PGSQL=	yes
74
.else
75
.else
76
CONFIGURE_ARGS+=	--without-libpq
75
PLIST_SUB+=	WITH_PGSQL="@comment "
77
PLIST_SUB+=	WITH_PGSQL="@comment "
76
.endif
78
.endif
77
79
Lines 81-86 Link Here
81
MAKE_ENV+=	WITH_SPANDSP=1
83
MAKE_ENV+=	WITH_SPANDSP=1
82
PLIST_SUB+=	WITH_SPANDSP=""
84
PLIST_SUB+=	WITH_SPANDSP=""
83
.else
85
.else
86
CONFIGURE_ARGS+=	--without-spandsp
84
PLIST_SUB+=	WITH_SPANDSP="@comment "
87
PLIST_SUB+=	WITH_SPANDSP="@comment "
85
.endif
88
.endif
86
89
Lines 91-96 Link Here
91
MAKE_ENV+=	WITH_DAHDI=1
94
MAKE_ENV+=	WITH_DAHDI=1
92
PLIST_SUB+=	WITH_DAHDI=""
95
PLIST_SUB+=	WITH_DAHDI=""
93
.else
96
.else
97
CONFIGURE_ARGS+=	--without-dahdi
94
PLIST_SUB+=	WITH_DAHDI="@comment "
98
PLIST_SUB+=	WITH_DAHDI="@comment "
95
.endif
99
.endif
96
100
Lines 102-110 Link Here
102
MAKE_ENV+=	WITH_H323=1
106
MAKE_ENV+=	WITH_H323=1
103
PLIST_SUB+=	WITH_H323=""
107
PLIST_SUB+=	WITH_H323=""
104
.else
108
.else
109
CONFIGURE_ARGS+=	--without-openh323
105
PLIST_SUB+=	WITH_H323="@comment "
110
PLIST_SUB+=	WITH_H323="@comment "
106
.endif
111
.endif
107
112
113
.if !defined(WITHOUT_SSL)
114
CONFIGURE_ARGS+=	--with-openssl
115
LIB_DEPENDS+=	ssl.7:${PORTSDIR}/security/openssl
116
MAKE_ENV+=	WITH_SSL=1
117
PLIST_SUB+=	WITH_SSL=""
118
.else
119
CONFIGURE_ARGS+=	--without-openssl
120
PLIST_SUB+=	WITH_SSL="@comment "
121
.endif
122
108
post-install:
123
post-install:
109
	@cd ${PREFIX}/etc/${PORTNAME}; \
124
	@cd ${PREFIX}/etc/${PORTNAME}; \
110
	    for cfg in *.sample; do \
125
	    for cfg in *.sample; do \
(-)/usr/ports/net/yate.new/pkg-plist (-1 / +1 lines)
Lines 213-219 Link Here
213
lib/yate/moh.yate
213
lib/yate/moh.yate
214
lib/yate/msgsniff.yate
214
lib/yate/msgsniff.yate
215
lib/yate/mux.yate
215
lib/yate/mux.yate
216
lib/yate/openssl.yate
216
%%WITH_SSL%%lib/yate/openssl.yate
217
lib/yate/pbx.yate
217
lib/yate/pbx.yate
218
lib/yate/regexroute.yate
218
lib/yate/regexroute.yate
219
lib/yate/rmanager.yate
219
lib/yate/rmanager.yate

Return to bug 156248