Compare commits

...

99 Commits

Author SHA1 Message Date
d790b9ed33 gc() + add patch from Markj 2025-11-12 03:13:37 +01:00
f8dbaa22a0 Port is "automaking" itself 2025-09-17 09:56:33 +02:00
fb9bdce10a 0mp port 2025-09-11 11:56:43 +07:00
ba38a2457f Grrr 2025-09-11 11:56:23 +07:00
afc6047814 D52168 2025-09-11 05:14:52 +02:00
7acb408e7d Samba 4.20 -> 4.22 2025-09-11 05:10:10 +02:00
52d3f86b37 Samba420 2025-09-11 05:09:25 +02:00
45d4e085cc Added kati port 2025-08-27 04:25:34 +02:00
0cf431dc97 Try 2025-08-22 16:26:15 +07:00
7bc33a4aa5 Original py-numpy 2025-08-19 10:44:30 +02:00
bc51ad4da5 Fixed sssd2 2025-08-08 04:20:20 +02:00
f8c2133b44 bump 2025-07-24 04:02:26 +02:00
f014c8afd9 Try a new patch 2025-07-24 04:00:59 +02:00
71e43c341a Use PATCHFILES 2025-07-24 03:42:43 +02:00
7cde189318 not neededwq 2025-07-23 13:14:48 +02:00
d7e134245c Fix the port 2025-07-23 13:14:03 +02:00
fbf86c8f34 Update port before poudriere 2025-07-23 07:18:49 +02:00
93f2480ef0 Update patches and add patchs from commits 4297f4e, ff69dad, 55f74e5
(some of them don't applies correctly)
2025-07-18 07:09:53 +02:00
afb8ac49b7 add www/libaprep2 from porttree 2025-07-18 04:25:11 +02:00
8befa9b010 Removed 2025-07-01 16:26:36 +02:00
cff784a9d4 Test original 2025-06-23 16:25:21 +02:00
73d6aff554 foo 2025-06-23 16:10:02 +02:00
f1eb64b7f5 bison as main dep 2025-06-23 16:09:25 +02:00
abd4351249 net/samba420: added bison dependency 2025-06-23 12:06:32 +02:00
ec7155349f Original port 2025-06-23 12:01:09 +02:00
fd4655d957 Fix 2025-06-16 11:40:21 +02:00
6dab8b2f18 PR 863 2025-06-16 11:36:42 +02:00
ee90a418d6 Fix several CVE: CVE-2024-56171, CVE-2025-24928, CVE-2025-32414 2025-06-13 12:30:26 +02:00
66b22f147f Removed pushed ports. Added libxml2 2025-06-13 11:10:43 +02:00
a181190b3f Cleanup 2025-06-04 15:15:02 +02:00
a2e43778b8 Testing py-salt 2025-05-26 09:46:51 +02:00
88e7ad955a Updated patch 2025-05-22 15:20:44 +02:00
e23dca4a8c Try to add GSSAPI patch 2025-05-22 15:17:30 +02:00
b76a177d9f Current openssh-portable 2025-05-22 15:11:17 +02:00
6ee87e0e92 Better before poudriere 2025-03-27 17:06:53 +01:00
384e9cd3fc Fix sample and other things 2025-03-27 16:49:10 +01:00
f75d65c04c LOCALBASE -> PREFIX 2025-03-27 14:48:23 +01:00
f0d8f5a3f2 Update from portsd 2025-03-27 14:40:13 +01:00
d1739433ef Try to fix net/jose 2025-03-24 17:03:38 +01:00
3b54995a82 Doc 2025-03-17 15:29:13 +01:00
a97e82ec24 Pushed into ports 2025-03-13 14:20:24 +01:00
7e00fb2426 Fix 2025-03-12 14:58:54 +01:00
722d8098dd fix 2025-03-12 08:57:52 +01:00
8b359169a1 update 2025-03-11 15:52:47 +01:00
001885d256 Update 2025-03-11 15:51:58 +01:00
4f4c03701f Fix typo 2025-03-11 13:56:09 +01:00
7c2a94c399 Merge branch 'main' of gitea.home.oav.net:kiwi/klara-ports 2025-03-11 13:38:28 +01:00
aa92ca9f89 Fix Makefile 2025-03-11 13:38:06 +01:00
11ade4f850 Try a fix 2025-03-07 09:59:12 +01:00
412201b193 Update 2025-03-06 17:05:37 +01:00
733f329e12 Try sudo@sssd2 ? 2025-03-06 16:56:47 +01:00
1a69951521 Update 2025-02-20 10:28:00 +01:00
705b4240eb up 2025-02-20 10:26:27 +01:00
c5b8b6ec7c update 2025-02-20 10:23:12 +01:00
8810970ff7 fix plist 2025-02-20 10:21:41 +01:00
5b4804de0e Update 2025-02-20 10:15:18 +01:00
51d45e9bae Update 2025-02-20 10:03:29 +01:00
1aad1427a9 Dix 2025-02-19 15:54:14 +01:00
58e703a9d8 Update 2025-02-19 15:52:07 +01:00
666b94afea Grr 2025-02-19 15:51:02 +01:00
466ed70f74 WTF distname 2025-02-19 15:46:25 +01:00
72a4e6ac76 push 2025-02-19 15:33:31 +01:00
cf12c13935 Removed 2025-02-19 15:30:29 +01:00
b2505c34e4 Update port 2025-02-19 15:29:41 +01:00
c22f73c04d Update 2025-02-07 16:43:54 +01:00
f15e5e297f Whatt? 2025-02-07 15:24:23 +01:00
eeb1275958 plop 2025-02-07 14:46:30 +01:00
7fc6c41cc5 Fix 2025-02-07 14:44:56 +01:00
8eb6b8f05f Fix 2025-02-07 14:43:41 +01:00
446f718b13 pet portclippy 2025-02-07 14:29:04 +01:00
acbaa67d26 Inital port 2025-02-07 14:25:21 +01:00
44b23bafc3 Update 2025-02-07 12:08:57 +01:00
617ee90998 LOCALBASE 2025-02-07 12:00:40 +01:00
db7dae0a62 Pet 2025-02-06 17:27:01 +01:00
0dd1bf2e9c Removed 2025-02-05 15:37:44 +01:00
8cc1cef1fd Removed 2025-02-05 15:36:39 +01:00
e2e1446597 Removed all are in the ports 2025-01-31 17:38:28 +01:00
ce038c3bd9 Update plist 2025-01-24 12:17:19 +01:00
1b6da007e3 Added missing stuff 2025-01-24 10:22:11 +01:00
023a0772a8 fix 2025-01-23 17:14:59 +01:00
0094500a45 Fix dependencies 2025-01-23 17:12:34 +01:00
223ecbfc0f Conflicts 2025-01-23 16:46:02 +01:00
773c992991 Update dependencies 2025-01-23 15:46:22 +01:00
163ad31fce ldb29 2025-01-23 15:40:56 +01:00
49540576e3 ldb28 -> ldb29 2025-01-23 15:34:20 +01:00
f0bf0bf427 tevent 0.16.1 2025-01-23 15:29:03 +01:00
71c418eedf Tevent 0.16.0 2025-01-23 15:26:08 +01:00
405e99c4cc Deps 2025-01-23 15:21:01 +01:00
b037aa6f3c 1.4.2 2025-01-23 15:18:48 +01:00
8d28b1406e Talloc 2025-01-23 15:15:44 +01:00
1724567115 Fix 2025-01-23 15:11:50 +01:00
c6964c5ed7 1.4.10 2025-01-23 15:08:00 +01:00
21bb9220c4 Added database/tdb as tdb1410 2025-01-23 15:05:49 +01:00
e9868dc745 update 2025-01-23 15:03:45 +01:00
218354026d Fix 2025-01-22 17:54:05 +01:00
a1d501ba35 Fix port 2025-01-22 17:53:34 +01:00
f6ff52230b Try samba420 2025-01-20 18:42:30 +01:00
c9e958d235 Old makefile 2025-01-08 16:50:21 +01:00
dc9b59ccc0 Removed security/sssd depend 2025-01-08 16:50:02 +01:00
86 changed files with 818 additions and 3584 deletions

View File

@ -1,143 +0,0 @@
PORTNAME= etcd
PORTVERSION= 3.5.15
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>

View File

@ -1,153 +0,0 @@
TIMESTAMP = 1729604976
SHA256 (coreos-etcd-v3.5.15_GH0.tar.gz) = bfc9c90f103acd47b0dca2840d4b69af68cb39f22893bef0f4fb5c5351314b84
SIZE (coreos-etcd-v3.5.15_GH0.tar.gz) = 4113649
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

View File

@ -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
View 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
View 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
View 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
View File

@ -0,0 +1,2 @@
bin/gmake3
share/man/man1/gmake3.1.gz

38
devel/kati/Makefile Normal file
View 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
View File

@ -0,0 +1 @@
Kati is an apache licensed replacement for GNU make

1
devel/kati/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/gmake

View File

@ -1,118 +0,0 @@
PORTNAME= nagios
PORTVERSION= 3.5.1
PORTREVISION= 12
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION}
MAINTAINER= joneum@FreeBSD.org
COMMENT= Powerful network monitoring system
WWW= https://www.nagios.org/
LICENSE= GPLv2
FLAVORS= default monplugins
FLAVOR?= ${FLAVORS:[1]}
monplugins_PKGNAMESUFFIX= -monplugins
LIB_DEPENDS= libltdl.so:devel/libltdl \
libgd.so:graphics/gd
PORTSCOUT= limit:^3.
USES= cpe localbase perl5 php
USE_PERL5= build
USE_RC_SUBR= nagios
CONFLICTS= nagios-[12].* nagios-devel nagios4
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \
--with-command-group=${WWWGRP} \
--with-nagios-user=${NAGIOSUSER} \
--with-nagios-group=${NAGIOSGROUP} \
--with-htmurl=${NAGIOSHTMURL} \
--with-cgiurl=${NAGIOSCGIURL} \
--sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \
--libexecdir=${PREFIX}/libexec/nagios \
--datadir=${PREFIX}/${NAGIOSWWWDIR} \
--sysconfdir=${PREFIX}/etc/nagios \
--localstatedir=${NAGIOSDIR} \
--with-httpd-conf=${PREFIX}/etc \
--with-checkresult-dir=${NAGIOSDIR}/checkresults \
--disable-statuswrl \
ac_cv_lib_iconv_main=no
CONFIGURE_ENV= PERL=${PERL}
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install install-commandmode install-config
PLIST_SUB= NAGIOSDIR=${NAGIOSDIR} \
NAGIOSWWWDIR=${NAGIOSWWWDIR} \
NAGIOSUSER=${NAGIOSUSER} \
NAGIOSGROUP=${NAGIOSGROUP} \
WWWGRP=${WWWGRP}
SUB_FILES= pkg-message
# XXX: Don't remove PREFIX from SUB_LIST here.
SUB_LIST= PREFIX=${PREFIX} \
NAGIOSHTMURL=${NAGIOSHTMURL} \
NAGIOSCGIURL=${NAGIOSCGIURL} \
${PLIST_SUB}
NAGIOSUSER?= nagios
NAGIOSGROUP?= nagios
NAGIOSDIR?= /var/spool/nagios
NAGIOSWWWDIR?= www/nagios
NAGIOSHTMURL?= /nagios
NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin
USERS= ${NAGIOSUSER}
GROUPS= ${NAGIOSGROUP}
OPTIONS_DEFINE= EMBEDDED_PERL NANOSLEEP EVENT_BROKER UNHANDLED_HACK
OPTIONS_RADIO= PLUGINS
OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS
# XXX:
#OPTIONS_DEFAULT= NAGPLUGINS
EMBEDDED_PERL_DESC= Enable embedded Perl [requires Perl 5.8.0+]
NANOSLEEP_DESC= Use nanosleep in event timing
EVENT_BROKER_DESC= Enable event broker functionality
UNHANDLED_HACK_DESC= Display passive checks in unhandled queries
MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins
NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins
OPTIONS_SUB=
EMBEDDED_PERL_USE= perl5=run
EMBEDDED_PERL_CONFIGURE_ENABLE= embedded-perl
EMBEDDED_PERL_CONFIGURE_WITH= perlcache
NANOSLEEP_CONFIGURE_ENABLE= nanosleep
EVENT_BROKER_CONFIGURE_ENABLE= event-broker
.if ${FLAVOR:U} == monplugins
OPTIONS_DEFAULT+= MONPLUGINS
.endif
.if ${FLAVOR:U} == default
OPTIONS_DEFAULT+= NAGPLUGINS
.endif
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} '/^INSTALL_OPTS=/d' ${WRKSRC}/configure
.if ${PORT_OPTIONS:MUNHANDLED_HACK}
@${REINPLACE_CMD} -e 's#;serviceprops=42\&#;serviceprops=10\&#g' \
-e 's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/side.php
.endif
post-install:
@${MV} ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php.sample
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (nagios-3.5.1.tar.gz) = ca9dd68234fa090b3c35ecc8767b2c9eb743977eaf32612fa9b8341cc00a0f99
SIZE (nagios-3.5.1.tar.gz) = 1763584

View File

@ -1,100 +0,0 @@
#!/bin/sh
# PROVIDE: nagios
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable nagios:
# nagios_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable nagios.
# nagios_precache (bool): Set to "NO" by default.
# Set it to "YES" to enable pre-caching.
# nagios_flags (str): Set to "" by default.
# nagios_configfile (str): Set to "%%PREFIX%%/etc/nagios/nagios.cfg" by default.
#
. /etc/rc.subr
name="nagios"
rcvar=nagios_enable
command="%%PREFIX%%/bin/nagios"
command_args="-d"
extra_commands="reload configtest"
pidfile="%%NAGIOSDIR%%/nagios.lock"
nagios_user="%%NAGIOSUSER%%"
start_precmd="start_precmd"
stop_postcmd="stop_postcmd"
restart_precmd="nagios_checkconfig"
reload_precmd="reload_precmd"
configtest_cmd="nagios_checkconfig"
sig_reload=HUP
load_rc_config "${name}"
[ -z "${nagios_enable}" ] && nagios_enable="NO"
[ -z "${nagios_configfile}" ] && nagios_configfile="%%PREFIX%%/etc/nagios/nagios.cfg"
[ -z "${nagios_precache}" ] && nagios_precache="NO"
required_files="${nagios_configfile}"
command_args="${command_args} ${nagios_configfile}"
nagios_cacheconfig() {
if ! checkyesno nagios_precache; then
return 0
fi
echo -n "Pre-Caching nagios configuration: "
${command} -pv ${nagios_configfile} 2>&1 >/dev/null
if [ $? != 0 ]; then
echo "FAILED"
${command} -v ${nagios_configfile}
return 1
else
command_args="-u -x ${command_args}"
echo "OK"
fi
}
nagios_checkconfig() {
echo -n "Performing sanity check of nagios configuration: "
${command} -v ${nagios_configfile} 2>&1 >/dev/null
if [ $? != 0 ]; then
echo "FAILED"
${command} -v ${nagios_configfile}
return 1
else
echo "OK"
fi
}
reload_precmd() {
if ! nagios_checkconfig; then
return 1
fi
if ! nagios_cacheconfig; then
return 1
fi
}
start_precmd() {
if ! nagios_checkconfig; then
return 1
fi
if ! nagios_cacheconfig; then
return 1
fi
su -m "${nagios_user}" -c "touch \"%%NAGIOSDIR%%/nagios.log\" \"%%NAGIOSDIR%%/status.sav\""
rm -f "%%NAGIOSDIR%%/rw/nagios.cmd"
}
stop_postcmd() {
rm -f "%%NAGIOSDIR%%/nagios.tmp" "%%NAGIOSDIR%%/rw/nagios.cmd"
}
run_rc_command "$1"

View File

@ -1,32 +0,0 @@
--- ./include/downtime.h.orig 2013-08-30 19:46:14.000000000 +0200
+++ ./include/downtime.h 2014-04-18 10:49:26.000000000 +0200
@@ -39,24 +39,26 @@
char *service_description;
time_t entry_time;
time_t start_time;
- time_t flex_downtime_start; /* Time the flexible downtime started */
time_t end_time;
int fixed;
unsigned long triggered_by;
unsigned long duration;
unsigned long downtime_id;
- int is_in_effect;
- int start_notification_sent;
char *author;
char *comment;
#ifdef NSCORE
unsigned long comment_id;
+#endif
+ int is_in_effect;
+#ifdef NSCORE
int start_flex_downtime;
int incremented_pending_downtime;
// int start_event;
// int stop_event;
#endif
struct scheduled_downtime_struct *next;
+ time_t flex_downtime_start; /* Time the flexible downtime started */
+ int start_notification_sent;
} scheduled_downtime;

View File

@ -1,66 +0,0 @@
--- ./Makefile.in.orig 2013-08-30 19:46:14.000000000 +0200
+++ ./Makefile.in 2014-01-14 13:57:06.000000000 +0100
@@ -30,8 +30,6 @@
LIBEXECDIR=@libexecdir@
HTMLDIR=@datadir@
INSTALL=@INSTALL@
-INSTALL_OPTS=@INSTALL_OPTS@
-COMMAND_OPTS=@COMMAND_OPTS@
HTTPD_CONF=@HTTPD_CONF@
INIT_DIR=@init_dir@
INIT_OPTS=-o root -g root
@@ -234,12 +232,12 @@
$(MAKE) install-basic
install-basic:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LIBEXECDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(LIBEXECDIR)
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LOGDIR)
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LOGDIR)/archives
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CHECKRESULTDIR)
if [ $(INSTALLPERLSTUFF) = yes ]; then \
- $(INSTALL) -m 664 $(INSTALL_OPTS) p1.pl $(DESTDIR)$(BINDIR); \
+ $(INSTALL) -m 644 $(INSTALL_OPTS) p1.pl $(DESTDIR)$(BINDIR); \
fi;
@echo ""
@@ -261,19 +259,18 @@
install-config:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)/objects
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/nagios.cfg $(DESTDIR)$(CFGDIR)/nagios.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/cgi.cfg $(DESTDIR)$(CFGDIR)/cgi.cfg
- $(INSTALL) -b -m 660 $(INSTALL_OPTS) sample-config/resource.cfg $(DESTDIR)$(CFGDIR)/resource.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/templates.cfg $(DESTDIR)$(CFGDIR)/objects/templates.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/commands.cfg $(DESTDIR)$(CFGDIR)/objects/commands.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/contacts.cfg $(DESTDIR)$(CFGDIR)/objects/contacts.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/timeperiods.cfg $(DESTDIR)$(CFGDIR)/objects/timeperiods.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/localhost.cfg $(DESTDIR)$(CFGDIR)/objects/localhost.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/windows.cfg $(DESTDIR)$(CFGDIR)/objects/windows.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/printer.cfg $(DESTDIR)$(CFGDIR)/objects/printer.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/switch.cfg $(DESTDIR)$(CFGDIR)/objects/switch.cfg
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)/objects
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/nagios.cfg $(DESTDIR)$(CFGDIR)/nagios.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/cgi.cfg $(DESTDIR)$(CFGDIR)/cgi.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/resource.cfg $(DESTDIR)$(CFGDIR)/resource.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/templates.cfg $(DESTDIR)$(CFGDIR)/objects/templates.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/commands.cfg $(DESTDIR)$(CFGDIR)/objects/commands.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/contacts.cfg $(DESTDIR)$(CFGDIR)/objects/contacts.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/timeperiods.cfg $(DESTDIR)$(CFGDIR)/objects/timeperiods.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/localhost.cfg $(DESTDIR)$(CFGDIR)/objects/localhost.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/printer.cfg $(DESTDIR)$(CFGDIR)/objects/printer.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/switch.cfg $(DESTDIR)$(CFGDIR)/objects/switch.cfg-sample
@echo ""
@echo "*** Config files installed ***"
@@ -321,7 +318,6 @@
install-commandmode:
$(INSTALL) -m 775 $(COMMAND_OPTS) -d $(DESTDIR)$(LOGDIR)/rw
- chmod g+s $(DESTDIR)$(LOGDIR)/rw
@echo ""
@echo "*** External command directory configured ***"

View File

@ -1,24 +0,0 @@
--- ./base/Makefile.in.orig 2013-08-30 19:46:14.000000000 +0200
+++ ./base/Makefile.in 2014-01-14 13:57:06.000000000 +0100
@@ -39,8 +39,6 @@
CGIDIR=@sbindir@
HTMLDIR=@datarootdir@
INSTALL=@INSTALL@
-INSTALL_OPTS=@INSTALL_OPTS@
-COMMAND_OPTS=@COMMAND_OPTS@
STRIP=@STRIP@
CGIURL=@cgiurl@
@@ -204,9 +202,9 @@
$(MAKE) install-basic
install-basic:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
- $(INSTALL) -m 774 $(INSTALL_OPTS) @nagios_name@ $(DESTDIR)$(BINDIR)
- $(INSTALL) -m 774 $(INSTALL_OPTS) @nagiostats_name@ $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) @nagios_name@ $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) @nagiostats_name@ $(DESTDIR)$(BINDIR)
strip-post-install:
$(STRIP) $(DESTDIR)$(BINDIR)/@nagios_name@

View File

@ -1,23 +0,0 @@
--- ./cgi/Makefile.in.orig 2013-08-30 19:46:14.000000000 +0200
+++ ./cgi/Makefile.in 2014-01-14 13:57:06.000000000 +0100
@@ -18,8 +18,6 @@
CGIDIR=@sbindir@
HTMLDIR=@datarootdir@
INSTALL=@INSTALL@
-INSTALL_OPTS=@INSTALL_OPTS@
-COMMAND_OPTS=@COMMAND_OPTS@
STRIP=@STRIP@
CGIEXTRAS=@CGIEXTRAS@
@@ -201,9 +199,9 @@
$(MAKE) install-basic
install-basic:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
for file in *.cgi; do \
- $(INSTALL) -m 775 $(INSTALL_OPTS) $$file $(DESTDIR)$(CGIDIR); \
+ $(INSTALL) -m 755 $(INSTALL_OPTS) $$file $(DESTDIR)$(CGIDIR); \
done
strip-post-install:

View File

@ -1,25 +0,0 @@
--- ./contrib/Makefile.in.orig 2013-08-30 19:46:14.000000000 +0200
+++ ./contrib/Makefile.in 2014-01-14 13:57:06.000000000 +0100
@@ -16,7 +16,6 @@
# Generated automatically from configure script
SNPRINTF_O=@SNPRINTF_O@
INSTALL=@INSTALL@
-INSTALL_OPTS=@INSTALL_OPTS@
prefix=@prefix@
@@ -51,10 +50,10 @@
devclean: distclean
install:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
- for f in $(CGIS); do $(INSTALL) -m 775 $(INSTALL_OPTS) $$f $(DESTDIR)$(CGIDIR); done
- for f in $(UTILS); do $(INSTALL) -m 775 $(INSTALL_OPTS) $$f $(DESTDIR)$(BINDIR); done
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
+ for f in $(CGIS); do $(INSTALL) -m 755 $(INSTALL_OPTS) $$f $(DESTDIR)$(CGIDIR); done
+ for f in $(UTILS); do $(INSTALL) -m 755 $(INSTALL_OPTS) $$f $(DESTDIR)$(BINDIR); done
##############################################################################
# rules and dependencies for actual target programs

View File

@ -1,175 +0,0 @@
commit d97e03f32741a7d851826b03ed73ff4c9612a866
Author: Eric Stanley <estanley@nagios.com>
Date: 2013-12-20 13:14:30 -0600
CGIs: Fixed minor vulnerability where a custom query could crash the CGI.
Most CGIs previously incremented the input variable counter twice when
it encountered a long key value. This could cause the CGI to read past
the end of the list of CGI variables. This commit removes the second
increment, removing the possibility of reading past the end of the list
of CGI variables.
diff --git ./cgi/avail.c ./cgi/avail.c
index 76afd86..64eaadc 100644
--- ./cgi/avail.c
+++ ./cgi/avail.c
@@ -1096,7 +1096,6 @@ int process_cgivars(void) {
/* do some basic length checking on the variable identifier to prevent buffer overflows */
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
- x++;
continue;
}
diff --git ./cgi/cmd.c ./cgi/cmd.c
index fa6cf5a..50504eb 100644
--- ./cgi/cmd.c
+++ ./cgi/cmd.c
@@ -311,7 +311,6 @@ int process_cgivars(void) {
/* do some basic length checking on the variable identifier to prevent buffer overflows */
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
- x++;
continue;
}
diff --git ./cgi/config.c ./cgi/config.c
index f061b0f..3360e70 100644
--- ./cgi/config.c
+++ ./cgi/config.c
@@ -344,7 +344,6 @@ int process_cgivars(void) {
/* do some basic length checking on the variable identifier to prevent buffer overflows */
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
- x++;
continue;
}
diff --git ./cgi/extinfo.c ./cgi/extinfo.c
index 62a1b18..5113df4 100644
--- ./cgi/extinfo.c
+++ ./cgi/extinfo.c
@@ -591,7 +591,6 @@ int process_cgivars(void) {
/* do some basic length checking on the variable identifier to prevent buffer overflows */
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
- x++;
continue;
}
diff --git ./cgi/histogram.c ./cgi/histogram.c
index 4616541..f6934d0 100644
--- ./cgi/histogram.c
+++ ./cgi/histogram.c
@@ -1060,7 +1060,6 @@ int process_cgivars(void) {
/* do some basic length checking on the variable identifier to prevent buffer overflows */
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
- x++;
continue;
}
diff --git ./cgi/notifications.c ./cgi/notifications.c
index 8ba11c1..461ae84 100644
--- ./cgi/notifications.c
+++ ./cgi/notifications.c
@@ -327,7 +327,6 @@ int process_cgivars(void) {
/* do some basic length checking on the variable identifier to prevent buffer overflows */
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
- x++;
continue;
}
diff --git ./cgi/outages.c ./cgi/outages.c
index 426ede6..cb58dee 100644
--- ./cgi/outages.c
+++ ./cgi/outages.c
@@ -225,7 +225,6 @@ int process_cgivars(void) {
/* do some basic length checking on the variable identifier to prevent buffer overflows */
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
- x++;
continue;
}
diff --git ./cgi/status.c ./cgi/status.c
index 3253340..4ec1c92 100644
--- ./cgi/status.c
+++ ./cgi/status.c
@@ -567,7 +567,6 @@ int process_cgivars(void) {
/* do some basic length checking on the variable identifier to prevent buffer overflows */
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
- x++;
continue;
}
diff --git ./cgi/statusmap.c ./cgi/statusmap.c
index ea48368..2580ae5 100644
--- ./cgi/statusmap.c
+++ ./cgi/statusmap.c
@@ -400,7 +400,6 @@ int process_cgivars(void) {
/* do some basic length checking on the variable identifier to prevent buffer overflows */
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
- x++;
continue;
}
diff --git ./cgi/statuswml.c ./cgi/statuswml.c
index bd8cea2..d25abef 100644
--- ./cgi/statuswml.c
+++ ./cgi/statuswml.c
@@ -226,8 +226,13 @@ int process_cgivars(void) {
for(x = 0; variables[x] != NULL; x++) {
+ /* do some basic length checking on the variable identifier to prevent buffer overflows */
+ if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
+ continue;
+ }
+
/* we found the hostgroup argument */
- if(!strcmp(variables[x], "hostgroup")) {
+ else if(!strcmp(variables[x], "hostgroup")) {
display_type = DISPLAY_HOSTGROUP;
x++;
if(variables[x] == NULL) {
diff --git ./cgi/summary.c ./cgi/summary.c
index 126ce5e..749a02c 100644
--- ./cgi/summary.c
+++ ./cgi/summary.c
@@ -725,7 +725,6 @@ int process_cgivars(void) {
/* do some basic length checking on the variable identifier to prevent buffer overflows */
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
- x++;
continue;
}
diff --git ./cgi/trends.c ./cgi/trends.c
index b35c18e..895db01 100644
--- ./cgi/trends.c
+++ ./cgi/trends.c
@@ -1263,7 +1263,6 @@ int process_cgivars(void) {
/* do some basic length checking on the variable identifier to prevent buffer overflows */
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
- x++;
continue;
}
diff --git ./contrib/daemonchk.c ./contrib/daemonchk.c
index 78716e5..9bb6c4b 100644
--- ./contrib/daemonchk.c
+++ ./contrib/daemonchk.c
@@ -174,7 +174,6 @@ static int process_cgivars(void) {
/* do some basic length checking on the variable identifier to prevent buffer overflows */
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
- x++;
continue;
}
}

View File

@ -1,97 +0,0 @@
--- html/Makefile.in.orig 2013-08-30 17:46:14 UTC
+++ html/Makefile.in
@@ -10,8 +10,6 @@ BINDIR=@bindir@
CGIDIR=@sbindir@
HTMLDIR=@datadir@
INSTALL=@INSTALL@
-INSTALL_OPTS=@INSTALL_OPTS@
-COMMAND_OPTS=@COMMAND_OPTS@
CP=@CP@
@@ -34,55 +32,55 @@ distclean: clean
devclean: distclean
install:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/media
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/stylesheets
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/contexthelp
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs/images
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/js
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images/logos
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes/rss
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes/rss/extlib
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/ssi
- $(INSTALL) -m 664 $(INSTALL_OPTS) robots.txt $(DESTDIR)$(HTMLDIR)
-# $(INSTALL) -m 664 $(INSTALL_OPTS) docs/robots.txt $(DESTDIR)$(HTMLDIR)/docs
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)
+# $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/media
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/stylesheets
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/contexthelp
+# $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs
+# $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs/images
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/js
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images/logos
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes/rss
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes/rss/extlib
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/ssi
+ $(INSTALL) -m 644 $(INSTALL_OPTS) robots.txt $(DESTDIR)$(HTMLDIR)
+# $(INSTALL) -m 644 $(INSTALL_OPTS) docs/robots.txt $(DESTDIR)$(HTMLDIR)/docs
# Remove old HTML files (PHP files are used now)
rm -f $(DESTDIR)$(HTMLDIR)/index.html
rm -f $(DESTDIR)$(HTMLDIR)/main.html
rm -f $(DESTDIR)$(HTMLDIR)/side.html
for file in *.php; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR); done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR); done
# for file in media/*.wav; \
-# do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/media; done
+# do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/media; done
for file in stylesheets/*.css; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/stylesheets; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/stylesheets; done
for file in contexthelp/*.html; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/contexthelp; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/contexthelp; done
for file in js/*.js; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/js; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/js; done
# for file in docs/*.html; \
-# do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs; done
+# do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs; done
# for file in docs/images/*.*; \
-# do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs/images; done
+# do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs/images; done
for file in images/*.gif; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
for file in images/*.jpg; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
for file in images/*.png; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
for file in images/*.ico; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
for file in images/logos/*.*; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images/logos; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images/logos; done
for file in includes/*.*; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes; done
for file in includes/rss/*.*; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss; done
for file in includes/rss/extlib/*.*; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss/extlib; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss/extlib; done
install-unstripped:
$(MAKE) install

View File

@ -1,13 +0,0 @@
--- ./html/index.php.orig 2013-08-30 19:46:14.000000000 +0200
+++ ./html/index.php 2014-01-14 13:57:06.000000000 +0100
@@ -8,8 +8,9 @@
</head>
<?php
+include_once(dirname(__FILE__).'/includes/utils.inc.php');
// allow specifying main window URL for permalinks, etc.
-$corewindow="main.php";
+$corewindow=$cfg["cgi_base_url"]."/tac.cgi";
if(isset($_GET['corewindow'])){
// default window url may have been overridden with a permalink...

View File

@ -1,39 +0,0 @@
--- ./html/main.php.orig 2013-08-30 19:46:14.000000000 +0200
+++ ./html/main.php 2014-01-14 13:57:06.000000000 +0100
@@ -40,36 +40,10 @@
<div class="product">Nagios<sup><span style="font-size: small;">&reg;</span></sup> Core<sup><span style="font-size: small;">&trade;</span></sup></div>
<div class="version">Version 3.5.1</div>
<div class="releasedate">August 30, 2013</div>
-<div class="checkforupdates"><a href="http://www.nagios.org/checkforupdates/?version=3.5.1&product=nagioscore" target="_blank">Check for updates</a></div>
<!--<div class="whatsnew"><a href="http://go.nagios.com/nagioscore/whatsnew">Read what's new in Nagios Core 3</a></div>-->
</div>
-<div id="updateversioninfo">
-<?php
- $updateinfo=get_update_information();
- //print_r($updateinfo);
- //$updateinfo['update_checks_enabled']=false;
- //$updateinfo['update_available']=true;
- if($updateinfo['update_checks_enabled']==false){
-?>
- <div class="updatechecksdisabled">
- <div class="warningmessage">Warning: Automatic Update Checks are Disabled!</div>
- <div class="submessage">Disabling update checks presents a possible security risk. Visit <a href="http://www.nagios.org/" target="_blank">nagios.org</a> to check for updates manually or enable update checks in your Nagios config file.</a></div>
- </div>
-<?php
- }
- else if($updateinfo['update_available']==true && $this_version!=$updateinfo['update_version']){
-?>
- <div class="updateavailable">
- <div class="updatemessage">A new version of Nagios Core is available!</div>
- <div class="submessage">Visit <a href="http://www.nagios.org/download/" target="_blank">nagios.org</a> to download Nagios <?php echo $updateinfo['update_version'];?>.</div>
- </div>
-<?php
- }
-?>
-</div>
-
<div id="splashboxes">

View File

@ -1,11 +0,0 @@
--- html/includes/rss/rss_parse.inc.orig 2017-12-21 16:55:41.032397000 +0100
+++ html/includes/rss/rss_parse.inc 2017-12-21 16:57:40.079068000 +0100
@@ -150,7 +150,7 @@
// check for a namespace, and split if found
$ns = false;
if ( strpos( $element, ':' ) ) {
- list($ns, $el) = split( ':', $element, 2);
+ list($ns, $el) = explode( ':', $element, 2);
}
if ( $ns and $ns != 'rdf' ) {
$this->current_namespace = $ns;

View File

@ -1,11 +0,0 @@
--- ./include/locations.h.in.orig 2013-08-30 19:46:14.000000000 +0200
+++ ./include/locations.h.in 2014-01-14 13:57:06.000000000 +0100
@@ -20,7 +20,7 @@
#define DEFAULT_TEMP_FILE "@localstatedir@/tempfile"
#define DEFAULT_TEMP_PATH "/tmp"
-#define DEFAULT_CHECK_RESULT_PATH "@localstatedir@/spool/checkresults"
+#define DEFAULT_CHECK_RESULT_PATH "@localstatedir@/checkresults"
#define DEFAULT_STATUS_FILE "@localstatedir@/status.dat"
#define DEFAULT_LOG_FILE "@localstatedir@/nagios.log"
#define DEFAULT_LOG_ARCHIVE_PATH "@localstatedir@/archives/"

View File

@ -1,11 +0,0 @@
--- ./sample-config/cgi.cfg.in.orig 2013-08-30 19:46:14.000000000 +0200
+++ ./sample-config/cgi.cfg.in 2014-01-14 13:57:06.000000000 +0100
@@ -264,7 +264,7 @@
# OS and distribution, so you may have to tweak this to
# work on your system.
-ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
+ping_syntax=/sbin/ping -n -c 5 $HOSTADDRESS$

View File

@ -1,11 +0,0 @@
--- ./sample-config/nagios.cfg.in.orig 2013-08-30 19:46:14.000000000 +0200
+++ ./sample-config/nagios.cfg.in 2014-01-14 13:57:06.000000000 +0100
@@ -32,7 +32,7 @@
cfg_file=@sysconfdir@/objects/timeperiods.cfg
cfg_file=@sysconfdir@/objects/templates.cfg
-# Definitions for monitoring the local (Linux) host
+# Definitions for monitoring the local (FreeBSD) host
cfg_file=@sysconfdir@/objects/localhost.cfg
# Definitions for monitoring a Windows machine

View File

@ -1,40 +0,0 @@
--- ./sample-config/template-object/localhost.cfg.in.orig 2013-08-30 19:46:14.000000000 +0200
+++ ./sample-config/template-object/localhost.cfg.in 2014-01-14 13:57:06.000000000 +0100
@@ -5,7 +5,7 @@
#
# NOTE: This config file is intended to serve as an *extremely* simple
# example of how you can create configuration entries to monitor
-# the local (Linux) machine.
+# the local (FreeBSD) machine.
#
###############################################################################
@@ -23,9 +23,9 @@
# Define a host for the local machine
define host{
- use linux-server ; Name of host template to use
+ use freebsd-server ; Name of host template to use
; This host definition will inherit all variables that are defined
- ; in (or inherited by) the linux-server host template definition.
+ ; in (or inherited by) the freebsd-server host template definition.
host_name localhost
alias localhost
address 127.0.0.1
@@ -41,12 +41,12 @@
###############################################################################
###############################################################################
-# Define an optional hostgroup for Linux machines
+# Define an optional hostgroup for FreeBSD machines
define hostgroup{
- hostgroup_name linux-servers ; The name of the hostgroup
- alias Linux Servers ; Long name of the group
- members localhost ; Comma separated list of hosts that belong to this group
+ hostgroup_name freebsd-servers ; The name of the hostgroup
+ alias FreeBSD Servers ; Long name of the group
+ members localhost ; Comma separated list of hosts that belong to this group
}

View File

@ -1,26 +0,0 @@
--- ./sample-config/template-object/templates.cfg.in.orig 2013-08-30 19:46:14.000000000 +0200
+++ ./sample-config/template-object/templates.cfg.in 2014-01-14 13:57:06.000000000 +0100
@@ -63,17 +63,17 @@
}
-# Linux host definition template - This is NOT a real host, just a template!
+# FreeBSD host definition template - This is NOT a real host, just a template!
define host{
- name linux-server ; The name of this host template
+ name freebsd-server ; The name of this host template
use generic-host ; This template inherits other values from the generic-host template
- check_period 24x7 ; By default, Linux hosts are checked round the clock
+ check_period 24x7 ; By default, FreeBSD hosts are checked round the clock
check_interval 5 ; Actively check the host every 5 minutes
retry_interval 1 ; Schedule host check retries at 1 minute intervals
- max_check_attempts 10 ; Check each Linux host 10 times (max)
- check_command check-host-alive ; Default command to check Linux hosts
- notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day
+ max_check_attempts 10 ; Check each FreeBSD host 10 times (max)
+ check_command check-host-alive ; Default command to check FreeBSD hosts
+ notification_period workhours ; FreeBSD admins hate to be woken up, so we only notify during the day
; Note that the notification_period variable is being overridden from
; the value that is inherited from the generic-host template!
notification_interval 120 ; Resend notifications every 2 hours

View File

@ -1,34 +0,0 @@
[
{
message: <<EOT
Enable Nagios in /etc/rc.conf with the following line:
nagios_enable="YES"
Configuration templates are available in %%PREFIX%%/etc/nagios as
*.cfg-sample files. Copy them to *.cfg files where required and
edit to suit your needs.
If you don't already have a web server running, you will need to
install and configure one to finish off your Nagios installation.
When used with Apache, the following should be sufficient to publish
the web component of Nagios (modify the allow list to suit):
<Directory %%PREFIX%%/%%NAGIOSWWWDIR%%>
Order deny,allow
Deny from all
Allow from 127.0.0.1
php_flag engine on
php_admin_value open_basedir %%PREFIX%%/%%NAGIOSWWWDIR%%/:%%NAGIOSDIR%%/
</Directory>
<Directory %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin>
Options ExecCGI
</Directory>
ScriptAlias %%NAGIOSCGIURL%%/ %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin/
Alias %%NAGIOSHTMURL%%/ %%PREFIX%%/%%NAGIOSWWWDIR%%/
EOT
type: install
}
]

View File

@ -1,8 +0,0 @@
Nagios is a host and service monitor designed to inform you of network
problems before your clients, end-users or managers do. The monitoring
daemon runs intermittent checks on hosts and services you specify
using external "plugins" which return status information to Nagios.
When problems are encountered, the daemon can send notifications out
to administrative contacts in a variety of different ways (email,
instant message, SMS, etc.). Current status information, historical
logs, and reports can all be accessed via a web browser.

View File

@ -1,383 +0,0 @@
bin/nagios
bin/nagiostats
%%EMBEDDED_PERL%%bin/p1.pl
etc/nagios/cgi.cfg-sample
etc/nagios/nagios.cfg-sample
etc/nagios/objects/commands.cfg-sample
etc/nagios/objects/contacts.cfg-sample
etc/nagios/objects/localhost.cfg-sample
etc/nagios/objects/printer.cfg-sample
etc/nagios/objects/switch.cfg-sample
etc/nagios/objects/templates.cfg-sample
etc/nagios/objects/timeperiods.cfg-sample
etc/nagios/resource.cfg-sample
%%NAGIOSWWWDIR%%/cgi-bin/avail.cgi
%%NAGIOSWWWDIR%%/cgi-bin/cmd.cgi
%%NAGIOSWWWDIR%%/cgi-bin/config.cgi
%%NAGIOSWWWDIR%%/cgi-bin/extinfo.cgi
%%NAGIOSWWWDIR%%/cgi-bin/histogram.cgi
%%NAGIOSWWWDIR%%/cgi-bin/history.cgi
%%NAGIOSWWWDIR%%/cgi-bin/notifications.cgi
%%NAGIOSWWWDIR%%/cgi-bin/outages.cgi
%%NAGIOSWWWDIR%%/cgi-bin/showlog.cgi
%%NAGIOSWWWDIR%%/cgi-bin/status.cgi
%%NAGIOSWWWDIR%%/cgi-bin/statusmap.cgi
%%NAGIOSWWWDIR%%/cgi-bin/statuswml.cgi
%%NAGIOSWWWDIR%%/cgi-bin/summary.cgi
%%NAGIOSWWWDIR%%/cgi-bin/tac.cgi
%%NAGIOSWWWDIR%%/cgi-bin/trends.cgi
@sample %%NAGIOSWWWDIR%%/config.inc.php.sample
%%NAGIOSWWWDIR%%/contexthelp/A1.html
%%NAGIOSWWWDIR%%/contexthelp/A2.html
%%NAGIOSWWWDIR%%/contexthelp/A3.html
%%NAGIOSWWWDIR%%/contexthelp/A4.html
%%NAGIOSWWWDIR%%/contexthelp/A5.html
%%NAGIOSWWWDIR%%/contexthelp/A6.html
%%NAGIOSWWWDIR%%/contexthelp/A7.html
%%NAGIOSWWWDIR%%/contexthelp/B1.html
%%NAGIOSWWWDIR%%/contexthelp/C1.html
%%NAGIOSWWWDIR%%/contexthelp/D1.html
%%NAGIOSWWWDIR%%/contexthelp/E1.html
%%NAGIOSWWWDIR%%/contexthelp/F1.html
%%NAGIOSWWWDIR%%/contexthelp/G1.html
%%NAGIOSWWWDIR%%/contexthelp/G2.html
%%NAGIOSWWWDIR%%/contexthelp/G3.html
%%NAGIOSWWWDIR%%/contexthelp/G4.html
%%NAGIOSWWWDIR%%/contexthelp/G5.html
%%NAGIOSWWWDIR%%/contexthelp/G6.html
%%NAGIOSWWWDIR%%/contexthelp/H1.html
%%NAGIOSWWWDIR%%/contexthelp/H2.html
%%NAGIOSWWWDIR%%/contexthelp/H3.html
%%NAGIOSWWWDIR%%/contexthelp/H4.html
%%NAGIOSWWWDIR%%/contexthelp/H5.html
%%NAGIOSWWWDIR%%/contexthelp/H6.html
%%NAGIOSWWWDIR%%/contexthelp/H7.html
%%NAGIOSWWWDIR%%/contexthelp/H8.html
%%NAGIOSWWWDIR%%/contexthelp/I1.html
%%NAGIOSWWWDIR%%/contexthelp/I2.html
%%NAGIOSWWWDIR%%/contexthelp/I3.html
%%NAGIOSWWWDIR%%/contexthelp/I4.html
%%NAGIOSWWWDIR%%/contexthelp/I5.html
%%NAGIOSWWWDIR%%/contexthelp/I6.html
%%NAGIOSWWWDIR%%/contexthelp/I7.html
%%NAGIOSWWWDIR%%/contexthelp/I8.html
%%NAGIOSWWWDIR%%/contexthelp/I9.html
%%NAGIOSWWWDIR%%/contexthelp/J1.html
%%NAGIOSWWWDIR%%/contexthelp/K1.html
%%NAGIOSWWWDIR%%/contexthelp/L1.html
%%NAGIOSWWWDIR%%/contexthelp/L10.html
%%NAGIOSWWWDIR%%/contexthelp/L11.html
%%NAGIOSWWWDIR%%/contexthelp/L12.html
%%NAGIOSWWWDIR%%/contexthelp/L13.html
%%NAGIOSWWWDIR%%/contexthelp/L2.html
%%NAGIOSWWWDIR%%/contexthelp/L3.html
%%NAGIOSWWWDIR%%/contexthelp/L4.html
%%NAGIOSWWWDIR%%/contexthelp/L5.html
%%NAGIOSWWWDIR%%/contexthelp/L6.html
%%NAGIOSWWWDIR%%/contexthelp/L7.html
%%NAGIOSWWWDIR%%/contexthelp/L8.html
%%NAGIOSWWWDIR%%/contexthelp/L9.html
%%NAGIOSWWWDIR%%/contexthelp/M1.html
%%NAGIOSWWWDIR%%/contexthelp/M2.html
%%NAGIOSWWWDIR%%/contexthelp/M3.html
%%NAGIOSWWWDIR%%/contexthelp/M4.html
%%NAGIOSWWWDIR%%/contexthelp/M5.html
%%NAGIOSWWWDIR%%/contexthelp/M6.html
%%NAGIOSWWWDIR%%/contexthelp/N1.html
%%NAGIOSWWWDIR%%/contexthelp/N2.html
%%NAGIOSWWWDIR%%/contexthelp/N3.html
%%NAGIOSWWWDIR%%/contexthelp/N4.html
%%NAGIOSWWWDIR%%/contexthelp/N5.html
%%NAGIOSWWWDIR%%/contexthelp/N6.html
%%NAGIOSWWWDIR%%/contexthelp/N7.html
%%NAGIOSWWWDIR%%/images/Nagios-clearbg.png
%%NAGIOSWWWDIR%%/images/NagiosEnterprises-whitebg-112x46.png
%%NAGIOSWWWDIR%%/images/ack.gif
%%NAGIOSWWWDIR%%/images/action-graph.gif
%%NAGIOSWWWDIR%%/images/action-nagios.gif
%%NAGIOSWWWDIR%%/images/action-orig.gif
%%NAGIOSWWWDIR%%/images/action.gif
%%NAGIOSWWWDIR%%/images/b_first2.png
%%NAGIOSWWWDIR%%/images/b_last2.png
%%NAGIOSWWWDIR%%/images/b_next2.png
%%NAGIOSWWWDIR%%/images/b_prev2.png
%%NAGIOSWWWDIR%%/images/command.png
%%NAGIOSWWWDIR%%/images/comment.gif
%%NAGIOSWWWDIR%%/images/contexthelp1.gif
%%NAGIOSWWWDIR%%/images/contexthelp2.gif
%%NAGIOSWWWDIR%%/images/critical.png
%%NAGIOSWWWDIR%%/images/delay.gif
%%NAGIOSWWWDIR%%/images/delete.gif
%%NAGIOSWWWDIR%%/images/detail.gif
%%NAGIOSWWWDIR%%/images/disabled.gif
%%NAGIOSWWWDIR%%/images/down.gif
%%NAGIOSWWWDIR%%/images/downtime.gif
%%NAGIOSWWWDIR%%/images/empty.gif
%%NAGIOSWWWDIR%%/images/enabled.gif
%%NAGIOSWWWDIR%%/images/extinfo.gif
%%NAGIOSWWWDIR%%/images/favicon.ico
%%NAGIOSWWWDIR%%/images/flapping.gif
%%NAGIOSWWWDIR%%/images/globe-support-150x150.png
%%NAGIOSWWWDIR%%/images/graph.gif
%%NAGIOSWWWDIR%%/images/greendot.gif
%%NAGIOSWWWDIR%%/images/histogram.png
%%NAGIOSWWWDIR%%/images/history.gif
%%NAGIOSWWWDIR%%/images/hostevent.gif
%%NAGIOSWWWDIR%%/images/info.png
%%NAGIOSWWWDIR%%/images/left.gif
%%NAGIOSWWWDIR%%/images/logofullsize.png
%%NAGIOSWWWDIR%%/images/logos/aix.gd2
%%NAGIOSWWWDIR%%/images/logos/aix.gif
%%NAGIOSWWWDIR%%/images/logos/aix.jpg
%%NAGIOSWWWDIR%%/images/logos/aix.png
%%NAGIOSWWWDIR%%/images/logos/amiga.gd2
%%NAGIOSWWWDIR%%/images/logos/amiga.gif
%%NAGIOSWWWDIR%%/images/logos/amiga.jpg
%%NAGIOSWWWDIR%%/images/logos/amiga.png
%%NAGIOSWWWDIR%%/images/logos/apple.gd2
%%NAGIOSWWWDIR%%/images/logos/apple.gif
%%NAGIOSWWWDIR%%/images/logos/apple.jpg
%%NAGIOSWWWDIR%%/images/logos/apple.png
%%NAGIOSWWWDIR%%/images/logos/beos.gd2
%%NAGIOSWWWDIR%%/images/logos/beos.gif
%%NAGIOSWWWDIR%%/images/logos/beos.jpg
%%NAGIOSWWWDIR%%/images/logos/beos.png
%%NAGIOSWWWDIR%%/images/logos/bluetooth.png
%%NAGIOSWWWDIR%%/images/logos/caldera.gd2
%%NAGIOSWWWDIR%%/images/logos/caldera.gif
%%NAGIOSWWWDIR%%/images/logos/caldera.jpg
%%NAGIOSWWWDIR%%/images/logos/caldera.png
%%NAGIOSWWWDIR%%/images/logos/cat1900.gd2
%%NAGIOSWWWDIR%%/images/logos/cat2900.gd2
%%NAGIOSWWWDIR%%/images/logos/cat5000.gd2
%%NAGIOSWWWDIR%%/images/logos/database.gd2
%%NAGIOSWWWDIR%%/images/logos/database.gif
%%NAGIOSWWWDIR%%/images/logos/debian.gd2
%%NAGIOSWWWDIR%%/images/logos/debian.gif
%%NAGIOSWWWDIR%%/images/logos/debian.jpg
%%NAGIOSWWWDIR%%/images/logos/debian.png
%%NAGIOSWWWDIR%%/images/logos/desktop-server.gd2
%%NAGIOSWWWDIR%%/images/logos/desktop-server.gif
%%NAGIOSWWWDIR%%/images/logos/ethernet_card.png
%%NAGIOSWWWDIR%%/images/logos/fax.gd2
%%NAGIOSWWWDIR%%/images/logos/fax.gif
%%NAGIOSWWWDIR%%/images/logos/firewall.gd2
%%NAGIOSWWWDIR%%/images/logos/firewall.gif
%%NAGIOSWWWDIR%%/images/logos/freebsd40.gd2
%%NAGIOSWWWDIR%%/images/logos/freebsd40.gif
%%NAGIOSWWWDIR%%/images/logos/freebsd40.jpg
%%NAGIOSWWWDIR%%/images/logos/freebsd40.png
%%NAGIOSWWWDIR%%/images/logos/globe.png
%%NAGIOSWWWDIR%%/images/logos/graph.gif
%%NAGIOSWWWDIR%%/images/logos/hp-printer40.gd2
%%NAGIOSWWWDIR%%/images/logos/hp-printer40.gif
%%NAGIOSWWWDIR%%/images/logos/hp-printer40.jpg
%%NAGIOSWWWDIR%%/images/logos/hp-printer40.png
%%NAGIOSWWWDIR%%/images/logos/hpux.gd2
%%NAGIOSWWWDIR%%/images/logos/hpux.gif
%%NAGIOSWWWDIR%%/images/logos/hpux.jpg
%%NAGIOSWWWDIR%%/images/logos/hpux.png
%%NAGIOSWWWDIR%%/images/logos/hub.gd2
%%NAGIOSWWWDIR%%/images/logos/hub.gif
%%NAGIOSWWWDIR%%/images/logos/internet.gd2
%%NAGIOSWWWDIR%%/images/logos/internet.gif
%%NAGIOSWWWDIR%%/images/logos/internet_device.png
%%NAGIOSWWWDIR%%/images/logos/ip-pbx.gd2
%%NAGIOSWWWDIR%%/images/logos/ip-pbx.gif
%%NAGIOSWWWDIR%%/images/logos/irix.gd2
%%NAGIOSWWWDIR%%/images/logos/irix.gif
%%NAGIOSWWWDIR%%/images/logos/irix.jpg
%%NAGIOSWWWDIR%%/images/logos/irix.png
%%NAGIOSWWWDIR%%/images/logos/linux40.gd2
%%NAGIOSWWWDIR%%/images/logos/linux40.gif
%%NAGIOSWWWDIR%%/images/logos/linux40.jpg
%%NAGIOSWWWDIR%%/images/logos/linux40.png
%%NAGIOSWWWDIR%%/images/logos/logo.gd2
%%NAGIOSWWWDIR%%/images/logos/mac40.gd2
%%NAGIOSWWWDIR%%/images/logos/mac40.gif
%%NAGIOSWWWDIR%%/images/logos/mac40.jpg
%%NAGIOSWWWDIR%%/images/logos/mac40.png
%%NAGIOSWWWDIR%%/images/logos/mainframe.gd2
%%NAGIOSWWWDIR%%/images/logos/mainframe.gif
%%NAGIOSWWWDIR%%/images/logos/mandrake.gd2
%%NAGIOSWWWDIR%%/images/logos/mandrake.gif
%%NAGIOSWWWDIR%%/images/logos/mandrake.jpg
%%NAGIOSWWWDIR%%/images/logos/mandrake.png
%%NAGIOSWWWDIR%%/images/logos/monitor.png
%%NAGIOSWWWDIR%%/images/logos/nagios.gd2
%%NAGIOSWWWDIR%%/images/logos/nagios.gif
%%NAGIOSWWWDIR%%/images/logos/nagiosvrml.png
%%NAGIOSWWWDIR%%/images/logos/next.gd2
%%NAGIOSWWWDIR%%/images/logos/next.gif
%%NAGIOSWWWDIR%%/images/logos/next.jpg
%%NAGIOSWWWDIR%%/images/logos/next.png
%%NAGIOSWWWDIR%%/images/logos/ng-switch40.gd2
%%NAGIOSWWWDIR%%/images/logos/ng-switch40.gif
%%NAGIOSWWWDIR%%/images/logos/ng-switch40.jpg
%%NAGIOSWWWDIR%%/images/logos/ng-switch40.png
%%NAGIOSWWWDIR%%/images/logos/notebook.gd2
%%NAGIOSWWWDIR%%/images/logos/notebook.gif
%%NAGIOSWWWDIR%%/images/logos/novell40.gd2
%%NAGIOSWWWDIR%%/images/logos/novell40.gif
%%NAGIOSWWWDIR%%/images/logos/novell40.jpg
%%NAGIOSWWWDIR%%/images/logos/novell40.png
%%NAGIOSWWWDIR%%/images/logos/openbsd.gd2
%%NAGIOSWWWDIR%%/images/logos/openbsd.gif
%%NAGIOSWWWDIR%%/images/logos/openbsd.jpg
%%NAGIOSWWWDIR%%/images/logos/openbsd.png
%%NAGIOSWWWDIR%%/images/logos/printer.gd2
%%NAGIOSWWWDIR%%/images/logos/printer.gif
%%NAGIOSWWWDIR%%/images/logos/rack-server.gd2
%%NAGIOSWWWDIR%%/images/logos/rack-server.gif
%%NAGIOSWWWDIR%%/images/logos/redhat.gd2
%%NAGIOSWWWDIR%%/images/logos/redhat.gif
%%NAGIOSWWWDIR%%/images/logos/redhat.jpg
%%NAGIOSWWWDIR%%/images/logos/redhat.png
%%NAGIOSWWWDIR%%/images/logos/router.gd2
%%NAGIOSWWWDIR%%/images/logos/router.gif
%%NAGIOSWWWDIR%%/images/logos/router40.gd2
%%NAGIOSWWWDIR%%/images/logos/router40.gif
%%NAGIOSWWWDIR%%/images/logos/router40.jpg
%%NAGIOSWWWDIR%%/images/logos/router40.png
%%NAGIOSWWWDIR%%/images/logos/san.gd2
%%NAGIOSWWWDIR%%/images/logos/san.gif
%%NAGIOSWWWDIR%%/images/logos/satellite.png
%%NAGIOSWWWDIR%%/images/logos/server.png
%%NAGIOSWWWDIR%%/images/logos/signal.png
%%NAGIOSWWWDIR%%/images/logos/slackware.gd2
%%NAGIOSWWWDIR%%/images/logos/slackware.gif
%%NAGIOSWWWDIR%%/images/logos/slackware.jpg
%%NAGIOSWWWDIR%%/images/logos/slackware.png
%%NAGIOSWWWDIR%%/images/logos/stampede.gd2
%%NAGIOSWWWDIR%%/images/logos/stampede.gif
%%NAGIOSWWWDIR%%/images/logos/stampede.jpg
%%NAGIOSWWWDIR%%/images/logos/stampede.png
%%NAGIOSWWWDIR%%/images/logos/station.gd2
%%NAGIOSWWWDIR%%/images/logos/storm.gd2
%%NAGIOSWWWDIR%%/images/logos/storm.gif
%%NAGIOSWWWDIR%%/images/logos/storm.jpg
%%NAGIOSWWWDIR%%/images/logos/storm.png
%%NAGIOSWWWDIR%%/images/logos/sun40.gd2
%%NAGIOSWWWDIR%%/images/logos/sun40.gif
%%NAGIOSWWWDIR%%/images/logos/sun40.jpg
%%NAGIOSWWWDIR%%/images/logos/sun40.png
%%NAGIOSWWWDIR%%/images/logos/sunlogo.gd2
%%NAGIOSWWWDIR%%/images/logos/sunlogo.gif
%%NAGIOSWWWDIR%%/images/logos/sunlogo.jpg
%%NAGIOSWWWDIR%%/images/logos/sunlogo.png
%%NAGIOSWWWDIR%%/images/logos/switch.gd2
%%NAGIOSWWWDIR%%/images/logos/switch.gif
%%NAGIOSWWWDIR%%/images/logos/switch40.gd2
%%NAGIOSWWWDIR%%/images/logos/switch40.gif
%%NAGIOSWWWDIR%%/images/logos/switch40.jpg
%%NAGIOSWWWDIR%%/images/logos/switch40.png
%%NAGIOSWWWDIR%%/images/logos/thin-client.gd2
%%NAGIOSWWWDIR%%/images/logos/thin-client.gif
%%NAGIOSWWWDIR%%/images/logos/turbolinux.gd2
%%NAGIOSWWWDIR%%/images/logos/turbolinux.gif
%%NAGIOSWWWDIR%%/images/logos/turbolinux.jpg
%%NAGIOSWWWDIR%%/images/logos/turbolinux.png
%%NAGIOSWWWDIR%%/images/logos/ultrapenguin.gd2
%%NAGIOSWWWDIR%%/images/logos/ultrapenguin.gif
%%NAGIOSWWWDIR%%/images/logos/ultrapenguin.jpg
%%NAGIOSWWWDIR%%/images/logos/ultrapenguin.png
%%NAGIOSWWWDIR%%/images/logos/unicos.gd2
%%NAGIOSWWWDIR%%/images/logos/unicos.gif
%%NAGIOSWWWDIR%%/images/logos/unicos.jpg
%%NAGIOSWWWDIR%%/images/logos/unicos.png
%%NAGIOSWWWDIR%%/images/logos/unknown.gd2
%%NAGIOSWWWDIR%%/images/logos/unknown.gif
%%NAGIOSWWWDIR%%/images/logos/webcamera.png
%%NAGIOSWWWDIR%%/images/logos/wifi.gd2
%%NAGIOSWWWDIR%%/images/logos/wifi.gif
%%NAGIOSWWWDIR%%/images/logos/wifi_modem.png
%%NAGIOSWWWDIR%%/images/logos/win40.gd2
%%NAGIOSWWWDIR%%/images/logos/win40.gif
%%NAGIOSWWWDIR%%/images/logos/win40.jpg
%%NAGIOSWWWDIR%%/images/logos/win40.png
%%NAGIOSWWWDIR%%/images/logos/workstation.gd2
%%NAGIOSWWWDIR%%/images/logos/workstation.gif
%%NAGIOSWWWDIR%%/images/logos/workstation.png
%%NAGIOSWWWDIR%%/images/logos/workstation_locked.png
%%NAGIOSWWWDIR%%/images/logos/yellowdog.gd2
%%NAGIOSWWWDIR%%/images/logos/yellowdog.gif
%%NAGIOSWWWDIR%%/images/logos/yellowdog.jpg
%%NAGIOSWWWDIR%%/images/logos/yellowdog.png
%%NAGIOSWWWDIR%%/images/logrotate.png
%%NAGIOSWWWDIR%%/images/ndisabled.gif
%%NAGIOSWWWDIR%%/images/noack.gif
%%NAGIOSWWWDIR%%/images/notes.gif
%%NAGIOSWWWDIR%%/images/notify.gif
%%NAGIOSWWWDIR%%/images/orangedot.gif
%%NAGIOSWWWDIR%%/images/passiveonly.gif
%%NAGIOSWWWDIR%%/images/recovery.png
%%NAGIOSWWWDIR%%/images/redudancy.png
%%NAGIOSWWWDIR%%/images/redundancy.png
%%NAGIOSWWWDIR%%/images/restart.gif
%%NAGIOSWWWDIR%%/images/right.gif
%%NAGIOSWWWDIR%%/images/sblogo.png
%%NAGIOSWWWDIR%%/images/serviceevent.gif
%%NAGIOSWWWDIR%%/images/sflogo.png
%%NAGIOSWWWDIR%%/images/splunk1.gif
%%NAGIOSWWWDIR%%/images/splunk2.gif
%%NAGIOSWWWDIR%%/images/start.gif
%%NAGIOSWWWDIR%%/images/status.gif
%%NAGIOSWWWDIR%%/images/status2.gif
%%NAGIOSWWWDIR%%/images/status3.gif
%%NAGIOSWWWDIR%%/images/status4.gif
%%NAGIOSWWWDIR%%/images/stop.gif
%%NAGIOSWWWDIR%%/images/tacdisabled.jpg
%%NAGIOSWWWDIR%%/images/tacdisabled.png
%%NAGIOSWWWDIR%%/images/tacenabled.jpg
%%NAGIOSWWWDIR%%/images/tacenabled.png
%%NAGIOSWWWDIR%%/images/thermcrit.png
%%NAGIOSWWWDIR%%/images/thermok.png
%%NAGIOSWWWDIR%%/images/thermwarn.png
%%NAGIOSWWWDIR%%/images/trends.gif
%%NAGIOSWWWDIR%%/images/trendshost.png
%%NAGIOSWWWDIR%%/images/trendssvc.png
%%NAGIOSWWWDIR%%/images/unknown.png
%%NAGIOSWWWDIR%%/images/up.gif
%%NAGIOSWWWDIR%%/images/warning.png
%%NAGIOSWWWDIR%%/images/weblogo1.png
%%NAGIOSWWWDIR%%/images/zoom1.gif
%%NAGIOSWWWDIR%%/images/zoom2.gif
%%NAGIOSWWWDIR%%/includes/rss/extlib/Snoopy.class.inc
%%NAGIOSWWWDIR%%/includes/rss/rss_cache.inc
%%NAGIOSWWWDIR%%/includes/rss/rss_fetch.inc
%%NAGIOSWWWDIR%%/includes/rss/rss_parse.inc
%%NAGIOSWWWDIR%%/includes/rss/rss_utils.inc
%%NAGIOSWWWDIR%%/includes/jquery-1.7.1.min.js
%%NAGIOSWWWDIR%%/includes/utils.inc.php
%%NAGIOSWWWDIR%%/index.php
%%NAGIOSWWWDIR%%/js/jquery-1.7.1.min.js
%%NAGIOSWWWDIR%%/main.php
%%NAGIOSWWWDIR%%/robots.txt
%%NAGIOSWWWDIR%%/rss-corefeed.php
%%NAGIOSWWWDIR%%/rss-newsfeed.php
%%NAGIOSWWWDIR%%/side.php
%%NAGIOSWWWDIR%%/stylesheets/avail.css
%%NAGIOSWWWDIR%%/stylesheets/checksanity.css
%%NAGIOSWWWDIR%%/stylesheets/cmd.css
%%NAGIOSWWWDIR%%/stylesheets/common.css
%%NAGIOSWWWDIR%%/stylesheets/config.css
%%NAGIOSWWWDIR%%/stylesheets/extinfo.css
%%NAGIOSWWWDIR%%/stylesheets/histogram.css
%%NAGIOSWWWDIR%%/stylesheets/history.css
%%NAGIOSWWWDIR%%/stylesheets/ministatus.css
%%NAGIOSWWWDIR%%/stylesheets/notifications.css
%%NAGIOSWWWDIR%%/stylesheets/outages.css
%%NAGIOSWWWDIR%%/stylesheets/showlog.css
%%NAGIOSWWWDIR%%/stylesheets/status.css
%%NAGIOSWWWDIR%%/stylesheets/statusmap.css
%%NAGIOSWWWDIR%%/stylesheets/summary.css
%%NAGIOSWWWDIR%%/stylesheets/tac.css
%%NAGIOSWWWDIR%%/stylesheets/trends.css
@dir libexec/nagios
@dir %%NAGIOSWWWDIR%%/ssi
@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,775) %%NAGIOSDIR%%/archives
@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,775) %%NAGIOSDIR%%/checkresults
@dir(%%NAGIOSUSER%%,%%WWWGRP%%,775) %%NAGIOSDIR%%/rw
@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,775) %%NAGIOSDIR%%
@postunexec if [ -d %%NAGIOSDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%NAGIOSDIR%%`` to remove any files left behind."; fi
@postunexec if [ -d %%ETCDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%ETCDIR%%`` to remove any configuration files."; fi

View File

@ -1,40 +0,0 @@
PORTNAME= akhq
DISTVERSION= 0.25.1
DISTVERSIONSUFFIX= -all
CATEGORIES= net java
MASTER_SITES= https://github.com/tchiotludo/akhq/releases/download/${PORTVERSION}/
EXTRACT_SUFX= .jar
MAINTAINER= freebsd@hackacad.net
COMMENT= AKHQ (previously known as KafkaHQ)
WWW= https://github.com/tchiotludo/akhq
LICENSE= APACHE20
USE_JAVA= yes
JAVA_VERSION= 17
NO_ARCH= yes
PLIST_FILES= ${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar
CONFIG_FILES= application.yml
NO_BUILD= yes
NO_EXTRACT= yes
USE_RC_SUBR= akhq
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/akhq
${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar
${INSTALL_DATA} ${FILESDIR}/application.yml ${STAGEDIR}${PREFIX}/etc/akhq/application.yml.sample
${ECHO} "@sample ${PREFIX}/etc/akhq/application.yml.sample" >> ${TMPPLIST}
post-install:
@if [ ! -f ${STAGEDIR}${PREFIX}/etc/akhq/application.yml ]; then \
${CP} -p ${STAGEDIR}${PREFIX}/etc/akhq/application.yml.sample ${STAGEDIR}${PREFIX}/etc/akhq/application.yml ; \
fi
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1734718291
SHA256 (akhq-0.25.1-all.jar) = 5aec420df890e388ade89c6995e6ed45a37d3cb1ff22f5d9837b1156ff4eaf72
SIZE (akhq-0.25.1-all.jar) = 191995582

View File

@ -1,40 +0,0 @@
#!/bin/sh
# PROVIDE: akhq
# REQUIRE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
name=akhq
rcvar=akhq_enable
load_rc_config $name
: ${akhq_enable:=NO}
: ${akhq_config:=/usr/local/etc/akhq/application.yml}
: ${akhq_jar:=/usr/local/share/java/akhq/akhq.jar}
: ${akhq_java:=/usr/local/bin/java}
: ${akhq_user:=www}
: ${akhq_pidfile:=/var/run/${name}.pid}
command="/usr/sbin/daemon"
command_args="-P ${akhq_pidfile} -r -f ${akhq_java} -Dmicronaut.config.files=${akhq_config} -jar ${akhq_jar}"
start_precmd=akhq_startprecmd
akhq_startprecmd()
{
# Ensure the directory for the PID file exists
if [ ! -d $(dirname ${akhq_pidfile}) ]; then
install -d -o ${akhq_user} -m 0750 $(dirname ${akhq_pidfile})
fi
# Ensure the PID file exists with the right permissions
if [ ! -e "${akhq_pidfile}" ]; then
install -m 0600 -o ${akhq_user} /dev/null ${akhq_pidfile}
fi
}
run_rc_command "$1"

View File

@ -1,9 +0,0 @@
akhq:
connections:
local:
properties:
bootstrap.servers: "localhost:9092"
micronaut:
server:
port: 8080
host: "0.0.0.0"

View File

@ -1,2 +0,0 @@
Kafka GUI for Apache Kafka to manage topics, topics data,
consumers group, schema registry, connect and more...

View File

@ -1,55 +0,0 @@
PORTNAME= freeipa-client
DISTVERSION= 4.12.2
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= https://releases.pagure.org/freeipa/
DISTNAME= freeipa-${DISTVERSION}
MAINTAINER= kiwi@oav.net
COMMENT= FreeIPA Client tools
WWW= https://www.freeipa.org/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
LIB_DEPENDS= libcmocka.so:sysutils/cmocka \
libcurl.so:ftp/curl \
libini_config.so:devel/ding-libs \
libjansson.so:devel/jansson \
libnspr4.so:devel/nspr \
libnss3.so:security/nss \
libpopt.so:devel/popt \
libpwquality.so:security/libpwquality \
libsasl2.so:security/cyrus-sasl2 \
libxmlrpc.so:net/xmlrpc-c
USES= autoreconf gettext gmake gssapi:mit ldap libtool \
localbase:ldflags pkgconfig python
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --disable-dependency-tracking \
--disable-server \
--with-ipaplatform=freebsd \
--without-ipatests \
--without-server
# Don't bytecode python files
MAKE_ENV= PYTHONDONTWRITEBYTECODE=1
# Remove all systemd dependant things
EXTRACT_AFTER_ARGS= --exclude client/systemd --exclude daemons/dnssec \
--exclude daemons/ipa-otpd --exclude \
daemons/ipa-slapi-plugins --exclude init/systemd \
--exclude init/tmpfilesd
PLIST_SUB= DISTVERSION=${DISTVERSION}
# Make sample configuration file
post-install:
@${MV} ${STAGEDIR}${PREFIX}/etc/ipa/epn.conf ${STAGEDIR}${PREFIX}/etc/ipa/epn.conf.sample
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1725364321
SHA256 (freeipa-4.12.2.tar.gz) = dc88f5404e7613eb6530d71142ef43a9f89019d59cdc6ec25b778413258c317f
SIZE (freeipa-4.12.2.tar.gz) = 5699673

View File

@ -1,10 +0,0 @@
--- asn1/asn1c/INTEGER.c.orig 2024-08-21 15:06:37 UTC
+++ asn1/asn1c/INTEGER.c
@@ -7,6 +7,7 @@
#include <INTEGER.h>
#include <asn_codecs_prim.h> /* Encoder and decoder of a primitive type */
#include <errno.h>
+#include <stdlib.h>
/*
* INTEGER basic type description.

View File

@ -1,11 +0,0 @@
--- asn1/asn1c/Makefile.am.orig 2021-11-25 17:34:42 UTC
+++ asn1/asn1c/Makefile.am
@@ -70,7 +70,7 @@ libasn1c_la_SOURCES = \
EXTRA_DIST = ipa.asn1
-AM_CPPFLAGS = -I$(top_srcdir)/util
+AM_CPPFLAGS = -I$(top_srcdir)/util -D_GNU_SOURCE
noinst_LTLIBRARIES=libasn1c.la

View File

@ -1,10 +0,0 @@
--- asn1/asn1c/NativeEnumerated.c.orig 2024-08-21 15:06:37 UTC
+++ asn1/asn1c/NativeEnumerated.c
@@ -11,6 +11,7 @@
*/
#include <asn_internal.h>
#include <NativeEnumerated.h>
+#include <stdlib.h>
/*
* NativeEnumerated basic type description.

View File

@ -1,10 +0,0 @@
--- asn1/asn1c/der_encoder.c.orig 2024-08-21 15:06:37 UTC
+++ asn1/asn1c/der_encoder.c
@@ -4,6 +4,7 @@
*/
#include <asn_internal.h>
#include <errno.h>
+#include <stdlib.h>
static ssize_t der_write_TL(ber_tlv_tag_t tag, ber_tlv_len_t len,
asn_app_consume_bytes_f *cb, void *app_key, int constructed);

View File

@ -1,11 +0,0 @@
--- client/Makefile.am.orig 2024-08-21 15:06:37 UTC
+++ client/Makefile.am
@@ -94,8 +94,6 @@ SUBDIRS = \
SUBDIRS = \
share \
man \
- sysconfig \
- systemd \
$(NULL)
# init

View File

@ -1,16 +0,0 @@
--- client/ipa-getkeytab.c.orig 2023-08-21 14:29:00 UTC
+++ client/ipa-getkeytab.c
@@ -34,6 +34,13 @@
#include <time.h>
#include <krb5.h>
#include <ldap.h>
+typedef unsigned char u_char;
+typedef unsigned short u_short;
+typedef unsigned int u_int;
+typedef unsigned long u_long;
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
#include <resolv.h>
#include <sasl/sasl.h>
#include <popt.h>

View File

@ -1,112 +0,0 @@
--- configure.ac.orig 2024-08-21 15:06:37 UTC
+++ configure.ac
@@ -25,9 +25,12 @@ dnl fail hard when includes statements are missing
dnl Enable features like strndup()
CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=200809L"
dnl fail hard when includes statements are missing
-CFLAGS="$CFLAGS -Werror=implicit-function-declaration"
+dnl Removing this failing hard because on implicit declaration of
+dnl alloca() used several plaice in the code.
+dnl CFLAGS="$CFLAGS -Werror=implicit-function-declaration"
AC_PROG_CC_C99
+AC_GNU_SOURCE
AC_DISABLE_STATIC
LT_INIT
@@ -211,14 +214,7 @@ SAVE_LIBS="$LIBS"
dnl - Check for libintl
dnl ---------------------------------------------------------------------------
SAVE_LIBS="$LIBS"
-LIBINTL_LIBS=
-AC_CHECK_HEADER(libintl.h, [], [AC_MSG_ERROR([libintl.h not found, please install xgettext])])
-AC_SEARCH_LIBS([bindtextdomain], [libintl],[], [])
-if test "x$ac_cv_search_bindtextdomain" = "xno" ; then
- AC_MSG_ERROR([libintl is not found and your libc does not support gettext, please install xgettext])
-elif test "x$ac_cv_search_bindtextdomain" != "xnone required" ; then
- LIBINTL_LIBS="$ac_cv_search_bindtextdomain"
-fi
+LIBINTL_LIBS="-lintl"
LIBS="$SAVELIBS"
AC_SUBST(LIBINTL_LIBS)
@@ -249,39 +245,13 @@ dnl --------------------------------------------------
AC_SUBST([runstatedir])
dnl ---------------------------------------------------------------------------
-dnl - Check for systemd directories
-dnl ---------------------------------------------------------------------------
-
-PKG_CHECK_EXISTS([systemd], [], [AC_MSG_ERROR([systemd not found])])
-AC_ARG_WITH([systemdsystemunitdir],
- AS_HELP_STRING([--with-systemdsystemunitdir=DIR],
- [Directory for systemd service files]),
- [systemdsystemunitdir=$with_systemdsystemunitdir],
- [systemdsystemunitdir=$($PKG_CONFIG --define-variable=prefix='${prefix}' --variable=systemdsystemunitdir systemd)])
-AC_SUBST([systemdsystemunitdir])
-
-AC_ARG_WITH([systemdtmpfilesdir],
- AS_HELP_STRING([--with-systemdtmpfilesdir=DIR],
- [Directory for systemd-tmpfiles configuration files]),
- [systemdtmpfilesdir=$with_systemdtmpfilesdir],
- [systemdtmpfilesdir=$($PKG_CONFIG --define-variable=prefix='${prefix}' --variable=tmpfilesdir systemd)])
-AC_SUBST([systemdtmpfilesdir])
-
-AC_ARG_WITH([systemdcatalogdir],
- AS_HELP_STRING([--with-systemdcatalogdir=DIR],
- [Directory for systemd journal catalog files]),
- [systemdcatalogdir=$with_systemdcatalogdir],
- [systemdcatalogdir=$($PKG_CONFIG --define-variable=prefix='${prefix}' --variable=catalogdir systemd)])
-AC_SUBST([systemdcatalogdir])
-
-dnl ---------------------------------------------------------------------------
dnl - Server-only configuration
dnl ---------------------------------------------------------------------------
-AM_COND_IF([ENABLE_SERVER], [
- m4_include(server.m4)
-])
-AM_CONDITIONAL([USE_SSS_NSS_TIMEOUT], [test "x$ac_cv_have_decl_sss_nss_getpwnam_timeout" = xyes])
+dnl AM_COND_IF([ENABLE_SERVER], [
+dnl m4_include(server.m4)
+dnl ])
+dnl AM_CONDITIONAL([USE_SSS_NSS_TIMEOUT], [test "x$ac_cv_have_decl_sss_nss_getpwnam_timeout" = xyes])
dnl ---------------------------------------------------------------------------
dnl - Check if IPA certauth plugin can be build
@@ -625,35 +595,11 @@ AC_CONFIG_FILES([
client/Makefile
client/share/Makefile
client/man/Makefile
- client/sysconfig/Makefile
- client/systemd/Makefile
contrib/completion/Makefile
contrib/Makefile
- daemons/dnssec/Makefile
daemons/Makefile
daemons/ipa-kdb/Makefile
daemons/ipa-sam/Makefile
- daemons/ipa-otpd/Makefile
- daemons/ipa-slapi-plugins/Makefile
- daemons/ipa-slapi-plugins/libotp/Makefile
- daemons/ipa-slapi-plugins/ipa-cldap/Makefile
- daemons/ipa-slapi-plugins/ipa-dns/Makefile
- daemons/ipa-slapi-plugins/ipa-enrollment/Makefile
- daemons/ipa-slapi-plugins/ipa-graceperiod/Makefile
- daemons/ipa-slapi-plugins/ipa-lockout/Makefile
- daemons/ipa-slapi-plugins/ipa-otp-counter/Makefile
- daemons/ipa-slapi-plugins/ipa-otp-lasttoken/Makefile
- daemons/ipa-slapi-plugins/ipa-pwd-extop/Makefile
- daemons/ipa-slapi-plugins/ipa-extdom-extop/Makefile
- daemons/ipa-slapi-plugins/ipa-winsync/Makefile
- daemons/ipa-slapi-plugins/ipa-version/Makefile
- daemons/ipa-slapi-plugins/ipa-uuid/Makefile
- daemons/ipa-slapi-plugins/ipa-modrdn/Makefile
- daemons/ipa-slapi-plugins/ipa-sidgen/Makefile
- daemons/ipa-slapi-plugins/ipa-range-check/Makefile
- daemons/ipa-slapi-plugins/topology/Makefile
- init/systemd/Makefile
- init/tmpfilesd/Makefile
init/Makefile
install/Makefile
install/certmonger/Makefile

View File

@ -1,14 +0,0 @@
--- daemons/Makefile.am.orig 2023-08-21 16:29:00.040643147 +0200
+++ daemons/Makefile.am 2023-10-24 17:56:44.164932000 +0200
@@ -9,11 +9,8 @@
SUBDIRS = \
. \
- dnssec \
ipa-kdb \
- ipa-slapi-plugins \
ipa-sam \
- ipa-otpd \
$(NULL)
ipa-version.h: ipa-version.h.in $(top_builddir)/$(CONFIG_STATUS)

View File

@ -1,11 +0,0 @@
--- init/Makefile.am.orig 2023-10-24 17:29:14.662539000 +0200
+++ init/Makefile.am 2023-10-24 17:29:28.779983000 +0200
@@ -2,7 +2,7 @@
#
AUTOMAKE_OPTIONS = 1.7
-SUBDIRS = systemd tmpfilesd
+#SUBDIRS = systemd tmpfilesd
dist_sysconfenv_DATA = \
ipa-dnskeysyncd \

View File

@ -1,4 +0,0 @@
--- /dev/null 2023-10-25 10:42:48.658581000 +0200
+++ ipaplatform/freebsd/__init__.py 2023-10-25 10:42:03.380066000 +0200
@@ -0,0 +1 @@
+NAME = 'freebsd'

View File

@ -1,10 +0,0 @@
--- ipaplatform/setup.py.orig 2023-10-03 12:48:36 UTC
+++ ipaplatform/setup.py
@@ -37,6 +37,7 @@ if __name__ == '__main__':
"ipaplatform.debian",
"ipaplatform.fedora",
"ipaplatform.fedora_container",
+ "ipaplatform.freebsd",
"ipaplatform.nixos",
"ipaplatform.redhat",
"ipaplatform.rhel",

View File

@ -1,10 +0,0 @@
--- util/ipa_krb5.c.orig 2021-11-25 17:34:42 UTC
+++ util/ipa_krb5.c
@@ -25,6 +25,7 @@
#include <errno.h>
#include <lber.h>
#include <errno.h>
+#include <sys/endian.h>
#include <libintl.h>
#define _(STRING) gettext(STRING)

View File

@ -1,2 +0,0 @@
FreeIPA is a free and open source identity management system. This
package provides its command-line administration tools.

View File

@ -1,446 +0,0 @@
bin/ipa
etc/bash_completion.d/ipa
@sample etc/ipa/epn.conf.sample
etc/ipa/epn/expire_msg.template
%%PYTHON_SITELIBDIR%%/ipaclient-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/PKG-INFO
%%PYTHON_SITELIBDIR%%/ipaclient-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/SOURCES.txt
%%PYTHON_SITELIBDIR%%/ipaclient-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/dependency_links.txt
%%PYTHON_SITELIBDIR%%/ipaclient-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/entry_points.txt
%%PYTHON_SITELIBDIR%%/ipaclient-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/not-zip-safe
%%PYTHON_SITELIBDIR%%/ipaclient-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/requires.txt
%%PYTHON_SITELIBDIR%%/ipaclient-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PYTHON_SITELIBDIR%%/ipaclient/__init__.py
%%PYTHON_SITELIBDIR%%/ipaclient/__main__.py
%%PYTHON_SITELIBDIR%%/ipaclient/discovery.py
%%PYTHON_SITELIBDIR%%/ipaclient/frontend.py
%%PYTHON_SITELIBDIR%%/ipaclient/install/__init__.py
%%PYTHON_SITELIBDIR%%/ipaclient/install/automount.py
%%PYTHON_SITELIBDIR%%/ipaclient/install/client.py
%%PYTHON_SITELIBDIR%%/ipaclient/install/ipa_certupdate.py
%%PYTHON_SITELIBDIR%%/ipaclient/install/ipa_client_automount.py
%%PYTHON_SITELIBDIR%%/ipaclient/install/ipa_client_install.py
%%PYTHON_SITELIBDIR%%/ipaclient/install/ipa_client_samba.py
%%PYTHON_SITELIBDIR%%/ipaclient/install/ipa_epn.py
%%PYTHON_SITELIBDIR%%/ipaclient/install/ipachangeconf.py
%%PYTHON_SITELIBDIR%%/ipaclient/install/ipadiscovery.py
%%PYTHON_SITELIBDIR%%/ipaclient/install/sssd.py
%%PYTHON_SITELIBDIR%%/ipaclient/install/timeconf.py
%%PYTHON_SITELIBDIR%%/ipaclient/install_files.txt
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/__init__.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/automember.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/automount.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/baseuser.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/ca.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/cert.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/certmap.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/certprofile.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/dns.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/hbacrule.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/hbactest.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/host.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/idrange.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/internal.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/location.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/migration.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/misc.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/otptoken.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/otptoken_yubikey.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/passwd.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/permission.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/rpcclient.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/server.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/service.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/stageuser.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/sudorule.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/topology.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/trust.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/user.py
%%PYTHON_SITELIBDIR%%/ipaclient/plugins/vault.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/__init__.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/aci.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/automember.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/automount.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/batch.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/cert.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/config.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/delegation.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/dns.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/group.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/hbacrule.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/hbacsvc.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/hbacsvcgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/hbactest.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/host.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/hostgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/idrange.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/idviews.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/internal.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/join.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/krbtpolicy.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/migration.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/misc.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/netgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/otpconfig.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/otptoken.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/otptoken_yubikey.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/passwd.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/permission.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/ping.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/pkinit.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/privilege.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/pwpolicy.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/radiusproxy.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/realmdomains.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/role.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/selfservice.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/selinuxusermap.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/service.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/session.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/sudocmd.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/sudocmdgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/sudorule.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/trust.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_114/user.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/__init__.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/aci.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/automember.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/automount.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/batch.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/caacl.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/cert.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/certprofile.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/config.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/delegation.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/dns.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/domainlevel.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/group.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/hbacrule.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/hbacsvc.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/hbacsvcgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/hbactest.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/host.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/hostgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/idrange.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/idviews.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/internal.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/join.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/krbtpolicy.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/migration.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/misc.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/netgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/otpconfig.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/otptoken.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/otptoken_yubikey.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/passwd.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/permission.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/ping.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/pkinit.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/privilege.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/pwpolicy.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/radiusproxy.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/realmdomains.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/role.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/selfservice.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/selinuxusermap.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/server.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/service.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/servicedelegation.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/session.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/stageuser.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/sudocmd.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/sudocmdgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/sudorule.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/topology.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/trust.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/user.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_156/vault.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/__init__.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/aci.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/automember.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/automount.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/batch.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/caacl.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/cert.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/certprofile.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/config.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/delegation.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/dns.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/domainlevel.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/group.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/hbacrule.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/hbacsvc.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/hbacsvcgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/hbactest.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/host.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/hostgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/idrange.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/idviews.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/internal.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/join.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/krbtpolicy.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/migration.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/misc.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/netgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/otpconfig.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/otptoken.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/otptoken_yubikey.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/passwd.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/permission.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/ping.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/pkinit.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/privilege.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/pwpolicy.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/radiusproxy.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/realmdomains.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/role.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/selfservice.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/selinuxusermap.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/server.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/service.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/servicedelegation.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/session.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/stageuser.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/sudocmd.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/sudocmdgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/sudorule.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/topology.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/trust.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/user.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_164/vault.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/__init__.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/aci.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/automember.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/automount.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/batch.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/cert.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/config.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/delegation.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/dns.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/entitle.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/group.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/hbacrule.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/hbacsvc.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/hbacsvcgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/hbactest.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/host.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/hostgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/idrange.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/internal.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/join.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/krbtpolicy.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/migration.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/misc.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/netgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/passwd.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/permission.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/ping.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/pkinit.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/privilege.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/pwpolicy.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/role.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/selfservice.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/selinuxusermap.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/service.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/session.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/sudocmd.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/sudocmdgroup.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/sudorule.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/trust.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/2_49/user.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/__init__.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/compat.py
%%PYTHON_SITELIBDIR%%/ipaclient/remote_plugins/schema.py
%%PYTHON_SITELIBDIR%%/ipalib-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/PKG-INFO
%%PYTHON_SITELIBDIR%%/ipalib-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/SOURCES.txt
%%PYTHON_SITELIBDIR%%/ipalib-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/dependency_links.txt
%%PYTHON_SITELIBDIR%%/ipalib-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/requires.txt
%%PYTHON_SITELIBDIR%%/ipalib-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PYTHON_SITELIBDIR%%/ipalib/__init__.py
%%PYTHON_SITELIBDIR%%/ipalib/aci.py
%%PYTHON_SITELIBDIR%%/ipalib/backend.py
%%PYTHON_SITELIBDIR%%/ipalib/base.py
%%PYTHON_SITELIBDIR%%/ipalib/capabilities.py
%%PYTHON_SITELIBDIR%%/ipalib/cli.py
%%PYTHON_SITELIBDIR%%/ipalib/config.py
%%PYTHON_SITELIBDIR%%/ipalib/constants.py
%%PYTHON_SITELIBDIR%%/ipalib/crud.py
%%PYTHON_SITELIBDIR%%/ipalib/dns.py
%%PYTHON_SITELIBDIR%%/ipalib/errors.py
%%PYTHON_SITELIBDIR%%/ipalib/facts.py
%%PYTHON_SITELIBDIR%%/ipalib/frontend.py
%%PYTHON_SITELIBDIR%%/ipalib/install/__init__.py
%%PYTHON_SITELIBDIR%%/ipalib/install/certmonger.py
%%PYTHON_SITELIBDIR%%/ipalib/install/certstore.py
%%PYTHON_SITELIBDIR%%/ipalib/install/dnsforwarders.py
%%PYTHON_SITELIBDIR%%/ipalib/install/hostname.py
%%PYTHON_SITELIBDIR%%/ipalib/install/kinit.py
%%PYTHON_SITELIBDIR%%/ipalib/install/service.py
%%PYTHON_SITELIBDIR%%/ipalib/install/sysrestore.py
%%PYTHON_SITELIBDIR%%/ipalib/install_files.txt
%%PYTHON_SITELIBDIR%%/ipalib/krb_utils.py
%%PYTHON_SITELIBDIR%%/ipalib/messages.py
%%PYTHON_SITELIBDIR%%/ipalib/misc.py
%%PYTHON_SITELIBDIR%%/ipalib/output.py
%%PYTHON_SITELIBDIR%%/ipalib/parameters.py
%%PYTHON_SITELIBDIR%%/ipalib/pkcs10.py
%%PYTHON_SITELIBDIR%%/ipalib/plugable.py
%%PYTHON_SITELIBDIR%%/ipalib/request.py
%%PYTHON_SITELIBDIR%%/ipalib/rpc.py
%%PYTHON_SITELIBDIR%%/ipalib/sysrestore.py
%%PYTHON_SITELIBDIR%%/ipalib/text.py
%%PYTHON_SITELIBDIR%%/ipalib/util.py
%%PYTHON_SITELIBDIR%%/ipalib/x509.py
%%PYTHON_SITELIBDIR%%/ipaplatform-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/PKG-INFO
%%PYTHON_SITELIBDIR%%/ipaplatform-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/SOURCES.txt
%%PYTHON_SITELIBDIR%%/ipaplatform-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/dependency_links.txt
%%PYTHON_SITELIBDIR%%/ipaplatform-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/requires.txt
%%PYTHON_SITELIBDIR%%/ipaplatform-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PYTHON_SITELIBDIR%%/ipaplatform/__init__.py
%%PYTHON_SITELIBDIR%%/ipaplatform/_importhook.py
%%PYTHON_SITELIBDIR%%/ipaplatform/base/__init__.py
%%PYTHON_SITELIBDIR%%/ipaplatform/base/constants.py
%%PYTHON_SITELIBDIR%%/ipaplatform/base/paths.py
%%PYTHON_SITELIBDIR%%/ipaplatform/base/services.py
%%PYTHON_SITELIBDIR%%/ipaplatform/base/tasks.py
%%PYTHON_SITELIBDIR%%/ipaplatform/constants.py
%%PYTHON_SITELIBDIR%%/ipaplatform/debian/__init__.py
%%PYTHON_SITELIBDIR%%/ipaplatform/debian/constants.py
%%PYTHON_SITELIBDIR%%/ipaplatform/debian/paths.py
%%PYTHON_SITELIBDIR%%/ipaplatform/debian/services.py
%%PYTHON_SITELIBDIR%%/ipaplatform/debian/tasks.py
%%PYTHON_SITELIBDIR%%/ipaplatform/fedora/__init__.py
%%PYTHON_SITELIBDIR%%/ipaplatform/fedora/constants.py
%%PYTHON_SITELIBDIR%%/ipaplatform/fedora/paths.py
%%PYTHON_SITELIBDIR%%/ipaplatform/fedora/services.py
%%PYTHON_SITELIBDIR%%/ipaplatform/fedora/tasks.py
%%PYTHON_SITELIBDIR%%/ipaplatform/fedora_container/__init__.py
%%PYTHON_SITELIBDIR%%/ipaplatform/fedora_container/constants.py
%%PYTHON_SITELIBDIR%%/ipaplatform/fedora_container/paths.py
%%PYTHON_SITELIBDIR%%/ipaplatform/fedora_container/services.py
%%PYTHON_SITELIBDIR%%/ipaplatform/fedora_container/tasks.py
%%PYTHON_SITELIBDIR%%/ipaplatform/freebsd/__init__.py
%%PYTHON_SITELIBDIR%%/ipaplatform/install_files.txt
%%PYTHON_SITELIBDIR%%/ipaplatform/nixos/__init__.py
%%PYTHON_SITELIBDIR%%/ipaplatform/nixos/constants.py
%%PYTHON_SITELIBDIR%%/ipaplatform/nixos/paths.py
%%PYTHON_SITELIBDIR%%/ipaplatform/nixos/services.py
%%PYTHON_SITELIBDIR%%/ipaplatform/nixos/tasks.py
%%PYTHON_SITELIBDIR%%/ipaplatform/osinfo.py
%%PYTHON_SITELIBDIR%%/ipaplatform/override.py
%%PYTHON_SITELIBDIR%%/ipaplatform/paths.py
%%PYTHON_SITELIBDIR%%/ipaplatform/redhat/__init__.py
%%PYTHON_SITELIBDIR%%/ipaplatform/redhat/authconfig.py
%%PYTHON_SITELIBDIR%%/ipaplatform/redhat/constants.py
%%PYTHON_SITELIBDIR%%/ipaplatform/redhat/paths.py
%%PYTHON_SITELIBDIR%%/ipaplatform/redhat/services.py
%%PYTHON_SITELIBDIR%%/ipaplatform/redhat/tasks.py
%%PYTHON_SITELIBDIR%%/ipaplatform/rhel/__init__.py
%%PYTHON_SITELIBDIR%%/ipaplatform/rhel/constants.py
%%PYTHON_SITELIBDIR%%/ipaplatform/rhel/paths.py
%%PYTHON_SITELIBDIR%%/ipaplatform/rhel/services.py
%%PYTHON_SITELIBDIR%%/ipaplatform/rhel/tasks.py
%%PYTHON_SITELIBDIR%%/ipaplatform/rhel_container/__init__.py
%%PYTHON_SITELIBDIR%%/ipaplatform/rhel_container/constants.py
%%PYTHON_SITELIBDIR%%/ipaplatform/rhel_container/paths.py
%%PYTHON_SITELIBDIR%%/ipaplatform/rhel_container/services.py
%%PYTHON_SITELIBDIR%%/ipaplatform/rhel_container/tasks.py
%%PYTHON_SITELIBDIR%%/ipaplatform/services.py
%%PYTHON_SITELIBDIR%%/ipaplatform/suse/__init__.py
%%PYTHON_SITELIBDIR%%/ipaplatform/suse/constants.py
%%PYTHON_SITELIBDIR%%/ipaplatform/suse/paths.py
%%PYTHON_SITELIBDIR%%/ipaplatform/suse/services.py
%%PYTHON_SITELIBDIR%%/ipaplatform/suse/tasks.py
%%PYTHON_SITELIBDIR%%/ipaplatform/tasks.py
%%PYTHON_SITELIBDIR%%/ipapython-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/PKG-INFO
%%PYTHON_SITELIBDIR%%/ipapython-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/SOURCES.txt
%%PYTHON_SITELIBDIR%%/ipapython-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/dependency_links.txt
%%PYTHON_SITELIBDIR%%/ipapython-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/requires.txt
%%PYTHON_SITELIBDIR%%/ipapython-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PYTHON_SITELIBDIR%%/ipapython/__init__.py
%%PYTHON_SITELIBDIR%%/ipapython/admintool.py
%%PYTHON_SITELIBDIR%%/ipapython/certdb.py
%%PYTHON_SITELIBDIR%%/ipapython/config.py
%%PYTHON_SITELIBDIR%%/ipapython/cookie.py
%%PYTHON_SITELIBDIR%%/ipapython/directivesetter.py
%%PYTHON_SITELIBDIR%%/ipapython/dn.py
%%PYTHON_SITELIBDIR%%/ipapython/dn_ctypes.py
%%PYTHON_SITELIBDIR%%/ipapython/dnsutil.py
%%PYTHON_SITELIBDIR%%/ipapython/dogtag.py
%%PYTHON_SITELIBDIR%%/ipapython/errors.py
%%PYTHON_SITELIBDIR%%/ipapython/fqdn.py
%%PYTHON_SITELIBDIR%%/ipapython/graph.py
%%PYTHON_SITELIBDIR%%/ipapython/install/__init__.py
%%PYTHON_SITELIBDIR%%/ipapython/install/cli.py
%%PYTHON_SITELIBDIR%%/ipapython/install/common.py
%%PYTHON_SITELIBDIR%%/ipapython/install/core.py
%%PYTHON_SITELIBDIR%%/ipapython/install/typing.py
%%PYTHON_SITELIBDIR%%/ipapython/install/util.py
%%PYTHON_SITELIBDIR%%/ipapython/install_files.txt
%%PYTHON_SITELIBDIR%%/ipapython/ipa_log_manager.py
%%PYTHON_SITELIBDIR%%/ipapython/ipachangeconf.py
%%PYTHON_SITELIBDIR%%/ipapython/ipaldap.py
%%PYTHON_SITELIBDIR%%/ipapython/ipautil.py
%%PYTHON_SITELIBDIR%%/ipapython/ipavalidate.py
%%PYTHON_SITELIBDIR%%/ipapython/kerberos.py
%%PYTHON_SITELIBDIR%%/ipapython/kernel_keyring.py
%%PYTHON_SITELIBDIR%%/ipapython/nsslib.py
%%PYTHON_SITELIBDIR%%/ipapython/session_storage.py
%%PYTHON_SITELIBDIR%%/ipapython/ssh.py
%%PYTHON_SITELIBDIR%%/ipapython/version.py
libexec/ipa/acme/certbot-dns-ipa
share/man/man1/ipa-certupdate.1.gz
share/man/man1/ipa-client-automount.1.gz
share/man/man1/ipa-client-install.1.gz
share/man/man1/ipa-client-samba.1.gz
share/man/man1/ipa-epn.1.gz
share/man/man1/ipa-getkeytab.1.gz
share/man/man1/ipa-join.1.gz
share/man/man1/ipa-rmkeytab.1.gz
share/man/man1/ipa.1.gz
share/man/man5/default.conf.5.gz
share/man/man5/epn.conf.5.gz
sbin/ipa-certupdate
sbin/ipa-client-automount
sbin/ipa-client-install
sbin/ipa-client-samba
sbin/ipa-epn
sbin/ipa-getkeytab
sbin/ipa-join
sbin/ipa-rmkeytab
share/ipa/client/freeipa.template
share/ipa/client/ssh_ipa.conf.template
share/ipa/client/sshd_ipa.conf.template
share/locale/bn_IN/LC_MESSAGES/ipa.mo
share/locale/ca/LC_MESSAGES/ipa.mo
share/locale/cs/LC_MESSAGES/ipa.mo
share/locale/de/LC_MESSAGES/ipa.mo
share/locale/en_GB/LC_MESSAGES/ipa.mo
share/locale/es/LC_MESSAGES/ipa.mo
share/locale/eu/LC_MESSAGES/ipa.mo
share/locale/fi/LC_MESSAGES/ipa.mo
share/locale/fr/LC_MESSAGES/ipa.mo
share/locale/hi/LC_MESSAGES/ipa.mo
share/locale/hu/LC_MESSAGES/ipa.mo
share/locale/id/LC_MESSAGES/ipa.mo
share/locale/ja/LC_MESSAGES/ipa.mo
share/locale/ka/LC_MESSAGES/ipa.mo
share/locale/kn/LC_MESSAGES/ipa.mo
share/locale/ko/LC_MESSAGES/ipa.mo
share/locale/mr/LC_MESSAGES/ipa.mo
share/locale/nl/LC_MESSAGES/ipa.mo
share/locale/pa/LC_MESSAGES/ipa.mo
share/locale/pl/LC_MESSAGES/ipa.mo
share/locale/pt/LC_MESSAGES/ipa.mo
share/locale/pt_BR/LC_MESSAGES/ipa.mo
share/locale/ru/LC_MESSAGES/ipa.mo
share/locale/sk/LC_MESSAGES/ipa.mo
share/locale/tg/LC_MESSAGES/ipa.mo
share/locale/tr/LC_MESSAGES/ipa.mo
share/locale/uk/LC_MESSAGES/ipa.mo
share/locale/zh_CN/LC_MESSAGES/ipa.mo
@dir etc/ipa/nssdb
@dir share/selinux/packages/targeted
@dir /var/lib/ipa-client/pki
@dir /var/lib/ipa-client/sysrestore
@dir /var/lib/ipa-client
@dir /var/lib

View File

@ -1,70 +0,0 @@
PORTNAME= check_mk_agent
DISTVERSIONPREFIX= v
DISTVERSION= 2.3.0p12
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= https://raw.githubusercontent.com/Checkmk/checkmk/${DISTVERSIONFULL}/agents/:agent \
https://raw.githubusercontent.com/Checkmk/checkmk/${DISTVERSIONFULL}/doc/agents/:doc \
https://raw.githubusercontent.com/Checkmk/checkmk/${DISTVERSIONFULL}/:license
DISTFILES= ${_CHECKMK_AGENT}:agent \
README.FreeBSD:doc \
COPYING:license
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ivalentine@arizona.edu
COMMENT= Checkmk agent to monitor *nix style systems
WWW= https://checkmk.com/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= bash:shells/bash \
ipmitool:sysutils/ipmitool \
statgrab:devel/libstatgrab \
wget:ftp/wget
USES= perl5 python:3.4+ shebangfix
USE_PERL5= run
SHEBANG_FILES= ${_CHECKMK_AGENT}
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= # none
EXTRACT_AFTER_ARGS= ${WRKSRC}
NO_ARCH= yes
NO_BUILD= yes
NO_TEST= yes
SUB_FILES= pkg-message
SUB_LIST= PORTNAME=${PORTNAME}
NO_WRKSUBDIR= yes
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README.FreeBSD
OPTIONS_DEFINE= DOCS
_CHECKMK_AGENT= ${PORTNAME}.freebsd
_CHECKMK_LIBDIR= ${PREFIX}/lib/check_mk_agent
_CHECKMK_CONFDIR= ${PREFIX}/etc/check_mk
post-patch:
@${REINPLACE_CMD} \
-e 's|%%CHECKMK_LIBDIR%%|${_CHECKMK_LIBDIR}|' \
-e 's|%%CHECKMK_CONFDIR%%|${_CHECKMK_CONFDIR}|' \
-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/${_CHECKMK_AGENT}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${_CHECKMK_AGENT} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.FreeBSD \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,7 +0,0 @@
TIMESTAMP = 1723755628
SHA256 (check_mk_agent-2.3.0.p12/check_mk_agent.freebsd) = e90757599339de56cab8f5059a1006d20f6bdfe9cb5cfd8460b95deee8039ffd
SIZE (check_mk_agent-2.3.0.p12/check_mk_agent.freebsd) = 32404
SHA256 (check_mk_agent-2.3.0.p12/README.FreeBSD) = 01094a2197ca0a3a43ac16098c0f800d2ee808db2fd9a2f133f4bad04062ec5f
SIZE (check_mk_agent-2.3.0.p12/README.FreeBSD) = 1349
SHA256 (check_mk_agent-2.3.0.p12/COPYING) = fbaab079995bef694ef8451f0f763b91b44e5b57b8e2a487d2a240b395187a7f
SIZE (check_mk_agent-2.3.0.p12/COPYING) = 15174

View File

@ -1,35 +0,0 @@
--- check_mk_agent.freebsd.orig 2024-09-09 09:16:10 UTC
+++ check_mk_agent.freebsd
@@ -118,8 +118,8 @@ set_variable_defaults() {
set_variable_defaults() {
: "${MK_LIBDIR:=/usr/local/lib/check_mk_agent}"
- : "${MK_CONFDIR:=/etc/check_mk}"
- : "${MK_VARDIR:=/var/lib/check_mk_agent}"
+ : "${MK_CONFDIR:=/usr/local/etc/check_mk}"
+ : "${MK_VARDIR:=/var/db/check_mk_agent}"
: "${MK_LOGDIR:=/var/log/check_mk_agent}"
# some 'booleans'
@@ -597,6 +597,21 @@ run_purely_synchronous_sections() {
rm -f "${tmpfile}"
fi
+
+ echo '<<<sysctl_mem>>>'
+ _page_size=$( sysctl -n vm.stats.vm.v_page_size )
+ echo "mem.cache $(( _page_size * $( sysctl -n vm.stats.vm.v_cache_count ) ))"
+ echo "mem.free $(( _page_size * $( sysctl -n vm.stats.vm.v_free_count ) ))"
+ echo "mem.total $( sysctl -n hw.physmem )"
+ echo "mem.used $(( _page_size * ( $( sysctl -n vm.stats.vm.v_active_count ) + $( sysctl -n vm.stats.vm.v_wire_count ) ) ))"
+ _swap_total=$( sysctl -n vm.swap_total )
+ _swap_used=$(( $( swapinfo | tail -1 | awk '{print $3}' ) * 1024 ))
+ echo "swap.free $(( _swap_total - _swap_used ))"
+ echo "swap.total ${_swap_total}"
+ echo "swap.used ${_swap_used}"
+ unset -v _page_size
+ unset -v _swap_total
+ unset -v _swap_used
}
#

View File

@ -1,16 +0,0 @@
[
{ type: install
message: <<EOM
Checkmk may collect additional data if the following ports are installed:
- sysutils/megacli
- mail/postfix
- mail/qmail
See the code of the agent (%%PREFIX%%/bin/%%PORTNAME%%) for details.
Configuration instructions may be found in one of the following places:
- %%DOCSDIR%%/README.FreeBSD
- https://docs.checkmk.com/latest/en/agent_freebsd.html
EOM
}
]

View File

@ -1,16 +0,0 @@
For a monitoring system to receive more information from an endpoint
other than that it is simply accessible, help is required from the
target system. For example - how else can Checkmk know how full a
server's storage volume is without that system somehow providing the
information? The component that provides this information is always an
active piece of software - namely a monitoring agent, usually just
referred to as an agent. An agent collects data relevant to monitoring
from a host at specified intervals and transmits that data to the
monitoring server.
For servers and workstations, Checkmk provides its own agents, these
are known as Checkmk agents. Checkmk agents are available for a wide
variety of operating systems - from the commonplace such as Windows and
Linux to exotics such as OpenVMS. The agents are passive and listen on
TCP port 6556. Only on receiving a Checkmk server query will these
agents be activated and respond with the required data.

View File

@ -1,240 +0,0 @@
diff --git a/src/etc/poudriere.conf.sample b/src/etc/poudriere.conf.sample
index c0ba896d927ca1700cc78e57cb953deec43b5484..337eb1827904daba5bf5df5790d005f6e7fa3de9 100644
--- a/src/etc/poudriere.conf.sample
+++ b/src/etc/poudriere.conf.sample
@@ -383,3 +383,16 @@ DISTFILES_CACHE=/usr/ports/distfiles
# be fetched.
# Default: everything
#PACKAGE_FETCH_WHITELIST="gcc* rust llvm*"
+
+# Have pkg create the repo such that each package is named with the short hash
+# of its file contents in the package filename, with symlinks to the traditional
+# package filenames. The packagesite.yaml file will point to the hashed version
+# of these files. By using hashed pkg filenames, this allows users to lazily
+# cache packages without conflicting with the existing packages, or serving stale
+# packages from a cache. Once the packages are synced the much
+# smaller meta files can then be synced. Allowing a near atomic update of the repo.
+# On caching CDNs this means a need to purge 2-5 files instead of all pkgs that
+# have been updated.
+# The symlinks are only required for the local poudriere for resovling dependencies,
+# they do not need to be uploaded to the CDN.
+#PKG_HASH="no"
diff --git a/src/man/poudriere-bulk.8 b/src/man/poudriere-bulk.8
index 81cf698eeb6670048628d83e819fd84ad433be93..dac4eb3211a9fd0afe451779449693acade24430 100644
--- a/src/man/poudriere-bulk.8
+++ b/src/man/poudriere-bulk.8
@@ -28,7 +28,7 @@
.\"
.\" Note: The date here should be updated whenever a non-trivial
.\" change is made to the manual page.
-.Dd July 5, 2022
+.Dd September 26, 2022
.Dt POUDRIERE-BULK 8
.Os
.Sh NAME
@@ -38,7 +38,7 @@
.Nm
.Fl a
.Fl j Ar name
-.Op Fl CcFIikNnRrSTtvw
+.Op Fl CcFHIikNnRrSTtvw
.Op Fl B Ar name
.Op Fl b Ar branch
.Op Fl J Ar maxjobs Ns Op Cm \&: Ns Ar prebuildmaxjobs
@@ -48,7 +48,7 @@
.Nm
.Fl f Ar file Op Fl f Ar file2 Ar ...
.Fl j Ar name
-.Op Fl CcFIikNnRrSTtvw
+.Op Fl CcFHIikNnRrSTtvw
.Op Fl B Ar name
.Op Fl b Ar branch
.Op Fl J Ar maxjobs Ns Op Cm \&: Ns Ar prebuildmaxjobs
@@ -57,7 +57,7 @@
.Op Fl z Ar set
.Nm
.Fl j Ar name
-.Op Fl CcFIikNnRrSTtvw
+.Op Fl CcFHIikNnRrSTtvw
.Op Fl B Ar name
.Op Fl b Ar branch
.Op Fl J Ar maxjobs Ns Op Cm \&: Ns Ar prebuildmaxjobs
@@ -232,6 +232,8 @@ Fetch only from the original
Skip
.Fx
mirrors.
+.It Fl H
+Create a repository where the package filenames contain the short hash of the contents.
.It Fl I
Advanced interactive mode.
.Pp
diff --git a/src/share/poudriere/bulk.sh b/src/share/poudriere/bulk.sh
index 3507ceb3548910c8aa688148614f1eadf72dd695..126b3becc6d050ede819bddebc0ae55b6712aaba 100755
--- a/src/share/poudriere/bulk.sh
+++ b/src/share/poudriere/bulk.sh
@@ -47,6 +47,8 @@ Options:
-f file. Implies -c for -a.
-c -- Clean all the previously built binary packages and logs.
-F -- Only fetch from original master_site (skip FreeBSD mirrors)
+ -H -- Create a repository where the package filenames contain the
+ short hash of the contents.
-I -- Advanced Interactive mode. Leaves jail running with ports
installed after test.
-i -- Interactive mode. Enter jail for interactive testing and
@@ -97,7 +99,7 @@ if [ $# -eq 0 ]; then
usage
fi
-while getopts "ab:B:CcFf:iIj:J:knNO:p:RrSTtvwz:" FLAG; do
+while getopts "ab:B:CcFf:HiIj:J:knNO:p:RrSTtvwz:" FLAG; do
case "${FLAG}" in
a)
ALL=1
@@ -126,6 +128,9 @@ while getopts "ab:B:CcFf:iIj:J:knNO:p:RrSTtvwz:" FLAG; do
fi
LISTPKGS="${LISTPKGS:+${LISTPKGS} }${OPTARG}"
;;
+ H)
+ PKG_REPO_FLAGS="${PKG_REPO_FLAGS:+${PKG_REPO_FLAGS} }--hash --symlink"
+ ;;
I)
INTERACTIVE_MODE=2
;;
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh
index a4907362c76000bc81fb8b7dbd61918fb7426538..e52cfb432e15783e9d3b47a018d8d1735a70a5cf 100755
--- a/src/share/poudriere/common.sh
+++ b/src/share/poudriere/common.sh
@@ -6473,6 +6473,10 @@ delete_old_pkg() {
if [ -L "${pkg}" ]; then
is_sym=1
fi
+ if [ -d "${pkg}" ] && [ "${pkgfile}" = "Hashed" ]; then
+ msg_debug "Ignoring directory"
+ return 0;
+ fi
if [ "${is_sym}" -eq 1 ] && [ ! -e "${pkg}" ]; then
msg "Deleting ${COLOR_PORT}${pkgfile}${COLOR_RESET}: dead symlink"
delete_pkg "${pkg}"
@@ -9468,12 +9472,16 @@ clean_restricted() {
}
build_repo() {
- local origin pkg_repo_list_files
+ local origin pkg_repo_list_files hashcmd
msg "Creating pkg repository"
if [ ${DRY_RUN} -eq 1 ]; then
return 0
fi
+ if [ ${PKG_HASH} != "no" ]; then
+ hashcmd="--hash --symlink"
+ PKG_REPO_FLAGS="${PKG_REPO_FLAGS:+${PKG_REPO_FLAGS} }$hashcmd"
+ fi
bset status "pkgrepo:"
ensure_pkg_installed force_extract || \
err 1 "Unable to extract pkg."
@@ -9493,12 +9501,20 @@ build_repo() {
install -m 0400 "${PKG_REPO_META_FILE}" \
"${MASTERMNT:?}/tmp/pkgmeta"
fi
+
+ # Remount rw
+ # mount_nullfs does not support mount -u
+ umount ${UMOUNT_NONBUSY} ${MASTERMNT}/packages || \
+ umount -f ${MASTERMNT}/packages
+ mount_packages
+
mkdir -p ${MASTERMNT}/tmp/packages
if [ -n "${PKG_REPO_SIGNING_KEY}" ]; then
msg "Signing repository with key: ${PKG_REPO_SIGNING_KEY}"
install -m 0400 "${PKG_REPO_SIGNING_KEY}" \
"${MASTERMNT:?}/tmp/repo.key"
injail ${PKG_BIN:?} repo \
+ ${PKG_REPO_FLAGS} \
${pkg_repo_list_files:+"${pkg_repo_list_files}"} \
-o /tmp/packages \
${PKG_META} \
@@ -9515,6 +9531,7 @@ build_repo() {
# using SSH with DNSSEC as older hosts don't support
# it.
${MASTERMNT:?}${PKG_BIN:?} repo \
+ ${PKG_REPO_FLAGS} \
${pkg_repo_list_files:+"${pkg_repo_list_files}"} \
-o "${MASTERMNT:?}/tmp/packages" ${PKG_META_MASTERMNT} \
"${MASTERMNT:?}/packages" \
@@ -9527,6 +9544,7 @@ build_repo() {
;;
esac
JNETNAME="n" injail ${PKG_BIN:?} repo \
+ ${PKG_REPO_FLAGS} \
${pkg_repo_list_files:+"${pkg_repo_list_files}"} \
-o /tmp/packages ${PKG_META} /packages \
${SIGNING_COMMAND:+signing_command: ${SIGNING_COMMAND}} ||
@@ -9542,6 +9560,11 @@ build_repo() {
sign_pkg pubkey "${PACKAGES:?}/Latest/pkg.${PKG_EXT}"
fi
fi
+
+ # Remount ro
+ umount ${UMOUNT_NONBUSY} ${MASTERMNT}/packages || \
+ umount -f ${MASTERMNT}/packages
+ mount_packages -o ro
}
calculate_size_in_mb() {
@@ -10109,6 +10132,7 @@ esac
: ${FLAVOR_DEFAULT_ALL:=no}
: ${NULLFS_PATHS:="/rescue /usr/share /usr/tests /usr/lib32"}
: ${PACKAGE_FETCH_URL:="pkg+http://pkg.FreeBSD.org/\${ABI}"}
+: ${PKG_HASH:=no}
: ${POUDRIERE_TMPDIR:=$(command mktemp -dt poudriere)}
: ${SHASH_VAR_PATH_DEFAULT:=${POUDRIERE_TMPDIR}}
diff --git a/src/share/poudriere/include/pkg.sh b/src/share/poudriere/include/pkg.sh
index d4821400cb2ad20a6994a5d9145604f8081a98f6..360518520d6f1067531380ea9040ec2d1d4c1f33 100644
--- a/src/share/poudriere/include/pkg.sh
+++ b/src/share/poudriere/include/pkg.sh
@@ -400,6 +400,10 @@ delete_pkg() {
local pkg="$1"
clear_pkg_cache "${pkg}"
+
+ # If ${pkg} is a symlink, delete the target as well
+ [ -L "${pkg}" ] && unlink $(realpath "${pkg}")
+
# Delete the package and the depsfile since this package is being deleted,
# which will force it to be recreated
unlink "${pkg}"
@@ -417,6 +421,8 @@ delete_pkg_xargs() {
# Delete the package and the depsfile since this package is being deleted,
# which will force it to be recreated
{
+ # If ${pkg} is a symlink, delete the target as well
+ [ -L "${pkg}" ] && echo $(realpath "${pkg}")
echo "${pkg}"
echo "${pkg_cache_dir}"
} >> "${listfile}"
diff --git a/src/share/poudriere/pkgclean.sh b/src/share/poudriere/pkgclean.sh
old mode 100755
new mode 100644
index fafc3c0a547335ddee32033bf9d0700ccf556fca..5458d3d04dd2e05727c1c79ce0ba0d73d3946665
--- a/src/share/poudriere/pkgclean.sh
+++ b/src/share/poudriere/pkgclean.sh
@@ -289,6 +289,8 @@ check_should_delete_pkg() {
*".${PKG_EXT}")
if should_delete "${file}"; then
echo "${file}" >> "${BADFILES_LIST:?}"
+ # If the pkg is a symlink to a hashed package, remove the hashed version as well
+ [ -L "${file}" ] && echo "$(realpath ${file})" >> ${BADFILES_LIST}
fi
;;
*.txz)
@@ -305,6 +307,8 @@ check_should_delete_pkg() {
*)
msg_verbose "Found incorrect format file: ${file}"
echo "${file}" >> "${BADFILES_LIST:?}"
+ # If the pkg is a symlink to a hashed package, remove the hashed version as well
+ [ -L "${file}" ] && echo "$(realpath ${file})" >> ${BADFILES_LIST}
;;
esac
}

View File

@ -1,93 +0,0 @@
PORTNAME= poudriere
DISTVERSION= 3.4.99.20240826
PORTREVISION= 0
CATEGORIES= ports-mgmt
MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \
http://mirror.shatow.net/freebsd/${PORTNAME}/ \
GH
PKGNAMESUFFIX= -devel
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Port build and test system
WWW= https://github.com/freebsd/poudriere/wiki
LICENSE= BSD2CLAUSE
CONFLICTS_INSTALL= poudriere
USE_GITHUB= yes
GH_ACCOUNT= freebsd
GH_TAGNAME= 3.3.0-1769-gbac754676d
GNU_CONFIGURE= yes
ETCDIR= ${PREFIX}/etc/poudriere.d
OPTIONS_DEFINE= BASH MANIFESTS PORTCONFIG EXAMPLES QEMU ZSH
OPTIONS_DEFAULT=BASH MANIFESTS PORTCONFIG ZSH
OPTIONS_SUB= yes
MANIFESTS_DESC= Install manifests for jail creation
MANIFESTS_RUN_DEPENDS+= freebsd-release-manifests>0:misc/freebsd-release-manifests
PORTCONFIG_DESC= Install portconfig for options command
PORTCONFIG_RUN_DEPENDS= portconfig>0:ports-mgmt/portconfig
QEMU_DESC= Add qemu-user-static for non-x86 architectures
QEMU_RUN_DEPENDS= qemu-user-static>0:emulators/qemu-user-static
# gmake is not strictly needed but handles test jobs better
TEST_DEPENDS= gmake>0:devel/gmake
TEST_ENV= MAKE=gmake
.if make(test)
MAKE_CMD= gmake
.endif
TEST_TARGET= check
TEST_ARGS= -s
TEST_ARGS+= ${_MAKE_JOBS}
# ccache passthrough helps for building pkg a few hundred times.
# ccache not added as a dependency because it is only used if setup
# and provided in the env already.
# XXX: Passthrough local PKGREPOSITORY dir for fetch support
ccache_vars= CCACHE_DIR_NON_ROOT_SAFE CCACHE_GROUP \
CCACHE_GID CCACHE_STATIC_PREFIX CCACHE_TEMPDIR \
CCACHE_DIR CCACHE_NLEVELS
.for _cv in ${ccache_vars}
. if !empty(${_cv})
TEST_ENV+= ${_cv}=${${_cv}}
. endif
.endfor
.include <bsd.port.options.mk>
# rm -x support came in 10.0. A bundled rm is used if not supported in base.
# While <10 is technically not supported in the Ports Tree, Poudriere
# detects this and it being a package build tool it should still be
# supported as a user may be installing this to build packages for upgrading
# their system to a supported release.
.if ${OSVERSION} < 1000000
PLIST_SUB+= RM=""
.else
PLIST_SUB+= RM="@comment "
.endif
post-patch:
${REINPLACE_CMD} \
-e "s,^\(POUDRIERE_VERSION\)=.*,\1='${PKGVERSION}'," \
${WRKSRC}/src/bin/poudriere.in
post-install:
${LN} -fs ${LOCALBASE}/share/freebsd/MANIFESTS \
${STAGEDIR}${DATADIR}/MANIFESTS
post-install-BASH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/
${INSTALL_DATA} ${WRKSRC}/completions/bash/poudriere \
${STAGEDIR}${PREFIX}/share/bash-completion/completions/
post-install-ZSH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
${INSTALL_DATA} ${WRKSRC}/completions/zsh/_poudriere \
${STAGEDIR}${PREFIX}/share/zsh/site-functions/
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1724665577
SHA256 (freebsd-poudriere-3.4.99.20240826-3.3.0-1769-gbac754676d_GH0.tar.gz) = 57f602eb6de964fa131992879971799bf1192d9bc9ccf0a37bd7925368993f48
SIZE (freebsd-poudriere-3.4.99.20240826-3.3.0-1769-gbac754676d_GH0.tar.gz) = 5744773

View File

@ -1,19 +0,0 @@
--- src/etc/poudriere.conf.sample.orig 2024-08-11 06:43:13 UTC
+++ src/etc/poudriere.conf.sample
@@ -385,3 +385,16 @@ DISTFILES_CACHE=/usr/ports/distfiles
# be fetched.
# Default: everything
#PACKAGE_FETCH_WHITELIST="gcc* rust llvm*"
+
+# Have pkg create the repo such that each package is named with the short hash
+# of its file contents in the package filename, with symlinks to the traditional
+# package filenames. The packagesite.yaml file will point to the hashed version
+# of these files. By using hashed pkg filenames, this allows users to lazily
+# cache packages without conflicting with the existing packages, or serving stale
+# packages from a cache. Once the packages are synced the much
+# smaller meta files can then be synced. Allowing a near atomic update of the repo.
+# On caching CDNs this means a need to purge 2-5 files instead of all pkgs that
+# have been updated.
+# The symlinks are only required for the local poudriere for resovling dependencies,
+# they do not need to be uploaded to the CDN.
+#PKG_HASH="no"

View File

@ -1,38 +0,0 @@
--- src/man/poudriere-bulk.8.orig 2024-08-11 06:43:13 UTC
+++ src/man/poudriere-bulk.8
@@ -38,7 +38,7 @@
.Nm
.Fl a
.Fl j Ar name
-.Op Fl CcFIikNnRrSTtvw
+.Op Fl CcFHIikNnRrSTtvw
.Op Fl B Ar name
.Op Fl b Ar branch
.Op Fl J Ar maxjobs Ns Op Cm \&: Ns Ar prebuildmaxjobs
@@ -48,7 +48,7 @@
.Nm
.Fl f Ar file Op Fl f Ar file2 Ar ...
.Fl j Ar name
-.Op Fl CcFIikNnRrSTtvw
+.Op Fl CcFHIikNnRrSTtvw
.Op Fl B Ar name
.Op Fl b Ar branch
.Op Fl J Ar maxjobs Ns Op Cm \&: Ns Ar prebuildmaxjobs
@@ -57,7 +57,7 @@
.Op Fl z Ar set
.Nm
.Fl j Ar name
-.Op Fl CcFIikNnRrSTtvw
+.Op Fl CcFHIikNnRrSTtvw
.Op Fl B Ar name
.Op Fl b Ar branch
.Op Fl J Ar maxjobs Ns Op Cm \&: Ns Ar prebuildmaxjobs
@@ -232,6 +232,8 @@ mirrors.
Skip
.Fx
mirrors.
+.It Fl H
+Create a repository where the package filenames contain the short hash of the contents.
.It Fl I
Advanced interactive mode.
.Pp

View File

@ -1,30 +0,0 @@
--- src/share/poudriere/bulk.sh.orig 2024-08-11 06:43:13 UTC
+++ src/share/poudriere/bulk.sh
@@ -47,6 +47,8 @@ Options:
-f file. Implies -c for -a.
-c -- Clean all the previously built binary packages and logs.
-F -- Only fetch from original master_site (skip FreeBSD mirrors)
+ -H -- Create a repository where the package filenames contain the
+ short hash of the contents.
-I -- Advanced Interactive mode. Leaves jail running with ports
installed after test.
-i -- Interactive mode. Enter jail for interactive testing and
@@ -101,7 +103,7 @@ fi
usage
fi
-while getopts "ab:B:CcFf:iIj:J:knNO:p:RrSTtvwz:" FLAG; do
+while getopts "ab:B:CcFf:HiIj:J:knNO:p:RrSTtvwz:" FLAG; do
case "${FLAG}" in
a)
ALL=1
@@ -129,6 +131,9 @@ while getopts "ab:B:CcFf:iIj:J:knNO:p:RrSTtvwz:" FLAG;
OPTARG="${SAVED_PWD}/${OPTARG}"
fi
LISTPKGS="${LISTPKGS:+${LISTPKGS} }${OPTARG}"
+ ;;
+ H)
+ PKG_REPO_FLAGS="${PKG_REPO_FLAGS:+${PKG_REPO_FLAGS} }--hash --symlink"
;;
I)
INTERACTIVE_MODE=2

View File

@ -1,88 +0,0 @@
--- src/share/poudriere/common.sh.orig 2024-08-11 06:43:13 UTC
+++ src/share/poudriere/common.sh
@@ -6626,6 +6626,10 @@ _delete_old_pkg() {
if [ -L "${pkg}" ]; then
is_sym=1
fi
+ if [ -d "${pkg}" ] && [ "${pkgfile}" = "Hashed" ]; then
+ msg_debug "Ignoring directory"
+ return 0;
+ fi
if [ "${is_sym}" -eq 1 ] && [ ! -e "${pkg}" ]; then
msg "Deleting ${COLOR_PORT}${pkgfile}${COLOR_RESET}: dead symlink"
delete_pkg "${pkg}"
@@ -9835,12 +9839,16 @@ build_repo() {
}
build_repo() {
- local origin pkg_repo_list_files
+ local origin pkg_repo_list_files hashcmd
msg "Creating pkg repository"
if [ ${DRY_RUN} -eq 1 ]; then
return 0
fi
+ if [ ${PKG_HASH} != "no" ]; then
+ hashcmd="--hash --symlink"
+ PKG_REPO_FLAGS="${PKG_REPO_FLAGS:+${PKG_REPO_FLAGS} }$hashcmd"
+ fi
bset status "pkgrepo:"
ensure_pkg_installed force_extract || \
err 1 "Unable to extract pkg."
@@ -9860,12 +9868,20 @@ build_repo() {
install -m 0400 "${PKG_REPO_META_FILE}" \
"${MASTERMNT:?}/tmp/pkgmeta"
fi
+
+ # Remount rw
+ # mount_nullfs does not support mount -u
+ umount ${UMOUNT_NONBUSY} ${MASTERMNT}/packages || \
+ umount -f ${MASTERMNT}/packages
+ mount_packages
+
mkdir -p ${MASTERMNT}/tmp/packages
if [ -n "${PKG_REPO_SIGNING_KEY}" ]; then
msg "Signing repository with key: ${PKG_REPO_SIGNING_KEY}"
install -m 0400 "${PKG_REPO_SIGNING_KEY}" \
"${MASTERMNT:?}/tmp/repo.key"
injail ${PKG_BIN:?} repo \
+ ${PKG_REPO_FLAGS} \
${pkg_repo_list_files:+"${pkg_repo_list_files}"} \
-o /tmp/packages \
${PKG_META} \
@@ -9882,6 +9898,7 @@ build_repo() {
# using SSH with DNSSEC as older hosts don't support
# it.
${MASTERMNT:?}${PKG_BIN:?} repo \
+ ${PKG_REPO_FLAGS} \
${pkg_repo_list_files:+"${pkg_repo_list_files}"} \
-o "${MASTERMNT:?}/tmp/packages" ${PKG_META_MASTERMNT} \
"${MASTERMNT:?}/packages" \
@@ -9894,6 +9911,7 @@ build_repo() {
;;
esac
JNETNAME="n" injail ${PKG_BIN:?} repo \
+ ${PKG_REPO_FLAGS} \
${pkg_repo_list_files:+"${pkg_repo_list_files}"} \
-o /tmp/packages ${PKG_META} /packages \
${SIGNING_COMMAND:+signing_command: ${SIGNING_COMMAND}} ||
@@ -9909,6 +9927,11 @@ build_repo() {
sign_pkg pubkey "${PACKAGES:?}/Latest/pkg.${PKG_EXT}"
fi
fi
+
+ # Remount ro
+ umount ${UMOUNT_NONBUSY} ${MASTERMNT}/packages || \
+ umount -f ${MASTERMNT}/packages
+ mount_packages -o ro
}
calculate_size_in_mb() {
@@ -10477,6 +10500,7 @@ esac
: ${FLAVOR_DEFAULT_ALL:=no}
: ${NULLFS_PATHS:="/rescue /usr/share /usr/tests /usr/lib32"}
: ${PACKAGE_FETCH_URL:="pkg+http://pkg.FreeBSD.org/\${ABI}"}
+: ${PKG_HASH:=no}
: ${POUDRIERE_TMPDIR:=$(command mktemp -dt poudriere)}
: ${SHASH_VAR_PATH_DEFAULT:=${POUDRIERE_TMPDIR}}

View File

@ -1,22 +0,0 @@
--- src/share/poudriere/include/pkg.sh.orig 2024-08-11 06:43:13 UTC
+++ src/share/poudriere/include/pkg.sh
@@ -466,6 +466,10 @@ delete_pkg() {
local pkg="$1"
clear_pkg_cache "${pkg}"
+
+ # If ${pkg} is a symlink, delete the target as well
+ [ -L "${pkg}" ] && unlink $(realpath "${pkg}")
+
# Delete the package and the depsfile since this package is being deleted,
# which will force it to be recreated
unlink "${pkg}"
@@ -483,6 +487,8 @@ delete_pkg_xargs() {
# Delete the package and the depsfile since this package is being deleted,
# which will force it to be recreated
{
+ # If ${pkg} is a symlink, delete the target as well
+ [ -L "${pkg}" ] && echo $(realpath "${pkg}")
echo "${pkg}"
echo "${pkg_cache_dir}"
} >> "${listfile}"

View File

@ -1,20 +0,0 @@
--- src/share/poudriere/pkgclean.sh.orig 2024-08-11 06:43:13 UTC
+++ src/share/poudriere/pkgclean.sh
@@ -289,6 +289,8 @@ check_should_delete_pkg() {
*".${PKG_EXT}")
if should_delete "${file}"; then
echo "${file}" >> "${BADFILES_LIST:?}"
+ # If the pkg is a symlink to a hashed package, remove the hashed version as well
+ [ -L "${file}" ] && echo "$(realpath ${file})" >> ${BADFILES_LIST}
fi
;;
*.txz)
@@ -305,6 +307,8 @@ check_should_delete_pkg() {
*)
msg_verbose "Found incorrect format file: ${file}"
echo "${file}" >> "${BADFILES_LIST:?}"
+ # If the pkg is a symlink to a hashed package, remove the hashed version as well
+ [ -L "${file}" ] && echo "$(realpath ${file})" >> ${BADFILES_LIST}
;;
esac
}

View File

@ -1,3 +0,0 @@
poudriere is a tool primarily designed to test package production on
FreeBSD. However, most people will find it useful to bulk build ports
for FreeBSD.

View File

@ -1,115 +0,0 @@
bin/poudriere
@sample etc/poudriere.conf.sample
%%ETCDIR%%/hooks/bulk.sh.sample
%%ETCDIR%%/hooks/pkgbuild.sh.sample
@sample(0,0,0) etc/poudriered.conf.sample
etc/rc.d/poudriered
@comment libexec/poudriere/cachec
libexec/poudriere/clock
libexec/poudriere/cpdup
libexec/poudriere/dirempty
libexec/poudriere/dirwatch
libexec/poudriere/locked_mkdir
libexec/poudriere/nc
libexec/poudriere/poudriered
libexec/poudriere/ptsort
libexec/poudriere/pwait
libexec/poudriere/rename
%%RM%%libexec/poudriere/rm
libexec/poudriere/setsid
libexec/poudriere/sh
libexec/poudriere/timeout
libexec/poudriere/timestamp
%%BASH%%share/bash-completion/completions/poudriere
share/man/man8/poudriere-bulk.8.gz
share/man/man8/poudriere-distclean.8.gz
share/man/man8/poudriere-image.8.gz
share/man/man8/poudriere-jail.8.gz
share/man/man8/poudriere-logclean.8.gz
share/man/man8/poudriere-options.8.gz
share/man/man8/poudriere-pkgclean.8.gz
share/man/man8/poudriere-ports.8.gz
share/man/man8/poudriere-queue.8.gz
share/man/man8/poudriere-status.8.gz
share/man/man8/poudriere-testport.8.gz
share/man/man8/poudriere-version.8.gz
share/man/man8/poudriere.8.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Caddyfile.sample
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/httpd.conf.sample
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nginx.conf.sample
%%DATADIR%%/MANIFESTS
%%DATADIR%%/api.sh
%%DATADIR%%/awk/dependency_loop.awk
%%DATADIR%%/awk/file_cmp_reg.awk
%%DATADIR%%/awk/humanize.awk
%%DATADIR%%/awk/json.awk
%%DATADIR%%/awk/json_jail.awk
%%DATADIR%%/awk/json_top.awk
%%DATADIR%%/awk/parse_MOVED.awk
%%DATADIR%%/awk/processonelog.awk
%%DATADIR%%/awk/processonelog2.awk
%%DATADIR%%/awk/siginfo_buildtime.awk
%%DATADIR%%/awk/unique_pkgnames_from_flavored_origins.awk
%%DATADIR%%/bulk.sh
%%DATADIR%%/common.sh
%%DATADIR%%/daemon.sh
%%DATADIR%%/distclean.sh
%%DATADIR%%/foreachport.sh
%%DATADIR%%/html/assets/DataTables-1.13.8/css/dataTables.bootstrap5.min.css
%%DATADIR%%/html/assets/DataTables-1.13.8/images/sort_asc.png
%%DATADIR%%/html/assets/DataTables-1.13.8/images/sort_asc_disabled.png
%%DATADIR%%/html/assets/DataTables-1.13.8/images/sort_both.png
%%DATADIR%%/html/assets/DataTables-1.13.8/images/sort_desc.png
%%DATADIR%%/html/assets/DataTables-1.13.8/images/sort_desc_disabled.png
%%DATADIR%%/html/assets/DataTables-1.13.8/js/dataTables.bootstrap5.min.js
%%DATADIR%%/html/assets/DataTables-1.13.8/js/jquery.dataTables.min.js
%%DATADIR%%/html/assets/bootstrap-5.3.2/css/bootstrap.min.css
%%DATADIR%%/html/assets/bootstrap-5.3.2/js/bootstrap.bundle.min.js
%%DATADIR%%/html/assets/favicon.png
%%DATADIR%%/html/assets/jquery-3.7.1/jquery-3.7.1.js
%%DATADIR%%/html/assets/jquery-3.7.1/jquery-3.7.1.min.js
%%DATADIR%%/html/assets/jquery-3.7.1/jquery-3.7.1.min.map
%%DATADIR%%/html/assets/jquery.dataTables.rowGrouping-1.2.9.js
%%DATADIR%%/html/assets/logo-dark.png
%%DATADIR%%/html/assets/logo-light.png
%%DATADIR%%/html/assets/poudriere.js
%%DATADIR%%/html/build.html
%%DATADIR%%/html/index.html
%%DATADIR%%/html/jail.html
%%DATADIR%%/html/robots.txt
%%DATADIR%%/image.sh
%%DATADIR%%/image_dump.sh
%%DATADIR%%/image_firmware.sh
%%DATADIR%%/image_hybridiso.sh
%%DATADIR%%/image_iso.sh
%%DATADIR%%/image_mfs.sh
%%DATADIR%%/image_rawdisk.sh
%%DATADIR%%/image_tar.sh
%%DATADIR%%/image_usb.sh
%%DATADIR%%/image_zfs.sh
%%DATADIR%%/image_zsnapshot.sh
%%DATADIR%%/include/asserts.sh
%%DATADIR%%/include/cache.sh
%%DATADIR%%/include/colors.pre.sh
%%DATADIR%%/include/colors.sh
%%DATADIR%%/include/common.sh.dragonfly
%%DATADIR%%/include/common.sh.freebsd
%%DATADIR%%/include/display.sh
%%DATADIR%%/include/fs.sh
%%DATADIR%%/include/hash.sh
%%DATADIR%%/include/html.sh
%%DATADIR%%/include/parallel.sh
%%DATADIR%%/include/pkg.sh
%%DATADIR%%/include/pkgqueue.sh
%%DATADIR%%/include/shared_hash.sh
%%DATADIR%%/include/util.sh
%%DATADIR%%/jail.sh
%%DATADIR%%/logclean.sh
%%DATADIR%%/options.sh
%%DATADIR%%/pkgclean.sh
%%DATADIR%%/ports.sh
%%DATADIR%%/processonelog.sh
%%DATADIR%%/queue.sh
%%DATADIR%%/status.sh
%%DATADIR%%/testport.sh
%%ZSH%%share/zsh/site-functions/_poudriere

View 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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1755292668
SHA256 (nss-3.115.tar.gz) = ac2a47fb33bd79320159144e01c0d4af9a937a2d928c7c77ff06f5d9507861ab
SIZE (nss-3.115.tar.gz) = 76656357

View 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";

View File

@ -0,0 +1,6 @@
#!/bin/sh
if [ "$2" = POST-DEINSTALL ]; then
CERTCTL_ARGS="-D ${PKG_ROOTDIR}"
%%CERTCTL_CMD%% ${CERTCTL_ARGS} rehash
fi

View 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

View 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
}
]

View 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.

View 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

View File

@ -1,160 +0,0 @@
PORTNAME= sudo
PORTVERSION= 1.9.16p2
CATEGORIES= security
MASTER_SITES= SUDO
MAINTAINER= garga@FreeBSD.org
COMMENT= Allow others to run commands as root
WWW= https://www.sudo.ws/
LICENSE= sudo
LICENSE_NAME= Sudo license
LICENSE_FILE= ${WRKSRC}/LICENSE.md
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
FLAVORS= default sssd
FLAVOR?= ${FLAVORS:[1]}
sssd_PKGNAMESUFFIX= -sssd
USES= cpe libtool pkgconfig
CPE_VENDOR= todd_miller
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --mandir=${PREFIX}/share/man \
--sysconfdir=${PREFIX}/etc \
--with-env-editor \
--with-ignore-dot \
--with-logfac=${LOGFAC} \
--with-logincap \
--with-long-otp-prompt \
--with-rundir=/var/run/sudo \
--with-tty-tickets
LDFLAGS+= -lgcc
PORTSCOUT= ignore:1
OPTIONS_DEFINE= AUDIT DISABLE_AUTH DISABLE_ROOT_SUDO DOCS EXAMPLES \
INSULTS LDAP NLS NOARGS_SHELL OPIE PAM PYTHON SSL
OPTIONS_DEFAULT= AUDIT PAM SSL
OPTIONS_RADIO= KERBEROS SSSD
OPTIONS_RADIO_KERBEROS= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
OPTIONS_RADIO_SSSD= SSSD SSSD2
OPTIONS_SUB= yes
AUDIT_DESC= Enable BSM audit support
DISABLE_AUTH_DESC= Do not require authentication by default
DISABLE_ROOT_SUDO_DESC= Do not allow root to run sudo
INSULTS_DESC= Enable insults on failures
KERBEROS_DESC= Enable Kerberos 5 authentication (no PAM support)
NOARGS_SHELL_DESC= Run a shell if no arguments are given
OPIE_DESC= Enable one-time passwords (no PAM support)
PYTHON_DESC= Enable python plugin support
SSL_DESC= Use OpenSSL TLS and SHA2 functions
SSSD_DESC= Enable SSSD backend support (deprecated)
SSSD2_DESC= Enable SSSD2 backend support
AUDIT_CONFIGURE_WITH= bsm-audit
DISABLE_AUTH_CONFIGURE_ON= --disable-authentication
DISABLE_ROOT_SUDO_CONFIGURE_ON= --disable-root-sudo
GSSAPI_BASE_USES= gssapi
GSSAPI_BASE_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
GSSAPI_HEIMDAL_USES= gssapi:heimdal
GSSAPI_HEIMDAL_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
GSSAPI_MIT_USES= gssapi:mit
GSSAPI_MIT_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
INSULTS_CONFIGURE_ON= --with-insults --with-all-insults
LDAP_USES= ldap
LDAP_CONFIGURE_ON= --with-ldap=${PREFIX} \
--with-ldap-conf-file=${PREFIX}/etc/${SUDO_LDAP_CONF}
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
NLS_CFLAGS= -I${LOCALBASE}/include
NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl
NOARGS_SHELL_CONFIGURE_ENABLE= noargs-shell
OPIE_CONFIGURE_ON= --with-opie
PAM_PREVENTS= OPIE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
PAM_PREVENTS_MSG= PAM cannot be combined with any other authentication plugin
PAM_CONFIGURE_ON= --with-pam
PYTHON_USES= python
PYTHON_CONFIGURE_ENABLE=python
SSL_USES= ssl
SSL_CONFIGURE_ON= --enable-openssl=${OPENSSLBASE}
SSSD_PREVENTS= GSSAPI_HEIMDAL
SSSD_PREVENTS_MSG= sssd requires MIT kerberos and it conflicts with heimdal
SSSD_RUN_DEPENDS= sssd:security/sssd
SSSD_CONFIGURE_ON= --with-sssd
.if ${FLAVOR:U} == sssd
OPTIONS_DEFAULTS+= SSSD2
.endif
SSSD2_RUN_DEPENDS= sssd:security/sssd2
SSSD2_CONFIGURE_ON= --with-sssd
LOGFAC?= authpriv
SUDO_LDAP_CONF?= ldap.conf
# This is intentionally not an option.
# SUDO_SECURE_PATH is a PATH string that will override the user's PATH.
# ex: make SUDO_SECURE_PATH="/sbin:/bin:/usr/sbin:/usr/bin"
.if defined(SUDO_SECURE_PATH)
CONFIGURE_ARGS+= --with-secure-path="${SUDO_SECURE_PATH}"
.endif
# This is intentionally not an option.
# SUDO_KERB5_INSTANCE is an optional instance string that will be appended
# to kerberos principals when to perform authentication. Common choices
# are "admin" and "sudo".
.if defined(SUDO_KERB5_INSTANCE)
CONFIGURE_ARGS+= --enable-kerb5-instance="${SUDO_KERB5_INSTANCE}"
.endif
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400072
. if ${PORT_OPTIONS:MOPIE}
BUILD_DEPENDS+= opie>0:security/opie
RUN_DEPENDS+= opie>0:security/opie
. endif
.endif
.if ${ARCH} == "arm"
CONFIGURE_ARGS+= --disable-pie
.endif
post-patch:
@${REINPLACE_CMD} -E '/install-(binaries|noexec):/,/^$$/ \
s/\$$\(INSTALL\)/& ${STRIP}/;s/-b\~/-b ~/' \
${WRKSRC}/src/Makefile.in
post-install:
${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/sudo.default
${MV} ${STAGEDIR}${PREFIX}/etc/sudo.conf ${STAGEDIR}${PREFIX}/etc/sudo.conf.sample
${MV} ${STAGEDIR}${PREFIX}/etc/sudo_logsrvd.conf ${STAGEDIR}${PREFIX}/etc/sudo_logsrvd.conf.sample
${RM} ${STAGEDIR}${PREFIX}/etc/sudoers
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cvtsudoers
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sudoreplay
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/sudo_intercept.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_logsrvd
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_sendlog
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/visudo
.for f in audit_json.so group_file.so libsudo_util.so sudoers.so system_group.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/${f}
.endfor
post-install-PYTHON-on:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/python_plugin.so
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1732568670
SHA256 (sudo-1.9.16p2.tar.gz) = 976aa56d3e3b2a75593307864288addb748c9c136e25d95a9cc699aafa77239c
SIZE (sudo-1.9.16p2.tar.gz) = 5398419

View File

@ -1,16 +0,0 @@
# PAM configuration for the "sudo" service
#
# auth
auth include system
# account
account include system
# session
# XXX: pam_lastlog (used in system) causes users to appear as though
# they are no longer logged in in system logs.
session required pam_permit.so
# password
password include system

View File

@ -1,27 +0,0 @@
--- plugins/sudoers/sudoers.in.orig 2021-12-04 23:28:43 UTC
+++ plugins/sudoers/sudoers.in
@@ -32,6 +32,14 @@
##
## Defaults specification
##
+## Uncomment if needed to preserve environmental variables related to the
+## FreeBSD pkg utility and fetch.
+# Defaults env_keep += "PKG_CACHEDIR PKG_DBDIR FTP_PASSIVE_MODE"
+##
+## Additionally uncomment if needed to preserve environmental variables
+## related to portupgrade
+# Defaults env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF"
+##
## You may wish to keep some of the following environment variables
## when running commands via sudo.
##
@@ -91,6 +99,9 @@ root ALL=(ALL:ALL) ALL
## of the user they are running the command as (root by default).
# Defaults targetpw # Ask for the password of the target user
# ALL ALL=(ALL:ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
+
+## Uncomment to show on password prompt which users' password is being expected
+# Defaults passprompt="%p's password:"
## Read drop-in files from @sysconfdir@/sudoers.d
@includedir @sysconfdir@/sudoers.d

View File

@ -1,28 +0,0 @@
--- scripts/install-sh.orig 2017-01-14 04:30:15 UTC
+++ scripts/install-sh
@@ -171,12 +171,6 @@ if ${DIRMODE} ; then
if [ ! -d "${DEST}" ] ; then
${MKDIR} "${DEST}" || exit 1
fi
- if ${CHOWNIT} ; then
- ${CHOWN} "${OWNER}" "${DEST}" || exit 1
- fi
- if ${CHGROUPIT} ; then
- ${CHGRP} "${GROUP}" "${DEST}" || exit 1
- fi
if ${CHMODIT} ; then
${CHMOD} "${MODE}" "${DEST}" || exit 1
fi
@@ -226,12 +220,6 @@ fi
## Strip and set the owner/mode.
if ${STRIPIT} ; then
${STRIP} "${DEST}" || exit 1
-fi
-if ${CHOWNIT} ; then
- ${CHOWN} "${OWNER}" "${DEST}" || exit 1
-fi
-if ${CHGROUPIT} ; then
- ${CHGRP} "${GROUP}" "${DEST}" || exit 1
fi
if ${CHMODIT} ; then
${CHMOD} "${MODE}" "${DEST}" || exit 1

View File

@ -1,6 +0,0 @@
This is the CU version of sudo.
Sudo is a program designed to allow a sysadmin to give limited root
privileges to users and log root activity. The basic philosophy is to
give as few privileges as possible but still allow people to get their
work done.

View File

@ -1,144 +0,0 @@
bin/cvtsudoers
bin/sudo
bin/sudoedit
bin/sudoreplay
@sample etc/pam.d/sudo.default etc/pam.d/sudo
@sample etc/sudo.conf.sample
@sample etc/sudo_logsrvd.conf.sample
@sample etc/sudoers.dist etc/sudoers
include/sudo_plugin.h
libexec/sudo/audit_json.so
libexec/sudo/group_file.so
libexec/sudo/libsudo_util.so
libexec/sudo/libsudo_util.so.0
libexec/sudo/libsudo_util.so.0.0.0
%%PYTHON%%libexec/sudo/python_plugin.so
libexec/sudo/sudo_intercept.so
libexec/sudo/sudo_noexec.so
libexec/sudo/sudoers.so
libexec/sudo/system_group.so
share/man/man1/cvtsudoers.1.gz
share/man/man5/sudo.conf.5.gz
share/man/man5/sudo_logsrv.proto.5.gz
share/man/man5/sudo_logsrvd.conf.5.gz
share/man/man5/sudo_plugin.5.gz
%%PYTHON%%share/man/man5/sudo_plugin_python.5.gz
share/man/man5/sudoers.5.gz
share/man/man5/sudoers_timestamp.5.gz
%%LDAP%%share/man/man5/sudoers.ldap.5.gz
share/man/man8/sudo.8.gz
share/man/man8/sudo_logsrvd.8.gz
share/man/man8/sudo_sendlog.8.gz
share/man/man8/sudoedit.8.gz
share/man/man8/sudoreplay.8.gz
share/man/man8/visudo.8.gz
sbin/visudo
sbin/sudo_logsrvd
sbin/sudo_sendlog
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTING.md
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS.md
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/HISTORY.md
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.md
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/SECURITY.md
%%PORTDOCS%%%%DOCSDIR%%/TROUBLESHOOTING.md
%%PORTDOCS%%%%DOCSDIR%%/UPGRADE.md
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.LDAP.md
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.ActiveDirectory
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.IBM_LDAP
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.OpenLDAP
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.iPlanet
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.olcSudo
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cvtsudoers.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pam.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudo.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudo_logsrvd.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudoers
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syslog.conf
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_approval_plugin.py
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_audit_plugin.py
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_conversation.py
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_debugging.py
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_group_plugin.py
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_io_plugin.py
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_policy_plugin.py
%%NLS%%share/locale/ast/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/ast/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/ca/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/ca/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/cs/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/cs/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/da/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/da/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/de/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/de/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/el/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/eo/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/eo/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/es/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/es/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/eu/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/eu/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/fa/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/fi/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/fi/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/fr/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/fr/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/fur/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/fur/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/gl/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/hr/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/hr/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/hu/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/hu/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/id/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/id/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/it/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/it/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/ja/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/ja/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/ka/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/ka/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/ko/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/ko/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/lt/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/nb/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/nb/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/nl/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/nl/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/nn/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/pl/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/pl/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/pt/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/pt/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/ro/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/ro/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/ru/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/ru/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/sk/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/sk/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/sl/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/sl/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/sq/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/sr/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/sr/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/sv/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/sv/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/tr/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/tr/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/uk/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/uk/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/vi/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/vi/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/sudoers.mo
@dir etc/sudoers.d
@dir /var/db/sudo/lectured
@dir /var/db/sudo
@dir /var/run/sudo

163
t/PKGBase.md Normal file
View 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
```

View 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
View 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.