On 2010/01/15 23:59, [email protected] wrote:
> Hello,
>
> When installing hydra, the original Makefile wants to install hydra
> AND xhydra, no matter what.
> Since they are not built in the same directories (hydra-gtk), the
> install fails.
>
> I don't know a thing about ports' development (Although I would
> like to know more about it), I think a conditionnal patch
> of hydra's Makefile would be OK.
No need for patching hydra's Makefile; this diff fixes this, also
corrects the license markers and makes it honour CC in the environment.
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/hydra/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- Makefile 10 Aug 2009 06:34:29 -0000 1.35
+++ Makefile 16 Jan 2010 00:53:22 -0000
@@ -5,16 +5,16 @@ COMMENT-gui= GTK frontend for hydra
VERSION= 5.4
DISTNAME= hydra-5.4-src
-PKGNAME-main= hydra-${VERSION}
-PKGNAME-gui= hydra-gui-${VERSION}p1
+PKGNAME-main= hydra-${VERSION}p0
+PKGNAME-gui= hydra-gui-${VERSION}p2
CATEGORIES= security
HOMEPAGE= http://thc.org/thc-hydra/
-# GPL
-PERMIT_PACKAGE_CDROM= Yes
+# GPLv2 + restrictions in LICENCE.HYDRA
+PERMIT_PACKAGE_CDROM= no charge
PERMIT_PACKAGE_FTP= Yes
-PERMIT_DISTFILES_CDROM= Yes
+PERMIT_DISTFILES_CDROM= no charge
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m
@@ -30,10 +30,13 @@ CONFIGURE_STYLE=gnu dest
USE_GMAKE= Yes
NO_REGRESS= Yes
+MAKE_FLAGS= CC=${CC}
.if ${FLAVOR:L:Mno_x11}
ALL_TARGET= hydra pw-inspector
-INSTALL_TARGET= install
+
+do-install:
+ cd ${WRKBUILD}; $(INSTALL_PROGRAM) hydra pw-inspector $(PREFIX)/bin
.else
USE_X11= Yes