summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4532928)
Use PACKAGE_VERSION from Autoconf, not our own private VERSION macro.
#include <stdlib.h>
#include "armor.h"
#include <stdlib.h>
#include "armor.h"
#include "keystructs.h"
#include "log.h"
#include "onak-conf.h"
#include "keystructs.h"
#include "log.h"
#include "onak-conf.h"
*/
putchar_func(ctx, sizeof("-----BEGIN PGP PUBLIC KEY BLOCK-----\n") - 1,
(unsigned char *) "-----BEGIN PGP PUBLIC KEY BLOCK-----\n");
*/
putchar_func(ctx, sizeof("-----BEGIN PGP PUBLIC KEY BLOCK-----\n") - 1,
(unsigned char *) "-----BEGIN PGP PUBLIC KEY BLOCK-----\n");
- putchar_func(ctx, sizeof("Version: onak " VERSION "\n\n") - 1,
- (unsigned char *) "Version: onak " VERSION "\n\n");
+ putchar_func(ctx, sizeof("Version: onak " PACKAGE_VERSION "\n\n") - 1,
+ (unsigned char *) "Version: onak " PACKAGE_VERSION "\n\n");
armor_init(&armor_ctx);
armor_ctx.putchar_func = putchar_func;
armor_init(&armor_ctx);
armor_ctx.putchar_func = putchar_func;
#include "armor.h"
#include "charfuncs.h"
#include "cleanup.h"
#include "armor.h"
#include "charfuncs.h"
#include "cleanup.h"
#include "getcgi.h"
#include "hash.h"
#include "keydb.h"
#include "getcgi.h"
#include "hash.h"
#include "keydb.h"
if (op != OP_GET) {
puts("<HR>");
if (op != OP_GET) {
puts("<HR>");
- puts("Produced by gpgwww " VERSION ", part of onak. "
+ puts("Produced by gpgwww " PACKAGE_VERSION ", part of onak. "
"<A HREF=\"mailto:noodles-onak@earth.li\">"
"Jonathan McDowell</A>");
end_html();
"<A HREF=\"mailto:noodles-onak@earth.li\">"
"Jonathan McDowell</A>");
end_html();
#include "charfuncs.h"
#include "cleankey.h"
#include "cleanup.h"
#include "charfuncs.h"
#include "cleankey.h"
#include "cleanup.h"
#include "getcgi.h"
#include "keydb.h"
#include "keyindex.h"
#include "getcgi.h"
#include "keydb.h"
#include "keyindex.h"
}
if (!mrhkp) {
puts("<hr>");
}
if (!mrhkp) {
puts("<hr>");
- puts("Produced by onak " VERSION " by Jonathan McDowell");
+ puts("Produced by onak " PACKAGE_VERSION
+ " by Jonathan McDowell");
#ifndef __ONAK_CONF_H_
#define __ONAK_CONF_H_
#ifndef __ONAK_CONF_H_
#define __ONAK_CONF_H_
-#define VERSION "0.2.1"
-
/*
* struct onak_config - Runtime configuration for onak.
* @maxkeys: The maximum number of keys a query should return.
/*
* struct onak_config - Runtime configuration for onak.
* @maxkeys: The maximum number of keys a query should return.
#include "charfuncs.h"
#include "cleankey.h"
#include "cleanup.h"
#include "charfuncs.h"
#include "cleankey.h"
#include "cleanup.h"
#include "keydb.h"
#include "keyid.h"
#include "keyindex.h"
#include "keydb.h"
#include "keyid.h"
#include "keyindex.h"
- puts("onak " VERSION " - an OpenPGP keyserver.\n");
+ puts("onak " PACKAGE_VERSION " - an OpenPGP keyserver.\n");
puts("Usage:\n");
puts("\tonak [options] <command> <parameters>\n");
puts("\tCommands:\n");
puts("Usage:\n");
puts("\tonak [options] <command> <parameters>\n");
puts("\tCommands:\n");