[crux-commits] ports/opt (3.5): librsync: update to 2.3.1

crux at crux.nu crux at crux.nu
Mon Jul 20 13:37:13 UTC 2020


commit d8b1890e38afbf607a25284a0b06547d39134468
Author: Juergen Daubert <jue at jue.li>
Date:   Mon Jul 20 15:36:27 2020 +0200

    librsync: update to 2.3.1

diff --git a/librsync/.footprint b/librsync/.footprint
index cf89770e6..43e4bb4c1 100644
--- a/librsync/.footprint
+++ b/librsync/.footprint
@@ -4,8 +4,8 @@ drwxr-xr-x	root/root	usr/include/
 -rw-r--r--	root/root	usr/include/librsync_export.h
 drwxr-xr-x	root/root	usr/lib/
 lrwxrwxrwx	root/root	usr/lib/librsync.so -> librsync.so.2
-lrwxrwxrwx	root/root	usr/lib/librsync.so.2 -> librsync.so.2.2.1
--rwxr-xr-x	root/root	usr/lib/librsync.so.2.2.1
+lrwxrwxrwx	root/root	usr/lib/librsync.so.2 -> librsync.so.2.3.1
+-rwxr-xr-x	root/root	usr/lib/librsync.so.2.3.1
 drwxr-xr-x	root/root	usr/share/
 drwxr-xr-x	root/root	usr/share/man/
 drwxr-xr-x	root/root	usr/share/man/man3/
diff --git a/librsync/.signature b/librsync/.signature
index 4722dba21..89b058f34 100644
--- a/librsync/.signature
+++ b/librsync/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/Yvo4SZuDLJIOrSeG1Uv3+xaei5tt1rwWtQGBMkCyy1wE1hlNCU0Cysv5mYQEgaN4XZgjRgy6zuIJ4ab4JWEwQc=
-SHA256 (Pkgfile) = 363d4878e571a9d6c02bb37fb075a36861acd691d28f8708ea7958c35a6917fb
+RWSE3ohX2g5d/XlkUXN7dJ8AI0/4n7n4Oed4/sRR1L7bjQMWXjZyiN1Egd/vrdaPpePkT9zST1rPl6e9gL+Sws6V/cTPVwQJwwU=
+SHA256 (Pkgfile) = f2615c824385d59cd5bf2b9fb0d7a0ef5f0540f8f8fb000ad3d5afda0b557263
 SHA256 (.footprint) = 03a8844b2f8f2f474d1d21b63efb47d1a18cd656a932d5e84c0677c6d4c744a6
-SHA256 (librsync-v2.2.1.tar.gz) = b5ab8e2092b82b7d7bb9c1dd52e6a77083a89f8ad9b9309da611f490d0b49a71
+SHA256 (librsync-v2.3.1.tar.gz) = dbd7eb643665691bdf4009174461463737b19b4814b789baad62914cabfe4569
diff --git a/librsync/Pkgfile b/librsync/Pkgfile
index 402b8f91e..d08528e60 100644
--- a/librsync/Pkgfile
+++ b/librsync/Pkgfile
@@ -4,23 +4,18 @@
 # Depends on: popt cmake
 
 name=librsync
-version=2.2.1
+version=2.3.1
 release=1
 source=(https://github.com/$name/$name/archive/v$version/$name-v$version.tar.gz)
 
 build() {
-    cd $name-$version
+    cmake -S $name-$version -B build\
+      -D CMAKE_INSTALL_PREFIX=/usr \
+      -D CMAKE_INSTALL_LIBDIR=lib \
+      -D CMAKE_BUILD_TYPE=Release
 
-    mkdir build
-    cd build
-
-    cmake .. \
-      -DCMAKE_INSTALL_PREFIX=/usr \
-      -DCMAKE_INSTALL_LIBDIR=lib \
-      -DCMAKE_BUILD_TYPE=Release
-
-    make
-    make DESTDIR=$PKG install
+    cmake --build build
+    DESTDIR=$PKG cmake --install build
 
     rm -r $PKG/usr/share/man/man1
     rm -r $PKG/usr/bin


More information about the crux-commits mailing list