* Verify the ID of Forgejo Actions web endpoints belongs to the repository to prevent the deletion of runners or variables or the modification of variables * Enforce permissions on publicly available user or organizations projects to not leak information from issues and pull requests that belong to private repositories * fix(ui): display verified icon for default gpg key * fix: load settings for valid user and email check * Teach the doctor to remove orphaned two_factor with forgejo doctor check --run check-db-consistency --fix * fix: listing tokens must not require basic auth OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/forgejo?expand=0&rev=51
29 lines
1.5 KiB
Diff
29 lines
1.5 KiB
Diff
diff -rub forgejo-src-9.0.0/Makefile forgejo-src-9.0.0-patched/Makefile
|
|
--- forgejo-src-9.0.0/Makefile 2024-10-16 05:56:39.000000000 +0200
|
|
+++ forgejo-src-9.0.0-patched/Makefile 2024-10-17 16:41:54.550837598 +0200
|
|
@@ -803,7 +803,7 @@
|
|
|
|
.PHONY: install $(TAGS_PREREQ)
|
|
install: $(wildcard *.go)
|
|
- CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) install -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)'
|
|
+ CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) install -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)'
|
|
|
|
.PHONY: build
|
|
build: frontend backend
|
|
@@ -831,13 +831,13 @@
|
|
@echo "NOT NEEDED: THIS IS A NOOP AS OF Forgejo 7.0 BUT KEPT FOR BACKWARD COMPATIBILITY"
|
|
|
|
$(EXECUTABLE): $(GO_SOURCES) $(TAGS_PREREQ)
|
|
- CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@
|
|
+ CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o $@
|
|
|
|
forgejo: $(EXECUTABLE)
|
|
ln -f $(EXECUTABLE) forgejo
|
|
|
|
static-executable: $(GO_SOURCES) $(TAGS_PREREQ)
|
|
- CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags 'netgo osusergo $(TAGS)' -ldflags '-s -w -linkmode external -extldflags "-static" $(LDFLAGS)' -o $(EXECUTABLE)
|
|
+ CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags 'netgo osusergo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -o $(EXECUTABLE)
|
|
|
|
.PHONY: release
|
|
release: frontend generate release-linux release-copy release-compress vendor release-sources release-check
|