pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/gitea gitea: use find(1) in a more portable way



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2babf999427
branches:  trunk
changeset: 387936:e2babf999427
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Thu Nov 10 21:12:54 2022 +0000

description:
gitea: use find(1) in a more portable way

Verified on NetBSD, Linux (Debian 10.13), and macOS (all amd64).

No changes to the package observed, so no revision bump.

diffstat:

 www/gitea/distinfo               |   4 ++--
 www/gitea/patches/patch-Makefile |  16 +++++++++++++---
 2 files changed, 15 insertions(+), 5 deletions(-)

diffs (46 lines):

diff -r 52ee16e10b67 -r e2babf999427 www/gitea/distinfo
--- a/www/gitea/distinfo        Thu Nov 10 19:25:49 2022 +0000
+++ b/www/gitea/distinfo        Thu Nov 10 21:12:54 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.32 2022/11/09 23:26:15 khorben Exp $
+$NetBSD: distinfo,v 1.33 2022/11/10 21:12:54 khorben Exp $
 
 BLAKE2s (bazil.org_fuse_@v_v0.0.0-20180421153158-65cc252bf669.mod) = ff8095283662ae2d2a1968bf429516c54586b1a6c4dc744657162e6781aa8ece
 SHA512 (bazil.org_fuse_@v_v0.0.0-20180421153158-65cc252bf669.mod) = 7b3ef87f98485bb9ec325680f57d43a9bd76e90bdcfb1e798458f28f7d3addf91dbb6a07b654749468860981413ad2267df2d5f3535c85579e9f79d9328d355c
@@ -8049,4 +8049,4 @@
 BLAKE2s (xorm.io_xorm_@v_v1.2.5.zip) = 03755a7c8b10da3dd1ab496969dbf0e54a528749fed1d3bdaeb26237235ff0a7
 SHA512 (xorm.io_xorm_@v_v1.2.5.zip) = e136f8c50d41c46b83cb17b82e6865967105f404a886d93834793c13fa4c9e0ef6c841e9eed19ba5fecf068670650b01a1648303614ed97ff2d046992479d357
 Size (xorm.io_xorm_@v_v1.2.5.zip) = 307259 bytes
-SHA1 (patch-Makefile) = e412ed02de0c2b4e7ea711b829168551bf6f8839
+SHA1 (patch-Makefile) = 289ec07884b772dac8f79dfd89b498c55df9cf83
diff -r 52ee16e10b67 -r e2babf999427 www/gitea/patches/patch-Makefile
--- a/www/gitea/patches/patch-Makefile  Thu Nov 10 19:25:49 2022 +0000
+++ b/www/gitea/patches/patch-Makefile  Thu Nov 10 21:12:54 2022 +0000
@@ -1,10 +1,11 @@
-$NetBSD: patch-Makefile,v 1.3 2022/02/16 16:06:21 tm Exp $
+$NetBSD: patch-Makefile,v 1.4 2022/11/10 21:12:54 khorben Exp $
 
 Exclude LDFLAGS, this is not C.
+Use find(1) in a more portable way.
 
---- Makefile.orig      2022-02-06 12:35:24.000000000 +0000
+--- Makefile.orig      2022-07-12 18:26:27.000000000 +0000
 +++ Makefile
-@@ -88,7 +88,7 @@ else
+@@ -95,7 +95,7 @@ else
        endif
  endif
  
@@ -13,3 +14,12 @@
  
  LINUX_ARCHS ?= linux/amd64,linux/386,linux/arm-5,linux/arm-6,linux/arm64
  
+@@ -126,7 +126,7 @@ TAR_EXCLUDES := .git data indexers queue
+ GO_DIRS := cmd integrations models modules routers build services tools
+ 
+ GO_SOURCES := $(wildcard *.go)
+-GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" -not -path modules/options/bindata.go -not -path modules/public/bindata.go -not -path modules/templates/bindata.go)
++GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" -and ! -path modules/options/bindata.go -and ! -path modules/public/bindata.go -and ! -path modules/templates/bindata.go)
+ 
+ ifeq ($(filter $(TAGS_SPLIT),bindata),bindata)
+       GO_SOURCES += $(BINDATA_DEST)



Home | Main Index | Thread Index | Old Index