- Update dependencies:

! Remove Proc::Daemon & Proc::PID::File
  ! Add Net::Subnets
- Respect PREFIX for default configuration file.
- Change back TARGETDIR to PREFIX.
- Bump PORTREVISION.

PR:		ports/105953
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
This commit is contained in:
Cheng-Lung Sung 2006-12-01 04:37:09 +00:00
parent 19cfd35b1a
commit a658230f94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178425
2 changed files with 19 additions and 3 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= blocksshd
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= security sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= blocksshd
@ -16,10 +17,9 @@ COMMENT= Protects computers from SSH brute force attacks
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS/Resolver.pm:${PORTSDIR}/dns/p5-Net-DNS \
${SITE_PERL}/File/Tail.pm:${PORTSDIR}/devel/p5-File-Tail \
${SITE_PERL}/Proc/Daemon.pm:${PORTSDIR}/devel/p5-Proc-Daemon \
${SITE_PERL}/Proc/PID/File.pm:${PORTSDIR}/devel/p5-Proc-PID-File
${SITE_PERL}/Net/Subnets.pm:${PORTSDIR}/net/p5-Net-Subnets
MAKE_ARGS= PREFIX="${TARGETDIR}" SYSCONFDIR="${TARGETDIR}/etc"
MAKE_ARGS= PREFIX="${PREFIX}" SYSCONFDIR="${PREFIX}/etc"
NO_BUILD= yes
USE_PERL5_RUN= yes

View File

@ -0,0 +1,16 @@
--- Makefile.orig Wed Nov 29 00:03:23 2006
+++ Makefile Wed Nov 29 00:03:36 2006
@@ -15,11 +15,11 @@
PREFIX = /usr
EXEC_PREFIX = $(PREFIX)
BINDIR = $(EXEC_PREFIX)/bin
-SYSCONFDIR = /etc
+SYSCONFDIR = $(PREFIX)/etc
MANDIR = $(PREFIX)/man
MAN1DIR = $(MANDIR)/man1
INIT = init/blocksshd
-INITDIR = /etc/rc.d/init.d
+INITDIR = $(PREFIX)/etc/rc.d/init.d
DESTDIR =
all: $(APPNAME).1$(MANCOMPRESS)