Skip to content

Commit dd72844

Browse files
committed
Merge branch 'develop'
2 parents 1374f06 + 3e8ffe4 commit dd72844

File tree

17 files changed

+112
-57
lines changed

17 files changed

+112
-57
lines changed

.github/workflows/deb-build.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ jobs:
1616
arch:
1717
- amd64
1818
target:
19-
- "debian:stretch"
2019
- "debian:buster"
2120
- "debian:bullseye"
22-
- "ubuntu:xenial"
21+
- "ubuntu:jammy"
2322
- "ubuntu:bionic"
2423
- "ubuntu:focal"
2524

@@ -40,7 +39,7 @@ jobs:
4039
export DIRNAME=`echo ${{ matrix.target }} | tr ':' '_'`
4140
./run-tests.sh ${DIRNAME}
4241
- name: Publish packages to cloudsmith
43-
uses: wanduow/action-cloudsmith-upload-packages@v1
42+
uses: wandnz/action-cloudsmith-upload-packages@v1.6
4443
with:
4544
path: packages/
4645
repo: ${{ secrets.CLOUDSMITH_OWNER }}/libwandio

.github/workflows/rpm-build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
target:
1919
- "centos:7"
2020
- "fedora:35"
21-
- "fedora:34"
22-
- "rockylinux:8.5"
23-
- "almalinux:8.5"
21+
- "fedora:36"
22+
- "rockylinux:8.6"
23+
- "rockylinux:9.0"
2424

2525

2626
steps:
@@ -40,7 +40,7 @@ jobs:
4040
export DIRNAME=`echo ${{ matrix.target }} | tr ':' '_'`
4141
./run-tests-rpm.sh ${DIRNAME}
4242
- name: Publish packages to cloudsmith
43-
uses: wanduow/action-cloudsmith-upload-packages@v1
43+
uses: salcock/action-cloudsmith-upload-packages@v1.7
4444
with:
4545
path: packages/
4646
repo: ${{ secrets.CLOUDSMITH_OWNER }}/libwandio

AUTHORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ The original authors of libwandio were:
22
* Perry Lorier
33
* Shane Alcock
44

5-
Libwandio is currently maintained by Shane Alcock <salcock@waikato.ac.nz>.
5+
Libwandio is currently maintained by Shane Alcock <shane@alcock.co.nz>.
66

77
Thanks to Alistair King for numerous contributions (including the entirety
88
of the HTTP reader), bug reports and being kind enough to take on the job of

ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
Version 4.2.4
2+
=============
3+
* Debian packaging has been modernised (thanks to Perry Lorier)
4+
* Fix curl handle leaking when re-attempting an HTTP request
5+
* Fix bug in compression method detection based on the suffix of
6+
an output filename
7+
* Replace various outdated macros in configure scripts
8+
19
Version 4.2.3
210
=============
311
Thanks to Mingwei Zhang for some of the fixes in this release

README

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
WANDIO 4.2.3
1+
WANDIO 4.2.4
22

33
---------------------------------------------------------------------------
4-
Copyright (c) 2007-2020 The University of Waikato, Hamilton, New Zealand.
4+
Copyright (c) 2007-2022 The University of Waikato, Hamilton, New Zealand.
55
All rights reserved.
66

7-
This code has been developed by the University of Waikato WAND
7+
This code was originally developed by the University of Waikato WAND
88
research group. For further information please see http://www.wand.net.nz/.
99
---------------------------------------------------------------------------
1010

@@ -26,10 +26,10 @@ WANDIO also improves IO performance by performing compression/decompression in a
2626
separate thread (if pthreads are available).
2727

2828
Documentation for WANDIO and its included tools can be found at
29-
https://github.com/wanduow/wandio/wiki
29+
https://github.com/LibtraceTeam/wandio/wiki
3030

3131
Bugs should be reported by either emailing contact@wand.net.nz or filing
32-
an issue at https://github.com/wanduow/wandio
32+
an issue at https://github.com/LibtraceTeam/wandio
3333

3434
It is licensed under the Lesser GNU General Public License (LGPL) version 3.
3535
Please see the included files COPYING and COPYING.LESSER for details of this

configure.ac

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
# Now you only need to update the version number in two places - below,
44
# and in the README
55

6-
AC_INIT([wandio],[4.2.3],[contact@wand.net.nz],[wandio])
6+
AC_INIT([wandio],[4.2.4],[shane@alcock.co.nz],[wandio])
77

88
WANDIO_MAJOR=4
99
WANDIO_MID=2
10-
WANDIO_MINOR=3
10+
WANDIO_MINOR=4
1111

1212
# OpenSolaris hides libraries like libncurses in /usr/gnu/lib, which is not
1313
# searched by default - add it to LDFLAGS so we at least have a chance of
@@ -50,7 +50,7 @@ AC_CACHE_CHECK([whether the C++ compiler works],
5050
])
5151

5252
# Put all our automake definitions in config.h
53-
AM_CONFIG_HEADER([config.h])
53+
AC_CONFIG_HEADERS([config.h])
5454

5555
# Checks for C and C++ compilers
5656
AC_PROG_CC
@@ -76,7 +76,8 @@ AC_FUNC_REALLOC
7676
AC_C_CONST
7777
AC_C_BIGENDIAN
7878
AC_TYPE_SIZE_T
79-
AC_HEADER_TIME
79+
AC_CHECK_HEADERS_ONCE([sys/time.h])
80+
8081
AC_SYS_LARGEFILE
8182

8283
ADD_INCLS=""
@@ -96,7 +97,7 @@ gcc_PURE
9697
gcc_FORMAT
9798

9899
# Check for libtool
99-
AC_PROG_LIBTOOL
100+
LT_INIT
100101

101102
# Checks for library functions.
102103
AC_PROG_GCC_TRADITIONAL
@@ -106,9 +107,6 @@ AC_PROG_GCC_TRADITIONAL
106107

107108
AC_CHECK_SIZEOF([long int])
108109

109-
110-
# Checks for header files.
111-
AC_HEADER_STDC
112110
AC_CHECK_HEADERS(stddef.h inttypes.h sys/prctl.h)
113111

114112
# Checks for various "optional" libraries
@@ -124,7 +122,7 @@ fi
124122
LIBS=
125123

126124
AC_ARG_WITH([bzip2],
127-
AC_HELP_STRING([--with-bzip2], [build with support for bzip2 compressed files]))
125+
AS_HELP_STRING([--with-bzip2],[build with support for bzip2 compressed files]))
128126

129127
AS_IF([test "x$with_bzip2" != "xno"],
130128
[
@@ -145,7 +143,7 @@ AS_IF([test "x$have_bzip" = "xyes"], [
145143
)
146144

147145
AC_ARG_WITH([zlib],
148-
AC_HELP_STRING([--with-zlib], [build with support for zlib compressed files]))
146+
AS_HELP_STRING([--with-zlib],[build with support for zlib compressed files]))
149147

150148
AS_IF([test "x$with_zlib" != "xno"],
151149
[
@@ -167,7 +165,7 @@ AS_IF([test "x$have_zlib" = "xyes"], [
167165
)
168166

169167
AC_ARG_WITH([lzo],
170-
AC_HELP_STRING([--with-lzo], [build with support for writing lzo compressed files]))
168+
AS_HELP_STRING([--with-lzo],[build with support for writing lzo compressed files]))
171169

172170
AS_IF([test "x$with_lzo" != "xno"],
173171
[
@@ -189,7 +187,7 @@ AS_IF([test "x$have_lzo" = "xyes"], [
189187
)
190188

191189
AC_ARG_WITH([lzma],
192-
AC_HELP_STRING([--with-lzma], [build with support for lzma compressed files]))
190+
AS_HELP_STRING([--with-lzma],[build with support for lzma compressed files]))
193191

194192
AS_IF([test "x$with_lzma" != "xno"],
195193
[
@@ -211,7 +209,7 @@ AS_IF([test "x$have_lzma" = "xyes"], [
211209
)
212210

213211
AC_ARG_WITH([zstd],
214-
AC_HELP_STRING([--with-zstd], [build with support for zstd compressed files]))
212+
AS_HELP_STRING([--with-zstd],[build with support for zstd compressed files]))
215213

216214
AS_IF([test "x$with_zstd" != "xno"],
217215
[
@@ -233,7 +231,7 @@ AS_IF([test "x$have_zstd" = "xyes"], [
233231
)
234232

235233
AC_ARG_WITH([qatzip],
236-
AC_HELP_STRING([--with-qatzip], [build with support for Intel QuickAssist compression]))
234+
AS_HELP_STRING([--with-qatzip],[build with support for Intel QuickAssist compression]))
237235

238236
AS_IF([test "x$with_qatzip" != "xno"],
239237
[
@@ -255,12 +253,12 @@ AS_IF([test "x$have_qatzip" = "xyes"], [
255253
)
256254

257255
AC_ARG_WITH([lz4],
258-
AC_HELP_STRING([--with-lz4], [build with support for lz4 compressed files]))
256+
AS_HELP_STRING([--with-lz4],[build with support for lz4 compressed files]))
259257

260258
AS_IF([test "x$with_lz4" != "xno"],
261259
[
262260
AC_CHECK_LIB(lz4, LZ4F_createDecompressionContext, have_lz4f=yes, have_lz4f=no)
263-
], [have_zstd=no])
261+
], [have_lz4f=no])
264262

265263
AS_IF([test "x$have_lz4f" = "xyes"], [
266264
if test "$ac_cv_lib_lz4_code" != "none required"; then
@@ -291,7 +289,7 @@ AS_IF([test "x$have_lz4f" = "xyes"], [
291289
)
292290

293291
AC_ARG_WITH([http],
294-
AC_HELP_STRING([--with-http], [build with support for reading files over http (using libcurl)]))
292+
AS_HELP_STRING([--with-http],[build with support for reading files over http (using libcurl)]))
295293

296294
AS_IF([test "x$with_http" != "xno"],
297295
[

debian/changelog

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
libwandio1 (4.2.3-2) UNRELEASED; urgency=medium
1+
libwandio1 (4.2.4-1) unstable; urgency=medium
22

3+
* writing: fix bugs with compression method detection based on file
4+
suffix.
5+
* fix leaking of curl handles when an HTTP download is reset by the
6+
remote peer.
37
* Trim trailing whitespace.
48
* debian/rules: Use dh_prep rather than "dh_clean -k".
59
* Use secure URI in Homepage field.
@@ -8,7 +12,7 @@ libwandio1 (4.2.3-2) UNRELEASED; urgency=medium
812
* Remove Section on wandio1-tools, Section on libwandio1 that duplicate
913
source.
1014

11-
-- Perry Lorier <perry@windy.meta.net.nz> Sun, 18 Jul 2021 15:36:18 -0000
15+
-- Shane Alcock <shane@alcock.co.nz> Fri, 21 Oct 2022 09:50:18 +1300
1216

1317
libwandio1 (4.2.3-1) unstable; urgency=medium
1418

debian/control

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Source: libwandio1
22
Priority: optional
3-
Maintainer: Shane Alcock <shane.alcock@waikato.ac.nz>
3+
Maintainer: Shane Alcock <shane@alcock.co.nz>
44
Build-Depends: debhelper-compat (= 12),
55
dh-autoreconf,
66
zlib1g-dev, liblzma-dev, libbz2-dev,
77
liblzo2-dev, libcurl4-openssl-dev, liblz4-dev (>= 0.0~r131),
88
libzstd1-dev | libzstd-dev (>= 1)
99
Standards-Version: 4.1.3
1010
Section: libs
11-
Homepage: https://research.wand.net.nz/software/libwandio.php
11+
Homepage: https://github.com/LibtraceTeam/wandio
1212

1313
Package: wandio1-tools
1414
Architecture: any
@@ -24,8 +24,8 @@ Description: example tools for the libwandio library
2424
tasks where I/O is the limiting factor (most simple trace analysis tasks are
2525
I/O-limited).
2626
.
27-
libwandio is developed by the WAND Network Research Group at Waikato
28-
University, New Zealand.
27+
libwandio was originally developed by the WAND Network Research Group at
28+
Waikato University, New Zealand.
2929

3030
Package: libwandio1
3131
Architecture: any
@@ -37,8 +37,8 @@ Description: multi-threaded file compression and decompression library
3737
where possible resulting in significant performance gains for tasks where I/O
3838
is the limiting factor (most simple trace analysis tasks are I/O-limited).
3939
.
40-
libwandio is developed by the WAND Network Research Group at Waikato
41-
University, New Zealand.
40+
libwandio was originally developed by the WAND Network Research Group at
41+
Waikato University, New Zealand.
4242

4343
Package: libwandio1-dev
4444
Section: libdevel
@@ -57,5 +57,5 @@ Description: development headers for the libwandio library
5757
tasks where I/O is the limiting factor (most simple trace analysis tasks are
5858
I/O-limited).
5959
.
60-
libwandio is developed by the WAND Network Research Group at Waikato
61-
University, New Zealand.
60+
libwandio was originally developed by the WAND Network Research Group at
61+
Waikato University, New Zealand.

debpkg-setup.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export DEBIAN_FRONTEND=noninteractive
88

99
export SOURCENAME=`echo ${GITHUB_REF##*/} | cut -d '-' -f 1`
1010

11+
1112
apt-get update
1213
apt-get install -y equivs devscripts dpkg-dev quilt curl apt-transport-https \
1314
apt-utils ssl-cert ca-certificates gnupg lsb-release debhelper git \
@@ -18,3 +19,9 @@ curl -1sLf 'https://dl.cloudsmith.io/public/wand/libwandio/cfg/setup/bash.deb.sh
1819
apt-get update
1920
apt-get upgrade -y
2021

22+
LSB=`lsb_release -cs`
23+
if [ "${LSB}" == "bionic" ]; then
24+
apt install -y debhelper/${LSB}-backports
25+
fi
26+
27+

lib/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@ libwandio_la_SOURCES=wandio.c ior-peek.c ior-stdio.c ior-thread.c \
7373

7474
AM_CPPFLAGS = @ADD_INCLS@
7575
libwandio_la_LIBADD = @LIBWANDIO_LIBS@
76-
libwandio_la_LDFLAGS=-version-info 6:3:0 @ADD_LDFLAGS@
76+
libwandio_la_LDFLAGS=-version-info 6:4:0 @ADD_LDFLAGS@
7777

0 commit comments

Comments
 (0)