diff options
Diffstat (limited to 'net-analyzer/hydra')
-rw-r--r-- | net-analyzer/hydra/Manifest | 8 | ||||
-rw-r--r-- | net-analyzer/hydra/files/hydra-8.0-configure.patch | 44 | ||||
-rw-r--r-- | net-analyzer/hydra/files/hydra-8.4-configure.patch | 48 | ||||
-rw-r--r-- | net-analyzer/hydra/hydra-8.1.ebuild | 98 | ||||
-rw-r--r-- | net-analyzer/hydra/hydra-8.9.1.ebuild | 103 | ||||
-rw-r--r-- | net-analyzer/hydra/hydra-9.1.ebuild | 125 |
6 files changed, 127 insertions, 299 deletions
diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest index 0e1fbfa16a50..0d9ee911b400 100644 --- a/net-analyzer/hydra/Manifest +++ b/net-analyzer/hydra/Manifest @@ -1,13 +1,9 @@ -AUX hydra-8.0-configure.patch 1089 BLAKE2B 7aa67a47f3fa8174b0a72b86e4bdf743750450559327ec8da31506b817d59a0f3e6b96f32acc4a8658f98845053f50ff089c57f16b9251bc0daa38795a93e2ac SHA512 d7fbc56b9d0fd6cc89ca689a07c0dcf618827bfaafb332217b695b38cc6382c32aedfec4c046575dc34c0946c9b0212a22d82554a296697d1b922ad45084a0bd -AUX hydra-8.4-configure.patch 1217 BLAKE2B 005cd700dd32e56405afa7a37d630aa8b2fe66f94b16b1fe09e6a5172aa5ef1c5e6896b697717e6b0524b5fd8b41443a8c5a734b1273843e54a6aebaed563c62 SHA512 18d76ac35660955a07ba435bf00ceebcd62423fd08c97237f7aa3be4187532f454997008be5395b2d8ae9d66e10204f76905481034c3e5cb1761aec2b02e32c3 AUX hydra-9.0-unneeded-buf.patch 1503 BLAKE2B 3d8da1b656263e2abcc68e3b2b2f6c2c4937d684c7080105c2821678711146d864c6ccb2985df0e17673f4e762b5e0fc078c35e5f460a93df9891920e873ca23 SHA512 34ffce41ebebed70529eec9a6f617493fc323792fc2f7771fb1fd62bfd6fa5ae5fa96c49910dc79f8e72cee6cdc88afe0505b8f41053db8e3f64016e8f479a01 AUX hydra-9.0-vnc.patch 407 BLAKE2B b64b12b33435a84564aea4345e86b868155b5d7c4dc1fc8f8c83f98d6429499ffd6d5d54983242415676a9556caedf5c58163ad0b09a00db2545d26f9630c145 SHA512 a4f554526cbfdf0560c1866f158a210b0fbd510a60fa2ad8e8c2cca0bb4ecf58e3eeb10d3bac747162231585c3ea827e10c0a4f4fb9e949832673afc6f9b93cf -DIST hydra-8.1.tar.gz 559031 BLAKE2B a3d2b52508a1d03a2f3d6cecf7100543487b5a0f6210dd6128d3ab48ad16ca3a8fad49709163830049ed8b9bb6891861f9c3f5fd5a6179b0a87a072877e829af SHA512 7608dd365865e5976bea446faedaad9f0334e7572fd0ee47a601c471471fc7c8a922c7114f4df08705b34b29144d3a6552e66148adf6b0f92c67301119c94959 -DIST hydra-8.9.1.tar.gz 1186320 BLAKE2B 97c29cda5e26197ed66aa29555b0e4de3ef5b08bf65aa09fd0d564ee5f63825af71d6a41c4552a06a4c86a98dab5a69913c0b0200fe4e5068284ec7fc1f1061b SHA512 68b07dcb22bc55937e79035954417d820691e3a1eea169c959886ce6a741f545efe7879f31f41a1751779c923410dcc67fe8914bb9b5cf567edfc6fad3997d72 DIST hydra-9.0.tar.gz 1168498 BLAKE2B b4834c66fb1bebcd19151784b75d4c9220cbf7045b289a063a1cbc48a793abfa2edcb466d43234bd4c8e14074a2e2a39ccd697698392f24f39c84da54ee07165 SHA512 58067bd2696e82645bb959fe5537f2876e1d8c170a15fe6a9ac65bbdc33cfb75b47fd1a969c314a6c6d91b2b6c0ce4ba087680bbd67a5a38925a2a8b5c5ad338 -EBUILD hydra-8.1.ebuild 2232 BLAKE2B c0af395134792b828516a86978350e0f0fab2acfa1ebccbae20ac7bab4980a616eddc18135cfa3b70a4dc825c4d97073a5e73f1b67cf20748cfbee72d9a765aa SHA512 9ebc2478ba0bc3447dae68994ba48fa52f37290be60a11dc3d4866b2d9ae1b429e3618c211d46d8f5c84427821fb63a66b2b9ea54ac1a8f737ea7d1b7035af52 -EBUILD hydra-8.9.1.ebuild 2394 BLAKE2B 7495128b4bb4851153386d054719b4994f11f6ecefc2f3f686083919a3491c83a5032da66daeeba37c8c8dec0f4c619fa99eaf0fa52935df324d82c090315f58 SHA512 c9afafd77dddbe96fe0168a2b6cc5a0fa127039e98d8c972e614299abc4a8a13ca2dc0b6a718c68ef5fc8572278aabd76d2400d34e740101533e315fcb10a434 +DIST hydra-9.1.tar.gz 611846 BLAKE2B 9a5b6dc52b5f4069bf326e86728ebaf8c1fe018536f3943b83493de934703bff6770ae3f7a9a223ee00b5f52f7bd10ee4ddc272e1bbad00c399aa19cc0c083ba SHA512 863176375fe1aae4c0a2b74c11aba297682d66e522c98c926c539348309b0af4e407e460b4cb803d2c83c008787c73f7f1e56ac6aca9791351e1b596c2e4fbb2 EBUILD hydra-9.0-r1.ebuild 3780 BLAKE2B 98de0efd400e19c14e9575d3fb36e082ff3ae10d6f7f67ed941bf1520cc25e29ded776e7b9d174d58ad63f0246c1bb5f4d58d62d6fe6c91803d942e7484db799 SHA512 7ba1f10e2da24b8f0c3ceb86a0f0de42a50105e4cba7d21edc12bb10c6133e3152bfcc655eebcd5ad2473bcac9c6ddb9213f552c42284488b9dbaf0c0f548399 EBUILD hydra-9.0.ebuild 3659 BLAKE2B 73561294de0efbb296de9ca04086bc9de56f06aec0e90ea7e3bffb90fab06032abf8ff4e0b775f732e8319ddf0abec76bc4126be79c5ae68182cf7af7c921564 SHA512 040b4f624eda2179d5968350d2bd07492d974f8fd8aa29930031b1337b1b6434a2af48e8ffcba8bbb25630158ad7d8a7bec49b50c81e1f6923786ad256421e96 +EBUILD hydra-9.1.ebuild 3691 BLAKE2B 402fce711e3e7d311da07aa88f955ff925780cadb5a5afd7f646eb64cb78946acf3a928febd9add769c463ad1ef49a9df4f62689531025e701c4a8b48217d7d8 SHA512 b97a807535b50108c9af8405d166f82b3ec3dbb557edf66e7c91087ef0585358cdba9130b158796a0d9b843d4280c4424a2b8060fb3e76cf2819da88e27f4bcd EBUILD hydra-9999999.ebuild 3629 BLAKE2B a4067027c780bc3bf3d2bd3b662b79e7ff90c0c909134a7d739fd34ffe373e7447048b7fdf5b60cec6614e5dbe29843a4b6534c61709e3db8a5f4170e1ed84cf SHA512 74ee710cb68a48abba67f2edcd4f89229cdfbbeafe6c6815d5eabe9bc482f0e409d42be5b7b05051872ccf02011dcb0342b7fd12a2deae4397048d41ce7d1520 MISC metadata.xml 570 BLAKE2B fba8cf56f3f091fdf16a86ee3a1b964e9dfc0cae8a32e6fb81b8ccec3f1efe47dfac838c86fadd80e736d4a82233e8f84695c0a0987d4f426ab88fe0841df70f SHA512 45d0573055b0fe5f820e92cd43627e5c48dee8a1151ef06c7f65dddb8078ff62197bd5c8bbd1e1b12a42df61e399f2e3bff337201fa37df085339de24c8b50ba diff --git a/net-analyzer/hydra/files/hydra-8.0-configure.patch b/net-analyzer/hydra/files/hydra-8.0-configure.patch deleted file mode 100644 index 3ab9989b6384..000000000000 --- a/net-analyzer/hydra/files/hydra-8.0-configure.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- a/configure -+++ b/configure -@@ -66,8 +66,6 @@ - MYSQL_IPATH="" - AFP_PATH="" - AFP_IPATH="" --NCP_PATH="" --NCP_IPATH="" - SVN_PATH="" - SVN_IPATH="" - APR_IPATH="" -@@ -508,32 +506,6 @@ - fi - - echo "Checking for NCP (libncp.so / nwcalls.h) ..." --for i in $LIBDIRS ; do -- if [ "X" = "X$NCP_PATH" ]; then -- if [ -f "$i/libncp.so" -o -f "$i/libncp.dylib" -o -f "$i/libncp.a" ]; then -- NCP_PATH="$i" -- fi -- fi -- if [ "X" = "X$NCP_PATH" ]; then -- TMP_LIB=`/bin/ls $i/libncp.so.* 2> /dev/null | grep ncp.` -- if [ -n "$TMP_LIB" ]; then -- NCP_PATH="$i" -- fi -- fi -- if [ "X" = "X$NCP_PATH" ]; then -- TMP_LIB=`/bin/ls $i/libncp.dll* 2> /dev/null | grep ncp.` -- if [ -n "$TMP_LIB" ]; then -- NCP_PATH="$i" -- fi -- fi --done --for i in $INCDIRS ; do -- if [ "X" != "X$NCP_PATH" ]; then -- if [ -f "$i/ncp/nwcalls.h" ]; then -- NCP_IPATH="$i" -- fi -- fi --done - if [ -n "$NCP_PATH" -a -n "$NCP_IPATH" ]; then - echo " ... found" - fi diff --git a/net-analyzer/hydra/files/hydra-8.4-configure.patch b/net-analyzer/hydra/files/hydra-8.4-configure.patch deleted file mode 100644 index ba99ff2acda4..000000000000 --- a/net-analyzer/hydra/files/hydra-8.4-configure.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- a/configure -+++ b/configure -@@ -46,8 +46,6 @@ - MYSQL_IPATH="" - AFP_PATH="" - AFP_IPATH="" --NCP_PATH="" --NCP_IPATH="" - SVN_PATH="" - SVN_IPATH="" - APR_IPATH="" -@@ -679,36 +677,6 @@ - fi - - echo "Checking for NCP (libncp.so / nwcalls.h) ..." --for i in $LIBDIRS ; do -- if [ "X" = "X$NCP_PATH" ]; then -- if [ -f "$i/libncp.so" -o -f "$i/libncp.dylib" -o -f "$i/libncp.a" ]; then -- NCP_PATH="$i" -- fi -- fi -- if [ "X" = "X$NCP_PATH" ]; then -- TMP_LIB=`/bin/ls $i/libncp.so.* 2> /dev/null | grep ncp.` -- if [ -n "$TMP_LIB" ]; then -- NCP_PATH="$i" -- fi -- fi -- if [ "X" = "X$NCP_PATH" ]; then -- TMP_LIB=`/bin/ls $i/libncp.dll* 2> /dev/null | grep ncp.` -- if [ -n "$TMP_LIB" ]; then -- NCP_PATH="$i" -- fi -- fi --done --for i in $INCDIRS ; do -- if [ "X" != "X$NCP_PATH" ]; then -- if [ -f "$i/ncp/nwcalls.h" ]; then -- NCP_IPATH="$i" -- fi -- fi --done --if [ "X" != "X$DEBUG" ]; then -- echo DEBUG: NCP_PATH=$NCP_PATH/libncp -- echo DEBUG: NCP_IPATH=$NCP_IPATH/ncp/nwcalls.h --fi - if [ -n "$NCP_PATH" -a -n "$NCP_IPATH" ]; then - echo " ... found" - fi diff --git a/net-analyzer/hydra/hydra-8.1.ebuild b/net-analyzer/hydra/hydra-8.1.ebuild deleted file mode 100644 index b1b7d80ab55a..000000000000 --- a/net-analyzer/hydra/hydra-8.1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils toolchain-funcs - -DESCRIPTION="Parallelized network 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? ( dev-db/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 -} diff --git a/net-analyzer/hydra/hydra-8.9.1.ebuild b/net-analyzer/hydra/hydra-8.9.1.ebuild deleted file mode 100644 index 9ee22e48e676..000000000000 --- a/net-analyzer/hydra/hydra-8.9.1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit toolchain-funcs - -DESCRIPTION="Parallelized network login hacker" -HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra" -SRC_URI="https://github.com/vanhauser-thc/thc-hydra/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="firebird gtk idn libressl mysql ncp oracle pcre postgres ssl subversion" - -RDEPEND=" - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - 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:0= ) - mysql? ( dev-db/mysql-connector-c:0= ) - ncp? ( net-fs/ncpfs ) - oracle? ( dev-db/oracle-instantclient-basic ) - pcre? ( dev-libs/libpcre ) - postgres? ( dev-db/postgresql:* ) - ssl? ( >=net-libs/libssh-0.4.0 ) - subversion? ( dev-vcs/subversion ) -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" -PATCHES=( - "${FILESDIR}"/${PN}-8.4-configure.patch -) -S=${WORKDIR}/thc-${P} - -src_prepare() { - default - - # 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 -} - -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 -} diff --git a/net-analyzer/hydra/hydra-9.1.ebuild b/net-analyzer/hydra/hydra-9.1.ebuild new file mode 100644 index 000000000000..0b2eb5c879d1 --- /dev/null +++ b/net-analyzer/hydra/hydra-9.1.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Parallelized network login hacker" +HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra" +SRC_URI="https://github.com/vanhauser-thc/thc-hydra/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE=" + debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncp ncurses + oracle pcre postgres rdp libssh subversion zlib +" + +RDEPEND=" + gtk? ( + dev-libs/atk + dev-libs/glib:2 + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + ) + firebird? ( dev-db/firebird ) + gcrypt? ( dev-libs/libgcrypt ) + idn? ( net-dns/libidn:0= ) + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + memcached? ( dev-libs/libmemcached[sasl] ) + mongodb? ( dev-libs/mongo-c-driver ) + mysql? ( dev-db/mysql-connector-c:0= ) + ncp? ( net-fs/ncpfs ) + ncurses? ( sys-libs/ncurses:= ) + oracle? ( dev-db/oracle-instantclient-basic ) + pcre? ( dev-libs/libpcre ) + postgres? ( dev-db/postgresql:* ) + rdp? ( net-misc/freerdp ) + libssh? ( >=net-libs/libssh-0.4.0 ) + subversion? ( dev-vcs/subversion ) + zlib? ( sys-libs/zlib ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" +S=${WORKDIR}/thc-${P} + +src_prepare() { + default + + # None of the settings in Makefile.unix are useful to us + mv Makefile.unix{,.gentoo_unused} || die + touch Makefile.unix || die + + sed -i \ + -e 's:|| echo.*$::' \ + -e '/\t-$(CC)/s:-::' \ + -e '/^OPTS/{s|=|+=|;s| -O3||}' \ + -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \ + Makefile.am || die +} + +src_configure() { + # Note: the top level configure script is not autoconf-based + tc-export CC PKG_CONFIG + + append-cflags -fcommon + + export OPTS="${CFLAGS}" + + hydra_sed() { + if use ${1}; then + einfo "Enabling ${1}" + if [[ -n "${3}" ]]; then + sed -i 's#'"${2}"'#'"${3}"'#' configure || die + fi + else + einfo "Disabling ${1}" + sed -i 's#'"${2}"'##; s#'"${4}"'##' configure || die + fi + } + + hydra_sed firebird '-lfbclient' '' '-DLIBFIREBIRD' + hydra_sed gcrypt '-lgcrypt' '$( ${CTARGET:-${CHOST}}-libgcrypt-config --libs )' '-DHAVE_GCRYPT' + hydra_sed idn '-lidn' '$( "${PKG_CONFIG}" --libs libidn )' '-DLIBIDN -DHAVE_PR29_H' + hydra_sed libssh '-lssh' '$( "${PKG_CONFIG}" --libs libssh )' '-DLIBSSH' + hydra_sed memcached '-lmemcached' '$( "${PKG_CONFIG}" --libs libmemcached )' '-DLIBMCACHED' + hydra_sed mongodb '-lmongoc-1.0' '$( "${PKG_CONFIG}" --libs libmongoc-1.0 )' '-DLIBMONGODB\|-DLIBBSON' + hydra_sed mysql '-lmysqlclient' '$( ${CTARGET:-${CHOST}}-mysql_config --libs )' '-DLIBMYSQLCLIENT' + hydra_sed ncp '-lncp' '' '-DLIBNCP' + hydra_sed ncurses '-lcurses' '$( "${PKG_CONFIG}" --libs ncurses )' '-DLIBNCURSES' + hydra_sed pcre '-lpcre' '$( "${PKG_CONFIG}" --libs libpcre )' '-DHAVE_PCRE' + hydra_sed postgres '-lpq' '$( "${PKG_CONFIG}" --libs libpq )' '-DLIBPOSTGRES' + hydra_sed oracle '-locci -lclntsh' '' '-DLIBORACLE' + hydra_sed rdp '-lfreerdp2' '$( "${PKG_CONFIG}" --libs freerdp2 )' '-DLIBFREERDP' + # TODO: https://bugs.gentoo.org/686148 + #hydra_sed subversion '-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1' '$( "${PKG_CONFIG}" --libs libsvn_client )' '-DLIBSVN' + hydra_sed subversion '-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1' '' '-DLIBSVN' + hydra_sed zlib '-lz' '$( "${PKG_CONFIG}" --libs zlib )' '-DHAVE_ZLIB' + + sh configure \ + $(use gtk || echo --disable-xhydra) \ + $(usex debug '--debug' '') \ + --nostrip \ + --prefix=/usr \ + || die + + if use gtk ; then + pushd hydra-gtk || die + econf + fi +} + +src_compile() { + emake XLIBPATHS='' + use gtk && emake -C hydra-gtk +} + +src_install() { + dobin hydra pw-inspector + use gtk && dobin hydra-gtk/src/xhydra + dodoc CHANGES README.md +} |