Subject: Re: pkg/32250
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Geert Hendrickx <ghen@telenet.be>
List: pkgsrc-bugs
Date: 12/05/2005 18:45:02
The following reply was made to PR pkg/32250; it has been noted by GNATS.

From: Geert Hendrickx <ghen@telenet.be>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/32250
Date: Mon, 5 Dec 2005 19:40:43 +0100

 --VbJkn9YxBvnuCH5J
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 This additional patch makes aiccu use ${PKG_SYSCONFDIR}/aiccu.conf by
 default.  
 
 	Geert
 
 --VbJkn9YxBvnuCH5J
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="aiccu.diff"
 
 --- aiccu/Makefile	2005-12-05 15:28:24.000000000 +0100
 +++ aiccu/Makefile	2005-12-05 18:53:16.000000000 +0100
 @@ -15,6 +15,11 @@
  
  USE_TOOLS+=		gmake
  
 +SUBST_CLASSES+=		sysconfdir
 +SUBST_STAGE.sysconfdir=	post-patch
 +SUBST_FILES.sysconfdir=	common/aiccu.h
 +SUBST_SED.sysconfdir=	-e 's,/etc/aiccu.conf,${PKG_SYSCONFDIR}/aiccu.conf,'
 +
  USE_PKGINSTALL=		yes
  EXAMPLESDIR=		${PREFIX}/share/examples/aiccu
  DOCDIR=			${PREFIX}/share/doc/aiccu
 diff -ur /tmp/aiccu/files/aiccu.sh aiccu/files/aiccu.sh
 --- aiccu/files/aiccu.sh	2005-12-05 14:04:12.000000000 +0100
 +++ aiccu/files/aiccu.sh	2005-12-05 19:39:51.000000000 +0100
 @@ -12,7 +12,7 @@
  rcvar=${name}
  command="@PREFIX@/sbin/${name}"
  required_files="@PKG_SYSCONFDIR@/${name}.conf"
 -command_args="start @PKG_SYSCONFDIR@/${name}.conf"
 +command_args="start"
  stop_command="${command} stop"
  
  load_rc_config $name
 
 --VbJkn9YxBvnuCH5J--