- Update to 2.5-stable1
- no changelog available
This commit is contained in:
parent
b3a1e5d99a
commit
3db8342b4f
4 changed files with 47 additions and 42 deletions
|
@ -1,30 +1,32 @@
|
||||||
# $NetBSD: Makefile,v 1.13 2005/01/28 23:35:59 adrianp Exp $
|
# $NetBSD: Makefile,v 1.14 2005/02/09 20:49:02 adrianp Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= LaBrea2_3
|
DISTNAME= labrea-2.5-stable-1
|
||||||
PKGNAME= LaBrea-2.3
|
PKGNAME= LaBrea-2.5
|
||||||
PKGREVISION= 1
|
|
||||||
CATEGORIES= net security
|
CATEGORIES= net security
|
||||||
MASTER_SITES= http://www.hackbusters.net/LaBrea/
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=labrea/}
|
||||||
EXTRACT_SUFX= .tgz
|
|
||||||
|
|
||||||
MAINTAINER= tech-pkg@NetBSD.org
|
MAINTAINER= tech-pkg@NetBSD.org
|
||||||
HOMEPAGE= http://www.hackbusters.net/LaBrea/
|
HOMEPAGE= http://labrea.sourceforge.net/labrea-info.html
|
||||||
COMMENT= Builds tarpits/honeypots for scanners
|
COMMENT= Builds tarpits/honeypots for scanners
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/LaBrea
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||||
|
|
||||||
USE_BUILDLINK3= YES
|
USE_BUILDLINK3= YES
|
||||||
BUILDLINK_DEPENDS.libnet+= libnet<=1.0.1b
|
GNU_CONFIGURE= YES
|
||||||
|
USE_PKGINSTALL= YES
|
||||||
|
|
||||||
post-extract:
|
CONF_FILES= ${PREFIX}/share/examples/LaBrea/labrea.conf \
|
||||||
cd ${WRKSRC}; \
|
${PKG_SYSCONFDIR}/labrea.conf
|
||||||
${MV} LaBrea.c LaBrea.c.in && \
|
|
||||||
${SED} -e 's/.$$//' -e 's|LaBrea.README|${PREFIX}/share/doc/LaBrea|g' LaBrea.c.in > LaBrea.c
|
|
||||||
|
|
||||||
do-install:
|
post-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/LaBrea ${PREFIX}/sbin
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/LaBrea
|
||||||
${INSTALL_DATA} ${WRKSRC}/LaBrea.README ${PREFIX}/share/doc/LaBrea
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/LaBrea
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/LaBrea
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/LaBrea
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/misc/labrea.conf \
|
||||||
|
${PREFIX}/share/examples/LaBrea
|
||||||
|
|
||||||
.include "../../devel/libnet/buildlink3.mk"
|
.include "../../net/libdnet/buildlink3.mk"
|
||||||
|
.include "../../net/libpcap/buildlink3.mk"
|
||||||
.include "../../mk/bsd.pkg.mk"
|
.include "../../mk/bsd.pkg.mk"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
@comment $NetBSD: PLIST,v 1.2 2001/11/07 16:31:26 agc Exp $
|
@comment $NetBSD: PLIST,v 1.3 2005/02/09 20:49:02 adrianp Exp $
|
||||||
sbin/LaBrea
|
man/man1/labrea.1
|
||||||
share/doc/LaBrea
|
man/man5/labrea.conf.5
|
||||||
|
sbin/labrea
|
||||||
|
share/doc/LaBrea/README
|
||||||
|
share/doc/LaBrea/INSTALL
|
||||||
|
share/examples/LaBrea/labrea.conf
|
||||||
|
@dirrm share/doc/LaBrea
|
||||||
|
@dirrm share/examples/LaBrea
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
$NetBSD: distinfo,v 1.2 2002/11/05 06:20:27 itojun Exp $
|
$NetBSD: distinfo,v 1.3 2005/02/09 20:49:02 adrianp Exp $
|
||||||
|
|
||||||
SHA1 (LaBrea2_3.tgz) = f78d51afc9b2f3c3a27cee45629ef9d489e7d581
|
SHA1 (labrea-2.5-stable-1.tar.gz) = 8f374b05cc50294b2773bda98f8317cf5b102067
|
||||||
Size (LaBrea2_3.tgz) = 27951 bytes
|
Size (labrea-2.5-stable-1.tar.gz) = 210494 bytes
|
||||||
SHA1 (patch-aa) = aeb62428e0105d092c4c26cf9af21d171d310bd8
|
SHA1 (patch-aa) = f3b7b2556513a90b24b5adf73a99da28462d33e4
|
||||||
|
|
|
@ -1,20 +1,17 @@
|
||||||
$NetBSD: patch-aa,v 1.1.1.1 2001/10/11 14:49:31 agc Exp $
|
$NetBSD: patch-aa,v 1.2 2005/02/09 20:49:02 adrianp Exp $
|
||||||
|
|
||||||
--- Makefile.orig Thu Sep 13 18:00:00 2001
|
--- misc/Makefile.in.orig 2005-02-08 21:35:35.000000000 +0000
|
||||||
+++ Makefile Thu Oct 11 15:28:45 2001
|
+++ misc/Makefile.in
|
||||||
@@ -1,12 +1,8 @@
|
@@ -247,12 +247,6 @@ sysconfDATA_INSTALL = $(INSTALL_DATA)
|
||||||
all: LaBrea
|
install-sysconfDATA: $(sysconf_DATA)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
-OPTFLAGS = -g -O6 -funroll-loops -frerun-cse-after-loop -finline-functions \
|
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
|
||||||
--mcpu=i686 -fexpensive-optimizations
|
- @list='$(sysconf_DATA)'; for p in $$list; do \
|
||||||
-#OPTFLAGS = -g
|
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||||
-CC = gcc
|
- f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||||
-CFLAGS = -Wall `libnet-config --defines` $(OPTFLAGS) $(INCLUDES)
|
- echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
|
||||||
-LDLIBS = `libnet-config --libs` -lpcap
|
- $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
|
||||||
-INCLUDES = -I/usr/include/pcap
|
- done
|
||||||
+CFLAGS= -Wall `libnet-config --defines` $(OPTFLAGS) $(INCLUDES)
|
|
||||||
+LDLIBS= `libnet-config --libs` -lpcap
|
|
||||||
+INCLUDES= -I${PREFIX}/include
|
|
||||||
|
|
||||||
LaBrea: LaBrea.o
|
|
||||||
|
|
||||||
|
uninstall-sysconfDATA:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
|
Loading…
Reference in a new issue