pkgsrc-wip/cops/patches/patch-aa
pancake ;) 86468bc70e Initial import of COPS
Welcome! This is a quick intro to COPS (Computer Oracle and Password System.) 
COPS is a collection of security tools that are designed specifically to aid 
the typical UNIX systems administrator, programmer, operator, or consultant
in the oft neglected area of computer security.

The package can be broken down into three key parts. The first is the actual 
set of programs that attempt to automate security checks that are often 
performed manually (or perhaps with self written short shell scripts or 
programs) by a systems administrator. The second part is the documentation, 
which details how to set up, operate, and to interpret any results given by 
the programs. Finally, COPS is an evolving beast. It includes a list of 
possible extensions that might appear in future releases, as well as pointers 
to other works in UNIX security that could not be included at this time, due 
to space or other restrictions.
2003-07-19 02:06:14 +00:00

31 lines
932 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2003/07/19 02:06:20 poppnk Exp $
--- makefile.orig 1993-03-08 18:19:18.000000000 +0100
+++ makefile 2003-07-19 03:14:13.000000000 +0200
@@ -4,7 +4,7 @@
# make all -- makes everything
# make install -- puts things in their place
# make <program_name> -- make a given program
-INSTALL_DIR= sun
+INSTALL_DIR= ${PREFIX}/share/cops/
EXECUTABLE = home.chk user.chk pass.chk is_writable crc crc_check \
addto clearfiles filewriters members tilde is_able
@@ -41,7 +41,7 @@
TEST=/bin/test
MKDIR=/bin/mkdir
CP=/bin/cp
-CC=/bin/cc
+CC?=/usr/bin/cc
RM=/bin/rm
# make default
@@ -64,7 +64,7 @@
# make a dir and shove everything in the proper place
install:
- -if $(TEST) ! -d $(INSTALL_DIR) ; then $MKDIR $(INSTALL_DIR) ; fi
+ -if $(TEST) ! -d $(INSTALL_DIR) ; then ${MKDIR} -p $(INSTALL_DIR) ; fi
$(CP) $(EXECUTABLE) $(SHELL_PROGS) $(SUPPORT) $(INSTALL_DIR)
# make the programs