jer         14/12/09 15:43:35

  Modified:             ChangeLog
  Added:                hydra-8.1.ebuild
  Log:
  Version bump.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.89                 net-analyzer/hydra/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/ChangeLog?rev=1.89&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/ChangeLog?rev=1.89&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/ChangeLog?r1=1.88&r2=1.89

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- ChangeLog   3 Nov 2014 13:23:38 -0000       1.88
+++ ChangeLog   9 Dec 2014 15:43:35 -0000       1.89
@@ -1,6 +1,11 @@
 # ChangeLog for net-analyzer/hydra
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.88 
2014/11/03 13:23:38 titanofold Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.89 
2014/12/09 15:43:35 jer Exp $
+
+*hydra-8.1 (09 Dec 2014)
+
+  09 Dec 2014; Jeroen Roovers <[email protected]> +hydra-8.1.ebuild:
+  Version bump.
 
   03 Nov 2014; Aaron W. Swenson <[email protected]> hydra-7.4.2.ebuild,
   hydra-7.5.ebuild, hydra-7.6.ebuild, hydra-8.0.ebuild:



1.1                  net-analyzer/hydra/hydra-8.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/hydra-8.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/hydra-8.1.ebuild?rev=1.1&content-type=text/plain

Index: hydra-8.1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/hydra-8.1.ebuild,v 1.1 
2014/12/09 15:43:35 jer Exp $

EAPI=5
inherit eutils toolchain-funcs

DESCRIPTION="Advanced parallized login hacker"
HOMEPAGE="http://www.thc.org/thc-hydra/";
SRC_URI="http://freeworld.thc.org/releases/${P}.tar.gz";

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="firebird gtk idn mysql ncp oracle pcre postgres ssl subversion"

RDEPEND="
        dev-libs/openssl
        sys-libs/ncurses
        firebird? ( dev-db/firebird )
        gtk? (
                dev-libs/atk
                dev-libs/glib:2
                x11-libs/gdk-pixbuf:2
                x11-libs/gtk+:2
        )
        idn? ( net-dns/libidn )
        mysql? ( virtual/mysql )
        ncp? ( net-fs/ncpfs )
        oracle? ( dev-db/oracle-instantclient-basic )
        pcre? ( dev-libs/libpcre )
        postgres? ( virtual/postgresql )
        ssl? ( >=net-libs/libssh-0.4.0 )
        subversion? ( dev-vcs/subversion )
"
DEPEND="
        ${RDEPEND}
        virtual/pkgconfig
"

src_prepare() {
        # None of the settings in Makefile.unix are useful to us
        : > Makefile.unix

        sed -i \
                -e 's:|| echo.*$::' \
                -e '/\t-$(CC)/s:-::' \
                -e '/^OPTS/{s|=|+=|;s| -O3||}' \
                -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \
                Makefile.am || die

        epatch "${FILESDIR}"/${PN}-8.0-configure.patch
}

src_configure() {
        export OPTS="${CFLAGS}"

        if ! use subversion; then
                sed -i 's/-lsvn_client-1 -lapr-1 -laprutil-1 
-lsvn_subr-1//;s/-DLIBSVN//' configure || die
        fi

        if ! use mysql; then
                sed -i 's/-lmysqlclient//;s/-DLIBMYSQLCLIENT//' configure || die
        fi

        # Linking against libtinfo might be enough here but pkg-config --libs 
tinfo
        # would require a USE=tinfo flag and recent linkers should drop 
libcurses
        # as needed
        sed -i \
                -e 's|-lcurses|'"$( $(tc-getPKG_CONFIG) --libs ncurses)"'|g' \
                configure || die

        # Note: despite the naming convention, the top level script is not an
        # autoconf-based script.
        export NCP_PATH=$(usex ncp /usr/$(get_libdir) '')
        export NCP_IPATH=$(usex ncp /usr/include '')
        sh configure \
                --prefix=/usr \
                --nostrip \
                $(use gtk && echo --disable-xhydra) \
                        || die

        if use gtk ; then
                cd hydra-gtk && \
                econf
        fi
}

src_compile() {
        tc-export CC
        emake XLIBPATHS=''
        use gtk && emake -C hydra-gtk
}

src_install() {
        dobin hydra pw-inspector
        use gtk && dobin hydra-gtk/src/xhydra
        dodoc CHANGES README
}




Reply via email to