scanssh-2.1.ebuild 639 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils
  5. DESCRIPTION="network scanner that gathers info on SSH protocols and versions"
  6. HOMEPAGE="http://monkey.org/~provos/scanssh/"
  7. SRC_URI="http://monkey.org/~provos/${P}.tar.gz"
  8. LICENSE="BSD"
  9. SLOT="0"
  10. KEYWORDS="amd64 hppa ppc ~ppc64 sparc x86"
  11. DEPEND="
  12. dev-libs/libdnet
  13. dev-libs/libevent
  14. net-libs/libpcap
  15. "
  16. RDEPEND="${DEPEND}"
  17. src_prepare() {
  18. epatch "${FILESDIR}"/${PN}-2.0-fix-warnings.diff
  19. touch configure
  20. }
  21. src_compile() {
  22. emake CFLAGS="${CFLAGS}"
  23. }
  24. src_install() {
  25. dobin scanssh
  26. doman scanssh.1
  27. }