1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

sysutils/sanoid-devel: update to 2.1.0.20230428

Update to a newer snapshot. Fix paths for lzop, mbuffer, pv, and
sudo to use LOCALBASE.

PR:		263027
This commit is contained in:
Torsten Zuehlsdorff
2026-03-23 21:12:27 +01:00
parent 2a8121a730
commit 5941ff7c6a
3 changed files with 11 additions and 9 deletions
+6 -4
View File
@@ -1,6 +1,5 @@
PORTNAME= sanoid
PORTVERSION= 1.0.0.20191105
PORTREVISION= 0
DISTVERSION= 2.1.0-20230428
CATEGORIES= sysutils
PKGNAMESUFFIX= -devel
@@ -21,7 +20,7 @@ USES= shebangfix perl5
USE_GITHUB= yes
GH_ACCOUNT= jimsalterjrs
GH_TAGNAME= 45d0898
GH_TAGNAME= 55c5e0e
USE_PERL5= run
SHEBANG_FILES= findoid sanoid sleepymutex syncoid
@@ -36,7 +35,10 @@ post-patch:
@${REINPLACE_CMD} -i '' -e 's|/etc/sanoid|${PREFIX}/etc/sanoid|' \
${WRKSRC}/sanoid
@${REINPLACE_CMD} -i '' \
-e 's|:/bin:/usr/bin:/sbin|:${PREFIX}/bin:/bin:/usr/bin:/sbin|' \
-e 's|/usr/bin/lzop|${LOCALBASE}/bin/lzop|' \
-e 's|/usr/bin/mbuffer|${LOCALBASE}/bin/mbuffer|' \
-e 's|/usr/bin/pv|${LOCALBASE}/bin/pv|' \
-e 's|/usr/bin/sudo|${LOCALBASE}/bin/sudo|' \
${WRKSRC}/syncoid
do-install:
+3 -3
View File
@@ -1,3 +1,3 @@
TIMESTAMP = 1573002145
SHA256 (jimsalterjrs-sanoid-1.0.0.20191105-45d0898_GH0.tar.gz) = 7c34080632e54814b01bcb9cc52247f0a1f5dfdc68daf07e397291fa47743c5e
SIZE (jimsalterjrs-sanoid-1.0.0.20191105-45d0898_GH0.tar.gz) = 116208
TIMESTAMP = 1683094701
SHA256 (jimsalterjrs-sanoid-2.1.0-20230428-55c5e0e_GH0.tar.gz) = b31601ae66b67d2b8db369ebf88af60e97ea7132079dbd2c67fa2bcf604c1c2d
SIZE (jimsalterjrs-sanoid-2.1.0-20230428-55c5e0e_GH0.tar.gz) = 76222
+2 -2
View File
@@ -3,12 +3,12 @@
type: install
message: <<EOD
Sanoid requires additional configuration in the ${PREFIX}/etc/sanoid/sanoid.conf
Sanoid requires additional configuration in the ${PREFIX}/etc/sanoid/sanoid.conf
file.
A sample has been installed in ${PREFIX}/etc/sanoid/sanoid.conf.sample and
additional documentation can be found at the sanoid master site:
https://github.com/jimsalterjrs/sanoid
EOD