[arch-commits] Commit in gitea/repos/community-testing-x86_64 (6 files)

Maxime Gauduin alucryd at archlinux.org
Thu Nov 1 07:52:57 UTC 2018


    Date: Thursday, November 1, 2018 @ 07:52:56
  Author: alucryd
Revision: 401030

archrelease: copy trunk to community-testing-x86_64

Deleted:
  gitea/repos/community-testing-x86_64/PKGBUILD
  gitea/repos/community-testing-x86_64/gitea-disable-u2f.patch
  gitea/repos/community-testing-x86_64/gitea-ldflags.patch
  gitea/repos/community-testing-x86_64/gitea-repos.patch
  gitea/repos/community-testing-x86_64/gitea.service
  gitea/repos/community-testing-x86_64/gitea.tmpfiles

-------------------------+
 PKGBUILD                |   66 ----------------------------------------------
 gitea-disable-u2f.patch |   16 -----------
 gitea-ldflags.patch     |   19 -------------
 gitea-repos.patch       |   11 -------
 gitea.service           |   29 --------------------
 gitea.tmpfiles          |    7 ----
 6 files changed, 148 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-01 07:52:44 UTC (rev 401029)
+++ PKGBUILD	2018-11-01 07:52:56 UTC (rev 401030)
@@ -1,66 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Frederik Schwan <frederik dot schwan at linux dot com>
-
-pkgname=gitea
-pkgver=1.5.2
-pkgrel=1
-pkgdesc="Painless self-hosted Git service. Community managed fork of Gogs."
-arch=('x86_64')
-url="https://gitea.io"
-license=('MIT')
-depends=('git')
-makedepends=('go-pie' 'go-bindata')
-optdepends=(
-  'mariadb: MariaDB support'
-  'memcached: MemCached support'
-  'openssh: GIT over SSH support'
-  'pam: Authentication via PAM support'
-  'postgresql: PostgreSQL support'
-  'redis: Redis support'
-  'sqlite: SQLite support'
-)
-backup=('etc/gitea/app.ini')
-_commit=31a738b221094cbfc32bf342fb3b76d4e78617da  # tags/1.5.2^0
-source=("git+https://github.com/go-gitea/gitea.git#commit=${_commit}"
-        gitea.tmpfiles
-        gitea.service
-        gitea-repos.patch
-        gitea-ldflags.patch
-        gitea-disable-u2f.patch)
-sha256sums=('SKIP'
-            'da04ca25b76bcfc443c49da056393240d94d8c7e3b4bd63d4cf10e5aea001239'
-            '49c6da593d9c463d39bec47aa2496a636944d5c673c2983be731466d4dbbf578'
-            '66c5a84fbbe56dd8b3bca3a779aaaf5d4855573f0dd2b273018a8983d7951a72'
-            'f062d395b3122edcbcb51f6bac59da70ef57bfcf4693c17bde14ee35b1ef5e92'
-            'd6842efd13b6971b77d233ff3ac2bd3d81c5d26c348ae1f2a2b19b0e7237726e')
-
-prepare() {
-  mkdir -p gopath/src/code.gitea.io
-  ln -rTsf ${pkgname} gopath/src/code.gitea.io/${pkgname}
-
-  cd ${pkgname}
-  # Change default repos path for ArchLinux
-  patch -Np1 -i ../gitea-repos.patch
-  # Fix LDFLAGS not being respected by Go
-  patch -Np1 -i ../gitea-ldflags.patch
-  # https://github.com/go-gitea/gitea/issues/4692
-  patch -Np1 -i ../gitea-disable-u2f.patch
-}
-
-build() {
-  export GOPATH="${srcdir}"/gopath
-  cd gopath/src/code.gitea.io/gitea
-  make generate
-  EXTRA_GOFLAGS="-gcflags all=-trimpath=${GOPATH} -asmflags all=-trimpath=${GOPATH}" \
-  make GOFLAGS="-v" TAGS="bindata sqlite pam" build
-}
-
-package() {
-  install -Dm755 ${pkgname}/${pkgname} -t "${pkgdir}"/usr/bin/
-  install -Dm644 ${pkgname}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-  install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
-  install -Dm644 ${pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
-  install -dm755 -o root -g git "${pkgdir}"/etc/gitea
-  install -m 660 -o root -g git ${pkgname}/custom/conf/app.ini.sample "${pkgdir}"/etc/gitea/app.ini
-}

Deleted: gitea-disable-u2f.patch
===================================================================
--- gitea-disable-u2f.patch	2018-11-01 07:52:44 UTC (rev 401029)
+++ gitea-disable-u2f.patch	2018-11-01 07:52:56 UTC (rev 401030)
@@ -1,16 +0,0 @@
---- a/custom/conf/app.ini.sample
-+++ b/custom/conf/app.ini.sample
-@@ -628,13 +628,6 @@ sr-SP = sr
- sv-SE = sv
- ko-KR = ko
- 
--[U2F]
--; Two Factor authentication with security keys
--; https://developers.yubico.com/U2F/App_ID.html
--APP_ID = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
--; Comma seperated list of truisted facets
--TRUSTED_FACETS = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
--
- ; Extension mapping to highlight class
- ; e.g. .toml=ini
- [highlight.mapping]

Deleted: gitea-ldflags.patch
===================================================================
--- gitea-ldflags.patch	2018-11-01 07:52:44 UTC (rev 401029)
+++ gitea-ldflags.patch	2018-11-01 07:52:56 UTC (rev 401030)
@@ -1,19 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -33,6 +33,7 @@ else
- 	GITEA_VERSION := $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
- endif
- 
-+EXTLDFLAGS := ${LDFLAGS}
- LDFLAGS := -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)"
- 
- PACKAGES ?= $(filter-out code.gitea.io/gitea/integrations,$(shell $(GO) list ./... | grep -v /vendor/))
-@@ -240,7 +241,7 @@ install: $(wildcard *.go)
- build: $(EXECUTABLE)
- 
- $(EXECUTABLE): $(SOURCES)
--	$(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@
-+	$(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-linkmode external -extldflags "$(EXTLDFLAGS)" -s -w $(LDFLAGS)' -o $@
- 
- .PHONY: release
- release: release-dirs release-windows release-linux release-darwin release-copy release-compress release-check

Deleted: gitea-repos.patch
===================================================================
--- gitea-repos.patch	2018-11-01 07:52:44 UTC (rev 401029)
+++ gitea-repos.patch	2018-11-01 07:52:56 UTC (rev 401030)
@@ -1,11 +0,0 @@
---- a/custom/conf/app.ini.sample
-+++ b/custom/conf/app.ini.sample
-@@ -12,7 +12,7 @@ RUN_USER = git
- RUN_MODE = dev
- 
- [repository]
--ROOT =
-+ROOT = /var/lib/gitea/repos
- SCRIPT_TYPE = bash
- ; Default ANSI charset
- ANSI_CHARSET =

Deleted: gitea.service
===================================================================
--- gitea.service	2018-11-01 07:52:44 UTC (rev 401029)
+++ gitea.service	2018-11-01 07:52:56 UTC (rev 401030)
@@ -1,29 +0,0 @@
-[Unit]
-Description=Gitea (Git with a cup of tea)
-After=syslog.target
-After=network.target
-After=mysqld.service
-After=postgresql.service
-After=memcached.service
-After=redis.service
-
-[Service]
-User=git
-Group=git
-Type=simple
-WorkingDirectory=/var/lib/gitea
-Environment=USER=git HOME=/var/lib/gitea GITEA_WORK_DIR=/var/lib/gitea
-ExecStart=/usr/bin/gitea web -c /etc/gitea/app.ini
-Restart=always
-RestartSec=2s
-PrivateDevices=true
-PrivateTmp=true
-ProtectHome=true
-ProtectSystem=strict
-ProtectControlGroups=yes
-ProtectKernelTunables=true
-ProtectKernelModules=yes
-ReadWritePaths=/etc/gitea/app.ini /var/lib/gitea
-
-[Install]
-WantedBy=multi-user.target

Deleted: gitea.tmpfiles
===================================================================
--- gitea.tmpfiles	2018-11-01 07:52:44 UTC (rev 401029)
+++ gitea.tmpfiles	2018-11-01 07:52:56 UTC (rev 401030)
@@ -1,7 +0,0 @@
-d /var/lib/gitea 0750 git git
-d /var/lib/gitea/attachments 0750 git git
-d /var/lib/gitea/data 0750 git git
-d /var/lib/gitea/indexers 0750 git git
-d /var/lib/gitea/repos 0750 git git
-d /var/lib/gitea/tmp 0750 git git
-d /var/log/gitea 0750 git git



More information about the arch-commits mailing list