upg libpcap
This commit is contained in:
parent
cde5cc16a5
commit
3dd0d3f760
4 changed files with 30 additions and 22 deletions
|
@ -6,23 +6,25 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=libpcap
|
||||
pkgver=1.10.4
|
||||
pkgver=1.10.5
|
||||
pkgrel=02
|
||||
pkgdesc='A system-independent interface for user-level packet capture - without ipv6 and dbus need'
|
||||
url="https://www.tcpdump.org/"
|
||||
_url=https://github.com/the-tcpdump-group/libpcap
|
||||
depends=(glibc libnl sh)
|
||||
makedepends=(bluez-libs)
|
||||
makedepends=(bluez-libs git)
|
||||
provides=(libpcap.so)
|
||||
#options=(debug)
|
||||
source=("https://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
||||
#source=("https://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
||||
source=(git+$_url?signed#tag=$pkgname-$pkgver)
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
./configure --prefix=/usr \
|
||||
--disable-ipv6 \
|
||||
--enable-bluetooth \
|
||||
|
@ -34,7 +36,7 @@ build() {
|
|||
|
||||
package() {
|
||||
# depends+=('libdbus-1.so')
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
install -vDm 644 {CHANGES,{CONTRIBUTING,README}.md} -t "${pkgdir}/usr/share/doc/${pkgname}/"
|
||||
|
@ -44,12 +46,17 @@ package() {
|
|||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('BSD')
|
||||
license=(BSD-3-Clause)
|
||||
|
||||
validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
|
||||
|
||||
sha256sums=(ed19a0383fad72e3ad435fd239d7cd80d64916b87269550159d20e47160ebe5f # libpcap-1.10.4.tar.gz
|
||||
d3f19087169bc823fad9a8a184372f8977d81b23edcdc6bc9dc9d874c99cab01) # libpcap-1.10.4.tar.gz.sig
|
||||
#sha512sums=('b07d570933ccfc671c66e9355fb84b087dfc144f41e4088c253f544bfbecc71f38aac33ac66b2c0510422381e4c53f2499214e046146a781af050e76b3f774e8')
|
||||
#b2sums=('41a719c1eb22f411c133973d8971ff8c4de6d940ceb83acc5bfd9942bf337f12db55315a808caa907cdc7c14d20a7fae9d554aca945f97a0bbeee0b6c0d2f23c')
|
||||
# arch sums differ ... so much for securing the source, they change one dot in the source of a published release and out they go
|
||||
|
||||
## 5d4ce0490b29e1c6e4bff172b9ad0c431685c5d5b94b6902e67834f0521abf12 libpcap-1.10.4-02-x86_64.pkg.tar.lz
|
||||
sha256sums=('0474ea2c3e8b1ffe553d11427684f4cad4cc3ba513b60a86127f9f624d9e4a7c')
|
||||
sha512sums=('476ea9e4f56ac45c695ea4e2ccdc12e296e7f4474b61219a140eb3141d82e230fb7a5e736700c53501fd6ecabfd3859ec6131386786ea8eb9606d87d62789a6d')
|
||||
b2sums=('c4ed5623cf95dc66d43bf56cd3a62135accba139f716af0e9aba6288d01823c4f4d5b96afce274b1cbd1750a9fc1cacfae10e5ab59309b6fba69cdcb05f897e2')
|
||||
|
||||
## 8782da8fa4993d680509fafd04aadd8e3b70d11f2f2e02843f7d034eb289681c libpcap-1.10.5-02-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -3,12 +3,13 @@
|
|||
# Contributor: Thomas Bächler <thomas@archlinux.org>
|
||||
|
||||
pkgname=libpcap
|
||||
pkgver=1.10.4
|
||||
pkgrel=1
|
||||
pkgver=1.10.5
|
||||
pkgrel=2
|
||||
pkgdesc='A system-independent interface for user-level packet capture'
|
||||
arch=(x86_64)
|
||||
url='https://www.tcpdump.org/'
|
||||
license=(BSD)
|
||||
_url=https://github.com/the-tcpdump-group/libpcap
|
||||
license=(BSD-3-Clause)
|
||||
depends=(
|
||||
glibc
|
||||
libnl
|
||||
|
@ -17,17 +18,16 @@ depends=(
|
|||
makedepends=(
|
||||
bluez-libs
|
||||
dbus
|
||||
git
|
||||
)
|
||||
provides=(libpcap.so)
|
||||
source=(https://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz{,.sig})
|
||||
sha512sums=('1f6d6ddd07dae7c557054cb246437ecdaf39d579592a5a6bdf1144eea6cb5a779ac4ca647cfed11ec1b0bb18efc63b845444e497070bacefaaed19a5787ae5e1'
|
||||
'SKIP')
|
||||
b2sums=('05a7eafc1e1817f7844008db89d8fb10cd2525c22f7ee6c9e3d582b14229412f38ccced5e9d80a96dd459ef9eab12eccb5c1dd4978ddc9f66267469212005e4c'
|
||||
'SKIP')
|
||||
source=(git+$_url?signed#tag=$pkgname-$pkgver)
|
||||
sha512sums=('b07d570933ccfc671c66e9355fb84b087dfc144f41e4088c253f544bfbecc71f38aac33ac66b2c0510422381e4c53f2499214e046146a781af050e76b3f774e8')
|
||||
b2sums=('41a719c1eb22f411c133973d8971ff8c4de6d940ceb83acc5bfd9942bf337f12db55315a808caa907cdc7c14d20a7fae9d554aca945f97a0bbeee0b6c0d2f23c')
|
||||
validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ build() {
|
|||
--with-libnl
|
||||
)
|
||||
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
./configure "${configure_options[@]}"
|
||||
make
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ build() {
|
|||
package() {
|
||||
depends+=(libdbus-1.so)
|
||||
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
install -vDm 644 {CHANGES,{CONTRIBUTING,README}.md} -t "$pkgdir/usr/share/doc/$pkgname/"
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm -rf {src,pkg,*.tar.gz*}
|
||||
rm -rf {src,pkg,*.tar.gz*,libpcap}
|
||||
|
|
|
@ -3,3 +3,4 @@ automake
|
|||
autoconf
|
||||
bison
|
||||
|
||||
git
|
||||
|
|
Loading…
Reference in a new issue