From owner-svn-ports-all@FreeBSD.ORG Thu Jun 19 13:03:30 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F412E43; Thu, 19 Jun 2014 13:03:30 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C0E12DD8; Thu, 19 Jun 2014 13:03:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5JD3Uqd025551; Thu, 19 Jun 2014 13:03:30 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5JD3TEn025544; Thu, 19 Jun 2014 13:03:29 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201406191303.s5JD3TEn025544@svn.freebsd.org> From: Mathieu Arnold Date: Thu, 19 Jun 2014 13:03:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358404 - in head/irc/anope: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2014 13:03:30 -0000 Author: mat Date: Thu Jun 19 13:03:29 2014 New Revision: 358404 URL: http://svnweb.freebsd.org/changeset/ports/358404 QAT: https://qat.redports.org/buildarchive/r358404/ Log: - Update to 1.8.9 - Stage - Cleanup rc script - Take [1] Approved by: maintainer [1] Sponsored by: Absolight Modified: head/irc/anope/Makefile head/irc/anope/distinfo head/irc/anope/files/anope.in head/irc/anope/pkg-plist Modified: head/irc/anope/Makefile ============================================================================== --- head/irc/anope/Makefile Thu Jun 19 13:02:47 2014 (r358403) +++ head/irc/anope/Makefile Thu Jun 19 13:03:29 2014 (r358404) @@ -2,21 +2,20 @@ # $FreeBSD$ PORTNAME= anope -PORTVERSION= 1.8.8 +PORTVERSION= 1.8.9 CATEGORIES= irc -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/Anope%20${PORTVERSION} +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-legacy/Anope%20${PORTVERSION} -MAINTAINER= dhn@FreeBSD.org +MAINTAINER= mat@FreeBSD.org COMMENT= Set of IRC services for IRC networks -USES= perl5 gmake +USES= perl5 gmake desthack USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir="${LOCALBASE}/lib" \ --includedir="${LOCALBASE}/include" \ - --with-bindir=${PREFIX}/libexec/anope \ - --with-datadir=${DATADIR} \ - --with-rungroup=ircdru + --with-bindir=\$${${DESTDIRNAME}}${PREFIX}/libexec/anope \ + --with-datadir=\$${${DESTDIRNAME}}${DATADIR} PORTDOCS= BUGS COPYING DEFCON EVENTS \ FAQ INSTALL IRCD MODULES MYSQL \ @@ -27,7 +26,9 @@ USE_RC_SUBR= anope OPTIONS_DEFINE= MYSQL OPTIONS_DEFAULT= MYSQL -NO_STAGE= yes +MYSQL_USE= mysql=yes +MYSQL_CONFIGURE_WITH= mysql + .include # XXX Add here other arch which needs -fPIC :-) @@ -35,24 +36,16 @@ NO_STAGE= yes CFLAGS+= -fPIC .endif -.if ${PORT_OPTIONS:MMYSQL} -USE_MYSQL= yes -.else -CONFIGURE_ARGS+= --without-mysql -.endif - post-patch: @${REINPLACE_CMD} -e 's|ja_utf8|ja|g' ${WRKSRC}/lang/Makefile ${MV} ${WRKSRC}/lang/ja_utf8.l ${WRKSRC}/lang/ja.l pre-install: - @${MKDIR} ${PREFIX}/libexec/anope - @${MKDIR} ${DATADIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/anope + @${MKDIR} ${STAGEDIR}${DATADIR} post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}/ -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR} .include Modified: head/irc/anope/distinfo ============================================================================== --- head/irc/anope/distinfo Thu Jun 19 13:02:47 2014 (r358403) +++ head/irc/anope/distinfo Thu Jun 19 13:03:29 2014 (r358404) @@ -1,2 +1,2 @@ -SHA256 (anope-1.8.8.tar.gz) = 20bfc2db4be7475b6065d3eac0c904f69a6925d30ced22098341e5a2bbb62a77 -SIZE (anope-1.8.8.tar.gz) = 1665488 +SHA256 (anope-1.8.9.tar.gz) = 484ff70260ccd36fa153f121fb49adb8c74d77e0508e616b1a85440c2c8370cf +SIZE (anope-1.8.9.tar.gz) = 1646505 Modified: head/irc/anope/files/anope.in ============================================================================== --- head/irc/anope/files/anope.in Thu Jun 19 13:02:47 2014 (r358403) +++ head/irc/anope/files/anope.in Thu Jun 19 13:03:29 2014 (r358404) @@ -1,29 +1,31 @@ #!/bin/sh # +# $FreeBSD$ +# # PROVIDE: anope # REQUIRE: LOGIN mysql +# KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable anope: -#anope_enable="YES" +# anope_enable=YES # # Also, to prevent running anope as root You may use # anope_user="nobody" # and -# anope_chroot="%%PREFIX%%/share/anope" +# anope_chdir="%%PREFIX%%/share/anope" # . /etc/rc.subr -name="anope" +name=anope rcvar=anope_enable -command=%%PREFIX%%/libexec/anope/services - -# set defaults load_rc_config $name -: ${anope_enable="NO"} +command=%%PREFIX%%/libexec/anope/services + +anope_enable=${anope_enable:-"NO"} run_rc_command "$1" Modified: head/irc/anope/pkg-plist ============================================================================== --- head/irc/anope/pkg-plist Thu Jun 19 13:02:47 2014 (r358403) +++ head/irc/anope/pkg-plist Thu Jun 19 13:03:29 2014 (r358404) @@ -176,11 +176,11 @@ libexec/anope/tools/epona2anope %%DATADIR%%/modules/viagra.so %%DATADIR%%/mydbgen %%DATADIR%%/tables.sql -@dirrm %%DATADIR%%/modules/runtime -@dirrm %%DATADIR%%/modules -@dirrm %%DATADIR%%/logs -@dirrm %%DATADIR%%/languages -@dirrm %%DATADIR%%/backups -@dirrm %%DATADIR%% -@dirrm libexec/anope/tools -@dirrm libexec/anope +@dirrmtry libexec/anope/tools +@dirrmtry libexec/anope +@dirrmtry %%DATADIR%%/backups +@dirrmtry %%DATADIR%%/languages +@dirrmtry %%DATADIR%%/logs +@dirrmtry %%DATADIR%%/modules/runtime +@dirrmtry %%DATADIR%%/modules +@dirrmtry %%DATADIR%%