On Sat, Aug 21, 2010 at 12:50 PM, Adam Hani Schakaki <arch@krzd.net> wrote:
On Sun, 22 Aug 2010 01:37:33 +0800 Ray Rashif <schivmeister@gmail.com> wrote:
On 22 August 2010 00:56, Adam Hani Schakaki <arch@krzd.net> wrote:
I need to find a way to get the md5 hash sums.
You just need to use makepkg -s to generate them: But of course, you need to verify that your own download is sane, else, you will be distributing the wrong checksums. Not to worry, as long as your download completed fine I would say there is no need to check with an upstream hash file.
-- GPG/PGP ID: B42DDCAD Sure, this would be the normal way. But I need two different sets of hash sums. One for the 32bits files and one for the 64bits files. That's the problem.
Excerpt of the current PKGBUILD: _source_x86_64=( ${_srcurl}_64/${_ooobasis}-${_intver}.x86_64.rpm ${_srcurl}_64/${_ooobasis}-base-${_intver}.x86_64.rpm ${_srcurl}_64/${_ooobasis}-binfilter-${_intver}.x86_64.rpm ${_srcurl}_64/${_ooobasis}-calc-${_intver}.x86_64.rpm ${_srcurl}_64/${_ooobasis}-draw-${_intver}.x86_64.rpm ${_srcurl}_64/${_ooobasis}-help-${_intver}.x86_64.rpm ${_srcurl}_64/${_ooobasis}-impress-${_intver}.x86_64.rpm ${_srcurl}_64/${_ooobasis}-math-${_intver}.x86_64.rpm ${_srcurl}_64/${_ooobasis}-res-${_intver}.x86_64.rpm ${_srcurl}_64/${_ooobasis}-writer-${_intver}.x86_64.rpm ${_srcurl}_64/3.2.1/openoffice.org3-af-${_intver}.x86_64.rpm ) _source_x86=( ${_srcurl}/${_ooobasis}-${_intver}.i586.rpm ${_srcurl}/${_ooobasis}-base-${_intver}.i586.rpm ${_srcurl}/${_ooobasis}-binfilter-${_intver}.i586.rpm ${_srcurl}/${_ooobasis}-calc-${_intver}.i586.rpm ${_srcurl}/${_ooobasis}-draw-${_intver}.i586.rpm ${_srcurl}/${_ooobasis}-help-${_intver}.i586.rpm ${_srcurl}/${_ooobasis}-impress-${_intver}.i586.rpm ${_srcurl}/${_ooobasis}-math-${_intver}.i586.rpm ${_srcurl}/${_ooobasis}-res-${_intver}.i586.rpm ${_srcurl}/${_ooobasis}-writer-${_intver}.i586.rpm ${_srcurl}/3.2.1/openoffice.org3-af-${_intver}.i586.rpm )
_md5sums_x86_64=() _md5sums_x86=() source=(${_source_x86[@]}) md5sums=(${_md5sums_x86[@]})
Adam Hani Schakaki
What are the differences between the two arch packages? Do they contain any arch dependent files?