1a7e531c09
TCX is a system designed for the transparent decompression, execution and recompression of executables under Unix. It allows configuration options such as the type of compression system used (compress(1), gzip(1), your own local system etc), timeouts between recompressions, and emergency directories in case a decompression fails from shortage of disk space. The system is designed with a reasonable amount of robustness in mind, such as in the event of system crashes, or races on trying to uncompress, compress or execute something. This software is quite old (vintage 1993-94), and some things have moved on since then. In particular, untcx is setuid root. I have done a minor security audit, but anyone installing this software is invited to conduct one for themselves. =========================================================================== $NetBSD: MESSAGE,v 1.2 2002/09/12 19:37:07 wiz Exp $ WARNING - this package contains a setuid root executable called untcx, which was written in 1994, and contained calls to getwd(3), sprintf(3), strcpy(3) and strcat(3). I've done a minor audit of the code, and have fixed the above functions with calls to safer alternatives, but you may wish to delete this package from your own systems until you have carried out your own audit. ===========================================================================
29 lines
701 B
Text
29 lines
701 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2003/06/23 13:55:24 agc Exp $
|
|
|
|
--- Makefile 2003/05/19 15:39:04 1.1
|
|
+++ Makefile 2003/05/19 16:01:40
|
|
@@ -6,11 +6,11 @@
|
|
|
|
# C compiler of your choice. Should be ansi'ish
|
|
#CC = cc # IRIX, ULTRIX
|
|
-CC = gcc # SUNOS, LINUX
|
|
+#CC = gcc # SUNOS, LINUX
|
|
#CC = c++ # try & see?
|
|
|
|
# Cflags of choice.
|
|
-CFLAGS = -s -O6 -Wall
|
|
+#CFLAGS = -s -O6 -Wall
|
|
|
|
|
|
# Any libraries
|
|
@@ -29,4 +29,9 @@
|
|
shar -c -l 45 -o tcx README VERSION COPYING Makefile tcx.1 untcx.1 tcx.c config.h untcx.c
|
|
|
|
clean:
|
|
- /bin/rm -f *.o tcx untcx
|
|
+ rm -f *.o tcx untcx
|
|
+
|
|
+install:
|
|
+ ${BSD_INSTALL_PROGRAM} tcx ${PREFIX}/bin
|
|
+ ${BSD_INSTALL_PROGRAM} untcx ${PREFIX}/bin
|
|
+ chmod 4755 ${PREFIX}/bin/untcx
|