This collective work is Copyright (C) 2002, 2003 by Eric S. Raymond and Copyright (C) 2004 by Matthias Andree, Eric S. Raymond, Rob Funk and Graham Wilson and Copyright (C) 2005 by Matthias Andree and Sunil Shetye and Copyright (C) 2006 by Matthias Andree. Some older portions not explicitly mentioned above are copyrighted by Carl E. Harris, George M. Sipe, Graham Wilson, Matthias Andree and Sunil Shetye. The support for SMB authentication is copyright by Andrew Tridgell and is under GPL version 2. Andrew Tridgell has granted a specific exemption for his GPL-licensed code to be linked with non-GPL-compliant code in fetchmail. The relevant files are smb*.[ch] and ntlm.h. The following files are public-domain: acconfig.h, md5c.c, md5.h. The following files are explicitly GPL-licensed: getopt1.c, getopt.c, getopt.h. The file m4-local/ac_ma_search_package.m4 is copyright by Caolan McNamara with fixes from Alexandre Duret-Lutz , Matthew Mueller and Matthias Andree The license is detailed in m4-local/ac-archive-license.txt. The *.c files in the ucs/ directory are Copyright (C) 2002, 2003 by Markus Kuhn, with a liberal license as follows: | Permission to use, copy, modify, and distribute this software | for any purpose and without fee is hereby granted. The author | disclaims all warranties with regard to this software. The trio/ code is Copyright (C) 1998-2001 by Bjorn Reese and Daniel Stenberg and also under a liberal license: | Permission to use, copy, modify, and distribute this software for any | purpose with or without fee is hereby granted, provided that the above | copyright notice and this permission notice appear in all copies. | | THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED | WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF | MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND | CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. The m4/gethostbyname_r.m4 and libesmtp/* files functions are (C) by Brian Stafford, see the respective file headers for details. The KAME/* files are (C) Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project, see the respective file headers for details. All other code in the distribution incorporates the copy of GPL version 2 below by reference. Specific permission is granted for the GPLed code in this distribition to be linked to OpenSSL without invoking GPL clause 2(b). ------------------------------------------------------------------------------- GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the soft
# Makefile for the shipper project

VERS=$(shell sed <shipper.spec -n -e '/Version: \(.*\)/s//\1/p')

MANDIR=$(DESTDIR)/usr/share/man/man1
BINDIR=$(DESTDIR)/usr/bin

DOCS    = README COPYING shipper.xml rpm2lsm.xml shipper.1 rpm2lsm.1
SOURCES = shipper buildrpms rpm2lsm Makefile $(DOCS) shipper.spec

all: shipper-$(VERS).tar.gz

install: shipper.1 rpm2lsm.1
	cp shipper buildrpms rpm2lsm $(BINDIR)
	gzip <shipper.1 >$(MANDIR)/shipper.1.gz
	gzip <rpm2lsm.1 >$(MANDIR)/rpm2lsm.1.gz

shipper.1: shipper.xml
	xmlto man shipper.xml
shipper.html: shipper.xml
	xmlto html-nochunks shipper.xml

rpm2lsm.1: rpm2lsm.xml
	xmlto man rpm2lsm.xml
rpm2lsm.html: rpm2lsm.xml
	xmlto html-nochunks rpm2lsm.xml

shipper-$(VERS).tar.gz: $(SOURCES)
	@mkdir shipper-$(VERS)
	@cp $(SOURCES) shipper-$(VERS)
	@tar -czf shipper-$(VERS).tar.gz shipper-$(VERS)
	@rm -fr shipper-$(VERS)

dist: shipper-$(VERS).tar.gz

release: shipper-$(VERS).tar.gz shipper.html rpm2lsm.html
	shipper -f; rm CHANGES ANNOUNCE* *.html *.lsm *.1
under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -------------------------------------------------------------------------------