pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/direvent



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jul  7 08:39:12 UTC 2016

Modified Files:
        pkgsrc/sysutils/direvent: Makefile distinfo

Log Message:
Updated direvent to 5.1.

Version 5.1, 2016-07-06

* Globbing patterns in #include statement

If argument to the #include statement contains wildcard characters (*, [,
], or ?), it is interpreted as shell globbing pattern and all files
matching that pattern are included, in lexicographical order.  If no
matching files are found, the directive is replaced with an empty
line.

* New watcher option 'shell'

The 'shell' option causes watcher command to be executed via
'/bin/sh' (by default it is invoked directly, using the 'execve'
function).  For example:

  watcher {
     path "/etc/httpd/vhosts";
     command "/usr/bin/scanhosts && service httpd restart";
     option (shell);
  }

* Include path

If the argument to the #include (#include_once) statement is not an
absolute file name or globbing pattern, it is looked up in the include
search path.  The order of look up is as follows.  First, directories
given with '-I' options (see below) are scanned, in the same order as
given on the command line.  If no matching file is found in any of
them, directories in the standard include search path are scanned.

By default, the standard include search path contains two directories:
'$(pkgdatadir)/$(VERSION)' and '$(pkgdatadir)/include', where
$(pkgdatadir) and $(VERSION) stand for the package data directory, and
package version, correspondingly.  It can be redefined at compile time using
the '--with-include-path' to configure, e.g.:

 ./configure --with-include-path='$(sysconfdir)/direvent.d:$(pkgdatadir)/$(VERSION):$(pkgdatadir)/include'

(see the file INSTALL, section "Building and Configuring", for a
detailed discussion of this option).

To inspect the actual path at runtime, run 'direvent --help',
and look for the string 'Include search path:' in its output.

* New command line option -I (--include)

The '-I DIR' command line option adds DIR to the include search path.
When looking for include files, directories given with '-I' options
are scanned first.  If the file is not found, the directories in the
standard include path are scanned.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/direvent/Makefile \
    pkgsrc/sysutils/direvent/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/direvent/Makefile
diff -u pkgsrc/sysutils/direvent/Makefile:1.2 pkgsrc/sysutils/direvent/Makefile:1.3
--- pkgsrc/sysutils/direvent/Makefile:1.2       Sun Jun 12 11:37:50 2016
+++ pkgsrc/sysutils/direvent/Makefile   Thu Jul  7 08:39:12 2016
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2016/06/12 11:37:50 wiedi Exp $
+# $NetBSD: Makefile,v 1.3 2016/07/07 08:39:12 wiz Exp $
 
-DISTNAME=      direvent-5.0
+DISTNAME=      direvent-5.1
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GNU:=direvent/}
 
Index: pkgsrc/sysutils/direvent/distinfo
diff -u pkgsrc/sysutils/direvent/distinfo:1.2 pkgsrc/sysutils/direvent/distinfo:1.3
--- pkgsrc/sysutils/direvent/distinfo:1.2       Wed Nov  4 01:32:11 2015
+++ pkgsrc/sysutils/direvent/distinfo   Thu Jul  7 08:39:12 2016
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 01:32:11 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/07/07 08:39:12 wiz Exp $
 
-SHA1 (direvent-5.0.tar.gz) = 16d495b9fd5e1aa5dad879ddb8acbb453d2d6d36
-RMD160 (direvent-5.0.tar.gz) = 8a3c297c4bc8d1f5a37047de4a24dc8780d225d8
-SHA512 (direvent-5.0.tar.gz) = 9019d3ff532a4c15d1bd1cd78a9e9b3bdc34b1f0b8efb74ef9b3083a4d17cadc3a0b6fd5f54022e70206637fd94053da94a5caa88769d27ca9e56e2a12f304ae
-Size (direvent-5.0.tar.gz) = 742586 bytes
+SHA1 (direvent-5.1.tar.gz) = b9cfc4f6685de1cc422256c42da992a6024bbb1d
+RMD160 (direvent-5.1.tar.gz) = 5621c3667b4b467dd26d16525c2af78f26b0c61f
+SHA512 (direvent-5.1.tar.gz) = 21fd9fd2c6d7de3f8c52a56496121809456467184bf56cd5f9242a769424a72ca5a29deb5a6b10ae381ea99bc754dd1d5843aa38b478c2d7e5aa0a8ee7c9ba4d
+Size (direvent-5.1.tar.gz) = 846246 bytes



Home | Main Index | Thread Index | Old Index