--- uucpsend-1.1.orig/Makefile +++ uucpsend-1.1/Makefile @@ -1,4 +1,4 @@ -# Copyright (c) 1995-8,2001 Martin Schulze +# Copyright (c) 1995-8,2001,8 Martin Schulze # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,6 +16,7 @@ # Makefile for uucpsend +SHELL = /bin/bash CC = gcc CFLAGS = -O3 -Wall DEST= --- uucpsend-1.1.orig/debian/NMU-Disclaimer +++ uucpsend-1.1/debian/NMU-Disclaimer @@ -0,0 +1,45 @@ +Non Maintainer Upload of this Package +------------------------------------- + +If you plan to work on an NMU for this package, read the following +closely. It can save you and me some grief. + + 1. At first, contact the maintainer (i.e. send a mail to + joey@debian.org, do not cc or bounce a mail, send a plain mail, + not copied to any mailing list or the BTS) and ask about the + status of the bug you are considering to work on. + + 2. In this mail include all information relevant for this problem, + i.e. include a description of the bug and not only its bug + number. + + 3. If the maintainer is not able or willing to fix the problem or + does not respond within four days, continue with step 4. + + 4. Work on the bug and prepare a patch. Do not upload into the + Debian archive. + + 5. Send the entire patch, together with enough explanations, to the + maintainer for reviewing and ask him for permission of an NMU + using this patch. + + 6. IF AND ONLY IF the maintainer approves the patch (or doesn't + respond within four days), upload the NMU to the incoming + directory and send the patch to the BTS. If the NMU is not + approved, go back to 4. or add the NMU to your homepage, but do + not upload it to the Debian archive. + + 7. Properly sized and well-written patches sent to the BTS are always + appreciated, even if they are rejected later. They demonstrate a + potential solution which could probably improved into a real + solution. + + 8. NEVER change the way a package is maintained in an NMU, i.e. don't + remove dh_* stuff or switch to dh_* respectively. This rule + applies to all NMU's, not only to an NMU for this package. + +These rules always apply. They even apply if somebody declares NMUs +as ok and reduces regular NMU rules to a delay of zero days. Unless +I'm on vacation or on a show I am reachable via mail, so there is +hardly a reason not to contact me. + --- uucpsend-1.1.orig/debian/changelog +++ uucpsend-1.1/debian/changelog @@ -0,0 +1,85 @@ +uucpsend (1.1-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * Make the build reproducible: pass -n to gzip. + Thanks to Chris Lamb for the patch (Closes: #777008) + + -- Mattia Rizzolo Thu, 09 Mar 2017 00:51:53 +0100 + +uucpsend (1.1-4) unstable; urgency=low + + * Lock shell to bash in the root Makefile (really closes: Bug#379712) + + -- Martin Schulze Thu, 03 Apr 2008 17:58:44 +0200 + +uucpsend (1.1-3) unstable; urgency=low + + * Added information about the CVS repository + * Fixed typo in NMU-Disclaimer, thanks to Petter Reinholdtsen (See: + Bug#225895) + * Incorporated from NMU 1.1-2.1 + - uucpsend.c: Don't cast lvalue in assignment. Fix type of + argument to free_sites() in order to remove unnecessary cast + Patch by Andreas Jochens (closes: Bug#297738) + - Removed postinst script since the /usr/doc transition is finished + * Removed prerm script since the /usr/doc transition is finished + * Set shell to bash (closes: Bug#379712) + + -- Martin Schulze Sat, 19 Jan 2008 11:46:50 +0100 + +uucpsend (1.1-2) unstable; urgency=low + + * Added a disclaimer for those people who plan to NMU this package + * Corrected the description (closes: Bug#144727) + + -- Martin Schulze Thu, 28 Aug 2003 10:35:50 +0200 + +uucpsend (1.1-1) unstable; urgency=low + + * New upstream source (closes: Bug#84385, Bug#84380) + * Removed blurb about INN2 since it's incorporated into the regular + readme file now + + -- Martin Schulze Thu, 22 Nov 2001 21:54:13 +0100 + +uucpsend (1.0-3) unstable; urgency=low + + * Converted gzip'ing of manpages to my own style + * Applied NMU changes + * Capitalizing of short description + * Added an URL to the readme file + * Changed Priority to extra as it is noted in the overrides file + * Added convenience code to support $DEB_BUILD_OPTIONS + * Let the package conflict with INN2 since this needs further tweaking + (closes: Bug#64284, Bug#64549) + * Added a readme file as description for INN2 + + -- Martin Schulze Thu, 22 Nov 2001 16:23:21 +0100 + +uucpsend (1.0-2) unstable; urgency=low + + * Non-Maintainer upload + * /usr/doc to /usr/share/doc transition (Closes: #91713) + * removed gzipping of copyright file + * added isp flags to dpkg-genchanges call to create Priority: and + Section: fields + * gzipped manpage uucpsend.ctl.5 + * ditto uucpsend.8 + * changed pointer to GPL in debian/copyright + * added postinst and prerm scripts to handle /usr/doc/uucpsend + symlinks + * moved manpages to /usr/shar/man + * upped standards to 3.5.2 + + -- Stephen Stafford Sat, 21 Apr 2001 21:26:25 +0100 + +uucpsend (1.0-1) unstable; urgency=low + + * First Debian release + * Corrected paths to fit the current Debian filesystem structure + * Added notice to GNU GPL and added it + * Fixed Debian standards version + * Included readme file + * Converted from bzero() to memset() + + -- Martin Schulze Sat, 12 Sep 1998 02:29:26 +0200 --- uucpsend-1.1.orig/debian/conffiles +++ uucpsend-1.1/debian/conffiles @@ -0,0 +1 @@ +/etc/news/uucpsend.ctl --- uucpsend-1.1.orig/debian/control +++ uucpsend-1.1/debian/control @@ -0,0 +1,16 @@ +Source: uucpsend +Section: news +Priority: extra +Maintainer: Martin Schulze +Standards-Version: 3.5.2 + +Package: uucpsend +Architecture: any +Depends: ${shlibs:Depends}, inn, uucp +Conflicts: inn2 +Description: Alternative Frontend for UUCP Batching with INN + This package provides some neat features to do UUCP batching. + Partially it is logically based on send-uucp and nntpsend which were + included in early versions of INN. + . + It is tested with INN 1 and may require tweaking with INN 2. --- uucpsend-1.1.orig/debian/copyright +++ uucpsend-1.1/debian/copyright @@ -0,0 +1,29 @@ +This program contains an additional frontend for uucp batching with +INN. It has been written and packaged by Martin Schulze + + +Homepage: http://www.infodrom.org/projects/uucpsend/ + +It is licensed under the terms of the GNU General Public License. + + Copyright 1994-8,2001 joey@infodrom.org (Martin Schulze) + + This program 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 program 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 program; if not, write to the Free Software + Foundation, Inc., Temple Place - Suite 330, Boston, MA 02111, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL' + +The source of the Debian package is managed using CVS. It is publically +available at or as +<:pserver:anonymous@cvs.infodrom.org/var/cvs/debian/uucpsend/>. --- uucpsend-1.1.orig/debian/rules +++ uucpsend-1.1/debian/rules @@ -0,0 +1,92 @@ +#! /usr/bin/make -f + +# Copyright 1994-97,2008 joey@infodrom.org (Martin Schulze) +# +# This program 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 program 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 program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave., Cambridge, MA 02139, USA. + +# The name of the package +source = $(shell grep "^Source: " debian/control|head -1|sed 's/Source: \(.*\)/\1/g') +package = $(shell grep "^Package: " debian/control|head -1|sed 's/Package: \(.*\)/\1/g') +version = $(shell grep "^$(package) " debian/changelog|head -1 |sed 's/.*(\(.*\)\-[^\-]*).*/\1/g') + +SHELL=/bin/bash +installbin = install -g root -o root -m 755 +installdoc = install -g root -o root -m 644 + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +CFLAGS = -g -O2 -Wall +else +CFLAGS = -O2 -Wall +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +STRIP = -s +endif + +build: +# Builds the binary package. + $(MAKE) CFLAGS="$(CFLAGS)" + touch stamp-build + +clean: debclean +# Undoes the effect of `make -f debian/rules build'. + $(MAKE) clean + rm -rf stamp-build *~ + +debclean: +# Cleans debian binary directories to allow binary creation + rm -rf debian/tmp + rm -f debian/{files,substvars} + +binary-indep: +# Nothing to be done here + +binary-arch: debclean +# Makes a binary package. + test -f stamp-build || make -f debian/rules build + $(installbin) -d debian/tmp/DEBIAN + install -d -g root -m 755 -o root debian/tmp/usr/share/doc/$(package) + chmod g-s debian/tmp + # + $(installdoc) debian/conffiles debian/tmp/DEBIAN + $(installdoc) debian/changelog debian/tmp/usr/share/doc/$(package)/changelog.Debian + $(installdoc) debian/copyright debian/tmp/usr/share/doc/$(package)/copyright + $(installdoc) readme debian/tmp/usr/share/doc/$(package)/ + gzip -9fn debian/tmp/usr/share/doc/$(package)/changelog.Debian + # + install -d -g news -o news -m 755 -d debian/tmp/etc/news + $(installdoc) uucpsend.ctl debian/tmp/etc/news + # + install -d -g news -o news -m 755 -d debian/tmp/usr/lib/news/bin + $(MAKE) DEST=debian/tmp MAN=root STRIP="$(STRIP)" install + mv debian/tmp/usr/man debian/tmp/usr/share/man + gzip -9fn debian/tmp/usr/share/man/man?/* + dpkg-shlibdeps debian/tmp/usr/lib/news/bin/uucpsend + dpkg-gencontrol -isp + dpkg --build debian/tmp .. + +binary: binary-indep binary-arch + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b' or dsc; false + +dsc: clean + cd .. && dpkg-source -b $(source)-$(version) + +checkroot: + $(checkdir) + test root = "`whoami`" + +dist: binary dsc + +.PHONY: binary binary-arch binary-indep clean checkroot --- uucpsend-1.1.orig/uucpsend.c +++ uucpsend-1.1/uucpsend.c @@ -281,12 +281,12 @@ void free_sites(root) -struct s_sites *root; +struct s_site *root; { struct s_site *act; struct s_site *tmp = NULL; - (struct s_sites *)act = (struct s_sites *)root; + act = root; while (act) { tmp = act;