#!/bin/sh # # $Id: mkpksdconf.in,v 1.9 2003/02/28 17:17:24 rlaager Exp $ # # Portions copyright 2002, 2003 Richard Laager. # Copyright (c) 1996, 1997, 1998, 1999, Marc Horowitz. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software # must display the following acknowledgement: # This product includes software developed by Marc Horowitz. # 4. The name of the author may not be used to endorse or promote # products derived from this software without specific prior written # permission. # # THIS SOFTWARE IS PROVIDED BY MARC HOROWITZ ``AS IS'' AND ANY EXPRESS # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE # DISCLAIMED. IN NO EVENT SHALL MARC HOROWITZ BE LIABLE FOR ANY DIRECT, # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # # this script encodes some knowledge about the way autoconf behaves. # in particular, it knows that prefix is an actual directory, and # exec_prefix and all the foodir variables are defined in terms of # it. I could have used sed in the Makefile, but that would duplicate # code which mostly exists in configure.in, and is ugly. prefix=@prefix@ exec_prefix=@exec_prefix@ cat << EOF pks_bin_dir @bindir@ pid_dir @localstatedir@/db ### Set chroot_dir to make pksd chroot itself. Must be an absolute path. # chroot_dir @prefix@ ### uid and gid for pksd to run as. Leave unset, or set to 0 to disable ### ideally only www_dir should be writeable to pksd. it is recommended ### that pksd run with its own uid and gid. # pksd_uid 32768 # pksd_gid 32768 db_dir @localstatedir@/db www_dir @localstatedir@ ### Set www_port to the port on which HTTP requests should be accepted. ### If you do not want to process HTTP requests, set this to 0. www_port 11371 ### Set www_readonly to 0 if you want to allow ADD requests over HTTP # www_readonly 0 socket_name @localstatedir@/pksd_socket ### Specify the envelope sender address as the -f argument to ### sendmail. This is the address which will receive any bounces. ### If you don't use sendmail, then change this to an equivalent command. ### If you do not want to process mail requests, leave this unset. mail_delivery_client @SENDMAIL@ -t -oi -fmailer-daemon ### Set this to the address which should be displayed as the From: ### address in all outgoing email, and as the maintainer in the body ### of each message. maintainer_email PGP Key Server Administrator mail_intro_file @datadir@/mail_intro help_dir @datadir@ mail_dir @localstatedir@/incoming ### If you change this, make sure to put a corresponding help file in ### the help_dir named above default_language EN ### This is the email address of this site. It will be inserted in all ### outgoing incremental messages, so it should match whatever the ### downstream sites use as syncsite in their pksd.conf files. # this_site pgp-public-keys@your-site ### Include a syncsite line for each site with which you are exchanging ### incremental requests. # syncsite pgp-public-keys@pgp-server-1 # syncsite pgp-public-keys@pgp-server-2 ### Set this to 0 to disable mailserver LAST requests completely, to a ### positive integer to limit LAST requests to that many days, or -1 ### to allow any argument to LAST. # max_last -1 ### Set this to the maximum number of keys to return in the reply to ### a last query. Setting it to -1 will allow any size reply. # max_last_reply_keys -1 ### Set this to the maximum number of keys to return in the reply to ### an index, verbose index, or get query. Setting it to -1 ### will allow any size reply. # max_reply_keys -1 EOF