pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/gitea



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu May 21 13:36:12 UTC 2020

Modified Files:
        pkgsrc/www/gitea: PLIST distinfo
Added Files:
        pkgsrc/www/gitea/patches: patch-Makefile

Log Message:
gitea: Various fixes.

Add a target to generate the frontend artefacts that are required at
runtime, but do not build them by default as they require nodejs/npm which
will download node modules during the build.  Instead use a pre-built copy
stored in LOCAL_PORTS.  The web interface should now look correct.

Use the supplied Makefile to simplify some of the targets.

Remove unnecessary MAKE_DIRS (shadows an OWN_DIRS_PERMS), and fix
permissions on some of the installed files.

Based on joyent/pkgsrc#263 from GitHub user teutat3s.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/gitea/PLIST
cvs rdiff -u -r1.20 -r1.21 pkgsrc/www/gitea/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/gitea/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/gitea/PLIST
diff -u pkgsrc/www/gitea/PLIST:1.6 pkgsrc/www/gitea/PLIST:1.7
--- pkgsrc/www/gitea/PLIST:1.6  Mon Mar  9 11:06:16 2020
+++ pkgsrc/www/gitea/PLIST      Thu May 21 13:36:12 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2020/03/09 11:06:16 nia Exp $
+@comment $NetBSD: PLIST,v 1.7 2020/05/21 13:36:12 jperkin Exp $
 sbin/gitea
 share/examples/gitea/app.ini.sample
 share/gitea/options/gitignore/Actionscript
@@ -660,6 +660,8 @@ share/gitea/options/locale/locale_zh-CN.
 share/gitea/options/locale/locale_zh-HK.ini
 share/gitea/options/locale/locale_zh-TW.ini
 share/gitea/options/readme/Default
+share/gitea/public/css/index.css
+share/gitea/public/css/theme-arc-green.css
 share/gitea/public/img/404.png
 share/gitea/public/img/500.png
 share/gitea/public/img/auth/bitbucket.png
@@ -690,6 +692,10 @@ share/gitea/public/img/openid-16x16.png
 share/gitea/public/img/repo_default.png
 share/gitea/public/img/slack.png
 share/gitea/public/img/telegram.png
+share/gitea/public/js/gitgraph.js
+share/gitea/public/js/gitgraph.js.map
+share/gitea/public/js/index.js
+share/gitea/public/js/index.js.map
 share/gitea/public/vendor/VERSIONS
 share/gitea/public/vendor/assets/font-awesome/LICENSE
 share/gitea/public/vendor/assets/font-awesome/css/LICENSE

Index: pkgsrc/www/gitea/distinfo
diff -u pkgsrc/www/gitea/distinfo:1.20 pkgsrc/www/gitea/distinfo:1.21
--- pkgsrc/www/gitea/distinfo:1.20      Sun May 17 14:50:40 2020
+++ pkgsrc/www/gitea/distinfo   Thu May 21 13:36:12 2020
@@ -1,6 +1,11 @@
-$NetBSD: distinfo,v 1.20 2020/05/17 14:50:40 nia Exp $
+$NetBSD: distinfo,v 1.21 2020/05/21 13:36:12 jperkin Exp $
 
+SHA1 (gitea-1.11.5-frontend.tar.gz) = 262d7161cbfa663624094e44307ec4f32d182698
+RMD160 (gitea-1.11.5-frontend.tar.gz) = 7b1790a486d86d0043f98dcfd9a8d75696b6bfc7
+SHA512 (gitea-1.11.5-frontend.tar.gz) = 2350c0d8a71b2b5157b5158be90b4ef70dcf7779dd551082340a7bc44d999a79f57f779a412ffcd9d83b67210b31e0bd1c9c530acbf3ef89aa3fb4ed34b16255
+Size (gitea-1.11.5-frontend.tar.gz) = 304761 bytes
 SHA1 (gitea-1.11.5.tar.gz) = bc8ca807775578f0ffdc73e8d8c68b28211878c4
 RMD160 (gitea-1.11.5.tar.gz) = 942aabda1f4efe5a9cc5778a2283558c2d97e39b
 SHA512 (gitea-1.11.5.tar.gz) = ba80ba77f6f761a03d062d5ceaacf0d2f9a7c5ad3c414f3d34ff31ee37ac00c4af562ecba0f14c6dca3ad2012e6cbfd8aea105dd87cfb06aedc80cf22a9ff12b
 Size (gitea-1.11.5.tar.gz) = 28249501 bytes
+SHA1 (patch-Makefile) = e24daca412c8213a5cc8f312bb258b24d20e6407

Added files:

Index: pkgsrc/www/gitea/patches/patch-Makefile
diff -u /dev/null pkgsrc/www/gitea/patches/patch-Makefile:1.1
--- /dev/null   Thu May 21 13:36:12 2020
+++ pkgsrc/www/gitea/patches/patch-Makefile     Thu May 21 13:36:12 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2020/05/21 13:36:12 jperkin Exp $
+
+Exclude LDFLAGS, this is not C.
+
+--- Makefile.orig      2020-05-09 19:26:27.000000000 +0000
++++ Makefile
+@@ -49,7 +49,7 @@ else
+       endif
+ endif
+ 
+-LDFLAGS := $(LDFLAGS) -X "main.MakeVersion=$(MAKE_VERSION)" -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)"
++LDFLAGS := -X "main.MakeVersion=$(MAKE_VERSION)" -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)"
+ 
+ PACKAGES ?= $(filter-out code.gitea.io/gitea/integrations/migration-test,$(filter-out code.gitea.io/gitea/integrations,$(shell GO111MODULE=on $(GO) list -mod=vendor ./... | grep -v /vendor/)))
+ 



Home | Main Index | Thread Index | Old Index