1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

- Fix COMMENT

- Respect CC, CFLAGS, PTHREAD_CFLAGS, and PTHREAD_LIBS
- While I'm here, update maintainer address

PR: ports/121450
Submitted by: bf <bf2006a@yahoo.com>
Approved by: tabthorpe (co-mentor)
This commit is contained in:
Philippe Audeoud 2008-03-07 13:24:37 +00:00
parent da38340009
commit ef8dbebe46
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208574
2 changed files with 17 additions and 2 deletions

View File

@ -5,11 +5,12 @@
PORTNAME= rarcrack
PORTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= jadawin@tuxaco.net
COMMENT= It's try to guess your encrypted compressed file's password
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Rarcrack guesses the passwords of encrypted RAR, ZIP, and 7Z archives
RUN_DEPENDS= p7zip:${PORTSDIR}/archivers/p7zip \
unrar:${PORTSDIR}/archivers/unrar \
@ -19,6 +20,7 @@ USE_BZIP2= yes
PLIST_FILES= bin/rarcrack
PORTDOCS= README
USE_GNOME= libxml2
MAKE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rarcrack ${PREFIX}/bin

View File

@ -0,0 +1,13 @@
--- Makefile.orig 2008-03-06 16:07:47.515693827 -0500
+++ Makefile 2008-03-06 16:11:38.132897689 -0500
@@ -1,9 +1,5 @@
-CC=gcc
-PREFIX=/usr
-DOCDIR=${PREFIX}/share/doc/rarcrack
-
all:
- ${CC} -pthread rarcrack.c `xml2-config --libs --cflags` -O2 -o rarcrack
+ ${CC} rarcrack.c `xml2-config --libs --cflags` ${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -o rarcrack
clean:
-rm *.o rarcrack
install: