mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
- update from 7.2.6 to 7.2.7
- add LICENSE - add 'ssl', 'localbase' and 'cpe' to USES - simplify options handling Approved by: tdb (maintainer), jpaetzel (mentor) Security: CVE-2014-9773 Security: CVE-2016-4478
This commit is contained in:
parent
b4fc5941e0
commit
19dd036c1d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428616
@ -2,14 +2,20 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= atheme-services
|
||||
PORTVERSION= 7.2.6
|
||||
CATEGORIES= irc
|
||||
MASTER_SITES= http://atheme.github.io/downloads/
|
||||
PORTVERSION= 7.2.7
|
||||
CATEGORIES= irc ipv6 net
|
||||
MASTER_SITES= https://github.com/atheme/atheme/releases/download/v${PORTVERSION}/
|
||||
DISTNAME= atheme-${PORTVERSION}
|
||||
|
||||
MAINTAINER= tdb@FreeBSD.org
|
||||
COMMENT= Set of services for IRC networks
|
||||
|
||||
USES= tar:bzip2 pkgconfig pathfix gmake
|
||||
LICENSE= ISCL
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libmowgli-2.so:devel/libmowgli2
|
||||
|
||||
USES= cpe gmake localbase pathfix pkgconfig ssl tar:bzip2
|
||||
PATHFIX_MAKEFILEIN= Makefile
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
@ -18,14 +24,12 @@ CONFIGURE_ARGS= --enable-fhs-paths \
|
||||
--localstatedir=/var \
|
||||
--disable-gtk-doc \
|
||||
--enable-large-net
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
CPE_PRODUCT= atheme
|
||||
|
||||
USERS= ircservices
|
||||
GROUPS= ircservices
|
||||
|
||||
LIB_DEPENDS+= libmowgli-2.so:devel/libmowgli2
|
||||
|
||||
USE_RC_SUBR= atheme-services
|
||||
|
||||
OPTIONS_DEFINE= CONTRIB CRACKLIB DOCS LDAP NLS PCRE PERL
|
||||
@ -36,61 +40,16 @@ CRACKLIB_DESC= Use cracklib for checking password strength
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MCONTRIB}
|
||||
CONFIGURE_ARGS+= --enable-contrib
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-contrib
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MCRACKLIB}
|
||||
LIB_DEPENDS+= libcrack.so:security/cracklib
|
||||
CONFIGURE_ARGS+= --with-cracklib
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-cracklib
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MLDAP}
|
||||
USE_OPENLDAP= yes
|
||||
CONFIGURE_ARGS+= --with-ldap
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-ldap
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
CONFIGURE_ARGS+= --enable-nls
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MPCRE}
|
||||
LIB_DEPENDS+= libpcre.so:devel/pcre
|
||||
CONFIGURE_ARGS+= --with-pcre
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-pcre
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MPERL}
|
||||
USES+= perl5
|
||||
CONFIGURE_ARGS+= --with-perl
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-perl
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
# Treat atheme.motd like atheme.conf. So don't install it directly,
|
||||
# but instead copy it from atheme.motd.example if it doesn't exist,
|
||||
# and only remove it at deinstall time if it's unchanged.
|
||||
@${RM} ${STAGEDIR}${PREFIX}/etc/atheme/atheme.motd
|
||||
# These are just to satisfy check-orphans
|
||||
@${RMDIR} ${STAGEDIR}/var/lib/atheme
|
||||
@${RMDIR} ${STAGEDIR}/var/lib
|
||||
@${RMDIR} ${STAGEDIR}/var/log/atheme
|
||||
@${RMDIR} ${STAGEDIR}/var/run/atheme
|
||||
.if !${PORT_OPTIONS:MDOCS}
|
||||
@${RM} -R ${STAGEDIR}${PREFIX}/share/doc/atheme
|
||||
.endif
|
||||
CONTRIB_CONFIGURE_ENABLE= contrib
|
||||
CRACKLIB_LIB_DEPENDS= libcrack.so:security/cracklib
|
||||
CRACKLIB_CONFIGURE_WITH= cracklib
|
||||
LDAP_USE= openldap=yes
|
||||
LDAP_CONFIGURE_WITH= ldap
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
|
||||
PCRE_CONFIGURE_WITH= pcre
|
||||
PERL_USES= perl5
|
||||
PERL_CONFIGURE_WITH= perl
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (atheme-services-7.2.6.tar.bz2) = c2805f50ac8ea05e35ae2cebb67b59dd5f8c2159ee7dea6842a85cab514b3ba2
|
||||
SIZE (atheme-services-7.2.6.tar.bz2) = 1215437
|
||||
TIMESTAMP = 1481712949
|
||||
SHA256 (atheme-7.2.7.tar.bz2) = 64159a5aef905f0a15f35c7dd2bf1b140d918290488e9b6762fd85fd1bfafd94
|
||||
SIZE (atheme-7.2.7.tar.bz2) = 1181086
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user