upg libpcap mpfr

This commit is contained in:
joborun linux 2023-04-19 14:31:07 +03:00
parent 1744503bf6
commit 252b74358f
7 changed files with 205 additions and 37 deletions

View File

@ -6,13 +6,12 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libpcap
pkgver=1.10.3
pkgver=1.10.4
pkgrel=01
pkgdesc='A system-independent interface for user-level packet capture - without ipv6'
arch=(x86_64)
pkgdesc='A system-independent interface for user-level packet capture - without ipv6 and dbus need'
url="https://www.tcpdump.org/"
depends=(glibc libnl sh)
makedepends=(bluez-libs dbus)
makedepends=(bluez-libs)
provides=(libpcap.so)
#options=(debug)
source=("https://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"{,.sig})
@ -28,6 +27,7 @@ build() {
--disable-ipv6 \
--enable-bluetooth \
--enable-usb \
--disable-dbus \
--with-libnl
make
}
@ -40,17 +40,16 @@ package() {
install -vDm 644 {CHANGES,{CONTRIBUTING,README}.md} -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('BSD')
validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
sha256sums=(2a8885c403516cf7b0933ed4b14d6caa30e02052489ebd414dc75ac52e7559e6 # libpcap-1.10.3.tar.gz
5caca1be7b345edc43e83f955bbc49d2a930d53362195d3ed67d39cdd2327ae4) # libpcap-1.10.3.tar.gz.sig
sha256sums=(ed19a0383fad72e3ad435fd239d7cd80d64916b87269550159d20e47160ebe5f # libpcap-1.10.4.tar.gz
d3f19087169bc823fad9a8a184372f8977d81b23edcdc6bc9dc9d874c99cab01) # libpcap-1.10.4.tar.gz.sig
sha512sums=('57bc07cbc8c326e203ce10ce1eb9f55760fc33320718d8643c65a68949334291877dffcf19af5f61eb9b4eda2d8ffe7bacee38363d2d6536cc85ae81c851684d'
'SKIP')
b2sums=('3614042f7d8cd5a25221f52d2ed09f9f44643cdc0901ff21041ddb7ba85193c667036f7d989c8b59e6e205d630e062da46533110914dd287013a9ff80b31e97f'
'SKIP')
## d225ded625d06fd4214823102896f6e18c2871a53260ec4318608c21d6da56cc libpcap-1.10.4-01-x86_64.pkg.tar.lz

View File

@ -3,20 +3,26 @@
# Contributor: Thomas Bächler <thomas@archlinux.org>
pkgname=libpcap
pkgver=1.10.3
pkgver=1.10.4
pkgrel=1
pkgdesc='A system-independent interface for user-level packet capture'
arch=(x86_64)
url='https://www.tcpdump.org/'
license=(BSD)
depends=(glibc libnl sh)
makedepends=(bluez-libs dbus)
depends=(
glibc
libnl
sh
)
makedepends=(
bluez-libs
dbus
)
provides=(libpcap.so)
options=(debug)
source=(https://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz{,.sig})
sha512sums=('57bc07cbc8c326e203ce10ce1eb9f55760fc33320718d8643c65a68949334291877dffcf19af5f61eb9b4eda2d8ffe7bacee38363d2d6536cc85ae81c851684d'
sha512sums=('1f6d6ddd07dae7c557054cb246437ecdaf39d579592a5a6bdf1144eea6cb5a779ac4ca647cfed11ec1b0bb18efc63b845444e497070bacefaaed19a5787ae5e1'
'SKIP')
b2sums=('3614042f7d8cd5a25221f52d2ed09f9f44643cdc0901ff21041ddb7ba85193c667036f7d989c8b59e6e205d630e062da46533110914dd287013a9ff80b31e97f'
b2sums=('05a7eafc1e1817f7844008db89d8fb10cd2525c22f7ee6c9e3d582b14229412f38ccced5e9d80a96dd459ef9eab12eccb5c1dd4978ddc9f66267469212005e4c'
'SKIP')
validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
@ -33,6 +39,7 @@ build() {
--enable-usb
--with-libnl
)
cd $pkgname-$pkgver
./configure "${configure_options[@]}"
make

157
libpcap/configure vendored Normal file
View File

@ -0,0 +1,157 @@
`configure' configures pcap 1.10.4 to adapt to many kinds of systems.
Usage: src/libpcap-1.10.4/configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/pcap]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST]
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-largefile omit support for large files
--disable-protochain disable \"protochain\" insn
--enable-ipv6 build IPv6-capable version [default=yes]
--enable-remote enable remote packet capture [default=no]
--enable-optimizer-dbg build optimizer debugging code
--enable-yydebug build parser debugging code
--disable-universal don't build universal on macOS
--enable-shared build shared libraries [default=yes, if support
available]
--enable-usb enable Linux usbmon USB capture support
[default=yes, if support available]
--enable-netmap enable netmap support [default=yes, if support
available]
--enable-bluetooth enable Bluetooth support [default=yes, if support
available]
--enable-dbus enable D-Bus capture support [default=yes, if
support available]
--enable-rdma enable RDMA capture support [default=yes, if support
available]
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--without-gcc don't use gcc
--with-pcap=TYPE use packet capture TYPE
--without-libnl disable libnl support [default=yes, on Linux, if
present]
--with-dag[=DIR] include Endace DAG support (located in directory
DIR, if supplied). [default=yes, if present]
--with-dag-includes=IDIR
Endace DAG include directory, if not DIR/include
--with-dag-libraries=LDIR
Endace DAG library directory, if not DIR/lib
--with-septel[=DIR] include Septel support (located in directory DIR, if
supplied). [default=yes, if present]
--with-snf[=DIR] include Myricom SNF support (located in directory
DIR, if supplied). [default=yes, if present]
--with-snf-includes=IDIR
Myricom SNF include directory, if not DIR/include
--with-snf-libraries=LDIR
Myricom SNF library directory, if not DIR/lib
--with-turbocap[=DIR] include Riverbed TurboCap support (located in
directory DIR, if supplied). [default=yes, if
present]
--with-dpdk[=DIR] include DPDK support (located in directory DIR, if
supplied). [default=yes, if present]
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CXX C++ compiler command
CXXFLAGS C++ compiler flags
PKG_CONFIG path to pkg-config utility
PKG_CONFIG_PATH
directories to add to pkg-config's search path
PKG_CONFIG_LIBDIR
path overriding pkg-config's built-in search path
LIBNL_CFLAGS
C compiler flags for libnl-genl-3.0, overriding pkg-config
LIBNL_LIBS linker flags for libnl-genl-3.0, overriding pkg-config
LIBNL_LIBS_STATIC
static-link linker flags for libnl-genl-3.0, overriding
pkg-config
OPENSSL_CFLAGS
C compiler flags for openssl, overriding pkg-config
OPENSSL_LIBS
linker flags for openssl, overriding pkg-config
OPENSSL_LIBS_STATIC
static-link linker flags for openssl, overriding pkg-config
DPDK_CFLAGS C compiler flags for libdpdk, overriding pkg-config
DPDK_LIBS linker flags for libdpdk, overriding pkg-config
DPDK_LIBS_STATIC
static-link linker flags for libdpdk, overriding pkg-config
DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
DBUS_LIBS linker flags for dbus-1, overriding pkg-config
DBUS_LIBS_STATIC
static-link linker flags for dbus-1, overriding pkg-config
LIBIBVERBS_CFLAGS
C compiler flags for libibverbs, overriding pkg-config
LIBIBVERBS_LIBS
linker flags for libibverbs, overriding pkg-config
LIBIBVERBS_LIBS_STATIC
static-link linker flags for libibverbs, overriding pkg-config
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to the package provider.

View File

@ -1,6 +1,6 @@
bluez-libs
automake
autoconf
bison

View File

@ -7,19 +7,18 @@
pkgname=mpfr
_pkgver=4.2.0
#_patchver=1
pkgrel=03
#pkgver=${_pkgver}.p${_patchver}
pkgver=$_pkgver
_patchver=4
pkgrel=01
pkgver=${_pkgver}.p${_patchver}
#pkgver=$_pkgver
pkgdesc='Multiple-precision floating-point library'
arch=(x86_64)
url='https://www.mpfr.org/'
depends=('glibc' 'gmp')
makedepends=('autoconf-archive' 'automake')
#options=(debug) ### uncomment here for debug pkg
source=(https://ftp.gnu.org/gnu/mpfr/mpfr-${_pkgver}.tar.xz{,.sig}
tsprintf.patch::https://gitlab.inria.fr/mpfr/mpfr/-/commit/5172494c09718ffcb7ef1f19b3b211e3bce8781a.patch)
# patches.diff) # wget https://www.mpfr.org/mpfr-4.1.1/allpatches -O patches.diff
tsprintf.patch::https://gitlab.inria.fr/mpfr/mpfr/-/commit/5172494c09718ffcb7ef1f19b3b211e3bce8781a.patch
patches.diff) # wget https://www.mpfr.org/mpfr-4.1.1/allpatches -O patches.diff
## options=(debug) ## uncomment this to produce the debug pkg
prepare() {
cd $pkgname-${_pkgver}
@ -48,7 +47,9 @@ package() {
make DESTDIR="$pkgdir" install
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL3' 'LGPL3')
@ -57,6 +58,9 @@ validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D'
sha256sums=(06a378df13501248c1b2db5aa977a2c8126ae849a9d9b7be2546fb4a9c26d993 # mpfr-4.2.0.tar.xz
8151b7ef1b84c6384a08b05e007fa42da877a18528c44206b64d78b9baedcb7a # mpfr-4.2.0.tar.xz.sig
c05587045fb064853bfd5d2953f95bbc9f3630787a9c45e77e6509f3ebabbcd3) # tsprintf.patch
c05587045fb064853bfd5d2953f95bbc9f3630787a9c45e77e6509f3ebabbcd3 # tsprintf.patch
75af77904037442fcd3061a4fee2394194716c542e96989dcfac2445c842daf1) # patches.diff
## af9affda3b97228b527c95b7a693ebeb033a8485342861b24f2824487e694843 mpfr-4.2.0.p4-01-x86_64.pkg.tar.lz
#

View File

@ -5,24 +5,26 @@
pkgname=mpfr
_pkgver=4.2.0
#_patchver=1
pkgrel=3
#pkgver=${_pkgver}.p${_patchver}
pkgver=$_pkgver
_patchver=4
pkgrel=1
pkgver=${_pkgver}.p${_patchver}
#pkgver=$_pkgver
pkgdesc='Multiple-precision floating-point library'
arch=(x86_64)
url='https://www.mpfr.org/'
license=(GPL3 LGPL3)
depends=(glibc gmp)
source=(https://ftp.gnu.org/gnu/mpfr/mpfr-${_pkgver}.tar.xz{,.sig}
tsprintf.patch::https://gitlab.inria.fr/mpfr/mpfr/-/commit/5172494c09718ffcb7ef1f19b3b211e3bce8781a.patch)
# patches.diff) # wget https://www.mpfr.org/mpfr-4.1.1/allpatches -O patches.diff
tsprintf.patch::https://gitlab.inria.fr/mpfr/mpfr/-/commit/5172494c09718ffcb7ef1f19b3b211e3bce8781a.patch
patches.diff) # wget https://www.mpfr.org/mpfr-4.1.1/allpatches -O patches.diff
sha512sums=('58e843125884ca58837ae5159cd4092af09e8f21931a2efd19c15de057c9d1dc0753ae95c592e2ce59a727fbc491af776db8b00a055320413cdcf2033b90505c'
'SKIP'
'6d68ee5d286997c9a0bb66bf8da71a8af39e375091b743f1858dea9054b0f4f725ea0bcc37d39ac87b8a95ae508204c61413f4b2cb741807558952ee1a5d81e9')
'6d68ee5d286997c9a0bb66bf8da71a8af39e375091b743f1858dea9054b0f4f725ea0bcc37d39ac87b8a95ae508204c61413f4b2cb741807558952ee1a5d81e9'
'aa98173d59a24d0f59acff0c2143db5623746db3f6445e300a018a124b35a6b57d631c357a9a890f23c748591f621a95d3a801bed7341b6c8b6ddcc86ecfb107')
b2sums=('dd88ae3a6a910ad8faeb791b49c3b1085de5d0d4c49c637c124bf4d9bc79fb621d0d1d69e07d0642b9b678f6d355a5830d083dfd189e1e91d0e04c970c10bd64'
'SKIP'
'16222c0f409d757b6cad515d13a1673be26302f48bc206f8526cb46a2d357404b181811da6180326be136a265d63b8e47b81107b01f4c8abc4637fd9d5fca4ea')
'16222c0f409d757b6cad515d13a1673be26302f48bc206f8526cb46a2d357404b181811da6180326be136a265d63b8e47b81107b01f4c8abc4637fd9d5fca4ea'
'd6bed1d6fca2319db457096a81aca060c1bd934fcdf9c5f98ba44920a7e97c2a5e9c539ec554feb723fb98c84096e1cb615c0d973133c67f3c2097edc1c5b803')
validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D'
'A534BE3F83E241D918280AEB5831D11A0D4DB02A') # Vincent Lefevre <vincent@vinc17.net>

View File

@ -2,4 +2,3 @@ autoconf-archive
automake