pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/speedtouch - Honor "${PKG_SYSCONFDIR}".



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6df25c53927f
branches:  trunk
changeset: 488587:6df25c53927f
user:      tron <tron%pkgsrc.org@localhost>
date:      Fri Feb 04 19:32:45 2005 +0000

description:
- Honor "${PKG_SYSCONFDIR}".
- Use "mountcritremote" as requirement in "adsl.sh" because packages might
  reside on a NFS mount filesystem as pointed out by Luke Mewburn.
Bump package revision after these fixes.

diffstat:

 net/speedtouch/Makefile      |  6 ++++--
 net/speedtouch/PLIST         |  3 ++-
 net/speedtouch/files/adsl.sh |  4 ++--
 3 files changed, 8 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r eb1925461701 -r 6df25c53927f net/speedtouch/Makefile
--- a/net/speedtouch/Makefile   Fri Feb 04 17:24:16 2005 +0000
+++ b/net/speedtouch/Makefile   Fri Feb 04 19:32:45 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2005/02/02 22:09:50 tron Exp $
+# $NetBSD: Makefile,v 1.16 2005/02/04 19:32:45 tron Exp $
 
 DISTNAME=              speedtouch-1.3.1
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            net
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=speedtouch/}
 DISTFILES=             ${DISTNAME}.tar.bz2
@@ -25,7 +25,9 @@
 
 USE_PKGINSTALL=                yes
 GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 
+PLIST_SUBST+=          PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
 RCD_SCRIPTS=           adsl
 
 pre-extract:
diff -r eb1925461701 -r 6df25c53927f net/speedtouch/PLIST
--- a/net/speedtouch/PLIST      Fri Feb 04 17:24:16 2005 +0000
+++ b/net/speedtouch/PLIST      Fri Feb 04 19:32:45 2005 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2004/12/23 18:11:18 skrll Exp $
+@comment $NetBSD: PLIST,v 1.5 2005/02/04 19:32:45 tron Exp $
+@exec ${MKDIR} ${PKG_SYSCONFDIR}/speedtouch
 bin/speedtouch-setup
 bin/speedtouch-start
 bin/speedtouch-stop
diff -r eb1925461701 -r 6df25c53927f net/speedtouch/files/adsl.sh
--- a/net/speedtouch/files/adsl.sh      Fri Feb 04 17:24:16 2005 +0000
+++ b/net/speedtouch/files/adsl.sh      Fri Feb 04 19:32:45 2005 +0000
@@ -1,9 +1,9 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: adsl.sh,v 1.7 2005/02/02 22:09:50 tron Exp $
+# $NetBSD: adsl.sh,v 1.8 2005/02/04 19:32:45 tron Exp $
 #
 # PROVIDE: adsl
-# REQUIRE: NETWORKING
+# REQUIRE: mountcritremote
 # BEFORE: ipnat
 #
 # On systems with rc.d you will need to copy this to /etc/rc.d and set



Home | Main Index | Thread Index | Old Index