summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--.gitignore15
-rw-r--r--Makefile.am4
-rw-r--r--NEWS5
-rw-r--r--NEWS.xml11
-rw-r--r--NEWS.xsl24
-rw-r--r--configure.ac10
6 files changed, 60 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a4afc94
--- a/dev/null
+++ b/.gitignore
@@ -0,0 +1,15 @@
1Makefile
2Makefile.in
3aclocal.m4
4autom4te.cache
5config.h
6config.h.in
7config.log
8configure
9config.status
10stamp-h1
11depcomp
12missing
13install-sh
14INSTALL
15NEWS
diff --git a/Makefile.am b/Makefile.am
index 9f0d419..a7ad457 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1 +1,5 @@
1SUBDIRS = src man 1SUBDIRS = src man
2
3all-local: NEWS
4NEWS: NEWS.xsl NEWS.xml
5 ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml
diff --git a/NEWS b/NEWS
deleted file mode 100644
index b6a3774..0000000
--- a/NEWS
+++ b/dev/null
@@ -1,5 +0,0 @@
10.1
2 - initgroups() before executing RestartCommand.
3 - more civilized restart.
40.0
5 - Initial release.
diff --git a/NEWS.xml b/NEWS.xml
new file mode 100644
index 0000000..30c0543
--- a/dev/null
+++ b/NEWS.xml
@@ -0,0 +1,11 @@
1<?xml version="1.0" encoding="us-ascii"?>
2<news>
3 <version version="0.1" date="July 21st, 2004">
4 <ni><kbd>initgroups()</kbd> called before executing <kbd>RestartCommand</kbd></ni>
5 <ni>more civilized way of restarting on <kbd>SIGHUP</kbd></ni>
6 <ni>minor changes to build process</ni>
7 </version>
8 <version version="0.0" date="July 11th, 2004">
9 <ni>Initial release</ni>
10 </version>
11</news>
diff --git a/NEWS.xsl b/NEWS.xsl
new file mode 100644
index 0000000..7c71307
--- a/dev/null
+++ b/NEWS.xsl
@@ -0,0 +1,24 @@
1<?xml version="1.0" encoding="us-ascii"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 >
5 <xsl:output
6 method="text"
7 encoding="us-ascii"
8 media-type="text/plain" />
9
10 <xsl:template match="news">
11 <xsl:apply-templates/>
12 </xsl:template>
13 <xsl:template match="version">
14 <xsl:value-of select="concat(@version,' (',@date,')&#xA;')"/>
15 <xsl:apply-templates/>
16 </xsl:template>
17 <xsl:template match="ni">
18 <xsl:text> - </xsl:text>
19 <xsl:apply-templates mode="text"/>
20 <xsl:text>&#xA;</xsl:text>
21 </xsl:template>
22 <xsl:template match="*|text()"/>
23
24</xsl:stylesheet>
diff --git a/configure.ac b/configure.ac
index 8521a34..7fe64d1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,11 +19,13 @@ AC_HEADER_STDC
19AC_TYPE_SIGNAL 19AC_TYPE_SIGNAL
20AC_CHECK_FUNCS([dup2 strtol]) 20AC_CHECK_FUNCS([dup2 memmove strtol])
21AC_CHECK_FUNC([getopt_long],[ 21AC_CHECK_FUNC([getopt_long],[
22 AC_DEFINE([HAVE_GETOPT_LONG],[1],[Define to make use of getopt_long]) 22 AC_DEFINE([HAVE_GETOPT_LONG],[1],[Define to make use of getopt_long])
23 AC_SUBST(HAVE_GETOPT_LONG,1) 23 AC_SUBST([HAVE_GETOPT_LONG],1)
24],[ 24],[
25 AC_SUBST(HAVE_GETOPT_LONG,0) 25 AC_SUBST([HAVE_GETOPT_LONG],0)
26]) 26])
27 27
28PKG_CHECK_MODULES(DOTCONF,[dotconf],,[ 28AC_PATH_PROG([XSLTPROC],[xsltproc],[true])
29
30PKG_CHECK_MODULES([DOTCONF],[dotconf],,[
29 AC_MSG_ERROR([no dotconf library found]) 31 AC_MSG_ERROR([no dotconf library found])