[arch-commits] Commit in tcpdump/trunk (PKGBUILD PKGBUILD.next)
Levente Polyak
anthraxx at archlinux.org
Wed Sep 6 19:28:43 UTC 2017
Date: Wednesday, September 6, 2017 @ 19:28:42
Author: anthraxx
Revision: 304758
upgpkg: tcpdump 4.9.2-1
Modified:
tcpdump/trunk/PKGBUILD
Deleted:
tcpdump/trunk/PKGBUILD.next
---------------+
PKGBUILD | 40 ++++++++++++++++++++++++----------------
PKGBUILD.next | 32 --------------------------------
2 files changed, 24 insertions(+), 48 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-06 19:08:25 UTC (rev 304757)
+++ PKGBUILD 2017-09-06 19:28:42 UTC (rev 304758)
@@ -1,31 +1,39 @@
# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
# Contributor: dorphell <dorphell at archlinux.org>
pkgname=tcpdump
-pkgver=4.9.1
+pkgver=4.9.2
pkgrel=1
-pkgdesc="A tool for network monitoring and data acquisition"
+pkgdesc='Powerful command-line packet analyzer'
+url='http://www.tcpdump.org/'
arch=('i686' 'x86_64')
-url="http://www.tcpdump.org"
license=('BSD')
-depends=('libpcap' 'openssl')
-source=(http://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz)
-#validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
-sha256sums=('f9448cf4deb2049acf713655c736342662e652ef40dbe0a8f6f8d5b9ce5bd8f3')
+depends=('libpcap' 'libcap-ng' 'openssl')
+#source=("http://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"{,.sig})
+source=("https://sources.archlinux.org/other/packages/tcpdump/${pkgname}-${pkgver}.tar.gz"{,.sig})
+validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D')
+sha256sums=('798b3536a29832ce0cbb07fafb1ce5097c95e308a6f592d14052e1ef1505fe79'
+ 'SKIP')
build() {
- cd $pkgname-$pkgver
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
- ./configure --prefix=/usr \
- --sbindir=/usr/bin
+ make
+}
- make
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
}
package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- rm -f "$pkgdir"/usr/bin/tcpdump.$pkgver
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ rm -f "${pkgdir}"/usr/bin/tcpdump.${pkgver}
}
Deleted: PKGBUILD.next
===================================================================
--- PKGBUILD.next 2017-09-06 19:08:25 UTC (rev 304757)
+++ PKGBUILD.next 2017-09-06 19:28:42 UTC (rev 304758)
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 301192 2017-07-23 23:32:46Z bisson $
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: dorphell <dorphell at archlinux.org>
-
-pkgname=tcpdump
-pkgver=4.9.2
-pkgrel=1
-pkgdesc='Powerful command-line packet analyzer'
-url='http://www.tcpdump.org/'
-arch=('i686' 'x86_64')
-license=('BSD')
-depends=('libpcap' 'openssl')
-source=("http://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"{,.sig})
-validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D')
-sha256sums=('f9448cf4deb2049acf713655c736342662e652ef40dbe0a8f6f8d5b9ce5bd8f3')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- rm -f "${pkgdir}"/usr/bin/tcpdump.${pkgver}
-}
More information about the arch-commits
mailing list