@ -1,26 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/termcap/config.hlp |
|||
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf |
|||
# |
|||
# 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 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
MENU_PKG_TERMCAP |
|||
Please check here if you want to use termcap. |
|||
Note: This is now obsoleted by ncurses and only here for |
|||
completeness. |
@ -1,38 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/termcap/config.in |
|||
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf |
|||
# |
|||
# 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 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
menu_begin MENU_PKG_TERMCAP 'Termcap (obsoleted by [n]curses)' |
|||
bool 'Build and use termcap library' ROCKCFG_PKG_TERMCAP_USEIT 0 |
|||
|
|||
if [ "$ROCKCFG_PKG_TERMCAP_USEIT" = 1 ] ; then |
|||
pkgenable termcap |
|||
bool 'Build and use termutils package' \ |
|||
ROCKCFG_PKG_TERMCAP_USETERMUTILS 0 |
|||
if [ "$ROCKCFG_PKG_TERMCAP_USETERMUTILS" = 1 ] ; then |
|||
pkgenable termutils |
|||
fi |
|||
else |
|||
pkgdisable termcap termutils |
|||
ROCKCFG_PKG_TERMCAP_USETERMUTILS=0 |
|||
fi |
|||
menu_end |
|||
|
@ -0,0 +1,88 @@ |
|||
--- ./Makefile.in.orig 1995-08-17 02:54:29.000000000 +0200
|
|||
+++ ./Makefile.in 2008-02-16 12:18:18.000000000 +0100
|
|||
@@ -15,6 +15,13 @@
|
|||
# along with this program; if not, write to the Free Software |
|||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|||
|
|||
+LIBNAME=termcap
|
|||
+VERSION=2.0.8
|
|||
+SONAME_VERSION=2
|
|||
+
|
|||
+SHARED_LIB=lib$(LIBNAME).so.$(VERSION)
|
|||
+SONAME_SHARED_LIB=lib$(LIBNAME).so.$(SONAME_VERSION)
|
|||
+
|
|||
#### Start of system configuration section. #### |
|||
|
|||
srcdir = @srcdir@ |
|||
@@ -31,12 +38,12 @@
|
|||
|
|||
DEFS = @DEFS@ -DTERMCAP_FILE=\"$(termcapfile)\" |
|||
|
|||
-CFLAGS = -g
|
|||
+CFLAGS = -g -fPIC
|
|||
|
|||
prefix = @prefix@ |
|||
exec_prefix = @exec_prefix@ |
|||
|
|||
-# Directory in which to install libtermcap.a.
|
|||
+# Directory in which to install libtermcap.
|
|||
libdir = $(exec_prefix)/lib |
|||
|
|||
# Directory in which to install termcap.h. |
|||
@@ -46,7 +53,8 @@
|
|||
# so compilers besides gcc can find it by default. |
|||
# If it is empty or not defined, termcap.h will only be installed in |
|||
# includedir. |
|||
-oldincludedir = /usr/include
|
|||
+# NOT NEEDED IN ROCK LINUX
|
|||
+# oldincludedir = /usr/include
|
|||
|
|||
# Directory in which to install the documentation info files. |
|||
infodir = $(prefix)/info |
|||
@@ -66,22 +74,18 @@
|
|||
termcap.src termcap.texi termcap.info* \ |
|||
texinfo.tex Makefile.in configure configure.in mkinstalldirs install-sh |
|||
|
|||
-all: libtermcap.a info
|
|||
+all: $(SHARED_LIB) info
|
|||
|
|||
.c.o: |
|||
$(CC) -c $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) $(CFLAGS) $< |
|||
|
|||
install: all installdirs @installdata@ |
|||
- $(INSTALL_DATA) libtermcap.a $(libdir)/libtermcap.a
|
|||
- -$(RANLIB) $(libdir)/libtermcap.a
|
|||
- cd $(srcdir); $(INSTALL_DATA) termcap.h $(includedir)/termcap.h
|
|||
- -cd $(srcdir); test -z "$(oldincludedir)" || \
|
|||
- $(INSTALL_DATA) termcap.h $(oldincludedir)/termcap.h
|
|||
+ $(INSTALL) $(SHARED_LIB) $(libdir)/$(SHARED_LIB)
|
|||
cd $(srcdir); for f in termcap.info*; \ |
|||
do $(INSTALL_DATA) $$f $(infodir)/$$f; done |
|||
|
|||
uninstall: @uninstalldata@ |
|||
- rm -f $(libdir)/libtermcap.a $(includedir)/termcap.h
|
|||
+ rm -f $(libdir)/$(SHARED_LIB) $(includedir)/termcap.h
|
|||
test -z "$(oldincludedir)" || rm -f $(oldincludedir)/termcap.h |
|||
rm -f $(infodir)/termcap.info* |
|||
|
|||
@@ -104,9 +108,8 @@
|
|||
configure: configure.in |
|||
cd $(srcdir) && autoconf |
|||
|
|||
-libtermcap.a: $(OBJS)
|
|||
- $(AR) rc $@ $(OBJS)
|
|||
- -$(RANLIB) $@
|
|||
+$(SHARED_LIB): $(OBJS)
|
|||
+ $(CC) -lc -shared -o $@ -Wl,-soname,$(SONAME_SHARED_LIB) $(OBJS)
|
|||
|
|||
info: termcap.info |
|||
|
|||
@@ -117,7 +120,7 @@
|
|||
etags $(SRCS) |
|||
|
|||
clean: |
|||
- rm -f *.a *.o core
|
|||
+ rm -f *.so *.o core
|
|||
|
|||
mostlyclean: clean |
|||
|
@ -1,31 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/termcap/no-use-include.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./Makefile.in.old 2002-08-18 06:35:56.000000000 +0200
|
|||
+++ ./Makefile.in 2002-08-18 06:36:30.000000000 +0200
|
|||
@@ -46,7 +46,8 @@
|
|||
# so compilers besides gcc can find it by default. |
|||
# If it is empty or not defined, termcap.h will only be installed in |
|||
# includedir. |
|||
-oldincludedir = /usr/include
|
|||
+# NOT NEEDED IN ROCK LINUX
|
|||
+# oldincludedir = /usr/include
|
|||
|
|||
# Directory in which to install the documentation info files. |
|||
infodir = $(prefix)/info |
@ -1,30 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/termutils/glibc2.2.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./tparam.c.old Thu Oct 4 04:14:17 2001
|
|||
+++ ./tparam.c Thu Oct 4 04:14:30 2001
|
|||
@@ -26,7 +26,7 @@
|
|||
|
|||
#ifdef STDC_HEADERS |
|||
#include <stdlib.h> |
|||
-#include <string.h>
|
|||
+/*#include <string.h>*/
|
|||
#else |
|||
char *malloc (); |
|||
char *realloc (); |
@ -1,11 +0,0 @@ |
|||
--- ./Makefile.in~ 1995-12-01 16:39:01.000000000 +0100
|
|||
+++ ./Makefile.in 2006-10-22 02:21:47.000000000 +0200
|
|||
@@ -76,7 +76,7 @@
|
|||
${CONFIG_BOT} mkinstalldirs |
|||
DIST_FILES = $(DIST_CONF) $(SOURCES) $(TEXINFOS) $(INFOS) $(MANS) $(DIST_OTHER) |
|||
|
|||
-PROGRAMS = tput tabs
|
|||
+PROGRAMS = tabs
|
|||
LIBRARIES = util |
|||
TEXINFOS = tput.texi |
|||
|
@ -1,35 +0,0 @@ |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/termutils/termutils.cache |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[TIMESTAMP] 1040258503 Thu Dec 19 01:41:43 2002 |
|||
[CONFIG-ID] 1.7-snapshot-ia32-reference |
|||
[ROCKVER] 1.7-snapshot |
|||
|
|||
[LOGS] 5-termutils.log 9-termutils.log |
|||
|
|||
[BUILDTIME] 1262 (9) |
|||
[SIZE] 0.11 MB, 14 files |
|||
|
|||
[DEP] bash binutils bzip2 diffutils fileutils findutils gcc3 glibc grep |
|||
[DEP] linux24-src make net-tools patch postfix sed sh-utils sysfiles |
|||
[DEP] tar textutils |
|||
|
@ -1,7 +0,0 @@ |
|||
if pkginstalled ncurses ; then |
|||
# ncurses also ships tput |
|||
var_append patchfiles ' ' "$confdir/no-tput.diff" |
|||
else |
|||
# install the tput info page |
|||
var_append makeopt ' ' '--install-info' |
|||
fi |
@ -1,45 +0,0 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/termutils/termutils.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] The GNU terminal control utilities |
|||
|
|||
[T] This package contains the GNU terminal control utilities tput and |
|||
[T] tabs. tput is a program to enable shell scripts to portably use |
|||
[T] special terminal capabilities. Although its interface is similar to |
|||
[T] that of terminfo-based tput programs, it actually uses termcap. tabs |
|||
[T] is a program to set hardware terminal tab settings. |
|||
|
|||
[A] David J. MacKenzie <djm at wookumz.gnu.ai.mit.edu> |
|||
[M] Clifford wolf <clifford@clifford.at> |
|||
|
|||
[C] base/tool |
|||
[F] DIETLIBC |
|||
[F] CORE |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 2.0 |
|||
[P] O --?--5---9 153.600 |
|||
|
|||
[D] 2281686196 termutils-2.0.tar.gz ftp://ftp.gnu.org/pub/gnu/termutils/ |
|||
|