Books and toys for geeks and other kids (Amazon "top sellers")
O'Reilly
Linux
Unix shell
C / C++
Perl
PHP
Python
Java
JavaScript
TCP/IP
HTML
XML
.NET
PhotoShop
Dreamweaver
DirectX
Excel
Windows 2000
Windows XP
VBScript
MCSE
Security
Tops
BigRead
Dilbert
Far Side
Low Carb Diet
PDAs/Handhelds
Digital Cameras
Flash Sticks

Lowth.com Home | Protector Home | LinWiz Home | My Bookshelf | Topic Index | Changes | Search

Makefile for slackware

The following e-mail indicates a change to the "install" portion of the Makefile, that allows "protector" 1.00.x to be run under Slackware.
Date: Thu, 25 Apr 2002 15:51:28 +0200
From: "Simon May" <simon@imsl.es>
This worked fine

install: build uninstall
 mkdir -p $(LIB_DIR)/etc $(LIB_DIR)/messages $(LIB_DIR)/bin
 sh messages/DO_INS $(LIB_DIR)/messages
 cp mime.magic $(LIB_DIR)/etc
 cp part_filter $(LIB_DIR)/bin
 cp $(BINS) $(LIB_DIR)/bin
 chown root $(LIB_DIR)/bin/save_reject
 chgrp $(ROOT_GROUP) $(LIB_DIR)/bin/save_reject
 chmod 6755 $(LIB_DIR)/bin/save_reject
 cp wrapper.sh /usr/bin/protector
 [ -f $(REJ_DIR) ] || mkdir -p $(REJ_DIR)
 chown root $(REJ_DIR)
 chgrp $(ROOT_GROUP) $(REJ_DIR)
 chmod 700 $(REJ_DIR)
 ln -s $(LIB_DIR)/bin/revive /usr/bin/revive
 mkdir /etc/smrsh/
 ln -s /usr/bin/protector /etc/smrsh/protector

also you need a copy of mmencode
put in /usr/bin/
and chmod 755 for the system to work

I did the installation as root BTW

Thanks for the product

Kind Regards 
Simon May
Network Administrator


  All material on this page, and the "protector" software to which it relates is Copyright (C) 2002 by Lowth.com. "Protector" is free, open source software, licensed according to the terms of the GNU Public License