Compare commits
40 Commits
a97e82ec24
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| d790b9ed33 | |||
| f8dbaa22a0 | |||
| fb9bdce10a | |||
| ba38a2457f | |||
| afc6047814 | |||
| 7acb408e7d | |||
| 52d3f86b37 | |||
| 45d4e085cc | |||
| 0cf431dc97 | |||
| 7bc33a4aa5 | |||
| bc51ad4da5 | |||
| f8c2133b44 | |||
| f014c8afd9 | |||
| 71e43c341a | |||
| 7cde189318 | |||
| d7e134245c | |||
| fbf86c8f34 | |||
| 93f2480ef0 | |||
| afb8ac49b7 | |||
| 8befa9b010 | |||
| cff784a9d4 | |||
| 73d6aff554 | |||
| f1eb64b7f5 | |||
| abd4351249 | |||
| ec7155349f | |||
| fd4655d957 | |||
| 6dab8b2f18 | |||
| ee90a418d6 | |||
| 66b22f147f | |||
| a181190b3f | |||
| a2e43778b8 | |||
| 88e7ad955a | |||
| e23dca4a8c | |||
| b76a177d9f | |||
| 6ee87e0e92 | |||
| 384e9cd3fc | |||
| f75d65c04c | |||
| f0d8f5a3f2 | |||
| d1739433ef | |||
| 3b54995a82 |
@ -1,143 +0,0 @@
|
||||
PORTNAME= etcd
|
||||
PORTVERSION= 3.5.18
|
||||
DISTVERSIONPREFIX= v
|
||||
#PORTREVISION= 25
|
||||
CATEGORIES= devel
|
||||
PKGNAMEPREFIX= coreos-
|
||||
#PKGNAMESUFFIX= 34
|
||||
|
||||
MAINTAINER= kiwi@oav.net
|
||||
COMMENT= Highly-available key value store and service discovery
|
||||
WWW= https://github.com/coreos/etcd
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= cpe go:1.21,modules
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= coreos
|
||||
GH_TUPLE= \
|
||||
beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
|
||||
bgentry:speakeasy:v0.1.0:bgentry_speakeasy/vendor/github.com/bgentry/speakeasy \
|
||||
cenkalti:backoff:v4.2.1:cenkalti_backoff_v4/vendor/github.com/cenkalti/backoff/v4 \
|
||||
cespare:xxhash:v2.2.0:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
|
||||
cheggaaa:pb:v1.0.28:cheggaaa_pb/vendor/gopkg.in/cheggaaa/pb.v1 \
|
||||
coreos:go-semver:v0.3.0:coreos_go_semver/vendor/github.com/coreos/go-semver \
|
||||
coreos:go-systemd:v22.3.2:coreos_go_systemd_v22/vendor/github.com/coreos/go-systemd/v22 \
|
||||
dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
|
||||
etcd-io:bbolt:v1.3.10:etcd_io_bbolt/vendor/go.etcd.io/bbolt \
|
||||
etcd-io:etcd:v3.6.0-alpha.0:etcd_io_etcd/go.etcd.io/etcd/api/v3 \
|
||||
etcd-io:etcd:v3.6.0-alpha.0:etcd_io_etcd_11/go.etcd.io/etcd/etcdutl/v3 \
|
||||
etcd-io:etcd:v3.6.0-alpha.0:etcd_io_etcd_12/go.etcd.io/etcd/pkg/v3 \
|
||||
etcd-io:etcd:v3.6.0-alpha.0:etcd_io_etcd_14/go.etcd.io/etcd/raft/v3 \
|
||||
etcd-io:etcd:v3.6.0-alpha.0:etcd_io_etcd_17/go.etcd.io/etcd/server/v3 \
|
||||
etcd-io:etcd:v3.6.0-alpha.0:etcd_io_etcd_2/go.etcd.io/etcd/client/pkg/v3 \
|
||||
etcd-io:etcd:v3.6.0-alpha.0:etcd_io_etcd_6/go.etcd.io/etcd/client/v3 \
|
||||
etcd-io:etcd:v3.6.0-alpha.0:etcd_io_etcd_8/go.etcd.io/etcd/etcdctl/v3 \
|
||||
etcd-io:etcd:v3.5.15:etcd_io_etcd_10 \
|
||||
etcd-io:etcd:v3.5.15:etcd_io_etcd_13 \
|
||||
etcd-io:etcd:v3.5.15:etcd_io_etcd_15 \
|
||||
etcd-io:etcd:v3.5.15:etcd_io_etcd_16 \
|
||||
etcd-io:etcd:v3.5.15:etcd_io_etcd_19 \
|
||||
etcd-io:etcd:v3.5.15:etcd_io_etcd_1 \
|
||||
etcd-io:etcd:v3.5.15:etcd_io_etcd_3 \
|
||||
etcd-io:etcd:v3.5.15:etcd_io_etcd_7 \
|
||||
etcd-io:etcd:v3.5.15:etcd_io_etcd_9 \
|
||||
etcd-io:etcd:v3.6.0-alpha.0:etcd_io_etcd_4/go.etcd.io/etcd/client/v2 \
|
||||
go-logr:logr:v1.3.0:go_logr_logr/vendor/github.com/go-logr/logr \
|
||||
go-logr:stdr:v1.2.2:go_logr_stdr/vendor/github.com/go-logr/stdr \
|
||||
go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
|
||||
gogo:protobuf:v1.3.2:gogo_protobuf/vendor/github.com/gogo/protobuf \
|
||||
golang-jwt:jwt:v4.4.2:golang_jwt_jwt_v4/vendor/github.com/golang-jwt/jwt/v4 \
|
||||
golang:crypto:v0.21.0:golang_crypto/vendor/golang.org/x/crypto \
|
||||
golang:groupcache:41bb18bfe9da:golang_groupcache/vendor/github.com/golang/groupcache \
|
||||
golang:net:v0.23.0:golang_net/vendor/golang.org/x/net \
|
||||
golang:protobuf:v1.5.4:golang_protobuf/vendor/github.com/golang/protobuf \
|
||||
golang:sys:v0.18.0:golang_sys/vendor/golang.org/x/sys \
|
||||
golang:text:v0.14.0:golang_text/vendor/golang.org/x/text \
|
||||
golang:time:f8bda1e9f3ba:golang_time/vendor/golang.org/x/time \
|
||||
google:btree:v1.0.1:google_btree/vendor/github.com/google/btree \
|
||||
google:go-genproto:b8732ec3820d:google_go_genproto/vendor/google.golang.org/genproto \
|
||||
gorilla:websocket:v1.4.2:gorilla_websocket/vendor/github.com/gorilla/websocket \
|
||||
grpc-ecosystem:go-grpc-middleware:v1.3.0:grpc_ecosystem_go_grpc_middleware/vendor/github.com/grpc-ecosystem/go-grpc-middleware \
|
||||
grpc-ecosystem:go-grpc-prometheus:v1.2.0:grpc_ecosystem_go_grpc_prometheus/vendor/github.com/grpc-ecosystem/go-grpc-prometheus \
|
||||
grpc-ecosystem:grpc-gateway:v1.16.0:grpc_ecosystem_grpc_gateway/vendor/github.com/grpc-ecosystem/grpc-gateway \
|
||||
grpc-ecosystem:grpc-gateway:v2.16.0:grpc_ecosystem_grpc_gateway_v2/vendor/github.com/grpc-ecosystem/grpc-gateway/v2 \
|
||||
grpc:grpc-go:v1.59.0:grpc_grpc_go/vendor/google.golang.org/grpc \
|
||||
inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
|
||||
jonboulle:clockwork:v0.2.2:jonboulle_clockwork/vendor/github.com/jonboulle/clockwork \
|
||||
json-iterator:go:v1.1.11:json_iterator_go/vendor/github.com/json-iterator/go \
|
||||
kubernetes-sigs:yaml:v1.2.0:kubernetes_sigs_yaml/vendor/sigs.k8s.io/yaml \
|
||||
mattn:go-colorable:v0.1.11:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
|
||||
mattn:go-runewidth:v0.0.9:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
|
||||
matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
|
||||
modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/modern-go/concurrent \
|
||||
modern-go:reflect2:v1.0.1:modern_go_reflect2/vendor/github.com/modern-go/reflect2 \
|
||||
natefinch:lumberjack:v2.0.0:natefinch_lumberjack/vendor/gopkg.in/natefinch/lumberjack.v2 \
|
||||
olekukonko:tablewriter:v0.0.5:olekukonko_tablewriter/vendor/github.com/olekukonko/tablewriter \
|
||||
open-telemetry:opentelemetry-go-contrib:instrumentation/google.golang.org/grpc/otelgrpc/v0.46.0:open_telemetry_opentelemetry_go_contrib/vendor/go.opentelemetry.io/contrib \
|
||||
open-telemetry:opentelemetry-go:v1.20.0:open_telemetry_opentelemetry_go/vendor/go.opentelemetry.io/otel \
|
||||
open-telemetry:opentelemetry-proto-go:v1.0.0:open_telemetry_opentelemetry_proto_go/vendor/go.opentelemetry.io/proto/otlp \
|
||||
prometheus:client_golang:v1.11.1:prometheus_client_golang/vendor/github.com/prometheus/client_golang \
|
||||
prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \
|
||||
prometheus:common:v0.26.0:prometheus_common/vendor/github.com/prometheus/common \
|
||||
prometheus:procfs:v0.6.0:prometheus_procfs/vendor/github.com/prometheus/procfs \
|
||||
protocolbuffers:protobuf-go:v1.33.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
|
||||
sirupsen:logrus:v1.9.3:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
|
||||
soheilhy:cmux:v0.1.5:soheilhy_cmux/vendor/github.com/soheilhy/cmux \
|
||||
spf13:cobra:v1.1.3:spf13_cobra/vendor/github.com/spf13/cobra \
|
||||
spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \
|
||||
tmc:grpc-websocket-proxy:e5319fda7802:tmc_grpc_websocket_proxy/vendor/github.com/tmc/grpc-websocket-proxy \
|
||||
uber-go:atomic:v1.7.0:uber_go_atomic/vendor/go.uber.org/atomic \
|
||||
uber-go:multierr:v1.6.0:uber_go_multierr/vendor/go.uber.org/multierr \
|
||||
uber-go:zap:v1.17.0:uber_go_zap/vendor/go.uber.org/zap \
|
||||
xiang90:probing:43a291ad63a2:xiang90_probing/vendor/github.com/xiang90/probing
|
||||
|
||||
#etcd-io:etcd:v3.0.0-00010101000000-000000000000:etcd_io_etcd_18/go.etcd.io/etcd/tests/v3 \
|
||||
#etcd-io:etcd:v2.306.0-alpha.0:etcd_io_etcd_4/go.etcd.io/etcd/client/v2 \
|
||||
#etcd-io:etcd:v2.305.15:etcd_io_etcd_5 \
|
||||
|
||||
GO_PKGNAME= github.com/coreos/etcd
|
||||
GO_TARGET= ./server ./etcdctl ./etcdutl
|
||||
|
||||
CONFLICTS_INSTALL= coreos-etcd[0-9][0-9]
|
||||
|
||||
PLIST_FILES= bin/etcd \
|
||||
bin/etcdctl
|
||||
PORTDOCS= README.md
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
DOCS_DESC= Install etcd README file
|
||||
|
||||
#pre-patch:
|
||||
# ${RM} ${WRKSRC}/vendor/modules.txt
|
||||
# ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
|
||||
# ${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
|
||||
|
||||
post-extract:
|
||||
${RLN} ${WRKSRC_etcd_io_etcd_1} ${WRKSRC}/api
|
||||
#${RLN} ${WRKSRC_etcd_io_etcd} ${WRKSRC}/api
|
||||
${RLN} ${WRKSRC_etcd_io_etcd_3} ${WRKSRC}/client/pkg
|
||||
#${RLN} ${WRKSRC_etcd_io_etcd_2} ${WRKSRC}/client/pkg
|
||||
#${RLN} ${WRKSRC_etcd_io_etcd_4} ${WRKSRC}/client/v2
|
||||
#${RLN} ${WRKSRC_etcd_io_etcd_5} ${WRKSRC}/client/v2
|
||||
${RLN} ${WRKSRC_etcd_io_etcd_7} ${WRKSRC}/client/v3
|
||||
#${RLN} ${WRKSRC_etcd_io_etcd_6} ${WRKSRC}/client/v3
|
||||
${RLN} ${WRKSRC_etcd_io_etcd_9} ${WRKSRC}/etcdctl
|
||||
#${RLN} ${WRKSRC_etcd_io_etcd_8} ${WRKSRC}/etcdctl
|
||||
#${RLN} ${WRKSRC_etcd_io_etcd_11} ${WRKSRC}/etcdutl
|
||||
${RLN} ${WRKSRC_etcd_io_etcd_10} ${WRKSRC}/etcdutl
|
||||
${RLN} ${WRKSRC_etcd_io_etcd_13} ${WRKSRC}/pkg
|
||||
#${RLN} ${WRKSRC_etcd_io_etcd_12} ${WRKSRC}/pkg
|
||||
${RLN} ${WRKSRC_etcd_io_etcd_15} ${WRKSRC}/raft
|
||||
#${RLN} ${WRKSRC_etcd_io_etcd_14} ${WRKSRC}/raft
|
||||
${RLN} ${WRKSRC_etcd_io_etcd_16} ${WRKSRC}/server
|
||||
#${RLN} ${WRKSRC_etcd_io_etcd_17} ${WRKSRC}/server
|
||||
#${RLN} ${WRKSRC_etcd_io_etcd_18} ${WRKSRC}/tests
|
||||
${RLN} ${WRKSRC_etcd_io_etcd_19} ${WRKSRC}/tests
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@ -1,153 +0,0 @@
|
||||
TIMESTAMP = 1738341575
|
||||
SHA256 (coreos-etcd-v3.5.18_GH0.tar.gz) = 8c8890b15c1a19263ab4ee2b374698c1d76c2b31e9b55bdeea47193aa48d8025
|
||||
SIZE (coreos-etcd-v3.5.18_GH0.tar.gz) = 4128059
|
||||
SHA256 (beorn7-perks-v1.0.1_GH0.tar.gz) = 98db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825
|
||||
SIZE (beorn7-perks-v1.0.1_GH0.tar.gz) = 10867
|
||||
SHA256 (bgentry-speakeasy-v0.1.0_GH0.tar.gz) = 863f57f96f77c2b4e5488e34e8df47478e9ffa9920779ca4df2cc3adc0d03252
|
||||
SIZE (bgentry-speakeasy-v0.1.0_GH0.tar.gz) = 7481
|
||||
SHA256 (cenkalti-backoff-v4.2.1_GH0.tar.gz) = adb92e0d2ecc3de14f45bea713afb367367bdc89c1af8391b91089ce91ce18f4
|
||||
SIZE (cenkalti-backoff-v4.2.1_GH0.tar.gz) = 10394
|
||||
SHA256 (cespare-xxhash-v2.2.0_GH0.tar.gz) = b8c684b9e5e136510913727e6a845b28f8176e55db827b11f17769fba970fe13
|
||||
SIZE (cespare-xxhash-v2.2.0_GH0.tar.gz) = 12334
|
||||
SHA256 (cheggaaa-pb-v1.0.28_GH0.tar.gz) = f745c5636d3fb59bffab5f9d2a745a94a9608166c20c90936fc66848a5e816e6
|
||||
SIZE (cheggaaa-pb-v1.0.28_GH0.tar.gz) = 11788
|
||||
SHA256 (coreos-go-semver-v0.3.0_GH0.tar.gz) = 1b72134483db366fb43f216727d6bc110086d4450ce0d226960cf4ce823d6eb9
|
||||
SIZE (coreos-go-semver-v0.3.0_GH0.tar.gz) = 10663
|
||||
SHA256 (coreos-go-systemd-v22.3.2_GH0.tar.gz) = dbb1a3930d43f49e11c53f2010ab9609e18236f776a99921850cd05f54779438
|
||||
SIZE (coreos-go-systemd-v22.3.2_GH0.tar.gz) = 72134
|
||||
SHA256 (dustin-go-humanize-v1.0.0_GH0.tar.gz) = e4540bd50ac855143b4f2e509313079c50cf5d8774f09cc10dbca5ae9803d8ba
|
||||
SIZE (dustin-go-humanize-v1.0.0_GH0.tar.gz) = 17260
|
||||
SHA256 (etcd-io-bbolt-v1.3.10_GH0.tar.gz) = 4991a0f2cfb4fd4530c450e3b913cf38fc8566d115c514ecbcef5946a7391400
|
||||
SIZE (etcd-io-bbolt-v1.3.10_GH0.tar.gz) = 125701
|
||||
SHA256 (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = c101da7821e89ab59f47606b083407462e3ff67fa5d37e161574a1c42b688254
|
||||
SIZE (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = 4161362
|
||||
SHA256 (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = c101da7821e89ab59f47606b083407462e3ff67fa5d37e161574a1c42b688254
|
||||
SIZE (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = 4161362
|
||||
SHA256 (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = c101da7821e89ab59f47606b083407462e3ff67fa5d37e161574a1c42b688254
|
||||
SIZE (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = 4161362
|
||||
SHA256 (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = c101da7821e89ab59f47606b083407462e3ff67fa5d37e161574a1c42b688254
|
||||
SIZE (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = 4161362
|
||||
SHA256 (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = c101da7821e89ab59f47606b083407462e3ff67fa5d37e161574a1c42b688254
|
||||
SIZE (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = 4161362
|
||||
SHA256 (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = c101da7821e89ab59f47606b083407462e3ff67fa5d37e161574a1c42b688254
|
||||
SIZE (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = 4161362
|
||||
SHA256 (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = c101da7821e89ab59f47606b083407462e3ff67fa5d37e161574a1c42b688254
|
||||
SIZE (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = 4161362
|
||||
SHA256 (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = c101da7821e89ab59f47606b083407462e3ff67fa5d37e161574a1c42b688254
|
||||
SIZE (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = 4161362
|
||||
SHA256 (etcd-io-etcd-v3.5.15_GH0.tar.gz) = bfc9c90f103acd47b0dca2840d4b69af68cb39f22893bef0f4fb5c5351314b84
|
||||
SIZE (etcd-io-etcd-v3.5.15_GH0.tar.gz) = 4113649
|
||||
SHA256 (etcd-io-etcd-v3.5.15_GH0.tar.gz) = bfc9c90f103acd47b0dca2840d4b69af68cb39f22893bef0f4fb5c5351314b84
|
||||
SIZE (etcd-io-etcd-v3.5.15_GH0.tar.gz) = 4113649
|
||||
SHA256 (etcd-io-etcd-v3.5.15_GH0.tar.gz) = bfc9c90f103acd47b0dca2840d4b69af68cb39f22893bef0f4fb5c5351314b84
|
||||
SIZE (etcd-io-etcd-v3.5.15_GH0.tar.gz) = 4113649
|
||||
SHA256 (etcd-io-etcd-v3.5.15_GH0.tar.gz) = bfc9c90f103acd47b0dca2840d4b69af68cb39f22893bef0f4fb5c5351314b84
|
||||
SIZE (etcd-io-etcd-v3.5.15_GH0.tar.gz) = 4113649
|
||||
SHA256 (etcd-io-etcd-v3.5.15_GH0.tar.gz) = bfc9c90f103acd47b0dca2840d4b69af68cb39f22893bef0f4fb5c5351314b84
|
||||
SIZE (etcd-io-etcd-v3.5.15_GH0.tar.gz) = 4113649
|
||||
SHA256 (etcd-io-etcd-v3.5.15_GH0.tar.gz) = bfc9c90f103acd47b0dca2840d4b69af68cb39f22893bef0f4fb5c5351314b84
|
||||
SIZE (etcd-io-etcd-v3.5.15_GH0.tar.gz) = 4113649
|
||||
SHA256 (etcd-io-etcd-v3.5.15_GH0.tar.gz) = bfc9c90f103acd47b0dca2840d4b69af68cb39f22893bef0f4fb5c5351314b84
|
||||
SIZE (etcd-io-etcd-v3.5.15_GH0.tar.gz) = 4113649
|
||||
SHA256 (etcd-io-etcd-v3.5.15_GH0.tar.gz) = bfc9c90f103acd47b0dca2840d4b69af68cb39f22893bef0f4fb5c5351314b84
|
||||
SIZE (etcd-io-etcd-v3.5.15_GH0.tar.gz) = 4113649
|
||||
SHA256 (etcd-io-etcd-v3.5.15_GH0.tar.gz) = bfc9c90f103acd47b0dca2840d4b69af68cb39f22893bef0f4fb5c5351314b84
|
||||
SIZE (etcd-io-etcd-v3.5.15_GH0.tar.gz) = 4113649
|
||||
SHA256 (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = c101da7821e89ab59f47606b083407462e3ff67fa5d37e161574a1c42b688254
|
||||
SIZE (etcd-io-etcd-v3.6.0-alpha.0_GH0.tar.gz) = 4161362
|
||||
SHA256 (go-logr-logr-v1.3.0_GH0.tar.gz) = a0ceb13b9611e19ebe3cba015e2e6dbbf3125be9cd7f1d975d4d334da688839a
|
||||
SIZE (go-logr-logr-v1.3.0_GH0.tar.gz) = 51225
|
||||
SHA256 (go-logr-stdr-v1.2.2_GH0.tar.gz) = 37d975b280d884ca0d55a800bc6e47314b6e86268e56254f9d15d19ca9404eb8
|
||||
SIZE (go-logr-stdr-v1.2.2_GH0.tar.gz) = 9098
|
||||
SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0
|
||||
SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209
|
||||
SHA256 (gogo-protobuf-v1.3.2_GH0.tar.gz) = 2bb4b13d6e56b3911f09b8e9ddd15708477fbff8823c057cc79dd99c9a452b34
|
||||
SIZE (gogo-protobuf-v1.3.2_GH0.tar.gz) = 2038725
|
||||
SHA256 (golang-jwt-jwt-v4.4.2_GH0.tar.gz) = 5c48e918854c3fc1c9bbb9ebf747addb960250f977aa8523344f60f4c423c7c1
|
||||
SIZE (golang-jwt-jwt-v4.4.2_GH0.tar.gz) = 51392
|
||||
SHA256 (golang-crypto-v0.21.0_GH0.tar.gz) = 4c65ea22c4b0bc7380b4213a294698c517fe3378e0edd30c4d2b6cf7f12fc8bd
|
||||
SIZE (golang-crypto-v0.21.0_GH0.tar.gz) = 1810887
|
||||
SHA256 (golang-groupcache-41bb18bfe9da_GH0.tar.gz) = 1e89795970d6593affdafe1d09dcf947681ca1ea82528e8e4fb9974a77f2e394
|
||||
SIZE (golang-groupcache-41bb18bfe9da_GH0.tar.gz) = 26101
|
||||
SHA256 (golang-net-v0.23.0_GH0.tar.gz) = 5d1aeb0051277e79fa692947079dc50ddc284dc0403b22c85692b97060ab4953
|
||||
SIZE (golang-net-v0.23.0_GH0.tar.gz) = 1508997
|
||||
SHA256 (golang-protobuf-v1.5.4_GH0.tar.gz) = d75e6960ecfabaaa83a7261b1b630d24e9c63aca79615fb15bf33e11b62fd019
|
||||
SIZE (golang-protobuf-v1.5.4_GH0.tar.gz) = 172992
|
||||
SHA256 (golang-sys-v0.18.0_GH0.tar.gz) = cee1944ab655ddf7eab6301e15cb6d01fdd6cd0a0f0b5896050ee60b124e084c
|
||||
SIZE (golang-sys-v0.18.0_GH0.tar.gz) = 1448211
|
||||
SHA256 (golang-text-v0.14.0_GH0.tar.gz) = c80295e75bda599d17ccf74038139b0957b9915fae4e60d8b46f89454ef171a0
|
||||
SIZE (golang-text-v0.14.0_GH0.tar.gz) = 8974094
|
||||
SHA256 (golang-time-f8bda1e9f3ba_GH0.tar.gz) = e068a34e54894c9c189ba2c2e5b7ea9116ed661f6a7c0d0e744d8e0066017ebb
|
||||
SIZE (golang-time-f8bda1e9f3ba_GH0.tar.gz) = 9656
|
||||
SHA256 (google-btree-v1.0.1_GH0.tar.gz) = 240723cff7c3c28e8444d45e500e65b2c25df519273260f248786e1a7367a654
|
||||
SIZE (google-btree-v1.0.1_GH0.tar.gz) = 15381
|
||||
SHA256 (google-go-genproto-b8732ec3820d_GH0.tar.gz) = b3d7e0e6a90e43230013b4ac375c7d5b5eaa037ef20fbab28567f96da4f765b2
|
||||
SIZE (google-go-genproto-b8732ec3820d_GH0.tar.gz) = 5916673
|
||||
SHA256 (gorilla-websocket-v1.4.2_GH0.tar.gz) = 91937a36bc9e0da3c895c73d4cb74b2cdb1aff54ab21b0d0724000e7b5b85b84
|
||||
SIZE (gorilla-websocket-v1.4.2_GH0.tar.gz) = 54101
|
||||
SHA256 (grpc-ecosystem-go-grpc-middleware-v1.3.0_GH0.tar.gz) = c9b908202c05a7f821b03ee49cd678e7e71469519054629770e0565d78275cbc
|
||||
SIZE (grpc-ecosystem-go-grpc-middleware-v1.3.0_GH0.tar.gz) = 103780
|
||||
SHA256 (grpc-ecosystem-go-grpc-prometheus-v1.2.0_GH0.tar.gz) = eba66530952a126ab869205bdb909af607bfd9eb09f00207b62eb29140258aa9
|
||||
SIZE (grpc-ecosystem-go-grpc-prometheus-v1.2.0_GH0.tar.gz) = 24760
|
||||
SHA256 (grpc-ecosystem-grpc-gateway-v1.16.0_GH0.tar.gz) = 20ba8f2aeb4a580109357fffaa42f8400aba1155b95c8845e412287907e64379
|
||||
SIZE (grpc-ecosystem-grpc-gateway-v1.16.0_GH0.tar.gz) = 521578
|
||||
SHA256 (grpc-ecosystem-grpc-gateway-v2.16.0_GH0.tar.gz) = f49af0b9a5b260c5a783c30010ba3cca4730abba9246618cbee19070f7a843e7
|
||||
SIZE (grpc-ecosystem-grpc-gateway-v2.16.0_GH0.tar.gz) = 821213
|
||||
SHA256 (grpc-grpc-go-v1.59.0_GH0.tar.gz) = 0f951688030fdc9a82accb440222ff068440e59bdc44a82d86150cc4cddf1aed
|
||||
SIZE (grpc-grpc-go-v1.59.0_GH0.tar.gz) = 2010414
|
||||
SHA256 (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 5edc7731c819c305623568e317aa253d342be3447def97f1fa9e10eb5ad819f6
|
||||
SIZE (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290
|
||||
SHA256 (jonboulle-clockwork-v0.2.2_GH0.tar.gz) = 79ac7c0e53dfa48aac0622745f133b2438542f1c11d2c09ec1c98affbd62e1f0
|
||||
SIZE (jonboulle-clockwork-v0.2.2_GH0.tar.gz) = 9588
|
||||
SHA256 (json-iterator-go-v1.1.11_GH0.tar.gz) = 19d0d56ac18a052867360b10201bad614c7b31a3edf2041a331c28860920b932
|
||||
SIZE (json-iterator-go-v1.1.11_GH0.tar.gz) = 84401
|
||||
SHA256 (kubernetes-sigs-yaml-v1.2.0_GH0.tar.gz) = 80612b8cc63863556906f04df7eca89179bf81e5b3d1133c082bd7e5e35d5514
|
||||
SIZE (kubernetes-sigs-yaml-v1.2.0_GH0.tar.gz) = 92574
|
||||
SHA256 (mattn-go-colorable-v0.1.11_GH0.tar.gz) = b88eae3c846d3c9bee375bfb72b535b726755a06d8e972c937820aba45d2f5e0
|
||||
SIZE (mattn-go-colorable-v0.1.11_GH0.tar.gz) = 9800
|
||||
SHA256 (mattn-go-runewidth-v0.0.9_GH0.tar.gz) = 4f20a337ad06e071f29535afe9c5207d3e8840c8c86672bbc5f9837c6229c835
|
||||
SIZE (mattn-go-runewidth-v0.0.9_GH0.tar.gz) = 16714
|
||||
SHA256 (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 2def0ee6f6b12b1efc0e3007d89f598608a072610e805c3655ea9d13c3ead49b
|
||||
SIZE (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 37184
|
||||
SHA256 (modern-go-concurrent-bacd9c7ef1dd_GH0.tar.gz) = d673e902118a6ece63198dc7e0961e904d0410f142726df0936ec1a52035a60f
|
||||
SIZE (modern-go-concurrent-bacd9c7ef1dd_GH0.tar.gz) = 7526
|
||||
SHA256 (modern-go-reflect2-v1.0.1_GH0.tar.gz) = d24e856d9aa8fd51b9e6c2cdd712a44c8d18cb8b72802f1bd16e0470322363fd
|
||||
SIZE (modern-go-reflect2-v1.0.1_GH0.tar.gz) = 14394
|
||||
SHA256 (natefinch-lumberjack-v2.0.0_GH0.tar.gz) = 5817941b45096eb70b8114d7a4bf392ea47c4fe8030ff383ca54c67dfa0617bd
|
||||
SIZE (natefinch-lumberjack-v2.0.0_GH0.tar.gz) = 12631
|
||||
SHA256 (olekukonko-tablewriter-v0.0.5_GH0.tar.gz) = 14a1294a8267facc9bc99a230b8871517e6db284ccc7e39030313befa124677f
|
||||
SIZE (olekukonko-tablewriter-v0.0.5_GH0.tar.gz) = 19568
|
||||
SHA256 (open-telemetry-opentelemetry-go-contrib-instrumentation-google.golang.org-grpc-otelgrpc-v0.46.0_GH0.tar.gz) = 931da4874869b2790eb317270a5077a2810cf06298b38c3a6be0baec2b12fe2b
|
||||
SIZE (open-telemetry-opentelemetry-go-contrib-instrumentation-google.golang.org-grpc-otelgrpc-v0.46.0_GH0.tar.gz) = 598954
|
||||
SHA256 (open-telemetry-opentelemetry-go-v1.20.0_GH0.tar.gz) = c739ba9a4eb74db325acdec5eca5d2c18f789f63e10f1658d8c5e0061700d18a
|
||||
SIZE (open-telemetry-opentelemetry-go-v1.20.0_GH0.tar.gz) = 1273769
|
||||
SHA256 (open-telemetry-opentelemetry-proto-go-v1.0.0_GH0.tar.gz) = 543b133a09579ad227b2db21460f71baeeb46e4209c2ac5e5621f4ffe7fb192b
|
||||
SIZE (open-telemetry-opentelemetry-proto-go-v1.0.0_GH0.tar.gz) = 177183
|
||||
SHA256 (prometheus-client_golang-v1.11.1_GH0.tar.gz) = edf216320f3e12f5d60e3df52948e73a95b6b3759b45f1970d750016583d052a
|
||||
SIZE (prometheus-client_golang-v1.11.1_GH0.tar.gz) = 170256
|
||||
SHA256 (prometheus-client_model-v0.2.0_GH0.tar.gz) = 4ab1be9cdfa702d7f49beeb09a256bcc6a2aad55e8a0a37e7732a46934264e12
|
||||
SIZE (prometheus-client_model-v0.2.0_GH0.tar.gz) = 10986
|
||||
SHA256 (prometheus-common-v0.26.0_GH0.tar.gz) = 35cfd6f896655c848042802652394cc9da57ef01437f0d78bffb85a467f62a1b
|
||||
SIZE (prometheus-common-v0.26.0_GH0.tar.gz) = 116907
|
||||
SHA256 (prometheus-procfs-v0.6.0_GH0.tar.gz) = 6ad7a23cf4db9fa5dbf2c5d8fbd0fbf5ffe48e3ddb7bf15f9359813d764ce73c
|
||||
SIZE (prometheus-procfs-v0.6.0_GH0.tar.gz) = 169898
|
||||
SHA256 (protocolbuffers-protobuf-go-v1.33.0_GH0.tar.gz) = 21661d7634e3f783b015b93ceafc0261f2f02a270799bac871602c3a2172cfbe
|
||||
SIZE (protocolbuffers-protobuf-go-v1.33.0_GH0.tar.gz) = 1482410
|
||||
SHA256 (sirupsen-logrus-v1.9.3_GH0.tar.gz) = cfa48a647a28c1f12fb6a9b672bc4d88b6407ff05aedcf23ce939d342646acce
|
||||
SIZE (sirupsen-logrus-v1.9.3_GH0.tar.gz) = 50320
|
||||
SHA256 (soheilhy-cmux-v0.1.5_GH0.tar.gz) = 199232ece74332f408a38e4d38e7ca942b3e66ae58074ca95d3f069693e0dca1
|
||||
SIZE (soheilhy-cmux-v0.1.5_GH0.tar.gz) = 22250
|
||||
SHA256 (spf13-cobra-v1.1.3_GH0.tar.gz) = e5f93c61e1236e61c7fc45882d2a03b81f46ebebdf70628ebb64b0b5fe34f6fa
|
||||
SIZE (spf13-cobra-v1.1.3_GH0.tar.gz) = 146580
|
||||
SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808
|
||||
SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796
|
||||
SHA256 (tmc-grpc-websocket-proxy-e5319fda7802_GH0.tar.gz) = ab27ebe35674bcc777d63bb1d64874310832d857a3eb573192b082f73afde494
|
||||
SIZE (tmc-grpc-websocket-proxy-e5319fda7802_GH0.tar.gz) = 10031
|
||||
SHA256 (uber-go-atomic-v1.7.0_GH0.tar.gz) = 4d655e90a23d023b36607e2ce94c3b7bf650d41c81c0faff32432581d9099ad1
|
||||
SIZE (uber-go-atomic-v1.7.0_GH0.tar.gz) = 18566
|
||||
SHA256 (uber-go-multierr-v1.6.0_GH0.tar.gz) = f8a139a06fd70bbda0f089274bd723a00c33c5b269a696de4d6a8ab455a22717
|
||||
SIZE (uber-go-multierr-v1.6.0_GH0.tar.gz) = 12369
|
||||
SHA256 (uber-go-zap-v1.17.0_GH0.tar.gz) = 9608554d14e846718c5ebe44ab172ce6b748356679c17e144226af94ff232d9a
|
||||
SIZE (uber-go-zap-v1.17.0_GH0.tar.gz) = 142719
|
||||
SHA256 (xiang90-probing-43a291ad63a2_GH0.tar.gz) = 576dd87a3b8729fd6f2422664897e285d43254138831aaedfac797813964d255
|
||||
SIZE (xiang90-probing-43a291ad63a2_GH0.tar.gz) = 3468
|
||||
@ -1,11 +0,0 @@
|
||||
A highly-available key value store for shared
|
||||
configuration and service discovery. etcd is
|
||||
inspired by zookeeper and doozer, with a focus on:
|
||||
|
||||
* Simple: curl'able user facing API (HTTP+JSON)
|
||||
* Secure: optional SSL client cert authentication
|
||||
* Fast: benchmarked 1000s of writes/s per instance
|
||||
* Reliable: Properly distributed using Raft
|
||||
|
||||
Etcd is written in Go and uses the raft consensus
|
||||
algorithm to manage a highly-available replicated log.
|
||||
29
devel/gmake3/Makefile
Normal file
29
devel/gmake3/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
PORTNAME= make
|
||||
DISTVERSION= 3.81
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= GNU
|
||||
PKGNAMEPREFIX= g
|
||||
PKGNAMESUFFIX= 3
|
||||
|
||||
# note: before committing to this port, contact portmgr to arrange for an
|
||||
# experimental ports run. Untested commits may be backed out at portmgr's
|
||||
# discretion.
|
||||
MAINTAINER= allanjude@FreeBSD.org
|
||||
COMMENT= Last GPLv2 version of GNU 'make' utility
|
||||
WWW= https://www.gnu.org/software/make/
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= cpe tar:bz2
|
||||
CPE_VENDOR= gnu
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
||||
CONFIGURE_ARGS= --program-prefix=g \
|
||||
--program-suffix=3 \
|
||||
--disable-nls \
|
||||
--disable-info \
|
||||
--without-guile
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
devel/gmake3/distinfo
Normal file
3
devel/gmake3/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1747413857
|
||||
SHA256 (make-3.81.tar.bz2) = f3e69023771e23908f5d5592954d8271d3d6af09693cecfd29cee6fde8550dc8
|
||||
SIZE (make-3.81.tar.bz2) = 1151445
|
||||
4
devel/gmake3/pkg-descr
Normal file
4
devel/gmake3/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
This is the last GPLv2 licensed version of GNU make.
|
||||
GNU make is a tool that controls the generation of executables and other
|
||||
non-source files from source files. Its purpose is the same as that
|
||||
of the utility make(1).
|
||||
2
devel/gmake3/pkg-plist
Normal file
2
devel/gmake3/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
bin/gmake3
|
||||
share/man/man1/gmake3.1.gz
|
||||
38
devel/kati/Makefile
Normal file
38
devel/kati/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
PORTNAME= kati
|
||||
MASTER_SITES= http://yhm1.klara.systems/kati/
|
||||
PORTVERSION= 0.1
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= allanjude@FreeBSD.org
|
||||
COMMENT= Apache licensed replacement for GNU make
|
||||
WWW= https://github.com/google/kati
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
#Kati is pretending to be gmake, so we can't USES gmake here
|
||||
##USES= gmake
|
||||
|
||||
BUILD_DEPENDS+= gmake>=4.4.1:devel/gmake
|
||||
CONFIGURE_ENV+= MAKE=gmake
|
||||
MAKE_CMD= gmake
|
||||
|
||||
CONFLICTS_INSTALL= gmake
|
||||
|
||||
# PROJECT TOKEN:
|
||||
# Name: kati-port-ci
|
||||
# Token: glpat-m9-NUmzPFAWfDFhur99s
|
||||
# Scopes: read_repository
|
||||
#USE_GITLAB= yes
|
||||
#GL_SITE= https://gitlab.klara.systems
|
||||
#GL_SITE= https://xavier.beaudouin\@klarasystems.com:xMwy3nX7PTwUudg@gitlab.klara.systems
|
||||
#GL_ACCOUNT= prettybsd
|
||||
#GL_PROJECT= kati
|
||||
#GL_TAGNAME= 1dc6868c0a4a6d17bf5527e06a5cb23cac5a6043
|
||||
|
||||
NO_CHECKSUM= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ckati ${STAGEDIR}${PREFIX}/bin/gmake
|
||||
|
||||
.include <bsd.port.mk>
|
||||
1
devel/kati/pkg-descr
Normal file
1
devel/kati/pkg-descr
Normal file
@ -0,0 +1 @@
|
||||
Kati is an apache licensed replacement for GNU make
|
||||
1
devel/kati/pkg-plist
Normal file
1
devel/kati/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/gmake
|
||||
@ -1,65 +0,0 @@
|
||||
PORTNAME= cloud-init
|
||||
DISTVERSION= 24.1.4
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= net python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= andrey@bsdnir.info
|
||||
COMMENT= Init scripts for use on cloud images
|
||||
WWW= https://cloud-init.io/
|
||||
|
||||
LICENSE= APACHE20 GPLv3
|
||||
LICENSE_COMB= dual
|
||||
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-Apache2.0
|
||||
LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSE-GPLv3
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}jsonpatch>0:devel/py-jsonpatch@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}jsonpointer>0:devel/py-jsonpointer@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}oauthlib>0:security/py-oauthlib@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyserial>0:comms/py-pyserial@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
|
||||
sudo:security/sudo@sssd
|
||||
|
||||
USES= python shebangfix
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= canonical
|
||||
USE_PYTHON= autoplist distutils
|
||||
PYDISTUTILS_INSTALLARGS+= "--init-system=sysvinit_freebsd"
|
||||
|
||||
SHEBANG_FILES= tools/hook-hotplug tools/read-dependencies tools/read-version \
|
||||
tools/validate-yaml.py
|
||||
|
||||
# Conflicts
|
||||
CONFLICTS_INSTALL= cloud-init-devel
|
||||
|
||||
# Standard bsd.port.mk variables
|
||||
ETCDIR= ${PREFIX}/etc/cloud
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extra-cloudinit_distros_freebsd.py
|
||||
.endif
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|%%PREFIX%%|${STAGEDIR}${PREFIX}|g' ${WRKSRC}/setup.py
|
||||
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/cloudinit/settings.py
|
||||
${REINPLACE_CMD} -e 's|@@PACKAGED_VERSION@@|${DISTVERSION}${DISTVERSIONSUFFIX}|g' ${WRKSRC}/cloudinit/version.py
|
||||
${RM} ${WRKSRC}/config/cloud.cfg.d/99_freebsd.cfg.orig
|
||||
|
||||
post-install:
|
||||
${MV} ${STAGEDIR}${ETCDIR}/cloud.cfg ${STAGEDIR}${ETCDIR}/cloud.cfg.sample
|
||||
${MV} ${STAGEDIR}${ETCDIR}/cloud.cfg.d/05_logging.cfg ${STAGEDIR}${ETCDIR}/cloud.cfg.d/05_logging.cfg.sample
|
||||
${MV} ${STAGEDIR}${ETCDIR}/cloud.cfg.d/99_freebsd.cfg ${STAGEDIR}${ETCDIR}/cloud.cfg.d/99_freebsd.cfg.sample
|
||||
${REINPLACE_CMD} -e 's|^.*\.cfg$$|@sample &.sample|' \
|
||||
-e 's|${ETCDIR}/clean.d|@dir ${ETCDIR}/clean.d|' \
|
||||
${_PYTHONPKGLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@ -1,5 +0,0 @@
|
||||
TIMESTAMP = 1712351569
|
||||
SHA256 (canonical-cloud-init-24.1.4_GH0.tar.gz) = 3c70effcea02be47b6cd751a1d164583df674ff8d6e4eaa6599eb1499e3b3f28
|
||||
SIZE (canonical-cloud-init-24.1.4_GH0.tar.gz) = 1734414
|
||||
SHA256 (a6e09d9bfd3ef0770bc4d9452d978ba93dbe1245.patch) = e90e4df05691b64abf2f3a0fc02ff7c450260e53ca236583f7fc3fd315a2b114
|
||||
SIZE (a6e09d9bfd3ef0770bc4d9452d978ba93dbe1245.patch) = 18418
|
||||
@ -1,11 +0,0 @@
|
||||
--- cloudinit/distros/freebsd.py.orig 2024-10-25 15:58:28 UTC
|
||||
+++ cloudinit/distros/freebsd.py
|
||||
@@ -35,7 +35,7 @@ class Distro(cloudinit.distros.bsd.BSD):
|
||||
pkg_cmd_update_prefix = ["pkg", "update"]
|
||||
pkg_cmd_upgrade_prefix = ["pkg", "upgrade"]
|
||||
prefer_fqdn = True # See rc.conf(5) in FreeBSD
|
||||
- home_dir = "/usr/home"
|
||||
+ home_dir = "/home"
|
||||
# FreeBSD has the following dhclient lease path:
|
||||
# /var/db/dhclient.leases.<iface_name>
|
||||
dhclient_lease_directory = "/var/db"
|
||||
@ -1,20 +0,0 @@
|
||||
--- cloudinit/settings.py.orig 2021-03-17 15:43:42 UTC
|
||||
+++ cloudinit/settings.py
|
||||
@@ -12,7 +12,7 @@
|
||||
CFG_ENV_NAME = "CLOUD_CFG"
|
||||
|
||||
# This is expected to be a yaml formatted file
|
||||
-CLOUD_CONFIG = "/etc/cloud/cloud.cfg"
|
||||
+CLOUD_CONFIG = "%%PREFIX%%/etc/cloud/cloud.cfg"
|
||||
|
||||
RUN_CLOUD_CONFIG = "/run/cloud-init/cloud.cfg"
|
||||
|
||||
@@ -50,7 +50,7 @@ CFG_BUILTIN = {
|
||||
"system_info": {
|
||||
"paths": {
|
||||
"cloud_dir": "/var/lib/cloud",
|
||||
- "templates_dir": "/etc/cloud/templates/",
|
||||
+ "templates_dir": "%%PREFIX%%/etc/cloud/templates/",
|
||||
},
|
||||
"distro": "ubuntu",
|
||||
"network": {"renderers": None},
|
||||
@ -1,5 +0,0 @@
|
||||
--- config/cloud.cfg.d/99_freebsd.cfg.orig 2021-12-13 06:41:51 UTC
|
||||
+++ config/cloud.cfg.d/99_freebsd.cfg
|
||||
@@ -0,0 +1,2 @@
|
||||
+no_ssh_fingerprints: true
|
||||
+disable_network_activation: true
|
||||
@ -1,11 +0,0 @@
|
||||
--- setup.py.orig 2021-03-17 15:40:30 UTC
|
||||
+++ setup.py
|
||||
@@ -153,7 +153,7 @@ INITSYS_TYPES = sorted([f.partition(".")[0] for f in I
|
||||
# Install everything in the right location and take care of Linux (default) and
|
||||
# FreeBSD systems.
|
||||
USR = "usr"
|
||||
-ETC = "etc"
|
||||
+ETC = "%%PREFIX%%/etc"
|
||||
USR_LIB_EXEC = "usr/lib"
|
||||
LIB = "lib"
|
||||
if os.uname()[0] in ["FreeBSD", "DragonFly"]:
|
||||
@ -1,4 +0,0 @@
|
||||
Cloud-init is the industry standard multi-distribution method for cross-platform
|
||||
cloud instance initialization. It is supported across all major public cloud
|
||||
providers, provisioning systems for private cloud infrastructure, and bare-metal
|
||||
installations.
|
||||
@ -1,11 +0,0 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
To enable cloud-init, add the following line to rc.conf:
|
||||
|
||||
cloudinit_enable="YES"
|
||||
|
||||
This will make sure cloud-init is started at boot.
|
||||
EOM
|
||||
}
|
||||
]
|
||||
60
security/ca_root_nss/Makefile
Normal file
60
security/ca_root_nss/Makefile
Normal file
@ -0,0 +1,60 @@
|
||||
PORTNAME= ca_root_nss
|
||||
PORTVERSION= ${VERSION_NSS}
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= MOZILLA/security/nss/releases/${DISTNAME:tu:C/[-.]/_/g}_RTM/src
|
||||
DISTNAME= nss-${VERSION_NSS}${NSS_SUFFIX}
|
||||
|
||||
MAINTAINER= ports-secteam@FreeBSD.org
|
||||
COMMENT= Root certificate bundle from the Mozilla Project
|
||||
|
||||
LICENSE= MPL20
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= perl5 ssl:build
|
||||
USE_PERL5= build
|
||||
|
||||
NO_ARCH= yes
|
||||
WRKSRC_SUBDIR= nss
|
||||
|
||||
OPTIONS_DEFINE= ETCSYMLINK
|
||||
OPTIONS_DEFAULT= ETCSYMLINK
|
||||
OPTIONS_EXCLUDE_FreeBSD_15= ETCSYMLINK
|
||||
OPTIONS_EXCLUDE_FreeBSD_16= ETCSYMLINK
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
ETCSYMLINK_DESC= Add symlinks to default bundle locations
|
||||
ETCSYMLINK_CONFLICTS_INSTALL= ca-roots-[0-9]*
|
||||
|
||||
CERTDIR?= share/certs
|
||||
PLIST_SUB+= CERTDIR=${CERTDIR}
|
||||
|
||||
VERSION_NSS= 3.115
|
||||
CERTDATA_TXT_PATH= lib/ckfw/builtins/certdata.txt
|
||||
BUNDLE_PROCESSOR= MAca-bundle.pl
|
||||
|
||||
CERTCTL_CMD?= /usr/sbin/certctl
|
||||
|
||||
SUB_FILES= MAca-bundle.pl pkg-deinstall pkg-install pkg-message
|
||||
SUB_LIST= CERTCTL_CMD=${CERTCTL_CMD} VERSION_NSS=${VERSION_NSS}
|
||||
|
||||
do-build:
|
||||
@${SETENV} PATH=${LOCALBASE}/bin:$${PATH} \
|
||||
${PERL} ${WRKDIR}/${BUNDLE_PROCESSOR} \
|
||||
< ${WRKSRC}/${CERTDATA_TXT_PATH} > \
|
||||
${WRKDIR}/ca-root-nss.crt
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/${CERTDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/${CERTDIR}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/ssl
|
||||
${LN} -sf ../../${CERTDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/etc/ssl/cert.pem.sample
|
||||
|
||||
do-install-ETCSYMLINK-on:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/openssl
|
||||
${LN} -sf ../etc/ssl/cert.pem ${STAGEDIR}${PREFIX}/openssl/cert.pem
|
||||
${MKDIR} ${STAGEDIR}/etc/ssl
|
||||
${LN} -sf ../..${PREFIX}/etc/ssl/cert.pem ${STAGEDIR}/etc/ssl/cert.pem
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
security/ca_root_nss/distinfo
Normal file
3
security/ca_root_nss/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1755292668
|
||||
SHA256 (nss-3.115.tar.gz) = ac2a47fb33bd79320159144e01c0d4af9a937a2d928c7c77ff06f5d9507861ab
|
||||
SIZE (nss-3.115.tar.gz) = 76656357
|
||||
250
security/ca_root_nss/files/MAca-bundle.pl.in
Normal file
250
security/ca_root_nss/files/MAca-bundle.pl.in
Normal file
@ -0,0 +1,250 @@
|
||||
##
|
||||
## MAca-bundle.pl -- Regenerate ca-root-nss.crt from the Mozilla certdata.txt
|
||||
##
|
||||
## Rewritten in September 2011 by Matthias Andree to heed untrust
|
||||
##
|
||||
|
||||
## Copyright (c) 2011, 2013 Matthias Andree <mandree@FreeBSD.org>
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted provided that the following conditions are
|
||||
## met:
|
||||
##
|
||||
## * Redistributions of source code must retain the above copyright
|
||||
## notice, this list of conditions and the following disclaimer.
|
||||
##
|
||||
## * Redistributions in binary form must reproduce the above copyright
|
||||
## notice, this list of conditions and the following disclaimer in the
|
||||
## documentation and/or other materials provided with the distribution.
|
||||
##
|
||||
## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
## FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
## COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
## INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
## BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
## LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
## CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
## ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
## POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
use strict;
|
||||
use Carp;
|
||||
use MIME::Base64;
|
||||
|
||||
# configuration
|
||||
print <<EOH;
|
||||
##
|
||||
## ca-root-nss.crt -- Bundle of CA Root Certificates
|
||||
##
|
||||
## This is a bundle of X.509 certificates of public Certificate
|
||||
## Authorities (CA). These were automatically extracted from Mozilla's
|
||||
## root CA list (the file `certdata.txt').
|
||||
##
|
||||
## It contains certificates trusted for server authentication.
|
||||
##
|
||||
## Extracted from nss-%%VERSION_NSS%%
|
||||
##
|
||||
EOH
|
||||
my $debug = 0;
|
||||
$debug++
|
||||
if defined $ENV{'WITH_DEBUG'}
|
||||
and $ENV{'WITH_DEBUG'} !~ m/(?i)^(no|0|false|)$/;
|
||||
|
||||
my %certs;
|
||||
my %trusts;
|
||||
|
||||
# returns a string like YYMMDDhhmmssZ of current time in GMT zone
|
||||
sub timenow()
|
||||
{
|
||||
my ($sec,$min,$hour,$mday,$mon,$year,undef,undef,undef) = gmtime(time);
|
||||
return sprintf "%02d%02d%02d%02d%02d%02dZ", $year-100, $mon+1, $mday, $hour, $min, $sec;
|
||||
}
|
||||
|
||||
sub printcert_plain($$)
|
||||
{
|
||||
my ($label, $certdata) = @_;
|
||||
print "=== $label ===\n" if $label;
|
||||
print
|
||||
"-----BEGIN CERTIFICATE-----\n",
|
||||
MIME::Base64::encode_base64($certdata),
|
||||
"-----END CERTIFICATE-----\n\n";
|
||||
}
|
||||
|
||||
sub printcert_info($$)
|
||||
{
|
||||
my (undef, $certdata) = @_;
|
||||
return unless $certdata;
|
||||
open(OUT, "|openssl x509 -text -inform DER -fingerprint")
|
||||
|| die "could not pipe to openssl x509";
|
||||
print OUT $certdata;
|
||||
close(OUT) or die "openssl x509 failed with exit code $?";
|
||||
}
|
||||
|
||||
sub printcert($$) {
|
||||
my ($a, $b) = @_;
|
||||
printcert_info($a, $b);
|
||||
}
|
||||
|
||||
# converts a datastream that is to be \177-style octal constants
|
||||
# from <> to a (binary) string and returns it
|
||||
sub graboct()
|
||||
{
|
||||
my $data;
|
||||
|
||||
while (<>) {
|
||||
last if /^END/;
|
||||
my (undef,@oct) = split /\\/;
|
||||
my @bin = map(chr(oct), @oct);
|
||||
$data .= join('', @bin);
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
sub grabcert()
|
||||
{
|
||||
my $certdata;
|
||||
my $cka_label = '';
|
||||
my $serial = 0;
|
||||
my $distrust = 0;
|
||||
|
||||
while (<>) {
|
||||
chomp;
|
||||
last if ($_ eq '');
|
||||
|
||||
if (/^CKA_LABEL UTF8 "([^"]+)"/) {
|
||||
$cka_label = $1;
|
||||
}
|
||||
|
||||
if (/^CKA_VALUE MULTILINE_OCTAL/) {
|
||||
$certdata = graboct();
|
||||
}
|
||||
|
||||
if (/^CKA_SERIAL_NUMBER MULTILINE_OCTAL/) {
|
||||
$serial = graboct();
|
||||
}
|
||||
|
||||
if (/^CKA_NSS_SERVER_DISTRUST_AFTER MULTILINE_OCTAL/)
|
||||
{
|
||||
my $distrust_after = graboct();
|
||||
my $time_now = timenow();
|
||||
if ($time_now >= $distrust_after) { $distrust = 1; }
|
||||
if ($debug) {
|
||||
printf STDERR "line $.: $cka_label ser #%d: distrust after %s, now: %s -> distrust $distrust\n", $serial, $distrust_after, timenow();
|
||||
}
|
||||
if ($distrust) {
|
||||
return undef;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ($serial, $cka_label, $certdata);
|
||||
}
|
||||
|
||||
sub grabtrust() {
|
||||
my $cka_label;
|
||||
my $serial;
|
||||
my $maytrust = 0;
|
||||
my $distrust = 0;
|
||||
|
||||
while (<>) {
|
||||
chomp;
|
||||
last if ($_ eq '');
|
||||
|
||||
if (/^CKA_LABEL UTF8 "([^"]+)"/) {
|
||||
$cka_label = $1;
|
||||
}
|
||||
|
||||
if (/^CKA_SERIAL_NUMBER MULTILINE_OCTAL/) {
|
||||
$serial = graboct();
|
||||
}
|
||||
|
||||
if (/^CKA_TRUST_SERVER_AUTH CK_TRUST (\S+)$/)
|
||||
{
|
||||
if ($1 eq 'CKT_NSS_NOT_TRUSTED') {
|
||||
$distrust = 1;
|
||||
} elsif ($1 eq 'CKT_NSS_TRUSTED_DELEGATOR') {
|
||||
$maytrust = 1;
|
||||
} elsif ($1 ne 'CKT_NSS_MUST_VERIFY_TRUST') {
|
||||
confess "Unknown trust setting on line $.:\n"
|
||||
. "$_\n"
|
||||
. "Script must be updated:";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!$maytrust && !$distrust && $debug) {
|
||||
print STDERR "line $.: no explicit trust/distrust found for $cka_label\n";
|
||||
}
|
||||
|
||||
my $trust = ($maytrust and not $distrust);
|
||||
return ($serial, $cka_label, $trust);
|
||||
}
|
||||
|
||||
my $untrusted = 0;
|
||||
|
||||
while (<>) {
|
||||
if (/^CKA_CLASS CK_OBJECT_CLASS CKO_CERTIFICATE/) {
|
||||
my ($serial, $label, $certdata) = grabcert();
|
||||
if (defined $certs{$label."\0".$serial}) {
|
||||
warn "Certificate $label duplicated!\n";
|
||||
}
|
||||
if (defined $certdata) {
|
||||
$certs{$label."\0".$serial} = $certdata;
|
||||
} else { # $certdata undefined? distrust_after in effect
|
||||
$untrusted ++;
|
||||
}
|
||||
} elsif (/^CKA_CLASS CK_OBJECT_CLASS CKO_NSS_TRUST/) {
|
||||
my ($serial, $label, $trust) = grabtrust();
|
||||
if (defined $trusts{$label."\0".$serial}) {
|
||||
warn "Trust for $label duplicated!\n";
|
||||
}
|
||||
$trusts{$label."\0".$serial} = $trust;
|
||||
} elsif (/^CVS_ID.*Revision: ([^ ]*).*/) {
|
||||
print "## Source: \"certdata.txt\" CVS revision $1\n##\n\n";
|
||||
}
|
||||
}
|
||||
|
||||
sub printlabel(@) {
|
||||
my @res = @_;
|
||||
map { s/\0.*//; s/[^[:print:]]/_/g; "\"$_\""; } @res;
|
||||
return wantarray ? @res : $res[0];
|
||||
}
|
||||
|
||||
# weed out untrusted certificates
|
||||
foreach my $it (keys %trusts) {
|
||||
if (!$trusts{$it}) {
|
||||
if (!exists($certs{$it})) {
|
||||
warn "Found trust for nonexistent certificate ".printlabel($it)."\n" if $debug;
|
||||
} else {
|
||||
delete $certs{$it};
|
||||
warn "Skipping untrusted ".printlabel($it)."\n" if $debug;
|
||||
$untrusted++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
print "## Untrusted certificates omitted from this bundle: $untrusted\n\n";
|
||||
print STDERR "## Untrusted certificates omitted from this bundle: $untrusted\n";
|
||||
|
||||
my $certcount = 0;
|
||||
foreach my $it (sort {uc($a) cmp uc($b)} keys %certs) {
|
||||
if (!exists($trusts{$it})) {
|
||||
die "Found certificate without trust block,\naborting";
|
||||
}
|
||||
printcert("", $certs{$it});
|
||||
print "\n\n\n";
|
||||
$certcount++;
|
||||
print STDERR "Trusting $certcount: ".printlabel($it)."\n" if $debug;
|
||||
}
|
||||
|
||||
if ($certcount < 25) {
|
||||
die "Certificate count of $certcount is implausibly low.\nAbort";
|
||||
}
|
||||
|
||||
print "## Number of certificates: $certcount\n";
|
||||
print STDERR "## Number of certificates: $certcount\n";
|
||||
print "## End of file.\n";
|
||||
6
security/ca_root_nss/files/pkg-deinstall.in
Normal file
6
security/ca_root_nss/files/pkg-deinstall.in
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$2" = POST-DEINSTALL ]; then
|
||||
CERTCTL_ARGS="-D ${PKG_ROOTDIR}"
|
||||
%%CERTCTL_CMD%% ${CERTCTL_ARGS} rehash
|
||||
fi
|
||||
12
security/ca_root_nss/files/pkg-install.in
Normal file
12
security/ca_root_nss/files/pkg-install.in
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$2" = POST-INSTALL ]; then
|
||||
CERTCTL_ARGS="-D ${PKG_ROOTDIR}"
|
||||
if [ -n "${PKG_METALOG}" ]; then
|
||||
CERTCTL_ARGS="${CERTCTL_ARGS} -U -M ${PKG_METALOG}"
|
||||
fi
|
||||
%%CERTCTL_CMD%% ${CERTCTL_ARGS} rehash
|
||||
|
||||
[ ! -e %%LOCALBASE%%/bin/cert-sync ] || \
|
||||
%%LOCALBASE%%/bin/cert-sync --quiet %%PREFIX%%/share/certs/ca-root-nss.crt
|
||||
fi
|
||||
23
security/ca_root_nss/files/pkg-message.in
Normal file
23
security/ca_root_nss/files/pkg-message.in
Normal file
@ -0,0 +1,23 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
FreeBSD does not, and can not warrant that the certification authorities
|
||||
whose certificates are included in this package have in any way been
|
||||
audited for trustworthiness or RFC 3647 compliance.
|
||||
|
||||
Assessment and verification of trust is the complete responsibility of
|
||||
the system administrator.
|
||||
|
||||
This package installs symlinks to support root certificate discovery
|
||||
for software that either uses other cryptographic libraries than
|
||||
OpenSSL, or use OpenSSL but do not follow recommended practice.
|
||||
|
||||
If you prefer to do this manually, replace the following symlinks with
|
||||
either an empty file or your site-local certificate bundle.
|
||||
|
||||
* /etc/ssl/cert.pem
|
||||
* %%PREFIX%%/etc/ssl/cert.pem
|
||||
* %%PREFIX%%/openssl/cert.pem
|
||||
EOM
|
||||
}
|
||||
]
|
||||
4
security/ca_root_nss/pkg-descr
Normal file
4
security/ca_root_nss/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Root certificates from certificate authorities included in the Mozilla
|
||||
NSS library and thus in Firefox and Thunderbird.
|
||||
|
||||
This port directly tracks the version of NSS in the security/nss port.
|
||||
4
security/ca_root_nss/pkg-plist
Normal file
4
security/ca_root_nss/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
%%CERTDIR%%/ca-root-nss.crt
|
||||
@sample etc/ssl/cert.pem.sample
|
||||
%%ETCSYMLINK%%openssl/cert.pem
|
||||
%%ETCSYMLINK%%/etc/ssl/cert.pem
|
||||
163
t/PKGBase.md
Normal file
163
t/PKGBase.md
Normal file
@ -0,0 +1,163 @@
|
||||
# Upgrade FreeBSD von 13.2 zu 14.1 oder 13.3 mit pkgbase
|
||||
Quellen:
|
||||
https://wiki.freebsd.org/PkgBase
|
||||
https://vermaden.wordpress.com/2023/12/09/personal-freebsd-pkgbase-update-server/
|
||||
|
||||
## PKGBase Mirror Server erstellen
|
||||
In unserem Fall auf fippuder01.cc.bka
|
||||
```
|
||||
cd /usr/src
|
||||
#git clone https://github.com/freebsd/freebsd-src.git .
|
||||
#git fetch --all
|
||||
#git reset --hard origin/main #wirft alle Änderungen weg
|
||||
git pull
|
||||
git checkout releng/14.1 --force
|
||||
make -j48 buildworld && make -j48 buildkernel && make -j48 packages
|
||||
```
|
||||
Branches: https://github.com/freebsd/freebsd-src/branches
|
||||
Über den `git checkout releng/13.3` kann über den Branch zwischen Versionen gewechselt werden.
|
||||
Der Make Befehl erstellt die Pakete und legt sie unter `/usr/obj/usr/src/repo/FreeBSD:14:amd64/14.1p2` ab (je nach Version).
|
||||
|
||||
### ccache
|
||||
/etc/make.conf
|
||||
```
|
||||
CCACHE_DIR=/var/cache/ccache
|
||||
WITH_CCACHE_BUILD=yes
|
||||
```
|
||||
### nginx config
|
||||
In der NGINX Config wird der Pfad mit den Paketen dann freigegeben
|
||||
`vim /usr/local/etc/nginx/nginx.conf`
|
||||
```
|
||||
location /FreeBSD:14:amd64 {
|
||||
alias /usr/obj/usr/src/repo/FreeBSD:14:amd64/;
|
||||
autoindex on;
|
||||
}
|
||||
```
|
||||
|
||||
```
|
||||
service nginx reload
|
||||
```
|
||||
Bzw. für 13.3 jeweils checkout releng/13.3 und location/repo FreeBSD:13:amd64
|
||||
|
||||
### Neue Version erstellen:
|
||||
Analog zu oben in den gewünschten Branch wechseln und build starten.
|
||||
Ggf. muss für neue Versionen (wie 15.0) die NGINX Config angepasst werden.
|
||||
## Auf den Clients
|
||||
### Upgrade auf 14.1
|
||||
Sofern das Verzeichnis noch nicht existiert:
|
||||
`mkdir -p /usr/local/etc/pkg/repos`
|
||||
Erstellen eines upgrade Repos für pkg:
|
||||
`vim /usr/local/etc/pkg/repos/upgrade.conf`
|
||||
|
||||
```
|
||||
freebsd-upgrade: {
|
||||
url = http://pkg.freebsd.org/FreeBSD:14:amd64/14.1p6
|
||||
enabled = yes
|
||||
}
|
||||
```
|
||||
Zum Update muss die ABI der neuen Version als Umgebungsvariable mitgegeben werden.
|
||||
```
|
||||
env ABI=freebsd:14:amd64 pkg-static update -r FreeBSD-base-14.1
|
||||
env ABI=freebsd:14:amd64 IGNORE_OSVERSION=yes pkg-static install -r freebsd-upgrade -g 'FreeBSD-*'
|
||||
```
|
||||
Wenn der Fehler `pkg: Fail to rename /usr/include/c++/v1/.pkgtemp.__string.YaGYjRyeEZcE -> /usr/include/c++/v1/__string:Not a directory` auftritt kann `/usr/include` gelöscht, und die Installation erneut versucht werden.
|
||||
```
|
||||
rm -rf /usr/include
|
||||
env ABI=freebsd:14:amd64 IGNORE_OSVERSION=yes pkg install -r FreeBSD-base-14.1 -g 'FreeBSD-*'
|
||||
```
|
||||
Durch das Update werden alle Konfigurationsdateien in `/etc` mit den Originaldateien überschrieben. Die bearbeiteten Versionen werden in .pkgsave gespeichert.
|
||||
Wird an dieser Stelle ein Neustart ausgeführt gibt es keine User und Passwörter mehr und die sshd_config ist wie bei einem frischen System.
|
||||
Daher werden die wichtigsten pkgsave Dateien zurück kopiert.
|
||||
```
|
||||
cp /etc/ssh/sshd_config.pkgsave /etc/ssh/sshd_config
|
||||
cp /etc/master.passwd.pkgsave /etc/master.passwd
|
||||
cp /etc/group.pkgsave /etc/group
|
||||
cp /etc/sysctl.conf.pkgsave /etc/sysctl.conf
|
||||
```
|
||||
Passwort Datenbank neu aufbauen:
|
||||
```
|
||||
pwd_mkdb -p /etc/master.passwd
|
||||
```
|
||||
Alle anderen .pkgsave Dateien können mit folgendem Befehl gelöscht werden, ggf. ist hier zu prüfen welche Dateien sich noch geändert haben.
|
||||
```
|
||||
find /etc -name \*.pkgsave -delete
|
||||
rm /boot/kernel/linker.hints
|
||||
```
|
||||
Alternativ können auch alle .pkgsave dateien gegen die originale ausgetauscht werden um die Konfiguration vor dem Update wiederherzustellen.
|
||||
```
|
||||
bash
|
||||
cd /etc
|
||||
for file in $(ls *.pkgsave); do echo cp $file ${file/.pkgsave/};done
|
||||
etcupdate
|
||||
find /etc -name \*.pkgsave -delete
|
||||
```
|
||||
Damit kann ggf. allerdings neue Konfigurationsoptionen in der neuen Version nicht mitgenommen werden, besser wäre ein Diff jeder .pkgsave Datei mit dem Original um etwaige Änderungen zusammen zu führen.
|
||||
|
||||
Dann kann der Neustart des Clients durchgeführt werden. Mit `freebsd-version -kru`lassen sich die Versionsstände anzeigen. Runtime wird erst durch einen Neustart auf die neue Version gehoben.
|
||||
```
|
||||
reboot
|
||||
```
|
||||
Nach dem Upgrade muss pkg neu initialisiert und alle Pakete geupdatet werden. An dieser Stelle kann auch das Repository in der upgrade.conf auf `enabled = no` gesetzt werden.
|
||||
`vim /usr/local/etc/pkg/repos/upgrade.conf`
|
||||
```
|
||||
upgrade: {
|
||||
url = http://fippuder01.cc.bka/FreeBSD:14:amd64/14.1p2
|
||||
enabled = no
|
||||
}
|
||||
```
|
||||
|
||||
```
|
||||
pkg bootstrap -f
|
||||
pkg update
|
||||
pkg upgrade -y
|
||||
```
|
||||
|
||||
### Update auf 13.3
|
||||
Analog zu 14.1, nur einfacher:
|
||||
`vim /usr/local/etc/pkg/repos/upgrade.conf`
|
||||
```
|
||||
upgrade {
|
||||
url = http://fippuder01.i.cc.bka/FreeBSD:13:amd64/13.3p4
|
||||
enabled = yes
|
||||
}
|
||||
```
|
||||
|
||||
```
|
||||
pkg-static update -r upgrade
|
||||
rm -rf /usr/include
|
||||
pkg-static install -r upgrade -g 'FreeBSD-*'
|
||||
```
|
||||
Auch hier gilt, Konfigurationsdateien zurück kopieren, siehe Upgrade auf 14.1
|
||||
```
|
||||
cp /etc/ssh/sshd_config.pkgsave /etc/ssh/sshd_config
|
||||
cp /etc/master.passwd.pkgsave /etc/master.passwd
|
||||
cp /etc/group.pkgsave /etc/group
|
||||
pwd_mkdb -p /etc/master.passwd
|
||||
service sshd restart
|
||||
cp /etc/sysctl.conf.pkgsave /etc/sysctl.conf
|
||||
find / -name \*.pkgsave -delete
|
||||
rm /boot/kernel/linker.hints
|
||||
reboot
|
||||
pkg bootstrap -f
|
||||
pkg update
|
||||
pkg upgrade -y
|
||||
```
|
||||
|
||||
## Upgrade von 14.1p6 auf 14.2
|
||||
upgrade.conf bearbeiten
|
||||
```
|
||||
vim /usr/local/etc/pkg/repos/upgrade.conf
|
||||
```
|
||||
|
||||
```
|
||||
FreeBSD-base-14.2: {
|
||||
url = http://pkg.freebsd.org/FreeBSD:14:amd64/14.2
|
||||
enabled = yes
|
||||
}
|
||||
```
|
||||
|
||||
```
|
||||
pkg update
|
||||
pkg upgrade
|
||||
shutdown -r now
|
||||
```
|
||||
108
t/Upgrade_FreeBSD_via_Boot_Environment.md
Normal file
108
t/Upgrade_FreeBSD_via_Boot_Environment.md
Normal file
@ -0,0 +1,108 @@
|
||||
getestet auf fatnetbox01 (vm) und fapelastic30-34
|
||||
|
||||
Boot Environment erstellen und in /mnt einhängen
|
||||
```
|
||||
bectl create 141
|
||||
mkdir /mnt/141
|
||||
bectl mount 141 /mnt/141
|
||||
```
|
||||
Heruntergeladene 14.1-RELEASE base und kernel txz auf Host kopieren und in eingehangenes Boot Environment entpacken
|
||||
|
||||
```
|
||||
tar -xf base.txz -C /mnt/141 --unlink #wirft einige Fehler (not a directory), das ist okay
|
||||
tar -xf kernel.txz -C /mnt/141 --unlink
|
||||
```
|
||||
|
||||
Dateien kopieren anhand von https://git.cc.bka/projektecc15/projekte_ansible/systemkonfiguration/klara-postgres-cluster/-/blob/main/ansible/files/syncbe.conf?ref_type=heads
|
||||
Zum Starten reicht hier meist
|
||||
- `passwd`
|
||||
- `master.passwd`
|
||||
- `group`
|
||||
- `*.db`
|
||||
- `sshd_config`
|
||||
Bestenfalls mit diff vergleichen
|
||||
```
|
||||
cd /mnt/141
|
||||
git diff /etc/ssh/sshd_config /mnt/141/etc/ssh/sshd_config
|
||||
cp /etc/ssh/sshd_config /mnt/141/etc/ssh/sshd_config
|
||||
git diff /etc/passwd /mnt/141/etc/passwd
|
||||
cp /etc/passwd /mnt/141/etc/passwd
|
||||
git diff /etc/group /mnt/141/etc/group
|
||||
cp /etc/group /mnt/141/etc/group
|
||||
cp /etc/*.db /mnt/141/etc/
|
||||
git diff /etc/master.passwd /mnt/141/etc/master.passwd
|
||||
cp /etc/master.passwd /mnt/141/etc/master.passwd
|
||||
```
|
||||
Eventuell müssen die master.passwd Änderungen noch angewendet werden:
|
||||
```
|
||||
chroot /mnt/141 #boot env als chroot betreten
|
||||
pwd_mkdb /etc/master.passwd
|
||||
exit #aus boot env chroot raus
|
||||
```
|
||||
|
||||
ggf. noch weitere (siehe Link) wie Zeitzone, resolv.conf etc. siehe unten.
|
||||
|
||||
Testen:
|
||||
```
|
||||
bectl activate -t 141
|
||||
reboot
|
||||
```
|
||||
|
||||
FreeBSD Version kontrollieren:
|
||||
```
|
||||
freebs-version -kru
|
||||
```
|
||||
|
||||
Wenn alles klappt permanent Boot Environment verwenden
|
||||
```
|
||||
bectl activate 141
|
||||
```
|
||||
|
||||
Danach muss pkg neu installiert werden
|
||||
```
|
||||
pkg bootstrap -f
|
||||
pkg update
|
||||
```
|
||||
|
||||
Weiter für Patches in [PKGBase](PKGBase.md)
|
||||
|
||||
Weitere Dateien nach Upgrade prüfen:
|
||||
im besten Fall via DIFF vergleichen falls Neuerungen in dem Update dazu kamen.
|
||||
```
|
||||
/etc/resolv.conf
|
||||
/etc/ssh/moduli
|
||||
/etc/ssh/host-keys
|
||||
/etc/rc.conf
|
||||
/etc/services (checkmk)
|
||||
/etc/inetd.conf (checkmk)
|
||||
/etc/rc.conf.d/inetd
|
||||
/etc/rc.conf.d/jail
|
||||
/etc/rc.conf.d/ntpd
|
||||
/etc/ssh-banner
|
||||
/etc/localtime
|
||||
/etc/passwd
|
||||
/etc/master.passwd
|
||||
/etc/group
|
||||
/etc/*.db
|
||||
/etc/jail.conf.d/*.conf
|
||||
/etc/ntp.conf
|
||||
/etc/fstab
|
||||
/etc/crontab/periodic
|
||||
boot/loader.conf
|
||||
```
|
||||
|
||||
|
||||
# ZFS Image für Boot Environment erstellen
|
||||
*Doku siehe klara-mariadb-cluster/doc/upgrades*
|
||||
Login auf fippuder02
|
||||
Neues Poudriere Jail erstellen:
|
||||
```
|
||||
poudriere jail -c -j 141BEbuilderamd64 -v 14.1-RELEASE -K GENERIC
|
||||
```
|
||||
|
||||
Dann das Image erstellen:
|
||||
```
|
||||
poudriere image -t zfs+send+be -j 141BEbuilderamd64 -s 4G -h '' -o /usr/local/poudriere/images -n 141BE
|
||||
```
|
||||
|
||||
Dieses landet dann in /usr/local/poudriere/images
|
||||
107
t/poudriere_image_bauen.md
Normal file
107
t/poudriere_image_bauen.md
Normal file
@ -0,0 +1,107 @@
|
||||
*nicht getestet*
|
||||
# Image in poudriere bauen
|
||||
jail erstellen
|
||||
```
|
||||
poudriere jail -c -j 14amd64image -v 14.1-RELEASE -K GENERIC
|
||||
```
|
||||
|
||||
```
|
||||
poudriere image -t firmware -j 14amd64image -s 4g -h 14amd64image-hostname -n 14amd64image
|
||||
```
|
||||
-t image type
|
||||
-j jail
|
||||
-s size
|
||||
-p portstree aus dem die images genommen werden
|
||||
landet in `/usr/local/poudriere/data/images/14amd64image.img`
|
||||
types siehe `man poudriere-image`
|
||||
|
||||
image temporär mounten
|
||||
```
|
||||
mdconfig -a -t vnode -f /usr/local/poudriere/data/images/14amd64image.img
|
||||
gpart show -l md0
|
||||
mount /dev/md0p3 /mnt/
|
||||
```
|
||||
|
||||
eigenes Repo für ports anlegen
|
||||
```
|
||||
poudriere ports -c -p 14amd64imageports
|
||||
```
|
||||
Ports Liste anlegen
|
||||
`/usr/local/etc/poudriere.d/14amd64imageports.list`
|
||||
```
|
||||
lang/python311
|
||||
```
|
||||
portstre bauen
|
||||
```
|
||||
poudriere bulk -j 14amd64 -p 14amd64imageports -f /usr/local/etc/poudriere.d/14amd64imageports.list
|
||||
```
|
||||
image erstellen
|
||||
```
|
||||
poudriere image -t firmware -j 14amd64 -s 4g -p 14amd64imageports -h 14amd64image-hostname -n 14amd64image -c /tmp/image -f 14amd64imageports.list
|
||||
```
|
||||
mit -c kann ein pfad angegeben werden, dessen Inhalt ins Jail gemountet wird.
|
||||
-A würde ein shell Skript einfügen was am Ende ausgeführt wird
|
||||
In diesem Fall wurde in /tmp/image ein Ordner root/.ssh/ mit authorized_keys erstellt um den SSH Key ins Image zu bekommen.
|
||||
|
||||
# Eigenes Installer ISO bauen
|
||||
|
||||
Jail erstellen
|
||||
```
|
||||
poudriere jail -c -j 142imageamd64 -v 14.2-RELEASE -K GENERIC
|
||||
```
|
||||
|
||||
Paket Liste erstellen
|
||||
```
|
||||
vim /usr/local/etc/poudriere.d/142imageamd64.list
|
||||
```
|
||||
mit Inhalt (und ggf. weiteren Paketen)
|
||||
```
|
||||
lang/python
|
||||
```
|
||||
pakete bauen
|
||||
```
|
||||
poudriere bulk -j 142imageamd64 -f /usr/local/etc/poudriere.d/142imageamd64.list
|
||||
```
|
||||
|
||||
in Image zu integrierende Dateien anlegen in `/usr/local/poudriere/images/overlay`
|
||||
```
|
||||
root@fippuder02:/usr/local/poudriere/images/overlay # tree -a
|
||||
.
|
||||
├── etc
|
||||
│ ├── rc.local
|
||||
│ └── ssh
|
||||
│ └── sshd_config
|
||||
├── root
|
||||
│ └── .ssh
|
||||
│ └── authorized_keys
|
||||
└── usr
|
||||
├── freebsd-dist
|
||||
│ ├── MANIFEST
|
||||
│ ├── base.txz
|
||||
│ └── kernel.txz
|
||||
└── local
|
||||
└── etc
|
||||
└── pkg
|
||||
└── repos
|
||||
├── FreeBSD.conf
|
||||
└── poudriere.conf
|
||||
```
|
||||
|
||||
Installer braucht /etc.rc.local um direkt beim Starten aufgerufen zu werden. Diese wurde aus einem offiziellen Installationsimage kopiert.
|
||||
/usr/freebsd-dist enthält Installationsdateien für Installer.
|
||||
Angepasste base.txz erzeugen:
|
||||
```
|
||||
poudriere image -t tar -j 142imageamd64 -f /usr/local/etc/poudriere.d/142imageamd64.list -s 4G -h '' -o /usr/local/poudriere/images/ -c /usr/local/poudriere/images/overlay/ -n base
|
||||
```
|
||||
und aus /usr/local/poudriere/images in overlay/usr/freebsd-dist verschieben
|
||||
|
||||
kernel.txz und Manifest von https://download.freebsd.org/ftp/releases/amd64/14.2-RELEASE/ herunterladen und in Ordner kopieren. Manifest anpassen (sha256sum von base.txz und zusätzliche Einträge außer base und kernel entfernen).
|
||||
pkg repo config anlegen und authorized_keys in root/.ssh anlegen.
|
||||
|
||||
Image bauen
|
||||
```
|
||||
poudriere image -t hybridiso -j 142imageamd64 -f /usr/local/etc/poudriere.d/142imageamd64.list -s 4G -h '' -o /usr/local/poudriere/images/ -c /usr/local/poudriere/images/overlay/ -n 142imageamd64
|
||||
```
|
||||
|
||||
Nach der Installation muss dann noch mit `rm /etc/rc.local` die rc.local entfernt werden damit beim booten nicht der Installer startet.
|
||||
Zudem muss die sshd_config angepasst werden, damit PermitRootLogin aktiviert ist.
|
||||
Reference in New Issue
Block a user