ports/187259: deskutils/kdepim4 should depend on sysutils/coreutils for md5sum and sha1sum
Tobias Berner
tcberner at gmail.com
Tue Mar 4 17:10:00 UTC 2014
>Number: 187259
>Category: ports
>Synopsis: deskutils/kdepim4 should depend on sysutils/coreutils for md5sum and sha1sum
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 04 17:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Tobias Berner
>Release: 11.0-CURRENT
>Organization:
-
>Environment:
FreeBSD noxon.firefly 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r262568: Thu Feb 27 20:22:02 CET 2014 Tobias at noxon.firefly:/usr/obj/storage/usr/src/sys/NOXON amd64
>Description:
kleopatra uses the md5sum and sha1sum programs. Unfortunately the way they are used is not compatible with the corresponding FreeBSD programs md5 and sha1.
from man page:
-c, --check
read MD5 sums from the FILEs and check them
>How-To-Repeat:
>Fix:
An easy fix is to add sysutils/coreutils as a dependency and use gmd5sum and gsha1sum.
#### patch to Makefile to add gmd5sum as run dependency
--- Makefile.orig 2014-03-04 17:51:20.000000000 +0100
+++ Makefile 2014-03-04 17:40:10.000000000 +0100
@@ -17,7 +17,8 @@
libgrantlee_gui.so:${PORTSDIR}/devel/grantlee \
libclucene-core.so:${PORTSDIR}/textproc/clucene \
liblink-grammar.so:${PORTSDIR}/textproc/link-grammar
-RUN_DEPENDS= ${KDE4_PREFIX}/bin/accountwizard:${PORTSDIR}/deskutils/kdepim4-runtime
+RUN_DEPENDS= ${KDE4_PREFIX}/bin/accountwizard:${PORTSDIR}/deskutils/kdepim4-runtime \
+ ${LOCALBASE}/bin/gmd5sum:${PORTSDIR}/sysutils/coreutils
CONFLICTS_INSTALL= kdepim44-4.*
#### EOF
#### patch to desktop file to change binary name
--- ./libkleo/libkleopatrarc.desktop.orig 2014-03-04 17:36:40.000000000 +0100
+++ ./libkleo/libkleopatrarc.desktop 2014-03-04 17:41:36.000000000 +0100
@@ -195,8 +195,8 @@
Name[x-test]=xxsha1sumxx
Name[zh_CN]=sha1sum
Name[zh_TW]=sha1sum
-create-command=0|xargs -0 sha1sum --
-verify-command=sha1sum -c --
+create-command=0|xargs -0 gsha1sum --
+verify-command=gsha1sum -c --
[Checksum Definition #2]
file-patterns=md5sum.txt
@@ -248,8 +248,8 @@
Name[x-test]=xxmd5sumxx
Name[zh_CN]=md5sum
Name[zh_TW]=md5sum
-create-command=0|xargs -0 md5sum --
-verify-command=md5sum -c --
+create-command=0|xargs -0 gmd5sum --
+verify-command=gmd5sum -c --
[Key Filter #0]
was-validated=false
#### EOF
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list