[crux-commits] ports/opt (3.5): rdiff: 2.2.1 -> 2.3.1

crux at crux.nu crux at crux.nu
Fri Jul 10 13:18:37 UTC 2020


commit 9e99f6ac8a5702b3e6debdbb667e992ac24a591f
Author: Danny Rawlins <monster.romster at gmail.com>
Date:   Fri Jul 10 23:18:30 2020 +1000

    rdiff: 2.2.1 -> 2.3.1

diff --git a/rdiff/.signature b/rdiff/.signature
index 781203de6..18e5b15f9 100644
--- a/rdiff/.signature
+++ b/rdiff/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/WKxgQsSMIRO2e/HgiAphhICOHtvZUMwvFkGnMsBuaXfUznCYKxv+e//aXVoXXpNH9gGYU/F8JvsbqgUGj+vUgI=
-SHA256 (Pkgfile) = c048f92d0821f8b73b9597e6aa8311629041737b6ac6a32b3919ff57af7ce656
+RWSE3ohX2g5d/XPgcn6dVdXdcbl681TqTutW4J0U1geJ++sBSkpfyOlcDdYRWj/FJcmuYQpUPJX0/K7eX67VGm3ssSBv7AvrVwI=
+SHA256 (Pkgfile) = c248859db360c0c6195280842257155d5b3262bb57f8a5b246d1038d0c33ad0c
 SHA256 (.footprint) = 062bd0639c689fe4383b3d3d1321dbbed7b2e498ea2db16d4d58f2685da7bf7f
-SHA256 (librsync-v2.2.1.tar.gz) = b5ab8e2092b82b7d7bb9c1dd52e6a77083a89f8ad9b9309da611f490d0b49a71
+SHA256 (librsync-v2.3.1.tar.gz) = dbd7eb643665691bdf4009174461463737b19b4814b789baad62914cabfe4569
diff --git a/rdiff/Pkgfile b/rdiff/Pkgfile
index e42182097..0ec4628a4 100644
--- a/rdiff/Pkgfile
+++ b/rdiff/Pkgfile
@@ -1,26 +1,21 @@
 # Description: Compute and apply signature-based file differences
-# URL:         http://librsync.sourceforge.net/
+# URL:         https://github.com/librsync/librsync
 # Maintainer:  Thomas Penteker, tek at serverop dot de
 # Depends on:  librsync
 
 name=rdiff
-version=2.2.1
+version=2.3.1
 release=1
 source=(https://github.com/librsync/librsync/archive/v$version/librsync-v$version.tar.gz)
 
 build() {
-    cd librsync-$version
-
-    mkdir build
-    cd build
-
-    cmake .. \
+    cmake -Slibrsync-$version -Bbuild \
       -DCMAKE_INSTALL_PREFIX=/usr \
       -DCMAKE_INSTALL_LIBDIR=lib \
       -DCMAKE_BUILD_TYPE=Release
 
-    make
+    cmake --build build
 
-    install -D -m 755 rdiff $PKG/usr/bin/rdiff
-    install -D -m 644 ../doc/rdiff.1 $PKG/usr/share/man/man1/rdiff.1
+    install -D -m 755 build/rdiff $PKG/usr/bin/rdiff
+    install -D -m 644 librsync-$version/doc/rdiff.1 $PKG/usr/share/man/man1/rdiff.1
 }


More information about the crux-commits mailing list