Skip to content

Commit

Permalink
alvistack/v3.6.2
Browse files Browse the repository at this point in the history
    git clean -xdf
    autoreconf -i && ./configure && make clean && git clean -xdf
    tar zcvf ../libarchive_3.6.2.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp libarchive.spec ../libarchive_3.6.2-1.spec
    mv ../libarchive*3.6.2*.{gz,xz,spec,dsc} /osc/home\:alvistack/libarchive-libarchive-3.6.2/
    rm -rf ../libarchive*3.6.2*.*

See libarchive#1723

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
  • Loading branch information
hswong3i committed Jul 19, 2023
1 parent ba80276 commit 3769c55
Show file tree
Hide file tree
Showing 17 changed files with 894 additions and 5 deletions.
1 change: 0 additions & 1 deletion build/pkgconfig/libarchive.pc.in
Expand Up @@ -10,4 +10,3 @@ Cflags: -I${includedir}
Cflags.private: -DLIBARCHIVE_STATIC
Libs: -L${libdir} -larchive
Libs.private: @LIBS@
Requires.private: @LIBSREQUIRED@
4 changes: 0 additions & 4 deletions configure.ac
Expand Up @@ -378,7 +378,6 @@ if test "x$with_iconv" != "xno"; then
AC_CHECK_HEADERS([localcharset.h])
am_save_LIBS="$LIBS"
LIBS="${LIBS} ${LIBICONV}"
LIBSREQUIRED="$LIBSREQUIRED${LIBSREQUIRED:+ }iconv"
AC_CHECK_FUNCS([locale_charset])
LIBS="${am_save_LIBS}"
if test "x$ac_cv_func_locale_charset" != "xyes"; then
Expand Down Expand Up @@ -1210,7 +1209,6 @@ fi
if test "x$with_openssl" != "xno"; then
AC_CHECK_HEADERS([openssl/evp.h])
saved_LIBS=$LIBS
LIBSREQUIRED="$LIBSREQUIRED${LIBSREQUIRED:+ }libssl libcrypto"
AC_CHECK_LIB(crypto,OPENSSL_config)
CRYPTO_CHECK(MD5, OPENSSL, md5)
CRYPTO_CHECK(RMD160, OPENSSL, rmd160)
Expand All @@ -1221,8 +1219,6 @@ if test "x$with_openssl" != "xno"; then
AC_CHECK_FUNCS([PKCS5_PBKDF2_HMAC_SHA1])
fi

AC_SUBST(LIBSREQUIRED)

# Probe libmd AFTER OpenSSL/libcrypto.
# The two are incompatible and OpenSSL is more complete.
AC_CHECK_HEADERS([md5.h ripemd.h sha.h sha256.h sha512.h])
Expand Down
9 changes: 9 additions & 0 deletions debian/.gitignore
@@ -0,0 +1,9 @@
*.substvars
*debhelper*
.debhelper
autoreconf.*
files
libarchive-dev
libarchive-tools
libarchive13
tmp
5 changes: 5 additions & 0 deletions debian/changelog
@@ -0,0 +1,5 @@
libarchive (100:3.6.2-1) UNRELEASED; urgency=medium

* https://github.com/libarchive/libarchive/releases/tag/v3.6.2

-- Wong Hoi Sing Edison <hswong3i@pantarei-design.com> Wed, 19 Jul 2023 11:17:18 +0800
136 changes: 136 additions & 0 deletions debian/control
@@ -0,0 +1,136 @@
Source: libarchive
Section: libs
Priority: optional
Standards-Version: 4.5.0
Maintainer: Wong Hoi Sing Edison <hswong3i@gmail.com>
Homepage: https://github.com/libarchive/libarchive/tags
Vcs-Browser: https://github.com/alvistack/libarchive-libarchive
Vcs-Git: https://github.com/alvistack/libarchive-libarchive.git
Build-Depends:
debhelper,
debhelper-compat (= 10),
libacl1-dev,
libbz2-dev,
libext2fs-dev,
liblz4-dev,
liblzma-dev,
libssl-dev,
libxml2-dev,
libzstd-dev,
locales <!nocheck> | locales-all <!nocheck>,
nettle-dev,
pkg-config,
sharutils <!nocheck>,
zlib1g-dev,

Package: libarchive-dev
Section: libdevel
Architecture: amd64
Description: Multi-format archive and compression library (development files)
The libarchive library provides a flexible interface for reading and writing
archives in various formats such as tar and cpio. libarchive also supports
reading and writing archives compressed using various compression filters such
as gzip and bzip2. The library is inherently stream-oriented; readers serially
iterate through the archive, writers serially add things to the archive.
.
Archive formats supported are:
.
* tar (read and write, including GNU extensions)
* pax (read and write, including GNU and star extensions)
* cpio (read and write, including odc and newc variants)
* iso9660 (read and write, including Joliet and Rockridge extensions, with
some limitations)
* zip (read only, with some limitations, uses zlib)
* mtree (read and write)
* shar (write only)
* ar (read and write, including BSD and GNU/SysV variants)
* empty (read only; in particular, note that no other format will accept an
empty file)
* raw (read only)
* xar (read only)
* rar (read only, with some limitations)
* 7zip (read and write, with some limitations)
.
Filters supported are:
.
* gzip (read and write, uses zlib)
* bzip2 (read and write, uses bzlib)
* compress (read and write, uses an internal implementation)
* uudecode (read only)
* separate command-line compressors with fixed-signature auto-detection
* xz and lzma (read and write using liblzma)
* zstandard (read and write using libzstd)
.
This package provides the files necessary for development with libarchive.
Depends:
${shlibs:Depends},
${misc:Depends},
libarchive13 (= ${source:Version}),

Package: libarchive13
Architecture: amd64
Description: Multi-format archive and compression library (shared library)
The libarchive library provides a flexible interface for reading and writing
archives in various formats such as tar and cpio. libarchive also supports
reading and writing archives compressed using various compression filters such
as gzip and bzip2. The library is inherently stream-oriented; readers serially
iterate through the archive, writers serially add things to the archive.
.
Archive formats supported are:
.
* tar (read and write, including GNU extensions)
* pax (read and write, including GNU and star extensions)
* cpio (read and write, including odc and newc variants)
* iso9660 (read and write, including Joliet and Rockridge extensions, with
some limitations)
* zip (read only, with some limitations, uses zlib)
* mtree (read and write)
* shar (write only)
* ar (read and write, including BSD and GNU/SysV variants)
* empty (read only; in particular, note that no other format will accept an
empty file)
* raw (read only)
* xar (read only)
* rar (read only, with some limitations)
* 7zip (read and write, with some limitations)
.
Filters supported are:
.
* gzip (read and write, uses zlib)
* bzip2 (read and write, uses bzlib)
* compress (read and write, uses an internal implementation)
* uudecode (read only)
* separate command-line compressors with fixed-signature auto-detection
* xz and lzma (read and write using liblzma)
* zstandard (read and write using libzstd)
.
This package provides the libarchive shared library.
Depends:
${misc:Depends},
${shlibs:Depends},
Suggests:
lrzip,

Package: libarchive-tools
Architecture: amd64
Section: utils
Description: FreeBSD implementations of 'tar' and 'cpio' and other archive tools
This package contains several command-line tools based on the libarchive
library.
.
The bsdtar program is the default system 'tar' program used on FreeBSD. bsdtar
uses the libarchive library as a backend which does all of the work for reading
and writing archives in various formats.
.
The bsdcpio program is the default system 'cpio' program used on FreeBSD.
bsdcpio uses the libarchive library as a backend which does all of the work for
reading and writing archives in various formats.
.
The bsdcat program reads archived data from files or from its standard input
and uses the libarchive library to decompresses it to its standard output.
It may be used for viewing the contents of archives or for passing it to other
tools for further processing.
Depends:
${misc:Depends},
${shlibs:Depends},
libarchive13 (= ${source:Version}),
21 changes: 21 additions & 0 deletions debian/copyright
@@ -0,0 +1,21 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Files: debian/*
Copyright: 2023 Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
License: Apache-2.0

License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
The complete text of the Apache version 2.0 license
can be found in "/usr/share/common-licenses/Apache-2.0".
6 changes: 6 additions & 0 deletions debian/libarchive-dev.install
@@ -0,0 +1,6 @@
usr/include
usr/lib/*/lib*.a
usr/lib/*/lib*.so
usr/lib/*/pkgconfig/*
usr/share/man/man3/*
usr/share/man/man5/*
4 changes: 4 additions & 0 deletions debian/libarchive-dev.lintian-overrides
@@ -0,0 +1,4 @@
libarchive-dev: copyright-without-copyright-notice
libarchive-dev: groff-message
libarchive-dev: initial-upload-closes-no-bugs
libarchive-dev: zero-byte-file-in-doc-directory
2 changes: 2 additions & 0 deletions debian/libarchive-tools.install
@@ -0,0 +1,2 @@
usr/bin/*
usr/share/man/man1/*
3 changes: 3 additions & 0 deletions debian/libarchive-tools.lintian-overrides
@@ -0,0 +1,3 @@
libarchive-tools: copyright-without-copyright-notice
libarchive-tools: initial-upload-closes-no-bugs
libarchive-tools: zero-byte-file-in-doc-directory
1 change: 1 addition & 0 deletions debian/libarchive13.install
@@ -0,0 +1 @@
usr/lib/*/lib*.so.*
3 changes: 3 additions & 0 deletions debian/libarchive13.lintian-overrides
@@ -0,0 +1,3 @@
libarchive13: copyright-without-copyright-notice
libarchive13: initial-upload-closes-no-bugs
libarchive13: zero-byte-file-in-doc-directory

0 comments on commit 3769c55

Please sign in to comment.