View | Details | Raw Unified | Return to bug 235904 | Differences between
and this patch

Collapse All | Expand All

(-)UIDs (-1 / +1 lines)
Lines 550-556 Link Here
550
_pkcs11:*:602:602:daemon:0:0:opencryptoki user:/var/empty:/usr/sbin/nologin
550
_pkcs11:*:602:602:daemon:0:0:opencryptoki user:/var/empty:/usr/sbin/nologin
551
_acme:*:603:603::0:0:ACME client user:/var/empty:/usr/sbin/nologin
551
_acme:*:603:603::0:0:ACME client user:/var/empty:/usr/sbin/nologin
552
# free: 604
552
# free: 604
553
# free: 605
553
_hockeypuck:*:605:605::0:0:hockeypuck pgp keyserver user:/var/empty:/usr/sbin/nologin
554
# free: 606
554
# free: 606
555
# free: 607
555
# free: 607
556
# free: 608
556
# free: 608
(-)GIDs (-1 / +1 lines)
Lines 545-551 Link Here
545
_pkcs11:*:602:
545
_pkcs11:*:602:
546
_acme:*:603:
546
_acme:*:603:
547
# free: 604
547
# free: 604
548
# free: 605
548
_hockeypuck:*:605:
549
# free: 606
549
# free: 606
550
# free: 607
550
# free: 607
551
# free: 608
551
# free: 608
(-)security/Makefile (+1 lines)
Lines 215-220 Link Here
215
    SUBDIR += hitch
215
    SUBDIR += hitch
216
    SUBDIR += hlfl
216
    SUBDIR += hlfl
217
    SUBDIR += hmap
217
    SUBDIR += hmap
218
    SUBDIR += hockeypuck
218
    SUBDIR += honeybadger
219
    SUBDIR += honeybadger
219
    SUBDIR += honggfuzz
220
    SUBDIR += honggfuzz
220
    SUBDIR += hotssh
221
    SUBDIR += hotssh
(-)security/hockeypuck/Makefile (+50 lines)
Line 0 Link Here
1
# Created by: Michiel van Baak <michiel@vanbaak.eu
2
# $FreeBSD$
3
4
PORTNAME=	hockeypuck
5
DISTVERSION=	g20180725
6
CATEGORIES=	security
7
8
MAINTAINER=	michiel@vanbaak.eu
9
COMMENT=	Synchronizing Key Server, a fast OpenPGP keyserver
10
11
LICENSE=	GPLv3+
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
USES=		go
15
16
GO_PKGNAME=	github.com/hockeypuck/server
17
GO_BUILDFLAGS=	-ldflags "-X github.com/hockeypuck/server.version=${PORTVERSION}"
18
GO_TARGET=	github.com/hockeypuck/server/cmd/hockeypuck \
19
		github.com/hockeypuck/server/cmd/hockeypuck-dump \
20
		github.com/hockeypuck/server/cmd/hockeypuck-load \
21
		github.com/hockeypuck/server/cmd/hockeypuck-pbuild
22
23
USE_GITHUB=	yes
24
25
GH_PROJECT=	server
26
GH_TAGNAME=	16d0faf
27
GH_TUPLE=	golang:crypto:24ffb5feb3312a39054178a4b0a4554fc2201248:gocrypto/vendor/golang.org/x/crypto \
28
		BurntSushi:toml:056c9bc7be7190eaa7715723883caffa5f8fa3e4:toml/vendor/github.com/BurntSushi/toml \
29
		carbocation:interpose:50c09d12f8624ab10532f931cb630d0bf5f7c2c7:interpose/vendor/github.com/carbocation/interpose \
30
		julienschmidt:httprouter:8c199fb6259ffc1af525cc3ad52ee60ba8359669:httprouter/vendor/github.com/julienschmidt/httprouter \
31
		lib:pq:93e9980741c9e593411b94e07d5bad8cfb4809db:pq/vendor/github.com/lib/pq \
32
		syndtr:goleveldb:012f65f74744ed62a80abac6e9a8c86e71c2b6fa:goleveldb/vendor/github.com/syndtr/goleveldb \
33
		syndtr:gosnappy:156a073208e131d7d2e212cb749feae7c339e846:gosnappy/vendor/github.com/syndtr/gosnappy \
34
		go-basen:basen:c8826fd23a9b8fee76fd0c3c5ac34a44cc15dc75:basen/vendor/gopkg.in/basen.v1 \
35
		go-errgo:errgo:81357a83344ddd9f7772884874e5622c2a3da21c:errgo/vendor/gopkg.in/errgo.v1 \
36
		go-mgo:mgo:c6a7dce14133ccac2dcac3793f1d6e2ef048503a:mgo/vendor/gopkg.in/mgo.v2 \
37
		go-tomb:tomb:14b3d72120e8d10ea6e6b7f87f7175734b1faab8:tomb/vendor/gopkg.in/tomb.v2 \
38
		hockeypuck:conflux:aa90c9a973df4ce6f26a9a8eda5418d35ef647d2:conflux/vendor/gopkg.in/hockeypuck/conflux.v2 \
39
		hockeypuck:hkp:148cf10d066b925e0331ba77e5b86c65865ba1eb:hkp/vendor/gopkg.in/hockeypuck/hkp.v1 \
40
		hockeypuck:logrus:55eb11d21d2a31a3cc93838241d04800f52e823d:logrus/vendor/gopkg.in/hockeypuck/logrus.v0 \
41
		hockeypuck:mgohkp:315bc3b0e2bb701822b0445b1ebb02ee9a2c0aa9:mgohk/vendor/gopkg.in/hockeypuck/mgohkp.v1 \
42
		hockeypuck:openpgp:24bbf23d26ff51ca7a8e051998a8da67b6043689:openpgp/vendor/gopkg.in/hockeypuck/openpgp.v1 \
43
		hockeypuck:pghkp:098cd7e4f3ec817e44b90dcc2833a84f736f6042:pghkp/vendor/gopkg.in/hockeypuck/pghkp.v1 \
44
45
USE_RC_SUBR=	hockeypuck
46
47
USERS=		_hockeypuck
48
GROUPS=		_hockeypuck
49
50
.include <bsd.port.mk>
(-)security/hockeypuck/distinfo (+37 lines)
Line 0 Link Here
1
TIMESTAMP = 1550709376
2
SHA256 (hockeypuck-server-g20180725-16d0faf_GH0.tar.gz) = e1d4d7f6c5dd8a7bc62dd0464c79cc30db5e7e619e3d4b428b36bddafbf3acb1
3
SIZE (hockeypuck-server-g20180725-16d0faf_GH0.tar.gz) = 217194
4
SHA256 (golang-crypto-24ffb5feb3312a39054178a4b0a4554fc2201248_GH0.tar.gz) = ecc91295529e5c9a54b1fdaf4bd982bca654c296770332716023ce6ef62d4ac2
5
SIZE (golang-crypto-24ffb5feb3312a39054178a4b0a4554fc2201248_GH0.tar.gz) = 864553
6
SHA256 (BurntSushi-toml-056c9bc7be7190eaa7715723883caffa5f8fa3e4_GH0.tar.gz) = d7de08bc388663e38b3a03679c2d8d58b64a9cbe4b6e52add0fb1eda7117d4dd
7
SIZE (BurntSushi-toml-056c9bc7be7190eaa7715723883caffa5f8fa3e4_GH0.tar.gz) = 37110
8
SHA256 (carbocation-interpose-50c09d12f8624ab10532f931cb630d0bf5f7c2c7_GH0.tar.gz) = bdb3276196707eb2493195d84529f5dc8091fad39b12ed8b9cf5fd014fd12c3d
9
SIZE (carbocation-interpose-50c09d12f8624ab10532f931cb630d0bf5f7c2c7_GH0.tar.gz) = 12704
10
SHA256 (julienschmidt-httprouter-8c199fb6259ffc1af525cc3ad52ee60ba8359669_GH0.tar.gz) = 6d18f3d3fb5c385ea5c22ada6b0c4403dd3739dd791cc9fb9b18098548203b56
11
SIZE (julienschmidt-httprouter-8c199fb6259ffc1af525cc3ad52ee60ba8359669_GH0.tar.gz) = 19966
12
SHA256 (lib-pq-93e9980741c9e593411b94e07d5bad8cfb4809db_GH0.tar.gz) = cf17825fc42462a7c2237ed4245c161b8a3283f982561f63c17e7552213ec899
13
SIZE (lib-pq-93e9980741c9e593411b94e07d5bad8cfb4809db_GH0.tar.gz) = 64406
14
SHA256 (syndtr-goleveldb-012f65f74744ed62a80abac6e9a8c86e71c2b6fa_GH0.tar.gz) = a104b6661dd41b7efa5bcb9a4afa55460122a2de06389e609c99306d0261714d
15
SIZE (syndtr-goleveldb-012f65f74744ed62a80abac6e9a8c86e71c2b6fa_GH0.tar.gz) = 129537
16
SHA256 (syndtr-gosnappy-156a073208e131d7d2e212cb749feae7c339e846_GH0.tar.gz) = c580b208ff9f3656536a54a525544ba1974507a8c3982fc924681bc97b8bd5e8
17
SIZE (syndtr-gosnappy-156a073208e131d7d2e212cb749feae7c339e846_GH0.tar.gz) = 10315
18
SHA256 (go-basen-basen-c8826fd23a9b8fee76fd0c3c5ac34a44cc15dc75_GH0.tar.gz) = db494a1414c4b1f20555c40786f8406801c974e30bcef977cbc8cf99814f724d
19
SIZE (go-basen-basen-c8826fd23a9b8fee76fd0c3c5ac34a44cc15dc75_GH0.tar.gz) = 4142
20
SHA256 (go-errgo-errgo-81357a83344ddd9f7772884874e5622c2a3da21c_GH0.tar.gz) = fa5f0947cb1d54c5ce13118992847262344501f4c58cd34c807097c1d12b410c
21
SIZE (go-errgo-errgo-81357a83344ddd9f7772884874e5622c2a3da21c_GH0.tar.gz) = 7289
22
SHA256 (go-mgo-mgo-c6a7dce14133ccac2dcac3793f1d6e2ef048503a_GH0.tar.gz) = 546cad1b39b51b915d87b3ec35811ae09320c5a988a861caf3cc4a817cb8bb0d
23
SIZE (go-mgo-mgo-c6a7dce14133ccac2dcac3793f1d6e2ef048503a_GH0.tar.gz) = 150189
24
SHA256 (go-tomb-tomb-14b3d72120e8d10ea6e6b7f87f7175734b1faab8_GH0.tar.gz) = 1920b356401fdd9675baafb540dcce9ae6a31e05c2b2c1548344fc506cc06c5c
25
SIZE (go-tomb-tomb-14b3d72120e8d10ea6e6b7f87f7175734b1faab8_GH0.tar.gz) = 4053
26
SHA256 (hockeypuck-conflux-aa90c9a973df4ce6f26a9a8eda5418d35ef647d2_GH0.tar.gz) = 62b83b3aafda652cc288dc1b5874406d04568c9ef9a4186705517ab4760b1d2a
27
SIZE (hockeypuck-conflux-aa90c9a973df4ce6f26a9a8eda5418d35ef647d2_GH0.tar.gz) = 365665
28
SHA256 (hockeypuck-hkp-148cf10d066b925e0331ba77e5b86c65865ba1eb_GH0.tar.gz) = 39b42937c58f87e6880ab58249412183d32fb797b2b385065943c3a480482b57
29
SIZE (hockeypuck-hkp-148cf10d066b925e0331ba77e5b86c65865ba1eb_GH0.tar.gz) = 27193
30
SHA256 (hockeypuck-logrus-55eb11d21d2a31a3cc93838241d04800f52e823d_GH0.tar.gz) = 548dbbe68869b7ec179687337158a64c570b57d36161378ebd4b2d497a20918e
31
SIZE (hockeypuck-logrus-55eb11d21d2a31a3cc93838241d04800f52e823d_GH0.tar.gz) = 23877
32
SHA256 (hockeypuck-mgohkp-315bc3b0e2bb701822b0445b1ebb02ee9a2c0aa9_GH0.tar.gz) = 32fb60172b1ac775442e660968d86697360d64ddb4d35d80f515ed00dfdd0de4
33
SIZE (hockeypuck-mgohkp-315bc3b0e2bb701822b0445b1ebb02ee9a2c0aa9_GH0.tar.gz) = 16950
34
SHA256 (hockeypuck-openpgp-24bbf23d26ff51ca7a8e051998a8da67b6043689_GH0.tar.gz) = d0e355de27425b97896084ac40a7b50cae05d70bb68acbd9a25f73a935133e41
35
SIZE (hockeypuck-openpgp-24bbf23d26ff51ca7a8e051998a8da67b6043689_GH0.tar.gz) = 26312
36
SHA256 (hockeypuck-pghkp-098cd7e4f3ec817e44b90dcc2833a84f736f6042_GH0.tar.gz) = b05366e06d791e920d2ff23ec01a58123d6eb37e3445d3b37ce2c161007c91af
37
SIZE (hockeypuck-pghkp-098cd7e4f3ec817e44b90dcc2833a84f736f6042_GH0.tar.gz) = 17541
(-)security/hockeypuck/files/hockeypuck.in (+25 lines)
Line 0 Link Here
1
#!/bin/sh
2
# Created by: Michiel van Baak <michiel@vanbaak.eu>
3
#
4
# $FreeBSD$
5
#
6
# PROVIDE: hockeypuck
7
# REQUIRE: DAEMON
8
9
. /etc/rc.subr
10
11
name="hockeypuck"
12
rcvar=hockeypuck_enable
13
load_rc_config $name
14
15
: ${hockeypuck_enable:=NO}
16
: ${hockeypuck_user="_sks"}
17
: ${hockeypuck_group="_sks"}
18
19
command="/usr/local/bin/hockeypuck"
20
command_args="--config /usr/local/etc/hockeypuck.conf"
21
pidfile="/var/run/hockeypuck.pid"
22
23
start_cmd="/usr/sbin/daemon -f -p ${pidfile} -u ${hockeypuck_user} ${command} ${command_args}"
24
25
run_rc_command "$1"
(-)security/hockeypuck/pkg-descr (+10 lines)
Line 0 Link Here
1
Hockeypuck implements the HKP draft protocol specification,
2
as well as several extensions to the protocol supported by SKS.
3
4
Public key material conforming to RFC 4880 is supported by the keyserver,
5
as are RFC 6637 ECC keys.
6
As-of-yet unsupported key material, such as recent Ed25519 signing keys,
7
may be distributed by Hockeypuck, however Hockeypuck is not able to
8
validate them yet.
9
10
WWW: https://hockeypuck.github.io
(-)security/hockeypuck/pkg-message (+9 lines)
Line 0 Link Here
1
2
Hockeypuck needs a configuration file before it can be used.
3
For more information about configuration details see:
4
https://hockeypuck.github.io/configuration.html
5
6
If this hockeypuck install is to be used in the sks-keyserver.net pools
7
it needs to be populated with a current dump of the keys in the network.
8
For more information on populating the database see:
9
https://hockeypuck.github.io/populating.html
(-)security/hockeypuck/pkg-plist (+4 lines)
Line 0 Link Here
1
bin/hockeypuck
2
bin/hockeypuck-dump
3
bin/hockeypuck-load
4
bin/hockeypuck-pbuild

Return to bug 235904