head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2006.09.01.18.34.03;	author pav;	state Exp;
branches;
next	;


desc
@@


1.1
log
@The pam_abl provides auto blacklisting of hosts and users
responsible for repeated failed authentication attempts.

WWW: http://www.hexten.net/pam_abl/

PR:		ports/100635
Submitted by:	Petr Rehor <prehor@@gmail.com>
@
text
@--- tools/Makefile.orig	Wed Oct 12 21:22:27 2005
+++ tools/Makefile	Sun Dec 11 00:22:30 2005
@@@@ -1,18 +1,18 @@@@
 # Makefile
 
-CFLAGS=-Wall
-LIBS=-ldb -lpthread
+CFLAGS=-Wall -I/usr/local/include
+LIBS=-L/usr/local/lib -ldb -lpthread
 TARGET=pam_abl
 OBJ=log.o config.o rule.o pam_abl.o
-INSTDIR=/usr/bin
+INSTDIR=%%PREFIX%%/sbin
 
 all : $(TARGET)
 
 $(TARGET) : $(OBJ)
-	cc $(LIBS) -o $@@ $^
+	cc $(LIBS) -o $(TARGET) $(OBJ)
 
 install : $(TARGET)
-	install --mode=755 --strip $(TARGET) $(INSTDIR)
+	install -m 755 -s $(TARGET) $(INSTDIR)
 
 clean :
 	rm -f $(TARGET) $(OBJ)
@
