hey, @ajdiaz -
just a heads-up/FYI, looks like the recent ocaml bump in Arch has caused some problems with upstream.
i've filed a bug here: https://bitbucket.org/skskeyserver/sks-keyserver/issues/55/unbound-module-nat-in-cryptokit-on-ocaml
Git Clone URL: | https://aur.archlinux.org/sks.git (read-only) |
---|---|
Package Base: | sks |
Description: | Synchronizing OpenPGP Key Server |
Upstream URL: | https://bitbucket.org/skskeyserver/sks-keyserver/ |
Keywords: | keyserver sks |
Licenses: | |
Submitter: | mortzu |
Maintainer: | ajdiaz |
Last Packager: | ajdiaz |
Votes: | 6 |
Popularity: | 0.000009 |
First Submitted: | 2011-03-02 17:32 |
Last Updated: | 2017-10-13 09:36 |
hey, @ajdiaz -
just a heads-up/FYI, looks like the recent ocaml bump in Arch has caused some problems with upstream.
i've filed a bug here: https://bitbucket.org/skskeyserver/sks-keyserver/issues/55/unbound-module-nat-in-cryptokit-on-ocaml
Thank you @sanerb for the patches and the suggestions. Sorry for delay updating the PKGBUILD.
I added the debian_eventloop fix and your suggestions in systemd services.
additionally, your systemd service units need some work. Both sks-db.service and sks-recon.service need, under [Service]:
RuntimeDirectory=sks
RuntimeDirectoryMode=0755
I'd also throw Group=sks in the same section as well.
But the RuntimeDirectory is needed so systemd creates the /var/run/sks directory on start, and removes it on stop. Otherwise, you get this (IMPOSSIBLE to figure out and UTTERLY unhelpful) error message:
Fatal error: exception Failure("Failure while binding socket. Probably another socket bound to this address")
confirmed the debian patch fixes. updated PKGBUILD:
https://pastebin.com/hZ5DvQaa
File "eventloop.ml", line 133, characters 15-19:
Error: This expression has type ?cloexec:bool -> Unix.file_descr
but an expression was expected of type
Unix.file_descr = Unix.file_descr
make: *** [Makefile:388: eventloop.cmx] Error 2
debian bug confirms: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870150
gentoo bug confirms: https://bugs.gentoo.org/show_bug.cgi?id=625546
there is a patch (which has been proposed upstream), https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=870150;filename=sks.patch;msg=15
Thank you elimpfor for your report. The package release 2 fix the uint32 type error.
Everything should work fine right now.
Getting the following while building:
ocamlc -g -c -ccopt "-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -I/usr/lib/ocaml -I ." stubs-md5.c
stubs-md5.c:21:9: error: unknown type name ‘uint32’
uint32 buf[4];
^~~~~~
stubs-md5.c:22:9: error: unknown type name ‘uint32’
uint32 bits[2];
^~~~~~
make[1]: *** [Makefile:101: stubs-md5.o] Error 2
make[1]: Leaving directory '/home/admin/dd/sks/src/sks-1.1.6/cryptokit-1.7/src'
make: *** [Makefile:292: cryptokit-1.7/src/cr
Package does not build because of invalid GPG signature. The signatured defined in validpgpkeys is not valid for version 1.1.6 [1], instead of that we should use key C90EF1430B3AC0DFD00E6EA541259773973A612A.
[1] https://lists.gnupg.org/pipermail/gnupg-users/2016-August/056398.html
Doesn't build. Not only is the upstream link broken and reported here: https://bitbucket.org/skskeyserver/sks-keyserver/issue/2/use-of-deprecated-operator-or it also contains linkage errors searching for Berkeley DB 4.6. Use SKS-HG instead found here: https://aur.archlinux.org/packages/sks-hg/
Problem seems to be solved in upstream.
The package is broken for me.
Error: Some fatal warnings were triggered (1 occurrences)
Makefile:386: recipe for target 'mArray.cmx' failed
make: *** [mArray.cmx] Error 2
==> ERROR: A failure occurred in build().
Aborting...
There is a bug in .service files for systemd. The "Type=fork" line must be "Type=simple" because the process stay in front.
And is a good idea add "TimeoutSec=300" for provide a reasonable time for startup and shutdown... ;)
updated. next I'll provide a systemd service file
orphan'd
update or orphan
Thanks for the update, but version 1.1.4 has just been released. :-/
Just updated it, thanks for the info!
sks_1.1.3-1ubuntu2.debian.tar.gz -> sks_1.1.3-1ubuntu3.debian.tar.gz, new md5sum is 274a4045df054c4f65216eeb283d0cb7
Cheers
I updated sks to version 1.1.3 and got it to build:
http://ompldr.org/vZWh2Yg/sks-1.1.3-1.src.tar.gz
Note that I didn't test this so you should double check my work.
The package needs to updated to SKS version 1.1.3 by 1 August 2012 for continued participation in the keyservers pool, per Kristian Fiskerstrand, 24 June 2012. The current source may be found at https://bitbucket.org/yminsky/sks-keyserver/downloads (it is no longer on Google Code) and the cryptokit stuff will need to be fixed for it to work.
its currently a hakish PKGBUILD...but it seems to work.
should be hopefully fixed.
http://f.h-ix.net/sks_web.tar.gz
wget: unable to resolve host address «f.h-ix.net»
worksforme
I get the following error when building sks: http://pastebin.com/TsnAjHwD
done. thanks
Thanks for PKGBUILD.
Please, add `mkdir /var/spool/sks && chown sks:sks /var/spool/sks` to install script.
This directory is required for reconcillation (SKS stores dif files there).
some changes needed to get this working:
1.) currently due to https://bitbucket.org/skskeyserver/sks-keyserver/issues/55/unbound-module-nat-in-cryptokit-on-ocaml it only works with ocaml 4.05.
Install agetpkg, then:
2.) This is also required for sks-recon.service (as root user):