--- citadel-client-916.orig/debian/changelog +++ citadel-client-916/debian/changelog @@ -0,0 +1,38 @@ +citadel-client (916-1) unstable; urgency=medium + + * Updated watch file for new manifest. + * New upstream version 916 + + -- Michael Meskes Fri, 05 Jan 2018 11:08:39 +0100 + +citadel-client (915-1) unstable; urgency=medium + + * New upstream version 915 + * Bumped Standards-Version to 4.1.3, no changes needed. + * Bumped debhelper version to 11. + * Changed priority to optional. + * Added hardening build options. + + -- Michael Meskes Tue, 02 Jan 2018 11:22:09 +0100 + +citadel-client (9.01-1) unstable; urgency=medium + + * Imported Upstream version 9.01 + * Bumped Standards-Version to 3.9.6, no changes needed. + * Added lintian override for non-existant RFC license problems. + + -- Michael Meskes Wed, 17 Feb 2016 14:12:34 +0100 + +citadel-client (8.24-1) unstable; urgency=medium + + * Imported Upstream version 8.24 + * Bumped Standards-Version to 3.9.5, no changes needed. + + -- Michael Meskes Tue, 28 Jan 2014 11:48:55 +0100 + +citadel-client (8.20-1) unstable; urgency=low + + * Initial release as separate package. + + -- Michael Meskes Tue, 27 Aug 2013 14:43:49 +0200 + --- citadel-client-916.orig/debian/citadel-client.install +++ citadel-client-916/debian/citadel-client.install @@ -0,0 +1,2 @@ +etc/citadel/citadel.rc +usr/bin/citadel --- citadel-client-916.orig/debian/citadel-client.manpages +++ citadel-client-916/debian/citadel-client.manpages @@ -0,0 +1 @@ +debian/manpages/whobbs.1 --- citadel-client-916.orig/debian/citadel-client.postinst +++ citadel-client-916/debian/citadel-client.postinst @@ -0,0 +1,34 @@ +#!/bin/sh +# postinst script for citadel-client + +set -e + +case "$1" in + configure) + if test -f /etc/citadel/citadel.rc; then + if ! getent group citadel >/dev/null; then + addgroup --system citadel + fi + + if ! getent passwd citadel >/dev/null; then + adduser --system --ingroup citadel --home /var/lib/citadel \ + --gecos "Citadel system user" --shell /bin/sh \ + --disabled-password --no-create-home --shell /bin/false citadel + fi + + chown citadel:citadel /etc/citadel/citadel.rc + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- citadel-client-916.orig/debian/compat +++ citadel-client-916/debian/compat @@ -0,0 +1 @@ +11 --- citadel-client-916.orig/debian/control +++ citadel-client-916/debian/control @@ -0,0 +1,21 @@ +Source: citadel-client +Section: mail +Priority: optional +Maintainer: Debian Citadel Team +Uploaders: Wilfried Goesgens , Michael Meskes , Alexander Wirt +Build-Depends: debhelper (>= 11), po-debconf, bison, + libpam0g-dev, libcitadel-dev (>= 917), zlib1g-dev +Standards-Version: 4.1.3 +Vcs-Git: git://anonscm.debian.org/pkg-citadel/citadel-client.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-citadel/citadel-client.git +Homepage: http://www.citadel.org/ + +Package: citadel-client +Architecture: any +Recommends: shared-mime-info +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser +Description: complete and feature-rich groupware server (command line client) + This is package contains the command line client for Citadel, a complete and + feature-rich open source groupware platform. + . + See the 'citadel-server' package for more information. --- citadel-client-916.orig/debian/copyright +++ citadel-client-916/debian/copyright @@ -0,0 +1,142 @@ +This package was debianized by Michael Meskes on Tue, 27 +Aug 2013 14:46:47 +0200 + +It was downloaded from http://www.citadel.org + +Upstream Authors (the citadel development team): + Clint Adams + Steven M. Bellovin + Nathan Bryant + Art Cancro + Brian Costello + Nick Georbit + David Given + Wilfried Goesgens + Michael Hampton + Andru Luvisi + Daniel Malament + Stu Mark + Edward S. Marshall + Ben Mehlman + Matt Pfleger + Ari Samson + Trey Van Riper + John Walker + Steve Williams + Ethan Young + +Copyright: (C) 1987-2013 Citadel development team + +Copyright for CRC16: (C) 1996-2003 Indigo Systems Corporation + +Copyright for MD5 implementation: (C) 1993 Colin Plumb + +Copyright for RFC 2739 openldap schema: + (C) 2000 The Internet Society + (C) 2004 Martin Konold + (C) 2006 Art Cancro + +CRC16 license: + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + 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. + + Neither the name of the Indigo Systems Corporation nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER OR CONTRIBUTORS 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. + +MD5 license: + + This code was written by Colin Plumb in 1993, no copyright is claimed. + This code is in the public domain; do with it what you wish. + +RFC 2739 openldap schema license: + + The version of this file as distributed in the Citadel upstream packages + contains text claiming copyright by the Internet Society and including + the IETF RFC license, which does not meet Debian's Free Software + Guidelines. However, apart from short and obvious comments, the text of + this file is purely a functional interface specification, which is not + subject to that license and is not copyrightable under US law. + + The license statement is retained below so as not to remove credit, but + as best as we can determine, it is not applicable to the contents of + this file. + + This document and translations of it may be copied and furnished to + others, and derivative works that comment on or otherwise explain it + or assist in its implementation may be prepared, copied, published + and distributed, in whole or in part, without restriction of any + kind, provided that the above copyright notice and this paragraph are + included on all such copies and derivative works. However, this + document itself may not be modified in any way, such as by removing + the copyright notice or references to the Internet Society or other + Internet organizations, except as needed for the purpose of + developing Internet standards in which case the procedures for + copyrights defined in the Internet Standards process must be + followed, or as required to translate it into languages other than + English. + + The limited permissions granted above are perpetual and will not be + revoked by the Internet Society or its successors or assigns. + + This document and the information contained herein is provided on an + "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING + TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION + HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF + MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + +citadel license: + + 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 3 of the License. + + 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +* In addition, as a special exception, the copyright holders give +* permission to link the code of portions of this program with the +* OpenSSL library under certain conditions as described in each +* individual source file, and distribute linked combinations +* including the two. +* You must obey the GNU General Public License in all respects +* for all of the code used other than OpenSSL. If you modify +* file(s) with this exception, you may extend this exception to your +* version of the file(s), but you are not obligated to do so. If you +* do not wish to do so, delete this exception statement from your +* version. If you delete this exception statement from all source +* files in the program, then also delete it here. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-3'. + +The Debian packaging is Copyright (C) 2006-2013, Debian Citadel Team + and is licensed under the GPL, see +above. --- citadel-client-916.orig/debian/manpages/whobbs.1 +++ citadel-client-916/debian/manpages/whobbs.1 @@ -0,0 +1,32 @@ +.TH WHOBBS 1 2008-1-7 whobbs Citadel.org +.SH NAME +WhoBBS \- who is online listing Utility +.SH SYNOPSIS +\fBwhobbs\fR \fB[remotehost\fR \fB[remoteport]]\fR +.SH DESCRIPTION +WhoBBS connects to the given citserver, retrieves the list of users +currently online in the system, and prints it nicely formated. +.SH OPTIONS +.TP +SwitchResult +.TP +\fBremotehost\fR +if the citserver lives on another box, its name / ip; else the path to +the unix\-domain\-socket. Defaults to the compiled in unix domain +socket +.TP +\fBremoteport\fR +If you want to connect to citserver via TCP specify its port here +.SH DEFAULTS +By default userlist connects to a citadel server located at 127.0.0.1 +port 504 +.SH EXAMPLES +A call to userlist could look like that: .nf Users currently logged on +to My System +Session User name Room From host +\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +3 Joe Blow Lobby localhost .fi +.SH HISTORY +1987 \- Now the Uncensored Communications Group --- citadel-client-916.orig/debian/rules +++ citadel-client-916/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +export DH_OPTIONS + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +DEB_DESTDIR = $(CURDIR)/debian/tmp + +CFLAGS = `dpkg-buildflags --get CFLAGS` +CFLAGS += -Wall + +LDFLAGS_DEF = `dpkg-buildflags --get LDFLAGS` +CPPFLAGS_DEF = `dpkg-buildflags --get CPPFLAGS` + +EXTRA_ARGS= +PROFILE_ARGS= +#to enable debugging: export DEB_BUILD_OPTIONS="debug profiling threadoff" +ifneq (,$(findstring profiling,$(DEB_BUILD_OPTIONS))) + PROFILE_ARGS= --with-gprof +endif +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 -ggdb -rdynamic -D_GNU_SOURCE -MD -MP -D TECH_PREVIEW + LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed + EXTRA_ARGS = --with-backtrace + ifneq (,$(findstring event,$(DEB_BUILD_OPTIONS))) + EXTRA_ARGS = --with-backtrace + endif +else + LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed + CFLAGS += -O2 +endif + +ifneq (,$(findstring backtrace,$(DEB_BUILD_OPTIONS))) + CFLAGS+= -rdynamic -D_GNU_SOURCE -MD -MP + LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed + EXTRA_ARGS += --with-backtrace +endif + +ifneq (,$(findstring threadoff,$(DEB_BUILD_OPTIONS))) + THREAD_ARGS=--without-threaded-client + CFLAGS += -D WITH_THREADLOG +else + THREAD_ARGS= +endif + +ifneq (,$(findstring iodbg,$(DEB_BUILD_OPTIONS))) + CFLAGS += -D BIGBAD_IODBG +endif + +ifneq (,$(findstring gcov,$(DEB_BUILD_OPTIONS))) + CFLAGS += -fprofile-arcs -ftest-coverage + LDFLAGS += -fprofile-arcs -ftest-coverage +endif + +override_dh_auto_configure: + dh_testdir + + CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS_DEF)" LDFLAGS="$(LDFLAGS_DEF)" ./configure \ + --prefix=/var/lib/citadel \ + --with-datadir=/var/lib/citadel \ + --with-helpdir=/usr/share/citadel-server \ + --with-staticdatadir=/etc/citadel \ + --with-spooldir=/var/spool/citadel \ + --with-sysconfdir=/etc/citadel \ + --with-rundir=/var/run/citadel \ + --with-docdir=/usr/share/doc/citadel-doc/ \ + --with-ssldir=/etc/ssl/citadel/ \ + --with-utility-bindir=/usr/lib/citadel-server/ \ + --with-autosysconfdir=/var/lib/citadel/data/ \ + --with-pam \ + $(EXTRA_ARGS) $(PROFILE_ARGS) $(THREAD_ARGS) + +override_dh_auto_clean: + dh_auto_clean + + -rm -f build-arch-stamp build-indep-stamp configure-stamp + -rm -f config.status config.log src/*.o + +override_dh_auto_install: + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) DESTDIR=$(DEB_DESTDIR) install-doc-new install-exec-new install-data-new + +override_dh_installinit: + dh_installinit --name=citadel --restart-after-upgrade + +%: + dh $@ + --- citadel-client-916.orig/debian/source/format +++ citadel-client-916/debian/source/format @@ -0,0 +1 @@ +1.0 --- citadel-client-916.orig/debian/source/lintian-overrides +++ citadel-client-916/debian/source/lintian-overrides @@ -0,0 +1,4 @@ +license-problem-non-free-RFC COPYING +license-problem-non-free-RFC openldap/rfc2739.schema +license-problem-non-free-RFC debian/copyright + --- citadel-client-916.orig/debian/watch +++ citadel-client-916/debian/watch @@ -0,0 +1,4 @@ +version=4 + +http://easyinstall.citadel.org/manifest.html textclient-([\d\S]+).tar.gz +