ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/security/gnutls/Makefile
Revision: 16031
Committed: Fri Mar 7 12:51:54 2014 UTC (10 years, 2 months ago) by laffer1
File size: 2273 byte(s)
Log Message:
security patch for recent gnutls vulnerability. please update

File Contents

# User Rev Content
1 laffer1 15462 # $MidnightBSD$
2 laffer1 131
3     PORTNAME= gnutls
4 laffer1 14169 PORTVERSION= 2.12.23
5 laffer1 16031 PORTREVISION= 3
6 laffer1 131 CATEGORIES= security net
7 laffer1 16031 MASTER_SITES= \
8     ftp://ftp.gnutls.org/gcrypt/gnutls/v${PORTVERSION:C/.[0-9]+$//}/ \
9     http://www.ring.gr.jp/pub/net/gnupg/gnutls/v${PORTVERSION:C/.[0-9]+$//}/
10 laffer1 131
11 laffer1 16031 MAINTAINER= novel@FreeBSD.org
12 laffer1 131 COMMENT= GNU Transport Layer Security library
13 laffer1 16031
14 vganji 9529 LICENSE= gpl3
15 laffer1 7767
16 laffer1 14169 LIB_DEPENDS= nettle:${PORTSDIR}/security/nettle \
17     gpg-error:${PORTSDIR}/security/libgpg-error \
18     p11-kit:${PORTSDIR}/security/p11-kit
19 laffer1 131
20 vganji 9529 CONFLICTS= gnutls-devel-[0-9]*
21    
22 laffer1 16031 USES= pathfix pkgconfig iconv gmake shebangfix
23     USE_PERL5_BUILD= yes
24 laffer1 131 USE_BZIP2= yes
25 laffer1 16031 USE_GNOME= ltverhack
26 laffer1 131 GNU_CONFIGURE= yes
27 laffer1 4271 USE_LDCONFIG= yes
28 laffer1 10713 USE_AUTOTOOLS= libtool
29 laffer1 14169 LIBTOOLFILES= configure lib/configure libextra/configure
30 laffer1 16031 SHEBANG_FILES= doc/scripts/gdoc doc/scripts/sort2.pl
31 laffer1 131 CPPFLAGS+= -I${LOCALBASE}/include
32     LDFLAGS+= -L${LOCALBASE}/lib
33 laffer1 14169 CPPFLAGS+= -fPIC
34 vganji 9529 CONFIGURE_ARGS+= --disable-guile
35 laffer1 131
36 laffer1 16031
37     INFO= gnutls
38    
39 laffer1 14169 OPTIONS_DEFINE= LIBTASN1 CXX LZO NLS
40 laffer1 131
41 laffer1 14169 LIBTASN1_DESC= Use system libtasn1 instead of local one
42     CXX_DESC= Install C++ library
43     LZO_DESC= LZO compression
44    
45     OPTIONS_DEFAULT= LIBTASN1 CXX
46    
47     .include <bsd.mport.options.mk>
48    
49     .if ${PORT_OPTIONS:MLIBTASN1}
50 laffer1 16031 LIB_DEPENDS+= tasn1:${PORTSDIR}/security/libtasn1
51 laffer1 7767 .else
52     CONFIGURE_ARGS+= --with-included-libtasn1
53 laffer1 131 .endif
54    
55 laffer1 14169 .if ${PORT_OPTIONS:MLZO}
56 laffer1 7767 LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2
57     CONFIGURE_ARGS+= --with-lzo
58 laffer1 16031 .else
59     CONFIGURE_ARGS+= --with-lzo=no
60 laffer1 7767 .endif
61    
62 laffer1 14169 .if ${PORT_OPTIONS:MCXX}
63 laffer1 16031 PLIST_SUB+= CXX=""
64     .else
65 laffer1 3847 CONFIGURE_ARGS+= --disable-cxx
66 laffer1 7767 PLIST_SUB+= CXX="@comment "
67 laffer1 3847 .endif
68    
69 laffer1 14169 .if ${PORT_OPTIONS:MNLS}
70 laffer1 16031 USES+= gettext
71     PLIST_SUB+= NLS=""
72     .else
73 laffer1 131 CONFIGURE_ARGS+= --disable-nls
74     PLIST_SUB+= NLS="@comment "
75     .endif
76    
77     PORTDOCS= AUTHORS NEWS README THANKS
78 laffer1 14169 PORTEXAMPLES= *.c
79 laffer1 131
80 laffer1 14169 post-patch:
81 laffer1 16031 @${FIND} ${WRKSRC} -name "Makefile.in" -type f |\
82     ${XARGS} ${REINPLACE_CMD} -e 's|[$$][(]LTLIBPTHREAD[)]||g'
83     @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PREFIX}/bin/perl|g' \
84     ${WRKSRC}/doc/doxygen/Doxyfile.in
85 laffer1 131
86     post-install:
87 laffer1 16031 .if ${PORT_OPTIONS:MEXAMPLES}
88 laffer1 131 @${MKDIR} ${EXAMPLESDIR}
89 laffer1 14169 cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES:C,^,doc/examples/,} \
90     ${EXAMPLESDIR}
91     .endif
92 laffer1 16031 .if ${PORT_OPTIONS:MDOCS}
93 laffer1 131 @${MKDIR} ${DOCSDIR}
94     .for i in ${PORTDOCS}
95     @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
96     .endfor
97     .endif
98    
99 laffer1 14169 .include <bsd.port.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H