svn commit: r358404 - in head/irc/anope: . files
Mathieu Arnold
mat at FreeBSD.org
Thu Jun 19 13:03:30 UTC 2014
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 at FreeBSD.org
+MAINTAINER= mat at 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 <bsd.port.pre.mk>
# 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 <bsd.port.post.mk>
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
- at dirrm %%DATADIR%%/modules/runtime
- at dirrm %%DATADIR%%/modules
- at dirrm %%DATADIR%%/logs
- at dirrm %%DATADIR%%/languages
- at dirrm %%DATADIR%%/backups
- at dirrm %%DATADIR%%
- at dirrm libexec/anope/tools
- at dirrm libexec/anope
+ at dirrmtry libexec/anope/tools
+ at dirrmtry libexec/anope
+ at dirrmtry %%DATADIR%%/backups
+ at dirrmtry %%DATADIR%%/languages
+ at dirrmtry %%DATADIR%%/logs
+ at dirrmtry %%DATADIR%%/modules/runtime
+ at dirrmtry %%DATADIR%%/modules
+ at dirrmtry %%DATADIR%%
More information about the svn-ports-all
mailing list