[gentoo-commits] repo/gentoo:master commit in: net-libs/libcrafter/

2021-08-01 Thread David Seifert
commit: c38a71d490b37e97a045db599f1994a99b5b38b2
Author: David Seifert  gentoo  org>
AuthorDate: Sun Aug  1 19:43:50 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug  1 19:43:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c38a71d4

net-libs/libcrafter: unkeyword  for ~amd64, ~x86

Signed-off-by: David Seifert  gentoo.org>

 net-libs/libcrafter/libcrafter-.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net-libs/libcrafter/libcrafter-.ebuild 
b/net-libs/libcrafter/libcrafter-.ebuild
index 609119bb53c..e76b013ba9c 100644
--- a/net-libs/libcrafter/libcrafter-.ebuild
+++ b/net-libs/libcrafter/libcrafter-.ebuild
@@ -12,7 +12,6 @@ S="${WORKDIR}/${P}/${PN}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
 
 RDEPEND="net-libs/libpcap"
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libcrafter/

2021-08-01 Thread David Seifert
commit: 5ef54149a7b0cd8ce43fbb549b3c340b749f0aa9
Author: David Seifert  gentoo  org>
AuthorDate: Sun Aug  1 19:28:55 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug  1 19:28:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef54149

net-libs/libcrafter: update EAPI 7 -> 8

Signed-off-by: David Seifert  gentoo.org>

 ...crafter-1.0.ebuild => libcrafter-1.0-r1.ebuild} | 28 
 net-libs/libcrafter/libcrafter-.ebuild | 30 --
 2 files changed, 21 insertions(+), 37 deletions(-)

diff --git a/net-libs/libcrafter/libcrafter-1.0.ebuild 
b/net-libs/libcrafter/libcrafter-1.0-r1.ebuild
similarity index 64%
rename from net-libs/libcrafter/libcrafter-1.0.ebuild
rename to net-libs/libcrafter/libcrafter-1.0-r1.ebuild
index 7b919920ad0..9eb5e0583a6 100644
--- a/net-libs/libcrafter/libcrafter-1.0.ebuild
+++ b/net-libs/libcrafter/libcrafter-1.0-r1.ebuild
@@ -1,38 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
 inherit autotools
 
 DESCRIPTION="A high level C++ network packet sniffing and crafting library"
 HOMEPAGE="https://github.com/pellegre/libcrafter";
 SRC_URI="https://github.com/pellegre/${PN}/archive/version-${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-version-${PV}/${PN}"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="static-libs"
-
-RDEPEND="
-   net-libs/libpcap
-"
-DEPEND="
-   ${RDEPEND}
-"
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch
-)
-S=${WORKDIR}/${PN}-version-${PV}/${PN}
+
+RDEPEND="net-libs/libpcap"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch )
 
 src_prepare() {
default
eautoreconf
 }
 
-src_configure() {
-   econf $(use_enable static-libs static)
-}
-
 src_install() {
default
 

diff --git a/net-libs/libcrafter/libcrafter-.ebuild 
b/net-libs/libcrafter/libcrafter-.ebuild
index 16291e48909..609119bb53c 100644
--- a/net-libs/libcrafter/libcrafter-.ebuild
+++ b/net-libs/libcrafter/libcrafter-.ebuild
@@ -1,38 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
 inherit autotools git-r3
 
 DESCRIPTION="A high level C++ network packet sniffing and crafting library"
 HOMEPAGE="https://github.com/pellegre/libcrafter";
 EGIT_REPO_URI="https://github.com/pellegre/${PN}";
+S="${WORKDIR}/${P}/${PN}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS=""
-IUSE="static-libs"
-
-RDEPEND="
-   net-libs/libpcap
-"
-DEPEND="
-   ${RDEPEND}
-"
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch
-)
-S=${WORKDIR}/${P}/${PN}
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="net-libs/libpcap"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch )
 
 src_prepare() {
default
eautoreconf
 }
 
-src_configure() {
-   econf $(use_enable static-libs static)
-}
-
 src_install() {
default
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libcrafter/

2020-11-27 Thread Aaron Bauman
commit: a33e471e81728f82bc4c3519f46d9333615b9459
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Nov 27 15:48:29 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Nov 27 15:59:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a33e471e

net-libs/libcrafter: drop old

Signed-off-by: Aaron Bauman  gentoo.org>

 net-libs/libcrafter/Manifest   |  2 --
 net-libs/libcrafter/libcrafter-0.3.ebuild  | 37 
 .../libcrafter/libcrafter-0.3_p20171019.ebuild | 40 --
 3 files changed, 79 deletions(-)

diff --git a/net-libs/libcrafter/Manifest b/net-libs/libcrafter/Manifest
index 9768703da88..d9200c7225c 100644
--- a/net-libs/libcrafter/Manifest
+++ b/net-libs/libcrafter/Manifest
@@ -1,3 +1 @@
-DIST libcrafter-0.3.tar.gz 104051 BLAKE2B 
6349c260d32ab6f270c05c156dbcf7cf20e85808ce7b8df8747fa9d6e1d413f96c12ff55b3c227952b348f2654cde81b5ca73753da61a9593c3c1699ed96bd7d
 SHA512 
7c396ba942b304dddfaa569adb44697f75568d3ef2ed48dda758e281f3b7c172439309033bbf5498069a4a61a952f93e41af99b129ce874ce76b5ec08da58116
-DIST libcrafter-0.3_p20171019.tar.xz 90152 BLAKE2B 
4837a98a45ecdf924a63e916fd2cfdd481624c0cb5b673e0b43eaace328cbcb761ac2d09c50242602730ec2c69ceb8836b7092cbd286c887819db2095ceba749
 SHA512 
eb53ed641abbce3555f6b7bc3756bc9dc45068bf58320ba0f78dbcefc04cbfe669b12625c81a185fa377bf89e8453b52e0f9bef5c9e1ebfae34bc56eca090438
 DIST libcrafter-1.0.tar.gz 116514 BLAKE2B 
6f7adee30b1f7be1bf03fedd39deb53ddc7284934f908ebb056726c31adcaa133405a13c06fa6d35b066992e5ccf24eb971d46a44dcad6932009c1d35fc0c0f7
 SHA512 
146f34831bf26047be06a0dea406ed0495990fd4256c598b5a4ddea4ab8cc6635dbbe98010cb73ada94ec6bd8be65cdcb3489de7dd9b961711707047f94fb48d

diff --git a/net-libs/libcrafter/libcrafter-0.3.ebuild 
b/net-libs/libcrafter/libcrafter-0.3.ebuild
deleted file mode 100644
index 45d2b5b2d45..000
--- a/net-libs/libcrafter/libcrafter-0.3.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils ltprune
-
-DESCRIPTION="A high level C++ network packet sniffing and crafting library"
-HOMEPAGE="https://github.com/pellegre/libcrafter";
-SRC_URI="https://github.com/pellegre/${PN}/archive/version-${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="static-libs"
-
-RDEPEND="
-   net-libs/libpcap
-"
-DEPEND="
-   ${RDEPEND}
-"
-
-S=${WORKDIR}/${PN}-version-${PV}/${PN}
-
-src_prepare() {
-   eautoreconf
-}
-
-src_configure() {
-   econf $(use_enable static-libs static)
-}
-
-src_install() {
-   default
-
-   prune_libtool_files
-}

diff --git a/net-libs/libcrafter/libcrafter-0.3_p20171019.ebuild 
b/net-libs/libcrafter/libcrafter-0.3_p20171019.ebuild
deleted file mode 100644
index e9f0d9bec4a..000
--- a/net-libs/libcrafter/libcrafter-0.3_p20171019.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools
-
-DESCRIPTION="A high level C++ network packet sniffing and crafting library"
-HOMEPAGE="https://github.com/pellegre/libcrafter";
-SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.xz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="static-libs"
-
-RDEPEND="
-   net-libs/libpcap
-"
-DEPEND="
-   ${RDEPEND}
-"
-S=${WORKDIR}/${PN}
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   econf $(use_enable static-libs static)
-}
-
-src_install() {
-   default
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libcrafter/

2020-07-16 Thread Jeroen Roovers
commit: aabd423ce3ce6b75d0428b2e9ff32a8b8287011b
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Jul 16 13:06:37 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Jul 16 13:06:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aabd423c

net-libs/libcrafter: Install the correct README

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-libs/libcrafter/libcrafter-1.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-libs/libcrafter/libcrafter-1.0.ebuild 
b/net-libs/libcrafter/libcrafter-1.0.ebuild
index 570bfbff954..7b919920ad0 100644
--- a/net-libs/libcrafter/libcrafter-1.0.ebuild
+++ b/net-libs/libcrafter/libcrafter-1.0.ebuild
@@ -36,5 +36,7 @@ src_configure() {
 src_install() {
default
 
+   dodoc "${WORKDIR}"/${PN}-version-${PV}/README
+
find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: net-libs/libcrafter/

2020-07-16 Thread Jeroen Roovers
commit: e5769ea2c5d6bc6b2461c79882b126e907f8173b
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Jul 16 12:58:55 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Jul 16 13:06:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5769ea2

net-libs/libcrafter: Update live ebuild

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-libs/libcrafter/libcrafter-.ebuild | 15 ++-
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/net-libs/libcrafter/libcrafter-.ebuild 
b/net-libs/libcrafter/libcrafter-.ebuild
index 1aac305c3cc..16291e48909 100644
--- a/net-libs/libcrafter/libcrafter-.ebuild
+++ b/net-libs/libcrafter/libcrafter-.ebuild
@@ -1,10 +1,10 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools eutils git-r3 ltprune
+EAPI=7
+inherit autotools git-r3
 
-DESCRIPTION="a high level library for C++ designed to make easier the creation 
and decoding of network packets"
+DESCRIPTION="A high level C++ network packet sniffing and crafting library"
 HOMEPAGE="https://github.com/pellegre/libcrafter";
 EGIT_REPO_URI="https://github.com/pellegre/${PN}";
 
@@ -19,10 +19,13 @@ RDEPEND="
 DEPEND="
${RDEPEND}
 "
-
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch
+)
 S=${WORKDIR}/${P}/${PN}
 
 src_prepare() {
+   default
eautoreconf
 }
 
@@ -33,5 +36,7 @@ src_configure() {
 src_install() {
default
 
-   prune_libtool_files
+   dodoc "${WORKDIR}"/${P}/README
+
+   find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: net-libs/libcrafter/

2020-07-16 Thread Jeroen Roovers
commit: 1eed0d83060ac6746021d6aff1031aeea536f204
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Jul 16 12:55:11 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Jul 16 13:06:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eed0d83

net-libs/libcrafter: Version 1.0

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-libs/libcrafter/Manifest  |  1 +
 net-libs/libcrafter/libcrafter-1.0.ebuild | 40 +++
 2 files changed, 41 insertions(+)

diff --git a/net-libs/libcrafter/Manifest b/net-libs/libcrafter/Manifest
index df8d69a25ea..9768703da88 100644
--- a/net-libs/libcrafter/Manifest
+++ b/net-libs/libcrafter/Manifest
@@ -1,2 +1,3 @@
 DIST libcrafter-0.3.tar.gz 104051 BLAKE2B 
6349c260d32ab6f270c05c156dbcf7cf20e85808ce7b8df8747fa9d6e1d413f96c12ff55b3c227952b348f2654cde81b5ca73753da61a9593c3c1699ed96bd7d
 SHA512 
7c396ba942b304dddfaa569adb44697f75568d3ef2ed48dda758e281f3b7c172439309033bbf5498069a4a61a952f93e41af99b129ce874ce76b5ec08da58116
 DIST libcrafter-0.3_p20171019.tar.xz 90152 BLAKE2B 
4837a98a45ecdf924a63e916fd2cfdd481624c0cb5b673e0b43eaace328cbcb761ac2d09c50242602730ec2c69ceb8836b7092cbd286c887819db2095ceba749
 SHA512 
eb53ed641abbce3555f6b7bc3756bc9dc45068bf58320ba0f78dbcefc04cbfe669b12625c81a185fa377bf89e8453b52e0f9bef5c9e1ebfae34bc56eca090438
+DIST libcrafter-1.0.tar.gz 116514 BLAKE2B 
6f7adee30b1f7be1bf03fedd39deb53ddc7284934f908ebb056726c31adcaa133405a13c06fa6d35b066992e5ccf24eb971d46a44dcad6932009c1d35fc0c0f7
 SHA512 
146f34831bf26047be06a0dea406ed0495990fd4256c598b5a4ddea4ab8cc6635dbbe98010cb73ada94ec6bd8be65cdcb3489de7dd9b961711707047f94fb48d

diff --git a/net-libs/libcrafter/libcrafter-1.0.ebuild 
b/net-libs/libcrafter/libcrafter-1.0.ebuild
new file mode 100644
index 000..570bfbff954
--- /dev/null
+++ b/net-libs/libcrafter/libcrafter-1.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+DESCRIPTION="A high level C++ network packet sniffing and crafting library"
+HOMEPAGE="https://github.com/pellegre/libcrafter";
+SRC_URI="https://github.com/pellegre/${PN}/archive/version-${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="
+   net-libs/libpcap
+"
+DEPEND="
+   ${RDEPEND}
+"
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch
+)
+S=${WORKDIR}/${PN}-version-${PV}/${PN}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf $(use_enable static-libs static)
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libcrafter/, net-libs/libcrafter/files/

2020-07-14 Thread Jeroen Roovers
commit: dce4676e2a72b19764edcc5cc7054325585d3937
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Jul 15 05:42:00 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Jul 15 06:50:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dce4676e

net-libs/libcrafter: Version 0.3_p20171019

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Closes: https://bugs.gentoo.org/show_bug.cgi?id=731194
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-libs/libcrafter/Manifest   |  1 +
 .../files/libcrafter-0.3_p20171019-libpcap.patch   | 59 ++
 .../libcrafter/libcrafter-0.3_p20171019.ebuild | 40 +++
 3 files changed, 100 insertions(+)

diff --git a/net-libs/libcrafter/Manifest b/net-libs/libcrafter/Manifest
index 25c940facf9..df8d69a25ea 100644
--- a/net-libs/libcrafter/Manifest
+++ b/net-libs/libcrafter/Manifest
@@ -1 +1,2 @@
 DIST libcrafter-0.3.tar.gz 104051 BLAKE2B 
6349c260d32ab6f270c05c156dbcf7cf20e85808ce7b8df8747fa9d6e1d413f96c12ff55b3c227952b348f2654cde81b5ca73753da61a9593c3c1699ed96bd7d
 SHA512 
7c396ba942b304dddfaa569adb44697f75568d3ef2ed48dda758e281f3b7c172439309033bbf5498069a4a61a952f93e41af99b129ce874ce76b5ec08da58116
+DIST libcrafter-0.3_p20171019.tar.xz 90152 BLAKE2B 
4837a98a45ecdf924a63e916fd2cfdd481624c0cb5b673e0b43eaace328cbcb761ac2d09c50242602730ec2c69ceb8836b7092cbd286c887819db2095ceba749
 SHA512 
eb53ed641abbce3555f6b7bc3756bc9dc45068bf58320ba0f78dbcefc04cbfe669b12625c81a185fa377bf89e8453b52e0f9bef5c9e1ebfae34bc56eca090438

diff --git a/net-libs/libcrafter/files/libcrafter-0.3_p20171019-libpcap.patch 
b/net-libs/libcrafter/files/libcrafter-0.3_p20171019-libpcap.patch
new file mode 100644
index 000..252a71db47c
--- /dev/null
+++ b/net-libs/libcrafter/files/libcrafter-0.3_p20171019-libpcap.patch
@@ -0,0 +1,59 @@
+--- a/configure.ac
 b/configure.ac
+@@ -12,6 +12,8 @@
+ AC_PROG_CXX
+ LT_INIT([disable-static])
+ 
++PKG_PROG_PKG_CONFIG
++
+ AC_CHECK_TYPE(u_int32_t, uint32_t)
+ AC_CHECK_TYPE(u_int64_t, uint64_t)
+ AC_CHECK_TYPE(u_int16_t, uint16_t)
+@@ -20,46 +22,7 @@
+ AC_CANONICAL_HOST
+ 
+ ## Checks for libpcap
+-AC_MSG_CHECKING(for libpcap)
+-AC_ARG_WITH(libpcap,
+-[  --with-libpcap=DIR  use libpcap in DIR],
+-[ case "$withval" in
+-  yes|no)
+- AC_MSG_RESULT(no)
+- ;;
+-  *)
+- AC_MSG_RESULT($withval)
+- if test -f $withval/pcap.h -a -f $withval/libpcap.a; then
+-owd=`pwd`
+-if cd $withval; then withval=`pwd`; cd $owd; fi
+-  PCAPINC="-I$withval -I$withval/bpf"
+-  PCAPLIB="-L$withval -lpcap"
+- elif test -f $withval/include/pcap.h -a \
+- -f $withval/include/net/bpf.h -a \
+- -f $withval/lib/libpcap.a; then
+-  owd=`pwd`
+-  if cd $withval; then withval=`pwd`; cd $owd; fi
+-  PCAPINC="-I$withval/include"
+-  PCAPLIB="-L$withval/lib -lpcap"
+- else
+-AC_ERROR(pcap.h, net/bpf.h, or libpcap.a not found in $withval)
+- fi
+- ;;
+-  esac ],
+-[ if test -f ${prefix}/include/pcap.h; then
+- PCAPINC="-I${prefix}/include"
+- PCAPLIB="-L${prefix}/lib -lpcap"
+-  elif test -f /usr/include/pcap/pcap.h; then
+- PCAPINC="-I/usr/include/pcap"
+- PCAPLIB="-lpcap"
+-  elif test -f /usr/include/pcap.h; then
+- PCAPLIB="-lpcap"
+-  else
+- AC_MSG_RESULT(no)
+- AC_ERROR(libpcap not found)
+-  fi
+-  AC_MSG_RESULT(yes) ]
+-)
++PKG_CHECK_MODULES([PCAP], [libpcap], [PCAPINC="${PCAP_CFLAGS}"; 
PCAPLIB="${PCAP_LIBS}"],AC_MSG_ERROR([libpcap is required]))
+ AC_SUBST(PCAPINC)
+ AC_SUBST(PCAPLIB)
+ AC_CHECK_LIB([pcap], [pcap_set_immediate_mode],

diff --git a/net-libs/libcrafter/libcrafter-0.3_p20171019.ebuild 
b/net-libs/libcrafter/libcrafter-0.3_p20171019.ebuild
new file mode 100644
index 000..e9f0d9bec4a
--- /dev/null
+++ b/net-libs/libcrafter/libcrafter-0.3_p20171019.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+DESCRIPTION="A high level C++ network packet sniffing and crafting library"
+HOMEPAGE="https://github.com/pellegre/libcrafter";
+SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.xz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="
+   net-libs/libpcap
+"
+DEPEND="
+   ${RDEPEND}
+"
+S=${WORKDIR}/${PN}
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf $(use_enable static-libs static)
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libcrafter/

2016-07-30 Thread Mike Gilbert
commit: 29b49ab7eb9b772ac55783c81bbdee6a33c03e07
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jul 30 14:32:23 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jul 30 14:32:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b49ab7

net-libs/libcrafter: ${PV}.tar.gz -> ${P}.tar.gz

Package-Manager: portage-2.3.0_p16

 net-libs/libcrafter/Manifest  | 2 +-
 net-libs/libcrafter/libcrafter-0.3.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-libs/libcrafter/Manifest b/net-libs/libcrafter/Manifest
index ec7e1ff..1bcddef 100644
--- a/net-libs/libcrafter/Manifest
+++ b/net-libs/libcrafter/Manifest
@@ -1 +1 @@
-DIST 0.3.tar.gz 104051 SHA256 
4608b10470aaa5a711b13b7c9db93fc6c3daca8c26ae7e81b0d7aa8af3a497aa SHA512 
7c396ba942b304dddfaa569adb44697f75568d3ef2ed48dda758e281f3b7c172439309033bbf5498069a4a61a952f93e41af99b129ce874ce76b5ec08da58116
 WHIRLPOOL 
9444ba34eb9c0f4072bb52d1bc1a0712e274c344af61059f60f626a4465476d65606918bb759e236c97bb8c49733e498f9fa8593862058fb0e0aa397bf489eea
+DIST libcrafter-0.3.tar.gz 104051 SHA256 
4608b10470aaa5a711b13b7c9db93fc6c3daca8c26ae7e81b0d7aa8af3a497aa SHA512 
7c396ba942b304dddfaa569adb44697f75568d3ef2ed48dda758e281f3b7c172439309033bbf5498069a4a61a952f93e41af99b129ce874ce76b5ec08da58116
 WHIRLPOOL 
9444ba34eb9c0f4072bb52d1bc1a0712e274c344af61059f60f626a4465476d65606918bb759e236c97bb8c49733e498f9fa8593862058fb0e0aa397bf489eea

diff --git a/net-libs/libcrafter/libcrafter-0.3.ebuild 
b/net-libs/libcrafter/libcrafter-0.3.ebuild
index ad131de..a5701f3 100644
--- a/net-libs/libcrafter/libcrafter-0.3.ebuild
+++ b/net-libs/libcrafter/libcrafter-0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -7,7 +7,7 @@ inherit autotools eutils
 
 DESCRIPTION="A high level C++ network packet sniffing and crafting library"
 HOMEPAGE="https://github.com/pellegre/libcrafter";
-SRC_URI="https://github.com/pellegre/${PN}/archive/version-${PV}.tar.gz -> 
${PV}.tar.gz"
+SRC_URI="https://github.com/pellegre/${PN}/archive/version-${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libcrafter/

2015-09-01 Thread Tobias Klausmann
commit: c3d248f74d2e41c4747a19723b970b79ccab8032
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Sep  1 19:50:13 2015 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Sep  1 19:50:13 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d248f7

net-libs/libcrafter: Fixing HOMEPAGE move due to code.google.com shutdown

Package-Manager: portage-2.2.20.1

 net-libs/libcrafter/libcrafter-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libcrafter/libcrafter-.ebuild 
b/net-libs/libcrafter/libcrafter-.ebuild
index 8c799d9..b50fb65 100644
--- a/net-libs/libcrafter/libcrafter-.ebuild
+++ b/net-libs/libcrafter/libcrafter-.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 inherit autotools eutils git-r3
 
 DESCRIPTION="a high level library for C++ designed to make easier the creation 
and decoding of network packets"
-HOMEPAGE="https://code.google.com/p/libcrafter/";
+HOMEPAGE="https://github.com/pellegre/libcrafter";
 EGIT_REPO_URI="https://github.com/pellegre/${PN}";
 
 LICENSE="BSD"