diff --git a/packages/b/bsdiff/abi_used_libs b/packages/b/bsdiff/abi_used_libs index 4a251e8a00b..631aa1dda40 100644 --- a/packages/b/bsdiff/abi_used_libs +++ b/packages/b/bsdiff/abi_used_libs @@ -1,4 +1 @@ -libbz2.so.1.0 libc.so.6 -liblzma.so.5 -libz.so.1 diff --git a/packages/b/bsdiff/abi_used_symbols b/packages/b/bsdiff/abi_used_symbols index 28fdfeec459..d5b653cd6f5 100644 --- a/packages/b/bsdiff/abi_used_symbols +++ b/packages/b/bsdiff/abi_used_symbols @@ -1,60 +1,21 @@ -libbz2.so.1.0:BZ2_bzBuffToBuffCompress -libbz2.so.1.0:BZ2_bzRead -libbz2.so.1.0:BZ2_bzReadClose -libbz2.so.1.0:BZ2_bzReadOpen -libc.so.6:__assert_fail libc.so.6:__libc_start_main -libc.so.6:__printf_chk -libc.so.6:__sprintf_chk libc.so.6:__stack_chk_fail -libc.so.6:calloc -libc.so.6:chmod -libc.so.6:chown +libc.so.6:_exit libc.so.6:close -libc.so.6:ctime -libc.so.6:exit -libc.so.6:fclose -libc.so.6:fdopen -libc.so.6:feof -libc.so.6:ferror -libc.so.6:fopen -libc.so.6:fread +libc.so.6:dup2 +libc.so.6:err +libc.so.6:errx +libc.so.6:execl +libc.so.6:fork libc.so.6:free -libc.so.6:fseek -libc.so.6:fseeko -libc.so.6:fstat -libc.so.6:ftello -libc.so.6:fwrite -libc.so.6:getpid libc.so.6:lseek -libc.so.6:lstat libc.so.6:malloc libc.so.6:memcmp libc.so.6:memcpy libc.so.6:memmove -libc.so.6:memset -libc.so.6:mmap -libc.so.6:munmap libc.so.6:open +libc.so.6:pipe libc.so.6:pread -libc.so.6:pthread_mutex_lock -libc.so.6:pthread_mutex_unlock -libc.so.6:puts -libc.so.6:rename -libc.so.6:rewind -libc.so.6:stat -libc.so.6:strcmp -libc.so.6:strncmp -libc.so.6:unlink +libc.so.6:read +libc.so.6:waitpid libc.so.6:write -liblzma.so.5:lzma_code -liblzma.so.5:lzma_easy_buffer_encode -liblzma.so.5:lzma_end -liblzma.so.5:lzma_stream_decoder -libz.so.1:deflate -libz.so.1:deflateEnd -libz.so.1:deflateInit2_ -libz.so.1:gzclose -libz.so.1:gzdopen -libz.so.1:gzerror -libz.so.1:gzread diff --git a/packages/b/bsdiff/files/implicit-declaration.patch b/packages/b/bsdiff/files/implicit-declaration.patch new file mode 100644 index 00000000000..9992d34570b --- /dev/null +++ b/packages/b/bsdiff/files/implicit-declaration.patch @@ -0,0 +1,11 @@ +diff '--color=auto' -pruN a/bspatch.c b/bspatch.c +--- a/bspatch.c 2004-07-11 14:11:53.000000000 -0400 ++++ b/bspatch.c 2026-01-01 17:51:10.173378724 -0500 +@@ -13,6 +13,7 @@ + + #include + #include ++#include + #include + #include + #include diff --git a/packages/b/bsdiff/monitoring.yaml b/packages/b/bsdiff/monitoring.yaml index 940de54333f..540f07c8bf6 100644 --- a/packages/b/bsdiff/monitoring.yaml +++ b/packages/b/bsdiff/monitoring.yaml @@ -1,6 +1,6 @@ releases: id: 9891 - rss: https://github.com/clearlinux/bsdiff/releases.atom + rss: ~ security: cpe: - vendor: daemonology diff --git a/packages/b/bsdiff/package.yml b/packages/b/bsdiff/package.yml index b2bacf4579d..3e01782c006 100644 --- a/packages/b/bsdiff/package.yml +++ b/packages/b/bsdiff/package.yml @@ -1,25 +1,27 @@ # yaml-language-server: $schema=/usr/share/ypkg/schema/schema.json name : bsdiff -version : 1.0.6 -release : 6 +version : '4.2' +release : 7 source : - - https://github.com/clearlinux/bsdiff/archive/refs/tags/v1.0.6.tar.gz : c11d04d88146acd5cf430a50f137d48ea546467ea48111269d0b3b88e6eea987 -homepage : https://github.com/clearlinux/bsdiff -license : BSD-2-Clause + - https://www.daemonology.net/bsdiff/bsdiff-4.2.tar.gz : 430c8a902cb60fa7e2c9b239b5de78d470911e7018774a98c1ab5b27815e793b +homepage : https://www.daemonology.net/bsdiff +license : BSD-Protection component : system.utils summary : bsdiff and bspatch are tools for building and applying patches to binary files. description: | bsdiff and bspatch are tools for building and applying patches to binary files. By using suffix sorting (specifically, Larsson and Sadakane's qsufsort) and taking advantage of how executable files change, bsdiff routinely produces binary patches 50-80% smaller than those produced by Xdelta, and 15% smaller than those produced by .RTPatch (a commercial patch tool). - This is a fork by the Clear Linux Project. builddeps : - pkgconfig(bzip2) - - pkgconfig(check) - - pkgconfig(liblzma) - - libtool - - valgrind +rundeps : + - bzip2 setup : | - %autogen --disable-static + %patch -p1 -i ${pkgfiles}/implicit-declaration.patch build : | - %make + # The Makefile doesn't do anything, so we have to + # compile the binaries ourselves. + ${CC} bsdiff.c -o bsdiff ${CFLAGS} ${LDFLAGS} -lbz2 + ${CC} bspatch.c -o bspatch ${CFLAGS} ${LDFLAGS} -lbz2 install : | - %make_install + install -Dm00755 bsdiff bspatch -t ${installdir}/usr/bin + install -Dm00644 bsdiff.1 bspatch.1 -t ${installdir}/usr/share/man/man1 + %install_license LICENSE diff --git a/packages/b/bsdiff/pspec_x86_64.xml b/packages/b/bsdiff/pspec_x86_64.xml index 475ee7b863e..11561821060 100644 --- a/packages/b/bsdiff/pspec_x86_64.xml +++ b/packages/b/bsdiff/pspec_x86_64.xml @@ -1,16 +1,15 @@ bsdiff - https://github.com/clearlinux/bsdiff + https://www.daemonology.net/bsdiff - Muhammad Alfi Syahrin - malfisya.dev@hotmail.com + Evan Maddock + maddock.evan@vivaldi.net - BSD-2-Clause + BSD-Protection system.utils bsdiff and bspatch are tools for building and applying patches to binary files. bsdiff and bspatch are tools for building and applying patches to binary files. By using suffix sorting (specifically, Larsson and Sadakane's qsufsort) and taking advantage of how executable files change, bsdiff routinely produces binary patches 50-80% smaller than those produced by Xdelta, and 15% smaller than those produced by .RTPatch (a commercial patch tool). -This is a fork by the Clear Linux Project. https://sources.getsol.us/README.Solus @@ -18,40 +17,23 @@ This is a fork by the Clear Linux Project. bsdiff bsdiff and bspatch are tools for building and applying patches to binary files. bsdiff and bspatch are tools for building and applying patches to binary files. By using suffix sorting (specifically, Larsson and Sadakane's qsufsort) and taking advantage of how executable files change, bsdiff routinely produces binary patches 50-80% smaller than those produced by Xdelta, and 15% smaller than those produced by .RTPatch (a commercial patch tool). -This is a fork by the Clear Linux Project. system.utils /usr/bin/bsdiff - /usr/bin/bsdump /usr/bin/bspatch - /usr/lib64/libbsdiff.so.1 - /usr/lib64/libbsdiff.so.1.0.0 - - - - bsdiff-devel - Development files for bsdiff - bsdiff and bspatch are tools for building and applying patches to binary files. By using suffix sorting (specifically, Larsson and Sadakane's qsufsort) and taking advantage of how executable files change, bsdiff routinely produces binary patches 50-80% smaller than those produced by Xdelta, and 15% smaller than those produced by .RTPatch (a commercial patch tool). -This is a fork by the Clear Linux Project. - - programming.devel - - bsdiff - - - /usr/include/bsdiff.h - /usr/lib64/libbsdiff.so - /usr/lib64/pkgconfig/bsdiff.pc + /usr/share/licenses/bsdiff/LICENSE + /usr/share/man/man1/bsdiff.1.zst + /usr/share/man/man1/bspatch.1.zst - - 2023-12-23 - 1.0.6 + + 2026-01-01 + 4.2 Packaging update - Muhammad Alfi Syahrin - malfisya.dev@hotmail.com + Evan Maddock + maddock.evan@vivaldi.net \ No newline at end of file