mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
- Update MASTER_SITES and WWW: line
- Add LICENSE - Add MAKE_JOBS_SAFE - Support PLIST_FILES Remove file: files/patch-ad pkg-plist Comment for now USE_READLINE as it is buggy PR: ports/172053 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes
This commit is contained in:
parent
79d70d5453
commit
4d39da4cc3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306478
@ -1,38 +1,63 @@
|
||||
# Ports collection makefile for: authforce
|
||||
# Date created: 08.05.2002
|
||||
# Whom: ache
|
||||
#
|
||||
# Created by: ache
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= authforce
|
||||
PORTVERSION= 0.9.9
|
||||
CATEGORIES= security www
|
||||
MASTER_SITES= http://www.divineinvasion.net/authforce/
|
||||
MASTER_SITES= http://cloud.github.com/downloads/zlandau/authforce/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= HTTP authentication brute forcer
|
||||
|
||||
DEPRECATED= No more public distfiles
|
||||
EXPIRATION_DATE= 2012-10-20
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
|
||||
OPTIONS_DEFINE= CURL NLS
|
||||
|
||||
CONFIGURE_ENV= LIBS="-lintl"
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
USE_NCURSES= yes
|
||||
#USE_READLINE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_BZIP2= yes
|
||||
USE_GETTEXT= yes
|
||||
MAKE_JOBS_SAFE= yes
|
||||
NO_CCACHE= yes
|
||||
|
||||
INFO= authforce
|
||||
MAN1= authforce.1
|
||||
MANCOMPRESSED= yes
|
||||
MAN1= authforce.1
|
||||
INFO= authforce
|
||||
|
||||
PLIST_FILES= bin/authforce \
|
||||
%%DATADIR%%/blank.lst \
|
||||
%%DATADIR%%/dummy.lst \
|
||||
%%DATADIR%%/password.lst \
|
||||
%%DATADIR%%/username.lst \
|
||||
%%DATADIR%%/userpass.lst
|
||||
|
||||
PLIST_DIRS= %%DATADIR%%
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MCURL}
|
||||
LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-curl
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USE_GETTEXT= yes
|
||||
PLIST_FILES+= share/locale/nl/LC_MESSAGES/authforce.mo
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/#include <malloc.h>/d' ${WRKSRC}/src/methods.c ${WRKSRC}/src/misc.c
|
||||
@${REINPLACE_CMD} -e 's|#include <malloc.h>|#include <stdlib.h>|' ${WRKSRC}/src/extract.c
|
||||
@${REINPLACE_CMD} -e '/^pwlistsdir = / s|/data$$||' ${WRKSRC}/data/Makefile.in
|
||||
@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/src/http.c
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^pwlistsdir = / s|/data$$||' ${WRKSRC}/data/Makefile.in
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^mangdir = / s|/mang$$|/man1|' ${WRKSRC}/doc/Makefile.in
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/<curl\/types.h>/d' ${WRKSRC}/src/http.c
|
||||
.for i in extract.c methods.c misc.c
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/src/${i}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- doc/Makefile.in.orig 2007-05-14 06:54:38.000000000 +0800
|
||||
+++ doc/Makefile.in 2011-08-30 16:43:21.864890601 +0800
|
||||
@@ -68,7 +68,7 @@
|
||||
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
|
||||
DVIPS = dvips
|
||||
am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(mangdir)"
|
||||
-mangdir = $(mandir)/mang
|
||||
+mangdir = $(mandir)/man1
|
||||
NROFF = nroff
|
||||
MANS = $(man_MANS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
@ -5,4 +5,4 @@ and common username/password pairs. It is used to both test the security
|
||||
of your site and to prove the insecurity of HTTP authentication based on
|
||||
the fact that users just don't pick good passwords.
|
||||
|
||||
WWW: http://www.divineinvasion.net/authforce/
|
||||
WWW: https://github.com/zlandau/authforce
|
||||
|
@ -1,8 +0,0 @@
|
||||
bin/authforce
|
||||
%%DATADIR%%/blank.lst
|
||||
%%DATADIR%%/dummy.lst
|
||||
%%DATADIR%%/password.lst
|
||||
%%DATADIR%%/username.lst
|
||||
%%DATADIR%%/userpass.lst
|
||||
share/locale/nl/LC_MESSAGES/authforce.mo
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user