Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gitea and update Node.js #5028

Merged
merged 7 commits into from
Jan 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions cross/gitea/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
PKG_NAME = gitea
PKG_VERS = 1.15.9
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-src-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/go-gitea/gitea/releases/download/v$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
EXTRACT_PATH = $(WORK_DIR)/$(PKG_DIR)

BUILD_DEPENDS = native/go

HOMEPAGE = https://gitea.io/
COMMENT = Gitea is a community managed lightweight code hosting solution written in Go.
LICENSE = MIT

CGO_ENABLED = 1
COMPILE_TARGET = gitea_compile_target
GO_BIN_DIR = $(WORK_DIR)/$(PKG_DIR)/$(PKG_NAME)
include ../../mk/spksrc.cross-go.mk

SYNOPKG_PKGVAR = /var/packages/$(PKG_NAME)/var
CUSTOM_PATH = -X \"code.gitea.io/gitea/modules/setting.CustomPath=$(SYNOPKG_PKGVAR)/custom\"
CUSTOM_CONF = -X \"code.gitea.io/gitea/modules/setting.CustomConf=$(SYNOPKG_PKGVAR)/conf.ini\"
WORK_PATH = -X \"code.gitea.io/gitea/modules/setting.AppWorkPath=$(SYNOPKG_PKGVAR)\"
PID = -X \"code.gitea.io/gitea/modules/setting.PIDFile=$(SYNOPKG_PKGVAR)/gitea.pid\"

ENV += LDFLAGS="$(CUSTOM_PATH) $(CUSTOM_CONF) $(WORK_PATH) $(PID)"
ENV += TAGS="bindata sqlite sqlite_unlock_notify"
ENV += GITEA_VERSION=$(PKG_VERS)

gitea_compile_target:
$(RUN) $(MAKE) backend
1 change: 1 addition & 0 deletions cross/gitea/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin:bin/gitea
3 changes: 3 additions & 0 deletions cross/gitea/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
gitea-src-1.15.9.tar.gz SHA1 0dc47978e406406200d40829fbab1dff5a44758d
gitea-src-1.15.9.tar.gz SHA256 0f33e0032ec2babca973feba73536a6121c582da2fa58e6a12afcb7bed15624e
gitea-src-1.15.9.tar.gz MD5 70463e1c3247790e9a334a06fd95bff2
3 changes: 1 addition & 2 deletions native/nodejs/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
PKG_NAME = nodejs
# Current LTS Version: 14.17.1 (includes npm 6.14.13)
PKG_VERS = 14.17.1
PKG_VERS = 16.13.1
PKG_EXT = tar.xz
PKG_DIST_NAME = node-v$(PKG_VERS)-linux-x64.$(PKG_EXT)
PKG_DIST_SITE = https://nodejs.org/dist/v$(PKG_VERS)
Expand Down
6 changes: 3 additions & 3 deletions native/nodejs/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node-v14.17.1-linux-x64.tar.xz SHA1 64480158581bf04ff3ec91745294253c61ed596a
node-v14.17.1-linux-x64.tar.xz SHA256 2921eba80c839e06d68b60b27fbbcbc7822df437f3f8d58717ec5a7703563ba4
node-v14.17.1-linux-x64.tar.xz MD5 b234b1747819226833a592c1e6df5b5a
node-v16.13.1-linux-x64.tar.xz SHA1 db2b27e2edd3ce3fb8a8efd7d4d541ee45ddbac9
node-v16.13.1-linux-x64.tar.xz SHA256 a3721f87cecc0b52b0be8587c20776ac7305db413751db02c55aa2bffac15198
node-v16.13.1-linux-x64.tar.xz MD5 0de30c36dbe90c997126bbc4e5c8a949
53 changes: 0 additions & 53 deletions spk/git-server/Makefile

This file was deleted.

15 changes: 0 additions & 15 deletions spk/git-server/src/app/config

This file was deleted.

31 changes: 0 additions & 31 deletions spk/git-server/src/conf/privilege

This file was deleted.

98 changes: 0 additions & 98 deletions spk/git-server/src/dsm-control.sh

This file was deleted.

Binary file removed spk/git-server/src/git-server.png
Binary file not shown.
7 changes: 0 additions & 7 deletions spk/git-server/src/gitweb.conf

This file was deleted.

2 changes: 0 additions & 2 deletions spk/git-server/src/gitweb_config.perl

This file was deleted.

130 changes: 0 additions & 130 deletions spk/git-server/src/installer.sh

This file was deleted.

Loading