From owner-svn-ports-head@freebsd.org Fri Nov 16 17:04:11 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A38081137666; Fri, 16 Nov 2018 17:04:11 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD40E86BC0; Fri, 16 Nov 2018 17:04:10 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B90051FFE5; Fri, 16 Nov 2018 17:04:10 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAGH4Ac7013326; Fri, 16 Nov 2018 17:04:10 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAGH4AhD013324; Fri, 16 Nov 2018 17:04:10 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201811161704.wAGH4AhD013324@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 16 Nov 2018 17:04:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485088 - head/irc/anope X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/irc/anope X-SVN-Commit-Revision: 485088 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: DD40E86BC0 X-Spamd-Result: default: False [-106.88 / 40.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-1.00)[-0.999,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; IP_SCORE(-3.77)[ip: (-9.91), ipnet: 2610:1c1:1::/48(-4.93), asn: 11403(-3.91), country: US(-0.10)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 17:04:11 -0000 Author: amdmi3 Date: Fri Nov 16 17:04:10 2018 New Revision: 485088 URL: https://svnweb.freebsd.org/changeset/ports/485088 Log: - Add LICENSE_FILE - Switch to USES=localbase - Switch to options helpers - Update WWW Modified: head/irc/anope/Makefile head/irc/anope/pkg-descr Modified: head/irc/anope/Makefile ============================================================================== --- head/irc/anope/Makefile Fri Nov 16 17:03:00 2018 (r485087) +++ head/irc/anope/Makefile Fri Nov 16 17:04:10 2018 (r485088) @@ -3,18 +3,16 @@ PORTNAME= anope PORTVERSION= 2.0.5 -PORTREVISION= 0 CATEGORIES= irc MAINTAINER= ports@FreeBSD.org COMMENT= Set of IRC services for IRC networks LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/docs/COPYING -USES= cmake:outsource shebangfix -CMAKE_ARGS+= -DINSTDIR:STRING="${LOCALBASE}/anope" -CXXFLAGS+= "-I${LOCALBASE}/include" -LDFLAGS+= "-L${LOCALBASE}/lib" +USES= cmake:outsource localbase:ldflags shebangfix +CMAKE_ARGS= -DINSTDIR:STRING="${PREFIX}/anope" SHEBANG_FILES= ${WRKSRC}/src/tools/*.sh CFLAGS_amd64= -fPIC @@ -34,7 +32,7 @@ TRE_DESC= Tre Regex Module GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls -LDAP_VARS_ON= USE_OPENLDAP=yes +LDAP_USE= OPENLDAP=yes MYSQL_USES= mysql @@ -52,50 +50,44 @@ SQLITE_USES= sqlite TRE_LIB_DEPENDS= libtre.so:textproc/libtre -.include - -.include - -post-patch: -.if ${PORT_OPTIONS:MGNUTLS} +post-patch-GNUTLS-on: ${LN} -s ${WRKSRC}/modules/extra/m_ssl_gnutls.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MLDAP} + +post-patch-LDAP-on: ${LN} -s ${WRKSRC}/modules/extra/m_ldap.cpp ${WRKSRC}/modules/ ${LN} -s ${WRKSRC}/modules/extra/m_ldap_authentication.cpp ${WRKSRC}/modules/ ${LN} -s ${WRKSRC}/modules/extra/m_ldap_oper.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MMYSQL} + +post-patch-MYSQL-on: ${LN} -s ${WRKSRC}/modules/extra/m_mysql.cpp ${WRKSRC}/modules/ ${LN} -s ${WRKSRC}/modules/extra/m_sql_authentication.cpp ${WRKSRC}/modules/ ${LN} -s ${WRKSRC}/modules/extra/m_sql_log.cpp ${WRKSRC}/modules/ ${LN} -s ${WRKSRC}/modules/extra/m_sql_oper.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MOPENSSL} + +post-patch-OPENSSL-on: ${LN} -s ${WRKSRC}/modules/extra/m_ssl_openssl.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MSQLITE} + +post-patch-SQLITE-on: ${LN} -s ${WRKSRC}/modules/extra/m_sqlite.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MPCRE} + +post-patch-PCRE-on: ${LN} -s ${WRKSRC}/modules/extra/m_regex_pcre.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MPOSIX} + +post-patch-POSIX-on: ${LN} -s ${WRKSRC}/modules/extra/m_regex_posix.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MSASL} + +post-patch-SASL-on: ${LN} -s ${WRKSRC}/modules/extra/m_sasl_dh-aes.cpp ${WRKSRC}/modules/ ${LN} -s ${WRKSRC}/modules/extra/m_sasl_dh-blowfish.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MSTATS} + +post-patch-STATS-on: ${LN} -s ${WRKSRC}/modules/extra/stats ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MTRE} + +post-patch-TRE-on: ${LN} -s ${WRKSRC}/modules/extra/m_regex_tre.cpp ${WRKSRC}/modules/ -.endif post-install: - ${MKDIR} ${STAGEDIR}/${LOCALBASE}/anope/data/backups - ${MKDIR} ${STAGEDIR}/${LOCALBASE}/anope/logs + @${MKDIR} ${STAGEDIR}${PREFIX}/anope/data/backups + @${MKDIR} ${STAGEDIR}${PREFIX}/anope/logs -.include +.include Modified: head/irc/anope/pkg-descr ============================================================================== --- head/irc/anope/pkg-descr Fri Nov 16 17:03:00 2018 (r485087) +++ head/irc/anope/pkg-descr Fri Nov 16 17:04:10 2018 (r485088) @@ -21,4 +21,4 @@ Anope currently works with: Anope could also work with some of the daemons derived by the ones listed above, but there's no support for them if they work or don't work. -WWW: http://www.anope.org/ +WWW: https://www.anope.org/