From a01822d628d2c1ebba54042797ab525b80929700 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 17 Feb 2026 08:05:43 +0100 Subject: [PATCH] make: remove CORE_REPOSITORY Looking at it again this was used for LibreSSL back in the day but we do not need this and aux configuration is also hardcoded. --- Makefile | 1 - Mk/defaults.mk | 1 - src/etc/pkg/repos/OPNsense.conf.shadow.in | 2 +- src/opnsense/version/core.in | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c4f15f7045..c8c951c6ec 100644 --- a/Makefile +++ b/Makefile @@ -116,7 +116,6 @@ CORE_MAINTAINER?= project@opnsense.org CORE_ORIGIN?= opnsense/${CORE_NAME} CORE_PACKAGESITE?= https://pkg.opnsense.org CORE_PRODUCT?= OPNsense -CORE_REPOSITORY?= latest CORE_WWW?= https://opnsense.org/ CORE_USER?= wwwonly CORE_UID?= 789 diff --git a/Mk/defaults.mk b/Mk/defaults.mk index 2ce3836c36..4fa6a93fba 100644 --- a/Mk/defaults.mk +++ b/Mk/defaults.mk @@ -89,7 +89,6 @@ REPLACEMENTS= CORE_ABI \ CORE_PKGVERSION \ CORE_PRODUCT \ CORE_PYTHON_DOT \ - CORE_REPOSITORY \ CORE_SERIES \ CORE_SERIES_FW \ CORE_SYSLOGNG \ diff --git a/src/etc/pkg/repos/OPNsense.conf.shadow.in b/src/etc/pkg/repos/OPNsense.conf.shadow.in index 5b411ca6b3..7089c7bdaa 100644 --- a/src/etc/pkg/repos/OPNsense.conf.shadow.in +++ b/src/etc/pkg/repos/OPNsense.conf.shadow.in @@ -1,6 +1,6 @@ OPNsense: { fingerprints: "/usr/local/etc/pkg/fingerprints/OPNsense", - url: "%%CORE_PACKAGESITE%%/${ABI}/%%CORE_ABI%%/%%CORE_REPOSITORY%%", + url: "%%CORE_PACKAGESITE%%/${ABI}/%%CORE_ABI%%/latest", signature_type: "fingerprints", priority: 11, enabled: yes diff --git a/src/opnsense/version/core.in b/src/opnsense/version/core.in index 931d2be06a..108d5ffe27 100644 --- a/src/opnsense/version/core.in +++ b/src/opnsense/version/core.in @@ -17,7 +17,6 @@ "CORE_PKGVERSION": "%%CORE_PKGVERSION%%", "CORE_PRODUCT": "%%CORE_PRODUCT%%", "CORE_PYTHON_DOT": "%%CORE_PYTHON_DOT%%", - "CORE_REPOSITORY": "%%CORE_REPOSITORY%%", "CORE_SERIES_FW": "%%CORE_SERIES_FW%%", "CORE_SERIES": "%%CORE_SERIES%%", "CORE_SYSLOGNG": "%%CORE_SYSLOGNG%%",