[arch-commits] Commit in hydra/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Mar 3 11:01:08 UTC 2016
Date: Thursday, March 3, 2016 @ 12:01:07
Author: anthraxx
Revision: 164442
fixing new download location via https
Modified:
hydra/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-03 10:51:25 UTC (rev 164441)
+++ PKGBUILD 2016-03-03 11:01:07 UTC (rev 164442)
@@ -5,12 +5,12 @@
# Contributor: pootzko <pootzko at gmail.com>
# Contributor: Jinx <jinxware at gmail.com>
# Contributor: Timothée Ravier <tim at siosm.fr>
-
+
pkgname=hydra
pkgver=8.1
pkgrel=4
pkgdesc='A very fast network logon cracker which support many different services'
-url='http://www.thc.org/thc-hydra/'
+url='https://www.thc.org/thc-hydra/'
arch=('i686' 'x86_64')
license=('GPL3')
depends=('postgresql-libs' 'subversion' 'libssh' 'libmariadbclient' 'libidn' 'libfbclient' 'afpfs-ng')
@@ -18,14 +18,15 @@
'gtk2: graphical front-end (xhydra)'
)
makedepends=('gtk2')
-source=(${pkgname}-${pkgver}.tar.gz::http://www.thc.org/releases/${pkgname}-${pkgver}.tar.gz
+source=(${pkgname}-${pkgver}.tar.gz::https://www.thc.org/releases/${pkgname}-${pkgver}.tar.gz
fix-locations.patch)
sha512sums=('7608dd365865e5976bea446faedaad9f0334e7572fd0ee47a601c471471fc7c8a922c7114f4df08705b34b29144d3a6552e66148adf6b0f92c67301119c94959'
'229fdaff59c6970a030ec81a78a2d34861a6caa947e7c2f6f9186cfd3bc0bf35ec96deadaae58ff1eaa45574f268fa5d9b9688df8c033fcee35ddeb302fb2069')
+DLAGENTS=('https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u -k')
prepare() {
cd ${pkgname}-${pkgver}
- patch -p1 < ../fix-locations.patch
+ patch -p1 < "${srcdir}/fix-locations.patch"
}
build() {
@@ -33,7 +34,7 @@
./configure --prefix=/usr
make
}
-
+
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" MANDIR="/share/man/man1" DATADIR="/share/${pkgname}" install
More information about the arch-commits
mailing list