-rw-r--r-- | .gitignore | 15 | ||||
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | NEWS.xml | 11 | ||||
-rw-r--r-- | NEWS.xsl | 24 | ||||
-rw-r--r-- | configure.ac | 10 |
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 @@ | |||
1 | Makefile | ||
2 | Makefile.in | ||
3 | aclocal.m4 | ||
4 | autom4te.cache | ||
5 | config.h | ||
6 | config.h.in | ||
7 | config.log | ||
8 | configure | ||
9 | config.status | ||
10 | stamp-h1 | ||
11 | depcomp | ||
12 | missing | ||
13 | install-sh | ||
14 | INSTALL | ||
15 | NEWS | ||
diff --git a/Makefile.am b/Makefile.am index 9f0d419..a7ad457 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -1 +1,5 @@ | |||
1 | SUBDIRS = src man | 1 | SUBDIRS = src man |
2 | |||
3 | all-local: NEWS | ||
4 | NEWS: NEWS.xsl NEWS.xml | ||
5 | ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml | ||
@@ -1,5 +0,0 @@ | |||
1 | 0.1 | ||
2 | - initgroups() before executing RestartCommand. | ||
3 | - more civilized restart. | ||
4 | 0.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,')
')"/> | ||
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>
</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 | |||
@@ -17,15 +17,17 @@ AC_TYPE_PID_T | |||
17 | AC_FUNC_FORK | 17 | AC_FUNC_FORK |
18 | AC_HEADER_STDC | 18 | AC_HEADER_STDC |
19 | AC_TYPE_SIGNAL | 19 | AC_TYPE_SIGNAL |
20 | AC_CHECK_FUNCS([dup2 strtol]) | 20 | AC_CHECK_FUNCS([dup2 memmove strtol]) |
21 | AC_CHECK_FUNC([getopt_long],[ | 21 | AC_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 | ||
28 | PKG_CHECK_MODULES(DOTCONF,[dotconf],,[ | 28 | AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) |
29 | |||
30 | PKG_CHECK_MODULES([DOTCONF],[dotconf],,[ | ||
29 | AC_MSG_ERROR([no dotconf library found]) | 31 | AC_MSG_ERROR([no dotconf library found]) |
30 | ]) | 32 | ]) |
31 | 33 | ||