--- cl-postoffice-1.8.2.3.orig/debian/copyright +++ cl-postoffice-1.8.2.3/debian/copyright @@ -0,0 +1,86 @@ +This package was debianized by Kevin M. Rosenberg on +Wed, 9 Oct 2002 04:30:08 -0600. + +It was downloaded from http://opensource.franz.com/postoffice/ + +Upstream Author: Franz, Inc. + +Copyright (c) 1986-2000 Franz Inc, Berkeley, CA + +This code is free software; you can redistribute it and/or modify it +under the terms of the version 2.1 of the GNU Lesser General Public +License as published by the Free Software Foundation, as clarified by +the Franz preamble to the LGPL found in +http://opensource.franz.com/preamble.html. The preambled is copied below. + +This code 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 +Lesser General Public License for more details. + +The GNU Lessor General Public License can be found in your Debian file +system in /usr/share/common-licenses/LGPL. + +Preamble to the Gnu Lesser General Public License +------------------------------------------------- +Copyright (c) 2000 Franz Incorporated, Berkeley, CA 94704 + +The concept of the GNU Lesser General Public License version 2.1 +("LGPL") has been adopted to govern the use and distribution of +above-mentioned application. However, the LGPL uses terminology that +is more appropriate for a program written in C than one written in +Lisp. Nevertheless, the LGPL can still be applied to a Lisp program if +certain clarifications are made. This document details those +clarifications. Accordingly, the license for the open-source Lisp +applications consists of this document plus the LGPL. Wherever there +is a conflict between this document and the LGPL, this document takes +precedence over the LGPL. + +A "Library" in Lisp is a collection of Lisp functions, data and +foreign modules. The form of the Library can be Lisp source code (for +processing by an interpreter) or object code (usually the result of +compilation of source code or built with some other +mechanisms). Foreign modules are object code in a form that can be +linked into a Lisp executable. When we speak of functions we do so in +the most general way to include, in addition, methods and unnamed +functions. Lisp "data" is also a general term that includes the data +structures resulting from defining Lisp classes. A Lisp application +may include the same set of Lisp objects as does a Library, but this +does not mean that the application is necessarily a "work based on the +Library" it contains. + +The Library consists of everything in the distribution file set before +any modifications are made to the files. If any of the functions or +classes in the Library are redefined in other files, then those +redefinitions ARE considered a work based on the Library. If +additional methods are added to generic functions in the Library, +those additional methods are NOT considered a work based on the +Library. If Library classes are subclassed, these subclasses are NOT +considered a work based on the Library. If the Library is modified to +explicitly call other functions that are neither part of Lisp itself +nor an available add-on module to Lisp, then the functions called by +the modified Library ARE considered a work based on the Library. The +goal is to ensure that the Library will compile and run without +getting undefined function errors. + +It is permitted to add proprietary source code to the Library, but it +must be done in a way such that the Library will still run without +that proprietary code present. Section 5 of the LGPL distinguishes +between the case of a library being dynamically linked at runtime and +one being statically linked at build time. Section 5 of the LGPL +states that the former results in an executable that is a "work that +uses the Library." Section 5 of the LGPL states that the latter +results in one that is a "derivative of the Library", which is +therefore covered by the LGPL. Since Lisp only offers one choice, +which is to link the Library into an executable at build time, we +declare that, for the purpose applying the LGPL to the Library, an +executable that results from linking a "work that uses the Library" +with the Library is considered a "work that uses the Library" and is +therefore NOT covered by the LGPL. + +Because of this declaration, section 6 of LGPL is not applicable to +the Library. However, in connection with each distribution of this +executable, you must also deliver, in accordance with the terms and +conditions of the LGPL, the source code of Library (or your derivative +thereof) that is incorporated into this executable. + --- cl-postoffice-1.8.2.3.orig/debian/prerm +++ cl-postoffice-1.8.2.3/debian/prerm @@ -0,0 +1,42 @@ +#! /bin/sh +# prerm script for postoffice +# +# see: dh_installdeb(1) + +set -e + +# package name according to lisp +LISP_PKG=postoffice + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + /usr/sbin/unregister-common-lisp-source $LISP_PKG + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cl-postoffice-1.8.2.3.orig/debian/compat +++ cl-postoffice-1.8.2.3/debian/compat @@ -0,0 +1 @@ +4 --- cl-postoffice-1.8.2.3.orig/debian/changelog +++ cl-postoffice-1.8.2.3/debian/changelog @@ -0,0 +1,74 @@ +cl-postoffice (1.8.2.3-4) unstable; urgency=low + + * Changed to group maintanance + * Added Vcs-Git control field + * Debhelper is Build-Depends + * Updated Standard Version without real changes + * swap binary-indep and binary-arch round + * Use debian/compat file + * Added Homepage field + + -- Peter Van Eynde Thu, 13 Mar 2008 21:57:48 +0100 + +cl-postoffice (1.8.2.3-3) unstable; urgency=low + + * Fixed problem with missing *keyword-package* variable. + + -- Peter Van Eynde Thu, 3 Mar 2005 22:18:32 +0100 + +cl-postoffice (1.8.2.3-2) unstable; urgency=low + + * New maintainer. (Closes: #297381: O: cl-portable-aserve -- + Compatibility layer for Allegro Common Lisp) + * Adopted by Peter Van Eynde + + -- Peter Van Eynde Tue, 1 Mar 2005 10:16:13 +0100 + +cl-postoffice (1.8.2.3-1) unstable; urgency=low + + * Use acl-compat.excl package name + + -- Kevin M. Rosenberg Tue, 16 Mar 2004 17:58:40 -0700 + +cl-postoffice (1.8.2.2-1) unstable; urgency=low + + * Fix typo + + -- Kevin M. Rosenberg Sat, 31 May 2003 07:41:30 -0600 + +cl-postoffice (1.8.2.1-1) unstable; urgency=low + + * Move .asd file into source distribution + + -- Kevin M. Rosenberg Wed, 28 May 2003 15:10:39 -0600 + +cl-postoffice (1.8.2-2) unstable; urgency=low + + * Remove 'load-compiled-op from changelog + * Changes compared to upstream version: + - Use ACL-COMPAT socket routines on non-Allegro implementations + - Rename .cl file extension to .lisp extension + - Comment out DNS lookup routines + - Merge defpackage forms from imap.cl and smtp.cl into new file + + -- Kevin M. Rosenberg Mon, 2 Dec 2002 11:39:52 -0700 + +cl-postoffice (1.8.2-1) unstable; urgency=low + + * Change call to make-socket to use string rather than numeric ip + address for acl-compat compatibility. + + -- Kevin M. Rosenberg Tue, 15 Oct 2002 20:09:29 -0600 + +cl-postoffice (1.8.1-1) unstable; urgency=low + + * Rework dns-query for non-allegro systems + + -- Kevin M. Rosenberg Tue, 15 Oct 2002 19:35:17 -0600 + +cl-postoffice (1.8-1) unstable; urgency=low + + * Initial Release (closes: #163953) + + -- Kevin M. Rosenberg Wed, 9 Oct 2002 04:30:08 -0600 + --- cl-postoffice-1.8.2.3.orig/debian/postinst +++ cl-postoffice-1.8.2.3/debian/postinst @@ -0,0 +1,52 @@ +#! /bin/sh +# postinst script for postoffice +# +# see: dh_installdeb(1) + +set -e + +# package name according to lisp +LISP_PKG=postoffice + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + #clc-only-compatible $LISP_PKG allegro cmucl lispworks openmcl + /usr/sbin/register-common-lisp-source $LISP_PKG + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cl-postoffice-1.8.2.3.orig/debian/control +++ cl-postoffice-1.8.2.3/debian/control @@ -0,0 +1,17 @@ +Source: cl-postoffice +Section: devel +Priority: optional +Maintainer: Debian Common Lisp Team +Uploaders: Peter Van Eynde +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.7.3 +Homepage: http://opensource.franz.com/postoffice/index.html +Vcs-Git: http://git.debian.org/git/pkg-common-lisp/cl-postoffice.git + +Package: cl-postoffice +Architecture: all +Depends: ${shlibs:Depends}, cl-acl-compat, common-lisp-controller (>= 3.47) +Description: SMTP, POP, & IMAP interface library for Common Lisp Programs + This is a Franz's open-source Postoffice package which includes + libraries for SMTP, POP, and IMAP clients. This package uses the + ACL-COMPAT module for operation on non-Allegro Common Lisp implementations. --- cl-postoffice-1.8.2.3.orig/debian/docs +++ cl-postoffice-1.8.2.3/debian/docs @@ -0,0 +1 @@ + --- cl-postoffice-1.8.2.3.orig/debian/cl-postoffice.doc-base +++ cl-postoffice-1.8.2.3/debian/cl-postoffice.doc-base @@ -0,0 +1,12 @@ +Document: cl-postoffice +Title: CL-Postoffice Manual +Author: Franz, Inc. +Abstract: This manual describes the + use the Post Office Common Lisp library. This library provides + client access to SMTP, POP, and IMAP servers from Common Lisp + programs. +Section: programming + +Format: HTML +Index: /usr/share/doc/cl-postoffice/postoffice.html +Files: /usr/share/doc/cl-postoffice/*.html --- cl-postoffice-1.8.2.3.orig/debian/rules +++ cl-postoffice-1.8.2.3/debian/rules @@ -0,0 +1,81 @@ +#!/usr/bin/make -f + +pkg := postoffice +debpkg := cl-postoffice + +clc-source := usr/share/common-lisp/source +clc-systems := usr/share/common-lisp/systems +clc-postoffice := $(clc-source)/$(pkg) +doc-dir := usr/share/doc/$(debpkg) + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + # Add here commands to compile the package. + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + # Add here commands to clean up after the build process. + rm -f debian/cl-postoffice.postinst.* debian/cl-postoffice.prerm.* + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + # Add here commands to install the package into debian/postoffice. + dh_installdirs $(clc-systems) $(clc-postoffice) $(doc-dir) + dh_install postoffice.asd $(shell echo *.lisp) $(clc-postoffice) + dh_install postoffice.html $(doc-dir) + dh_link $(clc-postoffice)/postoffice.asd $(clc-systems)/postoffice.asd + [ -f ChangeLog ] && mv ChangeLog changelog || true + + + +# Build architecture-dependent files here. +binary-arch: build install + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs +# dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installman +# dh_installinfo +# dh_undocumented + dh_installchangelogs changelog + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure + --- cl-postoffice-1.8.2.3.orig/imap.lisp +++ cl-postoffice-1.8.2.3/imap.lisp @@ -1658,7 +1658,7 @@ ; this used to be exported from the excl package -#+(and allegro (version>= 6 0)) +#-(and allegro (version< 6 0)) (defvar *keyword-package* (find-package :keyword))