[arch-commits] Commit in tcpflow/trunk (PKGBUILD)
Date: Tuesday, July 7, 2020 @ 16:24:34 Author: felixonmars Revision: 659236 upgpkg: tcpflow 1.5.2-2: reproducibility rebuild Modified: tcpflow/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-07-07 16:24:32 UTC (rev 659235) +++ PKGBUILD2020-07-07 16:24:34 UTC (rev 659236) @@ -4,7 +4,7 @@ pkgname=tcpflow pkgver=1.5.2 -pkgrel=1 +pkgrel=2 pkgdesc="Captures data transmitted as part of TCP connections then stores the data conveniently" arch=('x86_64') url="https://github.com/simsong/tcpflow;
[arch-commits] Commit in tcpflow/trunk (PKGBUILD tcpflow-openssl-1.1.patch)
Date: Wednesday, January 23, 2019 @ 06:01:12 Author: felixonmars Revision: 427096 upgpkg: tcpflow 1.5.2-1 Modified: tcpflow/trunk/PKGBUILD Deleted: tcpflow/trunk/tcpflow-openssl-1.1.patch ---+ PKGBUILD | 18 --- tcpflow-openssl-1.1.patch | 67 2 files changed, 7 insertions(+), 78 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-01-23 06:00:55 UTC (rev 427095) +++ PKGBUILD2019-01-23 06:01:12 UTC (rev 427096) @@ -3,8 +3,8 @@ # Contributor: Jeff Mickey pkgname=tcpflow -pkgver=1.4.5 -pkgrel=4 +pkgver=1.5.2 +pkgrel=1 pkgdesc="Captures data transmitted as part of TCP connections then stores the data conveniently" arch=('x86_64') url="https://github.com/simsong/tcpflow; @@ -14,13 +14,11 @@ source=("git+https://github.com/simsong/$pkgname.git#tag=$pkgname-$pkgver; 'git+https://github.com/simsong/be13_api.git' 'git+https://github.com/simsong/dfxml.git' -'git+https://github.com/joyent/http-parser.git' -tcpflow-openssl-1.1.patch) -md5sums=('SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'bd2f6fd8df59a0e93fde5fcb8098398a') +'git+https://github.com/joyent/http-parser.git') +sha512sums=('SKIP' +'SKIP' +'SKIP' +'SKIP') prepare() { cd $pkgname @@ -30,8 +28,6 @@ git config submodule."src/http-parser".url "$srcdir/http-parser" git submodule update - # Fix build with openssl 1.1 - patch -p1 -i ../tcpflow-openssl-1.1.patch autoreconf -vi } Deleted: tcpflow-openssl-1.1.patch === --- tcpflow-openssl-1.1.patch 2019-01-23 06:00:55 UTC (rev 427095) +++ tcpflow-openssl-1.1.patch 2019-01-23 06:01:12 UTC (rev 427096) @@ -1,67 +0,0 @@ tcpflow/configure.ac.orig 2017-03-07 07:59:04.852848391 + -+++ tcpflow/configure.ac 2017-03-07 07:59:22.136158400 + -@@ -214,7 +214,7 @@ - AC_CHECK_LIB([dl],[dlopen]) dnl apparently OpenSSL now needs -ldl on some Linux - AC_CHECK_LIB([crypto],[EVP_get_digestbyname]) # if crypto is available, get it - AC_CHECK_LIB([md],[MD5])# if libmd is available, get it --AC_CHECK_LIB([ssl],[SSL_library_init],, -+AC_CHECK_LIB([ssl],[SSL_CTX_new],, - AC_MSG_ERROR([OpenSSL developer library 'libssl-dev' or 'openssl-devel' not installed])) - AC_CHECK_FUNCS([MD5_Init EVP_get_digestbyname]) - tcpflow.orig/src/dfxml/src/hash_t.h -+++ tcpflow/src/dfxml/src/hash_t.h -@@ -189,7 +189,7 @@ inline std::string digest_name - - template - class hash_generator__ { /* generates the hash */ --EVP_MD_CTX mdctx; /* the context for computing the value */ -+EVP_MD_CTX* mdctx; /* the context for computing the value */ - bool initialized;/* has the context been initialized? */ - bool finalized; - /* Static function to determine if something is zero */ -@@ -202,21 +202,21 @@ class hash_generator__ { /* generates - public: - int64_t hashed_bytes; - /* This function takes advantage of the fact that different hash functions produce residues with different sizes */ -- hash_generator__():mdctx(),initialized(false),finalized(false),hashed_bytes(0){ } -+ hash_generator__():mdctx(NULL),initialized(false),finalized(false),hashed_bytes(0){ } - ~hash_generator__(){ - release(); - } - void release(){ /* free allocated memory */ - if(initialized){ -- EVP_MD_CTX_cleanup(); -+ EVP_MD_CTX_destroy(mdctx); - initialized = false; - hashed_bytes = 0; - } - } - void init(){ - if(initialized==false){ -- EVP_MD_CTX_init(); -- EVP_DigestInit_ex(, md(), NULL); -+ mdctx = EVP_MD_CTX_create(); -+ EVP_DigestInit_ex(mdctx, md(), NULL); - initialized = true; - finalized = false; - hashed_bytes = 0; -@@ -228,7 +228,7 @@ public: - std::cerr << "hashgen_t::update called after finalized\n"; - exit(1); - } -- EVP_DigestUpdate(,buf,bufsize); -+ EVP_DigestUpdate(mdctx,buf,bufsize); - hashed_bytes += bufsize; - } - hash__ final() { -@@ -242,7 +242,7 @@ public: - } - hash__ val; - unsigned int len = sizeof(val.digest); -- EVP_DigestFinal(,val.digest,); -+ EVP_DigestFinal(mdctx,val.digest,); - finalized = true; - return val; - } -
[arch-commits] Commit in tcpflow/trunk (PKGBUILD)
Date: Friday, November 9, 2018 @ 21:26:59 Author: foutrelis Revision: 404636 PIE/BUILDINFO rebuild Modified: tcpflow/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-11-09 21:26:58 UTC (rev 404635) +++ PKGBUILD2018-11-09 21:26:59 UTC (rev 404636) @@ -4,7 +4,7 @@ pkgname=tcpflow pkgver=1.4.5 -pkgrel=3 +pkgrel=4 pkgdesc="Captures data transmitted as part of TCP connections then stores the data conveniently" arch=('x86_64') url="https://github.com/simsong/tcpflow;
[arch-commits] Commit in tcpflow/trunk (PKGBUILD tcpflow-openssl-1.1.patch)
Date: Tuesday, March 7, 2017 @ 08:08:56 Author: arojas Revision: 215222 openssl 1.1 rebuild Added: tcpflow/trunk/tcpflow-openssl-1.1.patch Modified: tcpflow/trunk/PKGBUILD ---+ PKGBUILD | 14 ++--- tcpflow-openssl-1.1.patch | 67 2 files changed, 77 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-03-07 07:28:17 UTC (rev 215221) +++ PKGBUILD2017-03-07 08:08:56 UTC (rev 215222) @@ -5,21 +5,23 @@ pkgname=tcpflow pkgver=1.4.5 -pkgrel=2 +pkgrel=3 pkgdesc="Captures data transmitted as part of TCP connections then stores the data conveniently" arch=('i686' 'x86_64') url="https://github.com/simsong/tcpflow; license=('GPL') -depends=('libpcap' 'cairo') +depends=('libpcap' 'cairo' 'openssl' 'sqlite') makedepends=('git' 'boost') source=("git+https://github.com/simsong/$pkgname.git#tag=$pkgname-$pkgver; 'git+https://github.com/simsong/be13_api.git' 'git+https://github.com/simsong/dfxml.git' -'git+https://github.com/joyent/http-parser.git') +'git+https://github.com/joyent/http-parser.git' +tcpflow-openssl-1.1.patch) md5sums=('SKIP' 'SKIP' 'SKIP' - 'SKIP') + 'SKIP' + 'bd2f6fd8df59a0e93fde5fcb8098398a') prepare() { cd $pkgname @@ -28,6 +30,10 @@ git config submodule."src/dfxml".url "$srcdir/dfxml" git config submodule."src/http-parser".url "$srcdir/http-parser" git submodule update + + # Fix build with openssl 1.1 + patch -p1 -i ../tcpflow-openssl-1.1.patch + autoreconf -vi } build() { Added: tcpflow-openssl-1.1.patch === --- tcpflow-openssl-1.1.patch (rev 0) +++ tcpflow-openssl-1.1.patch 2017-03-07 08:08:56 UTC (rev 215222) @@ -0,0 +1,67 @@ +--- tcpflow/configure.ac.orig 2017-03-07 07:59:04.852848391 + tcpflow/configure.ac 2017-03-07 07:59:22.136158400 + +@@ -214,7 +214,7 @@ + AC_CHECK_LIB([dl],[dlopen]) dnl apparently OpenSSL now needs -ldl on some Linux + AC_CHECK_LIB([crypto],[EVP_get_digestbyname]) # if crypto is available, get it + AC_CHECK_LIB([md],[MD5])# if libmd is available, get it +-AC_CHECK_LIB([ssl],[SSL_library_init],, ++AC_CHECK_LIB([ssl],[SSL_CTX_new],, + AC_MSG_ERROR([OpenSSL developer library 'libssl-dev' or 'openssl-devel' not installed])) + AC_CHECK_FUNCS([MD5_Init EVP_get_digestbyname]) + +--- tcpflow.orig/src/dfxml/src/hash_t.h tcpflow/src/dfxml/src/hash_t.h +@@ -189,7 +189,7 @@ inline std::string digest_name + + template + class hash_generator__ { /* generates the hash */ +-EVP_MD_CTX mdctx; /* the context for computing the value */ ++EVP_MD_CTX* mdctx; /* the context for computing the value */ + bool initialized;/* has the context been initialized? */ + bool finalized; + /* Static function to determine if something is zero */ +@@ -202,21 +202,21 @@ class hash_generator__ { /* generates + public: + int64_t hashed_bytes; + /* This function takes advantage of the fact that different hash functions produce residues with different sizes */ +- hash_generator__():mdctx(),initialized(false),finalized(false),hashed_bytes(0){ } ++ hash_generator__():mdctx(NULL),initialized(false),finalized(false),hashed_bytes(0){ } + ~hash_generator__(){ + release(); + } + void release(){ /* free allocated memory */ + if(initialized){ +- EVP_MD_CTX_cleanup(); ++ EVP_MD_CTX_destroy(mdctx); + initialized = false; + hashed_bytes = 0; + } + } + void init(){ + if(initialized==false){ +- EVP_MD_CTX_init(); +- EVP_DigestInit_ex(, md(), NULL); ++ mdctx = EVP_MD_CTX_create(); ++ EVP_DigestInit_ex(mdctx, md(), NULL); + initialized = true; + finalized = false; + hashed_bytes = 0; +@@ -228,7 +228,7 @@ public: + std::cerr << "hashgen_t::update called after finalized\n"; + exit(1); + } +- EVP_DigestUpdate(,buf,bufsize); ++ EVP_DigestUpdate(mdctx,buf,bufsize); + hashed_bytes += bufsize; + } + hash__final() { +@@ -242,7 +242,7 @@ public: + } + hash__ val; + unsigned int len = sizeof(val.digest); +- EVP_DigestFinal(,val.digest,); ++ EVP_DigestFinal(mdctx,val.digest,); + finalized = true; + return val; + } +
[arch-commits] Commit in tcpflow/trunk (PKGBUILD)
Date: Sunday, December 6, 2015 @ 20:26:19 Author: foutrelis Revision: 149098 C++11 ABI rebuild Modified: tcpflow/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-12-06 19:25:59 UTC (rev 149097) +++ PKGBUILD2015-12-06 19:26:19 UTC (rev 149098) @@ -5,7 +5,7 @@ pkgname=tcpflow pkgver=1.4.5 -pkgrel=1 +pkgrel=2 pkgdesc="Captures data transmitted as part of TCP connections then stores the data conveniently" arch=('i686' 'x86_64') url="https://github.com/simsong/tcpflow;
[arch-commits] Commit in tcpflow/trunk (PKGBUILD)
Date: Sunday, April 13, 2014 @ 10:56:22 Author: fyan Revision: 109309 upgpkg: tcpflow 1.4.4-1 Modified: tcpflow/trunk/PKGBUILD --+ PKGBUILD | 31 --- 1 file changed, 24 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-04-13 08:35:54 UTC (rev 109308) +++ PKGBUILD2014-04-13 08:56:22 UTC (rev 109309) @@ -1,19 +1,37 @@ # $Id$ -# Maintainer: Chris Brannon cmbranno...@gmail.com +# Maintainer: Felix Yan felixonm...@gmail.com +# Contributor: Chris Brannon cmbranno...@gmail.com # Contributor: Jeff Mickey j...@archlinux.org pkgname=tcpflow -pkgver=1.3.0 +pkgver=1.4.4 pkgrel=1 pkgdesc=Captures data transmitted as part of TCP connections then stores the data conveniently arch=('i686' 'x86_64') url=http://afflib.org/software/tcpflow; license=('GPL') -depends=('gcc-libs' 'libpcap' 'zlib') -source=(https://github.com/simsong/$pkgname/archive/$pkgname-$pkgver.tar.gz;) +depends=('libpcap' 'cairo') +makedepends=('git' 'boost') +source=(git+https://github.com/simsong/$pkgname.git#tag=$pkgname-$pkgver; +'git+https://github.com/simsong/be13_api.git' +'git+https://github.com/simsong/dfxml.git' +'git+https://github.com/joyent/http-parser.git') +md5sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP') +prepare() { + cd $pkgname + git submodule init + git config submodule.src/be13_api.url $srcdir/be13_api + git config submodule.src/dfxml.url $srcdir/dfxml + git config submodule.src/http-parser.url $srcdir/http-parser + git submodule update +} + build() { - cd $srcdir/$pkgname-$pkgname-$pkgver + cd $pkgname sh bootstrap.sh ./configure --prefix=/usr --mandir=/usr/share/man make @@ -20,8 +38,7 @@ } package() { - cd $srcdir/$pkgname-$pkgname-$pkgver + cd $pkgname make DESTDIR=$pkgdir install } -md5sums=('446be6d852bc7ddd0a8d5149f2bddb60')