Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2014 17:00:02 GMT
From:      Tobias Berner <tcberner@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187259: deskutils/kdepim4 should depend on sysutils/coreutils for md5sum and sha1sum
Message-ID:  <201403041700.s24H02Rs073949@cgiserv.freebsd.org>
Resent-Message-ID: <201403041710.s24HA0ZP097632@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403041700.s24H02Rs073949>