author | Michael Krelin <hacker@klever.net> | 2004-07-21 21:33:58 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-21 21:33:58 (UTC) |
commit | 76921288a0aa39acb53102863523c388b5d0f9ee (patch) (unidiff) | |
tree | 57fdc8abf9649084af0a74a8ab59ce99fa6742f0 | |
parent | 4b2d32eca61f62bfd1370fd64254514152ecd23c (diff) | |
download | dudki-76921288a0aa39acb53102863523c388b5d0f9ee.zip dudki-76921288a0aa39acb53102863523c388b5d0f9ee.tar.gz dudki-76921288a0aa39acb53102863523c388b5d0f9ee.tar.bz2 |
xmlized NEWS0.1
-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 | |||
@@ -12,25 +12,27 @@ AC_CHECK_HEADERS([syslog.h unistd.h getopt.h]) | |||
12 | AC_HEADER_STDBOOL | 12 | AC_HEADER_STDBOOL |
13 | AC_C_CONST | 13 | AC_C_CONST |
14 | AC_TYPE_UID_T | 14 | AC_TYPE_UID_T |
15 | AC_TYPE_PID_T | 15 | AC_TYPE_PID_T |
16 | 16 | ||
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 | ||
32 | AC_CONFIG_FILES([ | 34 | AC_CONFIG_FILES([ |
33 | Makefile | 35 | Makefile |
34 | src/Makefile | 36 | src/Makefile |
35 | man/Makefile | 37 | man/Makefile |
36 | man/dudki.8 man/dudki.conf.5 | 38 | man/dudki.8 man/dudki.conf.5 |