Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions packages/b/bsdiff/abi_used_libs
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
libbz2.so.1.0
libc.so.6
liblzma.so.5
libz.so.1
57 changes: 9 additions & 48 deletions packages/b/bsdiff/abi_used_symbols
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions packages/b/bsdiff/files/implicit-declaration.patch
Original file line number Diff line number Diff line change
@@ -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 <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <err.h>
#include <unistd.h>
#include <fcntl.h>
2 changes: 1 addition & 1 deletion packages/b/bsdiff/monitoring.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
releases:
id: 9891
rss: https://github.com/clearlinux/bsdiff/releases.atom
rss: ~
security:
cpe:
- vendor: daemonology
Expand Down
28 changes: 15 additions & 13 deletions packages/b/bsdiff/package.yml
Original file line number Diff line number Diff line change
@@ -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
42 changes: 12 additions & 30 deletions packages/b/bsdiff/pspec_x86_64.xml
Original file line number Diff line number Diff line change
@@ -1,57 +1,39 @@
<PISI>
<Source>
<Name>bsdiff</Name>
<Homepage>https://github.com/clearlinux/bsdiff</Homepage>
<Homepage>https://www.daemonology.net/bsdiff</Homepage>
<Packager>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
<Name>Evan Maddock</Name>
<Email>maddock.evan@vivaldi.net</Email>
</Packager>
<License>BSD-2-Clause</License>
<License>BSD-Protection</License>
<PartOf>system.utils</PartOf>
<Summary xml:lang="en">bsdiff and bspatch are tools for building and applying patches to binary files.</Summary>
<Description xml:lang="en">bsdiff and bspatch are tools for building and applying patches to binary files. By using suffix sorting (specifically, Larsson and Sadakane&apos;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.
</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive>
</Source>
<Package>
<Name>bsdiff</Name>
<Summary xml:lang="en">bsdiff and bspatch are tools for building and applying patches to binary files.</Summary>
<Description xml:lang="en">bsdiff and bspatch are tools for building and applying patches to binary files. By using suffix sorting (specifically, Larsson and Sadakane&apos;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.
</Description>
<PartOf>system.utils</PartOf>
<Files>
<Path fileType="executable">/usr/bin/bsdiff</Path>
<Path fileType="executable">/usr/bin/bsdump</Path>
<Path fileType="executable">/usr/bin/bspatch</Path>
<Path fileType="library">/usr/lib64/libbsdiff.so.1</Path>
<Path fileType="library">/usr/lib64/libbsdiff.so.1.0.0</Path>
</Files>
</Package>
<Package>
<Name>bsdiff-devel</Name>
<Summary xml:lang="en">Development files for bsdiff</Summary>
<Description xml:lang="en">bsdiff and bspatch are tools for building and applying patches to binary files. By using suffix sorting (specifically, Larsson and Sadakane&apos;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.
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
<Dependency release="6">bsdiff</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/bsdiff.h</Path>
<Path fileType="library">/usr/lib64/libbsdiff.so</Path>
<Path fileType="data">/usr/lib64/pkgconfig/bsdiff.pc</Path>
<Path fileType="data">/usr/share/licenses/bsdiff/LICENSE</Path>
<Path fileType="man">/usr/share/man/man1/bsdiff.1.zst</Path>
<Path fileType="man">/usr/share/man/man1/bspatch.1.zst</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2023-12-23</Date>
<Version>1.0.6</Version>
<Update release="7">
<Date>2026-01-01</Date>
<Version>4.2</Version>
<Comment>Packaging update</Comment>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
<Name>Evan Maddock</Name>
<Email>maddock.evan@vivaldi.net</Email>
</Update>
</History>
</PISI>