diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-09-07 17:16:13 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-09-07 17:16:13 +0000 |
commit | 9c0297da02540d4ea605306cc69a7ba4c7620c06 (patch) | |
tree | 8fc37494299a5c90c9b383642a2c0ce7f29174b5 /net-analyzer/sbd | |
parent | Drop amd64 check with USE=win64 now that it is in x86 use.mask. (diff) | |
download | gentoo-2-9c0297da02540d4ea605306cc69a7ba4c7620c06.tar.gz gentoo-2-9c0297da02540d4ea605306cc69a7ba4c7620c06.tar.bz2 gentoo-2-9c0297da02540d4ea605306cc69a7ba4c7620c06.zip |
Respect LDFLAGS (bug #336241). Respect upstream CFLAGS for warnings.
(Portage version: 2.2_rc77/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/sbd')
-rw-r--r-- | net-analyzer/sbd/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/sbd/sbd-1.37-r1.ebuild | 39 |
2 files changed, 46 insertions, 2 deletions
diff --git a/net-analyzer/sbd/ChangeLog b/net-analyzer/sbd/ChangeLog index 10dbf48e36c1..77dde4ca9586 100644 --- a/net-analyzer/sbd/ChangeLog +++ b/net-analyzer/sbd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/sbd -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sbd/ChangeLog,v 1.6 2008/07/15 19:43:43 jer Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sbd/ChangeLog,v 1.7 2010/09/07 17:16:13 jer Exp $ + +*sbd-1.37-r1 (07 Sep 2010) + + 07 Sep 2010; Jeroen Roovers <jer@gentoo.org> +sbd-1.37-r1.ebuild: + Respect LDFLAGS (bug #336241). Respect upstream CFLAGS for warnings. 28 Jun 2008; Jeroen Roovers <jer@gentoo.org> sbd-1.37.ebuild: Marked ~hppa too. diff --git a/net-analyzer/sbd/sbd-1.37-r1.ebuild b/net-analyzer/sbd/sbd-1.37-r1.ebuild new file mode 100644 index 000000000000..a3104da409c9 --- /dev/null +++ b/net-analyzer/sbd/sbd-1.37-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sbd/sbd-1.37-r1.ebuild,v 1.1 2010/09/07 17:16:13 jer Exp $ + +EAPI="2" + +inherit toolchain-funcs + +DESCRIPTION="Netcat-clone, designed to be portable and offer strong encryption" +HOMEPAGE="http://tigerteam.se/dl/sbd/" +SRC_URI="http://tigerteam.se/dl/sbd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" +IUSE="" + +DEPEND="" + +src_prepare() { + sed -i Makefile \ + -e '/ -o /{ + s| $(UNIX_LDFLAGS) $(LDFLAGS)||g;s|$(CFLAGS)|& $(LDFLAGS)|g + }' \ + || die "sed Makefile" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + unix || die "emake failed" +} + +src_install() { + dobin sbd || die "dobin failed" + dodoc CHANGES README || die "dodoc failed" +} |