--- onak-0.3.2.orig/debian/TODO +++ onak-0.3.2/debian/TODO @@ -0,0 +1,7 @@ +Check stat-override and ownership logic is correct + +Remove the database on purge + +Remove onak user on purge + +Fix .depend --- onak-0.3.2.orig/debian/rules +++ onak-0.3.2/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=db4 + +DEB_MAKE_INSTALL_TARGET := + +# Woody doesn't like this of course +#CFLAGS += -std=gnu99 --- onak-0.3.2.orig/debian/watch +++ onak-0.3.2/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://www.earth.li/projectpurple/files/ onak-(.*).tar.gz debian uupdate --- onak-0.3.2.orig/debian/copyright +++ onak-0.3.2/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Ross Burton on +Thu, 17 Jun 2004 11:59:00 +0100. + +It was downloaded from http://www.earth.li/projectpurple/progs/onak.html + +Upstream Author: Jonathan McDowell + +Copyright: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- onak-0.3.2.orig/debian/postinst +++ onak-0.3.2/debian/postinst @@ -0,0 +1,32 @@ +#! /bin/sh + +set -e + +if [ "$1" = "configure" ]; then + + # Add the onak user + adduser --system --home /var/lib/onak --no-create-home --disabled-login onak + + # + # If there's no onak database, create it by adding my key. + # + if [ ! -e /var/lib/onak/num_keydb ]; then + zcat /usr/share/doc/onak/noodles.key | onak -b add + fi + + # Take ownership of the database directory + chown -R onak /var/lib/onak + + # Create our logfile + touch /var/log/onak.log + chown onak /var/log/onak.log + + # Make the CGI tools setuid onak + for i in /usr/lib/cgi-bin/pks/* + do + if ! dpkg-statoverride --list $i >/dev/null + then + dpkg-statoverride --update --add onak root 4755 $i + fi + done +fi --- onak-0.3.2.orig/debian/README.Debian +++ onak-0.3.2/debian/README.Debian @@ -0,0 +1,12 @@ +onak for Debian +--------------- + +Before using onak you will want to edit /etc/onak.conf and set 'this_site' as +appropriate. + +The OpenPGP Key Server specification uses host:11371/pks/lookup etc as the URLs, +so you will need to configure your web server as relevant. +/usr/share/doc/onak/examples contains some sample configuration files for +various web servers. + + -- Ross Burton , Fri Jun 18 12:00:57 2004 --- onak-0.3.2.orig/debian/examples +++ onak-0.3.2/debian/examples @@ -0,0 +1,2 @@ +mathopd.conf +apache2 --- onak-0.3.2.orig/debian/onak.dirs +++ onak-0.3.2/debian/onak.dirs @@ -0,0 +1 @@ +var/lib/onak --- onak-0.3.2.orig/debian/changelog +++ onak-0.3.2/debian/changelog @@ -0,0 +1,27 @@ +onak (0.3.2-1.1) unstable; urgency=high + + * Non-maintainer upload. + * Added missing dep on adduser (Closes: #408270) + * Urgency high due RCness of the bug + + -- Bastian Venthur Thu, 1 Feb 2007 10:38:37 +0100 + +onak (0.3.2-1) unstable; urgency=low + + * New upstream release. + + -- Jonathan McDowell Fri, 25 Mar 2005 11:17:44 +0000 + +onak (0.3.1-1) unstable; urgency=low + + * New upstream release + - Add onak-mail.pl man page (Closes: #276879) + - Add links to HTML index output. (Closes: #275227) + + -- Jonathan McDowell Sat, 23 Oct 2004 18:01:39 +0100 + +onak (0.3.0-1) unstable; urgency=low + + * Initial Release. (closes: #254425) + + -- Ross Burton Thu, 17 Jun 2004 11:59:00 +0100 --- onak-0.3.2.orig/debian/compat +++ onak-0.3.2/debian/compat @@ -0,0 +1 @@ +4 --- onak-0.3.2.orig/debian/control +++ onak-0.3.2/debian/control @@ -0,0 +1,17 @@ +Source: onak +Section: net +Priority: optional +Maintainer: Jonathan McDowell +Uploaders: Ross Burton +Build-Depends: debhelper (>= 4.1.0), cdbs, libdb4.2-dev +Standards-Version: 3.6.1 + +Package: onak +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser +Recommends: apache | httpd +Description: OpenPGP Key Server + onak is an OpenPGP compatible keyserver which supports multiple subkeys, + photo ids and path finding between keys. It can provide an HKP + compatible interface for use with the --keyserver option of gnupg as + well as including a command line tool for querying the key database. --- onak-0.3.2.orig/debian/docs +++ onak-0.3.2/debian/docs @@ -0,0 +1,6 @@ +BUGS +README +TODO +PERFORMANCE +HISTORY +keys/noodles.key --- onak-0.3.2.orig/debian/postrm +++ onak-0.3.2/debian/postrm @@ -0,0 +1,11 @@ +#! /bin/sh + +set -e + +if [ "$1" = "purge" ]; then + if dpkg-statoverride --list /usr/lib/cgi-bin/pks/\* >/dev/null; then + for i in $(dpkg-statoverride --list /usr/lib/cgi-bin/pks/\* | cut -d " " -f 4); do + dpkg-statoverride --remove $i + done + fi +fi --- onak-0.3.2.orig/debian/onak.install +++ onak-0.3.2/debian/onak.install @@ -0,0 +1,5 @@ +onak.conf etc +onak splitkeys usr/bin +onak-mail.pl usr/lib/onak +add lookup gpgwww usr/lib/cgi-bin/pks +onak.1 splitkeys.1 usr/share/man/man1