libpcap: enable shared library.

* also fix copyrights.
This commit is contained in:
Jerome Duval
2015-04-30 19:12:05 +00:00
parent 93c97687b1
commit 304f6444f6
2 changed files with 61 additions and 13 deletions

View File

@@ -1,6 +1,28 @@
SUMMARY="A system-independent interface for user-level packet capture"
DESCRIPTION="
libpcap provides a portable \
framework for low-level network monitoring. Applications include \
network statistics collection, security monitoring, network debugging, \
etc. Since almost every system vendor provides a different interface \
for packet capture, and since we''ve developed several tools that \
require this functionality, we''ve created this system-independent API \
to ease in porting and to alleviate the need for several \
system-dependent packet capture modules in each application."
HOMEPAGE="http://www.tcpdump.org"
COPYRIGHT="1996-2014, Daniel Stenberg, <daniel@haxx.se>. All rights reserved."
COPYRIGHT="
1988-1998 The Regents of the University of California
2006 Paolo Abeni
2007 Fulko Hew, SITA INC Canada, Inc
2011-2012 Jakub Zawadzki
2007, 2008 Johannes Berg
2007 Andy Lutomirski
2007 Mike Kershaw
2008 Gábor Stefanik
2000 Torsten Landschoff
2000 Sebastian Krahmer
2009 Felix Obenhuber
2014 Michal Labedzki for Tieto Corporation
"
LICENSE="BSD (3-clause)"
SRC_URI="http://www.tcpdump.org/release/libpcap-$portVersion.tar.gz"
CHECKSUM_SHA256="dd9f85213dc8e948068405b55dd20f8b32e3083e9e0e186f833bd0372e559e2f"
@@ -60,16 +82,6 @@ TEST()
make check
}
DESCRIPTION="
libpcap provides a portable \
framework for low-level network monitoring. Applications include \
network statistics collection, security monitoring, network debugging, \
etc. Since almost every system vendor provides a different interface \
for packet capture, and since we''ve developed several tools that \
require this functionality, we''ve created this system-independent API \
to ease in porting and to alleviate the need for several \
system-dependent packet capture modules in each application."
# ----- devel package -------------------------------------------------------
PROVIDES_devel="

View File

@@ -1,4 +1,4 @@
From bd45ddf62df401e0de9ae034b3b66306e52d0c86 Mon Sep 17 00:00:00 2001
From b4ff361a63cd7541979854087b93071aec5341fd Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 28 Apr 2015 18:39:03 +0000
Subject: Haiku patch
@@ -421,5 +421,41 @@ index 0000000..9b2b598
+ return 0;
+}
--
1.8.3.4
2.2.2
From 085ceb63e9d485ad5741c137b57b641f419c5b4c Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Thu, 30 Apr 2015 19:07:38 +0000
Subject: enable shared library for Haiku
diff --git a/aclocal.m4 b/aclocal.m4
index 56f1422..452c41a 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -415,7 +415,7 @@ AC_DEFUN(AC_LBL_SHLIBS_INIT,
aix*)
;;
- freebsd*|netbsd*|openbsd*|dragonfly*|linux*|osf*)
+ freebsd*|netbsd*|openbsd*|dragonfly*|linux*|osf*|haiku*)
#
# Platforms where the linker is the GNU linker
# or accepts command-line arguments like
diff --git a/configure.in b/configure.in
index 7b80c0b..0c019f2 100644
--- a/configure.in
+++ b/configure.in
@@ -1272,7 +1272,7 @@ irix*)
MAN_MISC_INFO=5
;;
-linux*|freebsd*|netbsd*|openbsd*|dragonfly*|kfreebsd*|gnu*)
+linux*|freebsd*|netbsd*|openbsd*|dragonfly*|kfreebsd*|gnu*|haiku*)
DYEXT="so"
#
--
2.2.2