diff options
author | adrianp <adrianp@pkgsrc.org> | 2004-09-28 12:32:17 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2004-09-28 12:32:17 +0000 |
commit | 5b9ca3686950e6e1099fbc06dcd61c48d46d12b3 (patch) | |
tree | a009141a6ac3464c035b7a5868d151b6e2d70ab9 /chat/ircu/Makefile | |
parent | 23f895afd811243a9b821eac1dfbae593de74a10 (diff) | |
download | pkgsrc-5b9ca3686950e6e1099fbc06dcd61c48d46d12b3.tar.gz |
Update ircu to ircu-2.10.11.07
- Fix ./configure for changed options
- Move to SUBST_* framework
- Use SPECIAL_PERMS to set the correct permissions on ${PKG_SYSCONFDIR} so
the user does not have to do it.
There are lots of bugfixes in this release as 2.10.11.04 was first released
around 20+ months ago. Users should check the package Changelog or website
for further details.
Diffstat (limited to 'chat/ircu/Makefile')
-rw-r--r-- | chat/ircu/Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/chat/ircu/Makefile b/chat/ircu/Makefile index 8e9983ed0cb..399404ad0b7 100644 --- a/chat/ircu/Makefile +++ b/chat/ircu/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2004/04/12 01:01:41 snj Exp $ +# $NetBSD: Makefile,v 1.11 2004/09/28 12:32:17 adrianp Exp $ # -DISTNAME= ircu2.10.11.04 -PKGNAME= ircu-2.10.11.04 +DISTNAME= ircu2.10.11.07 +PKGNAME= ircu-2.10.11.07 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=undernet-ircu/} @@ -10,7 +10,6 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://coder-com.undernet.org/ COMMENT= Internet Relay Chat server customized for Undernet -WRKSRC= ${WRKDIR}/ircu2.10 USE_BUILDLINK3= YES USE_PKGINSTALL= YES GNU_CONFIGURE= YES @@ -20,7 +19,7 @@ CONFIGURE_ARGS+= --with-cpath=${PKG_SYSCONFDIR}/ircd.conf CONFIGURE_ARGS+= --with-dpath=${DATADIR} CONFIGURE_ARGS+= --with-lpath=${DATADIR}/ircd.log CONFIGURE_ARGS+= --with-mode=555 -CONFIGURE_ARGS+= --with-user=0 +CONFIGURE_ARGS+= --with-owner=0 CONFIGURE_ARGS+= --with-group=0 CONFIGURE_ARGS+= --with-symlink=no @@ -36,6 +35,8 @@ DOCDIR= ${PREFIX}/share/doc/ircd CONF_FILES_PERMS+= ${EGDIR}/ircd.conf.sample ${PKG_SYSCONFDIR}/ircd.conf \ ${IRCD_USER} ${IRCD_GROUP} 0600 +SPECIAL_PERMS+= ${PKG_SYSCONFDIR} ${IRCD_USER} ${IRCD_GROUP} 0700 + RCD_SCRIPTS= ircd FILES_SUBST+= IRCD_USER=${IRCD_USER} @@ -44,12 +45,17 @@ MESSAGE_SUBST+= IRCD_GROUP=${IRCD_GROUP} PKG_GROUPS= ${IRCD_GROUP} PKG_USERS= ${IRCD_USER}:${IRCD_GROUP}::IRC\\ server\\ user:/nonexistant:${SH} +SUBST_CLASSES= paths +SUBST_STAGE.paths= post-patch +SUBST_FILES.paths= tools/README doc/ircd.conf.sample +SUBST_SED.paths= -e "s|/usr/local/lib/irc|${PKG_SYSCONFDIR}|g" \ + -e "s|@PREFIX@|${PREFIX}|g" +SUBST_MESSAGE.paths= "Fixing hardcoded paths." + post-build: @cd ${WRKSRC}/tools && \ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \ -f Makefile.crypt - @${SED} -e 's|@PREFIX@|${PREFIX}|g' ${WRKSRC}/doc/ircd.conf.sample \ - > ${WRKDIR}/ircd.conf.sample do-install: ${INSTALL_DATA_DIR} ${DOCDIR} @@ -60,7 +66,7 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tools/mkpasswd \ ${PREFIX}/sbin/ircd-mkpasswd ${INSTALL_MAN} ${WRKSRC}/doc/ircd.8 ${PREFIX}/man/man8 - ${INSTALL_DATA} ${WRKDIR}/ircd.conf.sample ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/ircd.conf.sample ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/tools/README ${DOCDIR}/README.mkpasswd |