summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/README.terminfo5
-rw-r--r--debian/changelog66
-rw-r--r--debian/control6
-rw-r--r--debian/copyright79
-rw-r--r--debian/files1
-rw-r--r--debian/postinst51
-rw-r--r--debian/postrm9
-rwxr-xr-xdebian/rules148
-rw-r--r--debian/substvars1
9 files changed, 164 insertions, 202 deletions
diff --git a/debian/README.terminfo b/debian/README.terminfo
new file mode 100644
index 0000000..78afbf5
--- /dev/null
+++ b/debian/README.terminfo
@@ -0,0 +1,5 @@
+Debian 1.3 uses ncurses/terminfo, not curses/termcap, so you really
+shouldn't need the screencap file in this directory.
+
+The screeninfo.src file is installed by the `ncurses-term' package
+-- it's here for reference, and to recover from stupid errors (like?).
diff --git a/debian/changelog b/debian/changelog
index 3fb8c6b..3de3ff4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,69 @@
+screen (3.7.4-6) unstable; urgency=low
+
+ * Pass SIGWINCH to applications when size changes (fixes:Bug#18471)
+
+ -- Juan Cespedes <cespedes@debian.org> Sun, 22 Feb 1998 11:16:46 +0100
+
+screen (3.7.4-5) unstable; urgency=low
+
+ * Fixed minor bug in debian/rules clean
+ * `screen' now depends on `ncurses-term', so it doesn't install its
+ own terminfo entry
+ * New Standards-Version: 2.4.0.0
+
+ -- Juan Cespedes <cespedes@debian.org> Thu, 12 Feb 1998 16:10:22 +0100
+
+screen (3.7.4-4) unstable; urgency=low
+
+ * Changed upstream changelog name (ChangeLog.gz -> changelog.gz)
+ * Changed sockets from /tmp to /var/run (closes:Bug#6487)
+ * New Standards-Version: 2.3.0.1
+ * Changed behaviour of backspace key (now sends `DEL' == 0177)
+
+ -- Juan Cespedes <cespedes@debian.org> Sun, 4 Jan 1998 21:13:51 +0100
+
+screen (3.7.4-3) unstable; urgency=low
+
+ * New maintainer
+ * New Standards-Version: 2.3.0.0
+ * Minor fixes in /usr/doc/screen
+ * Pristine Source
+ * Fixed Bug#12626
+
+ -- Juan Cespedes <cespedes@debian.org> Sat, 11 Oct 1997 02:14:43 +0200
+
+screen (3.7.4-2) unstable; urgency=low
+
+ * Added definition of kend to screeninfo.src.
+ * Recompiled for libc6.
+
+ -- joost witteveen <joost@rulcmc.leidenuniv.nl> Fri, 3 Oct 1997 22:18:45 +0200
+
+screen (3.7.4-1) unstable; urgency=low
+
+ * Upgraded to upstream version.
+ * fixed /etc/screenrc problem (used to read: /usr/etc/screenrc).
+
+ -- joost witteveen <joost@rulcmc.leidenuniv.nl> Sat, 2 Aug 1997 22:26:08 +0200
+
+screen (3.7.2-5) unstable; urgency=low
+
+ * Recompiled for libc6 (now should be using libc functions for utmp access)
+
+ -- joost witteveen <joost@rulcmc.leidenuniv.nl> Thu, 19 Jun 1997 17:48:26 +0200
+
+screen (3.7.2-4) unstable; urgency=low
+
+ * After suggestions from David Luyer, increase the number of tty's to 256.
+
+ -- joost witteveen <joost@rulcmc.leidenuniv.nl> Sun, 4 May 1997 17:25:00 +0200
+
+screen (3.7.2-3) stable unstable; urgency=high
+
+ * Security fix for buffer-overrun posted to bugtraq.
+
+ -- joost witteveen <joost@rulcmc.leidenuniv.nl> Fri, 21 Feb 1997 17:02:30 +0100
+
screen (3.7.2-2) unstable; urgency=low
* This package contained a /usr/doc/screen/screeninfo.src.gz (compressed)
diff --git a/debian/control b/debian/control
index 751cb2b..da02af4 100644
--- a/debian/control
+++ b/debian/control
@@ -1,12 +1,12 @@
Source: screen
Section: misc
Priority: optional
-Maintainer: joost witteveen <joostje@debian.org>
-Standards-Version: 2.1.1.0
+Maintainer: Juan Cespedes <cespedes@debian.org>
+Standards-Version: 2.4.0.0
Package: screen
Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ncurses-term (>= 1.9.9g-8)
Description: A screen manager with VT100/ANSI terminal emulation.
screen is a terminal multiplexor that runs several separate "screens"
on a single physical character-based terminal. Each virtual terminal
diff --git a/debian/copyright b/debian/copyright
index a6606c9..c41135a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,44 +1,47 @@
This is the Debian GNU/Linux prepackaged version of screen, a screen
-manager with VT100/ANSI terminal emulation. screen was originally
-written by Oliver Laumann; the most recent version was produced by
-Wayne Davison, Juergen Weigert and Michael Schroeder.
-
-This package was put together by Ian Murdock <imurdock@debian.org>,
-from sources obtained from:
- prep.ai.mit.edu:/pub/gnu/screen-3.6.2.tar.gz
-
-Later taken over by joost witteveen <joostje@master.debian.org>,
-who only added minor changes.
-
-Changes:
- * added Debian GNU/Linux package maintenance system files
- * ETCSCREENRC definition changed to "/etc/screenrc" in config.h.in
- * remove /tmp/screens after installation and removal, as this prevents
- permission conflicts between different screen versions.
- * 3.7.1-5--3.7.1-7 had "Depends: login (>=1.0-5) | shadow-login"
- because of a bug in the utmp handling in screen. This bug
- has been fixed by the upstream maintainer, and it should now
- not anymore need login-1.0-5 (or higer).
+manager with VT100/ANSI terminal emulation.
+
+This package was put together from sources obtained from:
+ ftp://ftp.gnu.ai.mit.edu/pub/gnu/screen-3.7.4.tar.gz
+
+Changes for Debian:
+ * added Debian GNU/Linux package maintenance system files
+ * ETCSCREENRC definition changed to "/etc/screenrc" in config.h.in
+ * 3.7.1-5--3.7.1-7 had "Depends: login (>=1.0-5) | shadow-login"
+ because of a bug in the utmp handling in screen. This bug
+ has been fixed by the upstream maintainer, and it should now
+ not anymore need login-1.0-5 (or higer).
+ * Used /var/run/screens instead of /tmp/screens
+
+
+Copyrights
+----------
+Copyright (C) 1987 Oliver Laumann
+Copyright (C) 1991 Wayne Davidson
+Copyright (C) 1993 Juergen Weigert <jnweiger@immd4.informatik.uni-erlangen.de>
+Copyright (C) 1993 Michael Schroeder <mlschroe@immd4.informatik.uni-erlangen.de>
+
+Modifications for Debian:
+ Copyright (C) Ian Murdock <imurdock@debian.org>
+ Copyright (C) 1997 joost witteveen <joost@rulcmc.leidenuniv.nl>
+ Copyright (C) 1997 Juan Cespedes <cespedes@debian.org>
-screen is Copyright (C) 1993
- Juergen Weigert <jnweiger@immd4.informatik.uni-erlangen.de>
- Michael Schroeder <mlschroe@immd4.informatik.uni-erlangen.de>
+License
+-------
+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; either version 2, or (at your option)
+any later version.
- Copyright (C) 1987 Oliver Laumann
+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.
- 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.
+A copy of the GNU General Public License is available as
+`/usr/doc/copyright/GPL' in the Debian GNU/Linux distribution or on
+the World Wide Web at `http://www.gnu.org/copyleft/gpl.html'. You can
+also obtain it by writing to the Free Software Foundation, Inc., 59
+Temple Place - Suite 330, Boston, MA 02111-1307, USA
- 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.
-
-On Debian GNU/Linux systems, the complete text of the GNU General
-Public License can be found in `/usr/doc/copyright/GPL'.
diff --git a/debian/files b/debian/files
deleted file mode 100644
index da591f2..0000000
--- a/debian/files
+++ /dev/null
@@ -1 +0,0 @@
-screen_3.7.2-2_i386.deb misc optional
diff --git a/debian/postinst b/debian/postinst
index 803ca7f..9c8d27f 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -2,52 +2,9 @@
install-info --quiet --section "General Commands" "General Commands" \
/usr/info/screen.info.gz
-# after a suggestion from Guy Maor, I removed the stuff here
-# that installs a screen entry in /etc/termcap -- this is the
-# job of the termcap compatibility package.
+# the terminfo/termcap entries don't get installed now; it's done by
+# the `termcap-compat' and the `ncurses-term' packages
-# Anyway, see /usr/doc/screen/README.
-
-#install the terminfo stuff:
-tic /usr/doc/screen/screeninfo.src
-
-#this is to remove the "/tmp/screens has incorrect permissions"
-#error message from screen 3.7.1 after upgrading to this (3.7.1)
-#version of screen from 3.6 or earlier.
-
-if test -d /tmp/screens; then
- if test "`ls -ald /tmp/screens|cut -d" " -f 1`" = "drwxr-xr-x"; then
- echo you seem to be upgrading from a post 3.6 version of screen.
- echo "If I'm wrong, plase type \"rm -rf /tmp/screens\" right after"
- echo installation, to avoid problems with permissions later.
- else
- if killall -0 screen; then
- echo you seem to be upgrading from a pre-3.7 version of screen,
- echo but you still have screen-sessions running.
- echo This will cause problems with permissions of /tmp/screens,
- echo unless I remove this directory now.
- echo Unfortunately, if I remove /tmp/screens now, the running
- echo screen sessions will lose the ability to reattach.
- echo
- echo Do you want me to remove /tmp/screens anyway "(advised)",
- echo thereby crippling the current screen sessions, or shall I
- echo leave screen unconfigured so that you can rerun the installtion
- echo later, when the screen sessions have ended?
- echo type
- echo " 1 to rm -rf /tmp/screens now"
- echo " 2 to leave screen unconfigured"
- read ans
- if test "$ans" = "1"; then
- rm -rf /tmp/screens
- else
- exit 1
- fi
- else
- echo you seem to be upgrading from a pre-3.7 version of screen.
- echo "to avoid problems with permissions later, I'm now removing"
- echo '/tmp/screens (you should not notice this)'
- rm -rf /tmp/screens
- fi
- fi
-fi
+# No need to remove /tmp/screens from older versions;
+# the directory used now for sockets is /var/run/screens
diff --git a/debian/postrm b/debian/postrm
index e44f1aa..6bc8db3 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,10 +1,7 @@
#! /bin/sh
install-info --quiet --remove screen
-#if a user later wants to install an old version of screen
-#(like 3.6.2), that version will expect /tmp/screens to have different
-#permissions than it has now, so we remove it now:
-
-if test "$1" = "remove"; then
- rm -rf /tmp/screens
+if test "$1" = "purge" ; then
+ rm -rf /var/run/screens
fi
+
diff --git a/debian/rules b/debian/rules
index 7453449..32235dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,115 +1,51 @@
#!/usr/bin/make -f
-# -*- mode: makefile; -*-
#
-# Last updated: Sat Dec 17 10:52:20 EST 1994 by imurdock.
-#
-# To make the binary distribution package, the ``Debianized'' source package
-# and the context diff to the original package, type `./debian.rules dist'.
-# Make sure that `debian.rules' is executable before the final distribution
-# is made.
-#
-# Invoke each target with `./debian.rules <target>'. All targets should be
-# invoked with the package root as the current directory.
-#
-# The `binary' target must be run as root, as it needs to install files with
-# specific ownerships. The `diff' target assumes that you have the original
-# source package available, unpacked, in ../$(p)-$(v).orig, or that you have
-# the previous revision of the ``Debianized'' source package and context diff
-# in the parent directory.
-
-CC = gcc
-CFLAGS = -O2
-LDFLAGS = -s
-
-# The name of the package (for example, `emacs').
-p = screen
-# # The version of the package (for example, `19.28').
-v = 3.7.2
-# # The Debian revision of the package (for example, `2').
-# d = 8
-# # The target architecture.
-# a = $(shell dpkg --print-architecture)
-# package=$(p)
-# version=$(v)
-# debian=$(d)
-# arch=$(a)
+# Copyright (C) 1997 joost witteveen <joost@rulcmc.leidenuniv.nl>
+# Copyright (C) 1997 Juan Cespedes <cespedes@debian.org>
build:
-# Builds the binary package.
- ./configure --prefix=/usr
- make CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
- touch build
-
-clean:
-# Undoes the effect of `debian/rules build'.
- -$(MAKE) distclean
- rm -f comm.h config.h kmapdef.c term.h tty.c
- rm -f build
- rm -rf debian/tmp
- rm -f Makefile.rej*
-
-binary-indep: checkroot build
- $(checkdir)
-# There are no architecture-independent files to be uploaded
-# generated by this package. If there were any they would be
-# made here.
-
-binary-arch: checkroot build
-# Makes a binary package.
- rm -rf debian/tmp
- install -d -g root -m 755 -o root debian/tmp
- chmod g-s debian/tmp
- install -d -g root -m 755 -o root debian/tmp/DEBIAN
- install -d -g root -m 755 -o root debian/tmp/etc
- install -d -g root -m 755 -o root debian/tmp/usr/bin
- install -d -g root -m 755 -o root debian/tmp/usr/info
- install -d -g root -m 755 -o root debian/tmp/usr/man/man1
- install -d -g root -m 755 -o root debian/tmp/usr/doc/$(p)
- install -g root -m 644 -o root etc/etcscreenrc \
- debian/tmp/etc/screenrc
- install -g root -m 4755 -o root screen \
- debian/tmp/usr/bin/screen-$(v)
- ( cd debian/tmp/usr/bin ; ln -fs screen-$(v) screen )
- install -g root -m 644 -o root doc/screen.info* \
- debian/tmp/usr/info
- install -g root -m 644 -o root doc/screen.1 \
- debian/tmp/usr/man/man1/screen.1
- install -g root -m 644 -o root terminfo/* \
- debian/tmp/usr/doc/screen
- install -g root -m 644 -o root debian/copyright \
- debian/tmp/usr/doc/$(p)/copyright
- install -g root -m 644 -o root debian/changelog \
- debian/tmp/usr/doc/$(p)/changelog.Debian
- rm -f debian/tmp/usr/info/$(p).info*.gz
- gzip -9f debian/tmp/usr/info/$(p).info* \
- debian/tmp/usr/doc/$(p)/*
- gunzip debian/tmp/usr/doc/$(p)//screeninfo.src
- install -g root -m 755 -o root debian/conffiles \
- debian/tmp/DEBIAN/conffiles
- install -g root -m 755 -o root debian/postinst \
- debian/tmp/DEBIAN/postinst
- install -g root -m 755 -o root debian/postrm \
- debian/tmp/DEBIAN/postrm
- dpkg-shlibdeps screen
- dpkg-gencontrol
- chown -R root.root debian/tmp
- chmod -R g-ws debian/tmp
- dpkg --build debian/tmp ..
-
-
-define checkdir
- test -f $(p).c -a -f debian/rules
-endef
-
-# Below here is fairly generic really
+ ./configure --prefix=/usr
+ $(MAKE) CFLAGS='-O2 -g -Wall'
+ touch build
binary: binary-indep binary-arch
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary-indep:
+
+binary-arch: build
+ @test 0 = `id -u` || { echo "Error: not super-user"; exit 1; }
+ rm -rf debian/tmp
+ install -d -m 755 debian/tmp/{DEBIAN,etc,usr/{bin,info,man/man1,doc/screen}}
+ cp -a etc/etcscreenrc debian/tmp/etc/screenrc
+ install -s -m 4755 screen debian/tmp/usr/bin/screen
+ cp -a doc/screen.info* debian/tmp/usr/info
+ cp -a doc/screen.1 debian/tmp/usr/man/man1/screen.1
+ cp -a debian/changelog debian/tmp/usr/doc/screen/changelog.Debian
+ cp -a ChangeLog debian/tmp/usr/doc/screen/changelog
+ cp -a README NEWS FAQ debian/tmp/usr/doc/screen
+ rm -f debian/tmp/usr/info/screen.info*.gz
+ gzip -9f debian/tmp/usr/info/screen.info* debian/tmp/usr/doc/screen/*
+ gzip -9f debian/tmp/usr/man/man1/*
+ install -d debian/tmp/usr/doc/screen/terminfo
+ cp -a terminfo/* debian/tmp/usr/doc/screen/terminfo
+ cp -a debian/README.terminfo debian/tmp/usr/doc/screen/terminfo/README.Debian
+ gzip -9f debian/tmp/usr/doc/screen/terminfo/*
+ cp -a debian/copyright debian/tmp/usr/doc/screen/copyright
+ cp -a debian/conffiles debian/tmp/DEBIAN/conffiles
+ install -m 755 debian/postinst debian/tmp/DEBIAN/postinst
+ install -m 755 debian/postrm debian/tmp/DEBIAN/postrm
+
+ dpkg-shlibdeps screen
+ dpkg-gencontrol
+ chown -R root.root debian/tmp
+ chmod -R go=rX debian/tmp
+ dpkg --build debian/tmp ..
-checkroot:
- $(checkdir)
- test root = "`whoami`"
+clean:
+ rm -f build debian/files debian/substvars
+ -$(MAKE) realclean
+ rm -f kmapdef.c
+ rm -f osdef[012]*
+ rm -rf debian/tmp
-.PHONY: binary binary-arch binary-indep clean checkroot
+.PHONY: binary binary-arch binary-indep clean
diff --git a/debian/substvars b/debian/substvars
deleted file mode 100644
index c06ea2e..0000000
--- a/debian/substvars
+++ /dev/null
@@ -1 +0,0 @@
-shlibs:Depends=libc5 (>= 5.4.17-1), ncurses3.0