From 941687623283212199cbe6e36f7d61b89d6222b2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 7 Jun 2024 00:08:01 +0100 Subject: gentoo auto-resync : 07:06:2024 - 00:08:01 --- www-apps/Manifest.gz | Bin 13473 -> 13461 bytes www-apps/chromedriver-bin/Manifest | 4 +- .../chromedriver-bin-125.0.6422.112.ebuild | 28 ---- .../chromedriver-bin-125.0.6422.141.ebuild | 28 ++++ www-apps/gitea/Manifest | 13 +- .../gitea-1.22.0-fix-missing-memcache-import.diff | 18 +++ .../gitea-1.22.0-go-chi-memcache-package.diff | 121 ++++++++++++++++ ...0-ignore-findrecentlypushednewbranches-err.diff | 20 +++ www-apps/gitea/gitea-1.21.10.ebuild | 147 ------------------- www-apps/gitea/gitea-1.21.11.ebuild | 2 +- www-apps/gitea/gitea-1.21.8.ebuild | 147 ------------------- www-apps/gitea/gitea-1.22.0.ebuild | 158 +++++++++++++++++++++ www-apps/gitea/metadata.xml | 1 + www-apps/hugo/Manifest | 6 +- www-apps/hugo/hugo-0.121.2.ebuild | 101 ------------- www-apps/hugo/hugo-0.125.7.ebuild | 101 +++++++++++++ www-apps/jellyfin-bin/Manifest | 10 +- www-apps/jellyfin-bin/jellyfin-bin-10.9.4.ebuild | 77 ---------- www-apps/jellyfin-bin/jellyfin-bin-10.9.6.ebuild | 77 ++++++++++ 19 files changed, 542 insertions(+), 517 deletions(-) delete mode 100644 www-apps/chromedriver-bin/chromedriver-bin-125.0.6422.112.ebuild create mode 100644 www-apps/chromedriver-bin/chromedriver-bin-125.0.6422.141.ebuild create mode 100644 www-apps/gitea/files/gitea-1.22.0-fix-missing-memcache-import.diff create mode 100644 www-apps/gitea/files/gitea-1.22.0-go-chi-memcache-package.diff create mode 100644 www-apps/gitea/files/gitea-1.22.0-ignore-findrecentlypushednewbranches-err.diff delete mode 100644 www-apps/gitea/gitea-1.21.10.ebuild delete mode 100644 www-apps/gitea/gitea-1.21.8.ebuild create mode 100644 www-apps/gitea/gitea-1.22.0.ebuild delete mode 100644 www-apps/hugo/hugo-0.121.2.ebuild create mode 100644 www-apps/hugo/hugo-0.125.7.ebuild delete mode 100644 www-apps/jellyfin-bin/jellyfin-bin-10.9.4.ebuild create mode 100644 www-apps/jellyfin-bin/jellyfin-bin-10.9.6.ebuild (limited to 'www-apps') diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz index 210fbe4b0d19..1d33c05f83cd 100644 Binary files a/www-apps/Manifest.gz and b/www-apps/Manifest.gz differ diff --git a/www-apps/chromedriver-bin/Manifest b/www-apps/chromedriver-bin/Manifest index 3eb31620737d..39ea8c111d5d 100644 --- a/www-apps/chromedriver-bin/Manifest +++ b/www-apps/chromedriver-bin/Manifest @@ -1,3 +1,3 @@ -DIST chromedriver-bin-125.0.6422.112.linux64.zip 8713845 BLAKE2B a2c4c2ef15096fe3d2e0f8f31a185bc270e78a6243ccb962c63b9b8227f177a5e7a25ac2c843dbc6d8366715c5e8f188f75e4415dcdbf51b71cd0afc20c271c2 SHA512 3ac465b2680239ad8fabd3e9ab3dfb5834a1c77c2beac7e7c4e01adc072cbb6914b1ef262988cad07e9e29f49aa613acc46a8b7b6d527cadf2a62442355047a2 -EBUILD chromedriver-bin-125.0.6422.112.ebuild 723 BLAKE2B 03683d52be41beb713d96fe5b459de4807cd8be267a6559ed0fc8a6539095acfefe8c32e8774790f30c6eb7ad842f8cc5f261699938dd528e8a669454b313c9d SHA512 691bfcc0c4827b0e29ddda34293d247547e181365ee2cda16a8dc860a1359621ecefcf0a286d90ab6bc0c86d1a9a57aafb95809ff02aec673e6b414f711a09d1 +DIST chromedriver-bin-125.0.6422.141.linux64.zip 8713889 BLAKE2B 3f4f46d26c7bc30e90f925c6dd4709f998bfd4007d6e2a83bef010fd5e1931ef7d9c6892319f6d9f4f61fcc10fd16dd9ba2da3f7f9a47dd81f35358686402e3b SHA512 1cf08cc8a63b09d80a32004407c567ac8a5df15a663e1d925199df8148e72b681153b9611ee9f975ae013eb3c807291325d5017aabd147d059f99eb4d3b7038b +EBUILD chromedriver-bin-125.0.6422.141.ebuild 723 BLAKE2B 03683d52be41beb713d96fe5b459de4807cd8be267a6559ed0fc8a6539095acfefe8c32e8774790f30c6eb7ad842f8cc5f261699938dd528e8a669454b313c9d SHA512 691bfcc0c4827b0e29ddda34293d247547e181365ee2cda16a8dc860a1359621ecefcf0a286d90ab6bc0c86d1a9a57aafb95809ff02aec673e6b414f711a09d1 MISC metadata.xml 461 BLAKE2B 4e6e0fd9bf732be9040a4defe4dc1ca63ba7e1ba860abfc97ad487d6220f7bc5cb1e304d001409cb866408fdf393ca42f3b95eb9b8dc258a0627aaa978f66e6e SHA512 3c9217fe5af26ee8ddc705edad8a32604d542ad60c3e78ed8aba9e08a5bd2b3508234e42710d4524149f8b7626bba08f83cb96f7f942fe5ccdfbd8bd98908bec diff --git a/www-apps/chromedriver-bin/chromedriver-bin-125.0.6422.112.ebuild b/www-apps/chromedriver-bin/chromedriver-bin-125.0.6422.112.ebuild deleted file mode 100644 index ff9ba50fc766..000000000000 --- a/www-apps/chromedriver-bin/chromedriver-bin-125.0.6422.112.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# See https://googlechromelabs.github.io/chrome-for-testing/#stable for URLs -DESCRIPTION="WebDriver for Chrome" -HOMEPAGE="https://sites.google.com/corp/chromium.org/driver/" -SRC_URI="amd64? ( https://storage.googleapis.com/chrome-for-testing-public/${PV}/linux64/chromedriver-linux64.zip -> ${P}.linux64.zip )" -S="${WORKDIR}/chromedriver-linux64" - -LICENSE="google-chrome" -SLOT="0" -KEYWORDS="-* amd64" -RESTRICT="bindist mirror strip" - -RDEPEND=" - sys-libs/glibc - www-client/google-chrome - !www-client/chromium -" -BDEPEND="app-arch/unzip" - -QA_PREBUILT="usr/bin/chromedriver" - -src_install() { - dobin chromedriver -} diff --git a/www-apps/chromedriver-bin/chromedriver-bin-125.0.6422.141.ebuild b/www-apps/chromedriver-bin/chromedriver-bin-125.0.6422.141.ebuild new file mode 100644 index 000000000000..ff9ba50fc766 --- /dev/null +++ b/www-apps/chromedriver-bin/chromedriver-bin-125.0.6422.141.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# See https://googlechromelabs.github.io/chrome-for-testing/#stable for URLs +DESCRIPTION="WebDriver for Chrome" +HOMEPAGE="https://sites.google.com/corp/chromium.org/driver/" +SRC_URI="amd64? ( https://storage.googleapis.com/chrome-for-testing-public/${PV}/linux64/chromedriver-linux64.zip -> ${P}.linux64.zip )" +S="${WORKDIR}/chromedriver-linux64" + +LICENSE="google-chrome" +SLOT="0" +KEYWORDS="-* amd64" +RESTRICT="bindist mirror strip" + +RDEPEND=" + sys-libs/glibc + www-client/google-chrome + !www-client/chromium +" +BDEPEND="app-arch/unzip" + +QA_PREBUILT="usr/bin/chromedriver" + +src_install() { + dobin chromedriver +} diff --git a/www-apps/gitea/Manifest b/www-apps/gitea/Manifest index 1fc8be1bd650..627f2cf15350 100644 --- a/www-apps/gitea/Manifest +++ b/www-apps/gitea/Manifest @@ -1,10 +1,11 @@ +AUX gitea-1.22.0-fix-missing-memcache-import.diff 525 BLAKE2B 735cb4a792ef9ab6b9f0053e9dbfb3b637799f8c658c8fb0c4cb388052e5bdc307a4074b547620da684f61d46de13678a792db8a6e0f100c780d5f2fd2164b7f SHA512 13d21265144d9e6fbb0d93e28f651dc08fc97e28247ede25512d436bcc5c0c7f24ec9f1044d1604bf685deb945c6a7872f371af5f5ff16546329c871286bfc32 +AUX gitea-1.22.0-go-chi-memcache-package.diff 3561 BLAKE2B 52a83684a9545f8324bd2ffecf09d3e04b06f870387bdbea70d5afba8e642b80731a7ecf7b786b805d0563d26ae45e85515949769ec704a324e958a570c8913d SHA512 88c250f5becb8048288ae80a41baffeac2c4c32163d9ae3dddc4470ea164ba3aa15ee7c2de652d153312ee383c1120f256312934d3c7e6c123057321ffff703b +AUX gitea-1.22.0-ignore-findrecentlypushednewbranches-err.diff 778 BLAKE2B 7ef997fcc6aa375c93f93dd369e2906b0d6b0059fd6ee1c0bad6cf05022d41599d762a4fc4b4160e4de102741f189c58fed03ee98dccaa5e5d0c6235f1835d49 SHA512 c1c7c610e29e0f78290c95bd12770e6793a1b62ce6d4c09762c6eed0d1c9463106be078bcfa69f6a5a9e4c109894c054024510eaef5d6d15131b372312dcbcbc AUX gitea.confd-r1 243 BLAKE2B 87caa8371f53f52b0a85f720342f9f358dedec9240ab78998655a03df6bf3f301fe077afabdca1b1895dbcab2fa05748735d6f38f9b3ad53534fe8ae6e72db49 SHA512 485dc9d0b86d0a7b3ba958aac9de1129aa0ffbb47219419d38811f2accca2539e49dd93cc4a24b21f1c3802b024aa8449f54e320e8a16197f201532edeca6836 AUX gitea.initd-r3 802 BLAKE2B 2e33e95f7d2762986184d45b0bbb250cc5e04fffc4e4b006233b28e5b57be69eef1d83441adebe2b94681585edaf77f9da4eb97930f91e75c1b1a5cd8d137633 SHA512 5ff2e653180a0601734fcd055dfffdfdc12363736ed2e56c8576c802398b90f4025b44002cbb9a3fd1e0c2d4c169f62d460381c6c549746d3390e55fc1c677d1 AUX gitea.service-r4 730 BLAKE2B 0a1f799bf341f1a067f417aa21c1ce5c3168fe523081ef1711483d469da71699a2c163f1db008f7724329d6b6a819b1cdc76bc16309691522ebfc5dc9dfa7476 SHA512 cdd13299115e632bc474f24af6d4114b36be6489e11dd8c46b22fbd3f122194d4891cd2452f1654ef9256978fa4d0b6c11c08e386138a6cba29ea69945de8797 -DIST gitea-1.21.10.tar.gz 53972181 BLAKE2B 564e5ee1b7ddb737dc35a712810c3958788457a307db51ecf84fc65b2a69f6b21110e134172c64693cc4bd49c3c6243d4444328ae9a9724e81b06f09df7cd279 SHA512 3129a1b379308195725906fd3c12722099e51662e56e3f488e5114bd531c71f9319e6f170cd227660a1a7f4d30d4d88686b4fc74c28f040d4c9b1a4c6acfba9b DIST gitea-1.21.11.tar.gz 54029294 BLAKE2B 93fb0ea4118baefeb36283b7168759d318fede528b56a9167961763267181bb283bf9849ce5f57a9950b16047f3b98998b4cd0e92443a23aef4cf15589cc8628 SHA512 ba35d1710bc03ff05bf2490e233bf3b4bd9e002113885b4d2a3193288773c16ad0f2426d4ed64d26b7c49112a02838e67da32167f51c4c08fa4f23738bd78285 -DIST gitea-1.21.8.tar.gz 53901461 BLAKE2B e20f509037e5bb674696fb9bdc9b3eb58443f0481f5db2936a69775adcd8c1b53ad7103bae6ba4de2e852ef50218b8bd89dae174d19e0879d04f169e890af71b SHA512 e895d67ab0c086fdef6aab6548ed06696054bb0a8103818c14f5f038a6fc6310178473038fa76752341a50196916ce3845b785f25ab66383bdf44ce8eac87461 -EBUILD gitea-1.21.10.ebuild 4747 BLAKE2B 8bb5e67a507e3d8b1253cc4321f9d0742ab0e2a4321aa869e1dce2a27bb6acc2cd4d04c3e87c96e0549987497d42ad9601ed7ad5d583294a217f94d5a23c4cac SHA512 4a3194e2ebeb1bb23b21a5a22bdb44427bc9ed1a15a2824ecbf70e00eddbd3838689f00d80c1618df590456cf7c6ddb6d2e51e92d9d285d45ae69fffeb9df826 -EBUILD gitea-1.21.11.ebuild 4747 BLAKE2B 8bb5e67a507e3d8b1253cc4321f9d0742ab0e2a4321aa869e1dce2a27bb6acc2cd4d04c3e87c96e0549987497d42ad9601ed7ad5d583294a217f94d5a23c4cac SHA512 4a3194e2ebeb1bb23b21a5a22bdb44427bc9ed1a15a2824ecbf70e00eddbd3838689f00d80c1618df590456cf7c6ddb6d2e51e92d9d285d45ae69fffeb9df826 -EBUILD gitea-1.21.8.ebuild 4746 BLAKE2B b14f2f55bf6d344cf9eec51018baac9294d72fc135dd85bc4792fdd96fbccd2bd62f923b7f8f70e2d667a2c6304777beb58ecd5bb0361f1c87136b0e4ad1216c SHA512 087db4bfab0dda1840b5e205121275915d939084ec551236e98b10690860524caaf5226ce9cbce9f460c3223a4e5931ec7184a9b6f99e5625309429b7b2ee9a7 -MISC metadata.xml 674 BLAKE2B ef13e93b317da43177365b0b0378aec52a1c7cbdc57b69815520d4dc4e1f98c043dc3eee059d06990dcb7c6549ad2db7150786e542486e957ba1ab63e21118fa SHA512 a4eb5d192dff7967c2ff5f94135c60d13ff52a7dffbf42c9d3c50efd3df0833d129580e895caed9148cb2d9df85da17d94d0cbdc43341d05df8917ea238a87eb +DIST gitea-1.22.0.tar.gz 54603268 BLAKE2B f021fedf77ec6ab41221a8e73d6b48fc215c15053bb62ff288a5dc6a7d11a5acd4d7ee0cbfb40aee2b60011d83fc57f1011013b7d78556c3a84a2743ba90389b SHA512 8e9585d6224f49c2f21b855911c2ac4ded64b8b31c4eb28fbe39801908693a87aad2e9096bf812c30163faa8a8102fd01ec3240bd64debf5633c70568aec4b49 +EBUILD gitea-1.21.11.ebuild 4746 BLAKE2B b14f2f55bf6d344cf9eec51018baac9294d72fc135dd85bc4792fdd96fbccd2bd62f923b7f8f70e2d667a2c6304777beb58ecd5bb0361f1c87136b0e4ad1216c SHA512 087db4bfab0dda1840b5e205121275915d939084ec551236e98b10690860524caaf5226ce9cbce9f460c3223a4e5931ec7184a9b6f99e5625309429b7b2ee9a7 +EBUILD gitea-1.22.0.ebuild 5685 BLAKE2B 0eeefb6984d8a8982ef058085f2ddf3b0c0a9589b48f32b8a59de7651cefcf5591e26879edc75e78fcf1426b510c6ee540eff3ff66a75f5856da4a9ae3ebee4e SHA512 633b8a07aead76ea36eebf95ae446405516123585d0a8a69965d7eb84b976c3497445147b734dc4cba510355c12ee16a3a5a9473d35ae77234ba6a6d0bce3ed5 +MISC metadata.xml 754 BLAKE2B 0880dba11ea8bd584aa4dbebd94fbb5073e2ece2694152d7c1c7b8eaf531fbc0d314d98405c050e31a025e7031fd2476129347fc4a3643ffd0cc38aeebbee676 SHA512 58f218fac259cf5d11f288f079786323f1e76cd5e5e7503b4efe68ae86fb9d8d76773b1a9eed4872dabb9cf20f337509fc52d20bba7c60d7fb83b04adffa0e30 diff --git a/www-apps/gitea/files/gitea-1.22.0-fix-missing-memcache-import.diff b/www-apps/gitea/files/gitea-1.22.0-fix-missing-memcache-import.diff new file mode 100644 index 000000000000..1ad5d50bf047 --- /dev/null +++ b/www-apps/gitea/files/gitea-1.22.0-fix-missing-memcache-import.diff @@ -0,0 +1,18 @@ +https://github.com/go-gitea/gitea/issues/31102 +https://github.com/go-gitea/gitea/pull/31105 + +Fix missing memcache import + +diff --git a/modules/cache/cache.go b/modules/cache/cache.go +index 2ca77bdb29f3..075367115803 100644 +--- a/modules/cache/cache.go ++++ b/modules/cache/cache.go +@@ -8,6 +8,8 @@ import ( + "time" + + "code.gitea.io/gitea/modules/setting" ++ ++ _ "gitea.com/go-chi/cache/memcache" //nolint:depguard // memcache plugin for cache, it is required for config "ADAPTER=memcache" + ) + + var defaultCache StringCache diff --git a/www-apps/gitea/files/gitea-1.22.0-go-chi-memcache-package.diff b/www-apps/gitea/files/gitea-1.22.0-go-chi-memcache-package.diff new file mode 100644 index 000000000000..f3ebbe6fc73f --- /dev/null +++ b/www-apps/gitea/files/gitea-1.22.0-go-chi-memcache-package.diff @@ -0,0 +1,121 @@ +https://github.com/go-gitea/gitea/issues/31102 +https://github.com/go-gitea/gitea/pull/31105 + +add the missing memcache package in the vendor dir, +binding to patch ./gitea-1.22.0-fix-missing-memcache-import.diff + +diff --git a/vendor/gitea.com/go-chi/cache/memcache/memcache.go b/vendor/gitea.com/go-chi/cache/memcache/memcache.go +new file mode 100644 +index 00000000..7c7cd225 +--- /dev/null ++++ b/vendor/gitea.com/go-chi/cache/memcache/memcache.go +@@ -0,0 +1,97 @@ ++// Copyright 2013 Beego Authors ++// Copyright 2014 The Macaron Authors ++// ++// Licensed under the Apache License, Version 2.0 (the "License"): you may ++// not use this file except in compliance with the License. You may obtain ++// a copy of the License at ++// ++// http://www.apache.org/licenses/LICENSE-2.0 ++// ++// Unless required by applicable law or agreed to in writing, software ++// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT ++// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the ++// License for the specific language governing permissions and limitations ++// under the License. ++ ++package cache ++ ++import ( ++ "strings" ++ ++ "github.com/bradfitz/gomemcache/memcache" ++ "github.com/unknwon/com" ++ ++ "gitea.com/go-chi/cache" ++) ++ ++// MemcacheCacher represents a memcache cache adapter implementation. ++type MemcacheCacher struct { ++ c *memcache.Client ++} ++ ++func NewItem(key string, data []byte, expire int32) *memcache.Item { ++ return &memcache.Item{ ++ Key: key, ++ Value: data, ++ Expiration: expire, ++ } ++} ++ ++// Put puts value into cache with key and expire time. ++// If expired is 0, it lives forever. ++func (c *MemcacheCacher) Put(key string, val interface{}, expire int64) error { ++ return c.c.Set(NewItem(key, []byte(com.ToStr(val)), int32(expire))) ++} ++ ++// Get gets cached value by given key. ++func (c *MemcacheCacher) Get(key string) interface{} { ++ item, err := c.c.Get(key) ++ if err != nil { ++ return nil ++ } ++ return string(item.Value) ++} ++ ++// Delete deletes cached value by given key. ++func (c *MemcacheCacher) Delete(key string) error { ++ return c.c.Delete(key) ++} ++ ++// Incr increases cached int-type value by given key as a counter. ++func (c *MemcacheCacher) Incr(key string) error { ++ _, err := c.c.Increment(key, 1) ++ return err ++} ++ ++// Decr decreases cached int-type value by given key as a counter. ++func (c *MemcacheCacher) Decr(key string) error { ++ _, err := c.c.Decrement(key, 1) ++ return err ++} ++ ++// IsExist returns true if cached value exists. ++func (c *MemcacheCacher) IsExist(key string) bool { ++ _, err := c.c.Get(key) ++ return err == nil ++} ++ ++// Flush deletes all cached data. ++func (c *MemcacheCacher) Flush() error { ++ return c.c.FlushAll() ++} ++ ++// StartAndGC starts GC routine based on config string settings. ++// AdapterConfig: 127.0.0.1:9090;127.0.0.1:9091 ++func (c *MemcacheCacher) StartAndGC(opt cache.Options) error { ++ c.c = memcache.New(strings.Split(opt.AdapterConfig, ";")...) ++ return nil ++} ++ ++// Ping tests if the cache is alive. ++func (c *MemcacheCacher) Ping() error { ++ return cache.GenericPing(c) ++} ++ ++func init() { ++ cache.Register("memcache", &MemcacheCacher{}) ++} +diff --git a/vendor/modules.txt b/vendor/modules.txt +index 144a505d..6cb3f48b 100644 +--- a/vendor/modules.txt ++++ b/vendor/modules.txt +@@ -40,6 +40,7 @@ gitea.com/go-chi/binding + # gitea.com/go-chi/cache v0.2.0 + ## explicit; go 1.11 + gitea.com/go-chi/cache ++gitea.com/go-chi/cache/memcache + # gitea.com/go-chi/captcha v0.0.0-20240315150714-fb487f629098 + ## explicit; go 1.21 + gitea.com/go-chi/captcha diff --git a/www-apps/gitea/files/gitea-1.22.0-ignore-findrecentlypushednewbranches-err.diff b/www-apps/gitea/files/gitea-1.22.0-ignore-findrecentlypushednewbranches-err.diff new file mode 100644 index 000000000000..78459f6e3359 --- /dev/null +++ b/www-apps/gitea/files/gitea-1.22.0-ignore-findrecentlypushednewbranches-err.diff @@ -0,0 +1,20 @@ +https://github.com/go-gitea/gitea/issues/31163 +https://github.com/go-gitea/gitea/pull/31164 + +A quick fix to workaround 500 error: +FindRecentlyPushedNewBranches, branch does not exist [repo_id: 64 name: main] + +diff --git a/routers/web/repo/view.go b/routers/web/repo/view.go +index e1498c0d581e..386ef7be5ce8 100644 +--- a/routers/web/repo/view.go ++++ b/routers/web/repo/view.go +@@ -1047,8 +1047,7 @@ func renderHomeCode(ctx *context.Context) { + baseRepoPerm.CanRead(unit_model.TypePullRequests) { + ctx.Data["RecentlyPushedNewBranches"], err = git_model.FindRecentlyPushedNewBranches(ctx, ctx.Doer, opts) + if err != nil { +- ctx.ServerError("FindRecentlyPushedNewBranches", err) +- return ++ log.Error("FindRecentlyPushedNewBranches failed: %v", err) + } + } + } diff --git a/www-apps/gitea/gitea-1.21.10.ebuild b/www-apps/gitea/gitea-1.21.10.ebuild deleted file mode 100644 index 7a37bd3df1e3..000000000000 --- a/www-apps/gitea/gitea-1.21.10.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 2016-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fcaps go-module tmpfiles systemd flag-o-matic user-info - -DESCRIPTION="A painless self-hosted Git service" -HOMEPAGE="https://gitea.com https://github.com/go-gitea/gitea" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/go-gitea/gitea.git" -else - SRC_URI="https://github.com/go-gitea/gitea/releases/download/v${PV}/gitea-src-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" -fi - -S="${WORKDIR}/${PN}-src-${PV}" - -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" -SLOT="0" -IUSE="+acct pam sqlite pie" - -DEPEND=" - acct? ( - acct-group/git - acct-user/git[gitea] ) - pam? ( sys-libs/pam )" -RDEPEND="${DEPEND} - dev-vcs/git" -BDEPEND=">=dev-lang/go-1.21:=" - -DOCS=( - custom/conf/app.example.ini CHANGELOG.md CONTRIBUTING.md README.md -) -FILECAPS=( - -m 711 cap_net_bind_service+ep usr/bin/gitea -) - -RESTRICT="test" - -src_prepare() { - default - - sed -i -e "s#^MODE = console#MODE = file#" custom/conf/app.example.ini || die -} - -src_configure() { - # bug 832756 - PIE build issues - filter-flags -fPIE - filter-ldflags -fPIE -pie -} - -src_compile() { - local gitea_tags - local -a gitea_settings makeenv - - # The space-separated list of the -tags flag is deprecated, please - # always use the comma-separated list in the future. - gitea_tags="bindata" - gitea_tags+="$(usex pam ',pam' '')" - gitea_tags+="$(usex sqlite ',sqlite,sqlite_unlock_notify' '')" - - gitea_settings=( - "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/gitea/app.ini" - "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom" - "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea" - ) - - makeenv=( - LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[*]}" - TAGS="${gitea_tags}" - ) - - if [[ ${PV} != *9999 ]]; then - # Use variable STORED_VERSION_FILE (the "${S}/VERSION" file) to set version, - # and prevent executing git command when it's not a live version. - makeenv+=( GITHUB_REF_NAME="" ) - fi - - if use pie ; then - # Please check the supported platforms when a new keyword request opened, - # refer to file: 'go/src/internal/platform/supported.go'. - # When PIE buildmode is not supported by internal linker, the external - # linker will be used automatically, refer to: - # https://github.com/golang/go/blob/ed817f1c4055a559a94afffecbb91c78e4f39942/src/cmd/link/internal/ld/config.go#L149 - makeenv+=( EXTRA_GOFLAGS="-buildmode=pie" ) - fi - - env "${makeenv[@]}" emake backend -} - -src_install() { - dobin gitea - - einstalldocs - - newconfd "${FILESDIR}/gitea.confd-r1" gitea - newinitd "${FILESDIR}/gitea.initd-r3" gitea - newtmpfiles - gitea.conf <<-EOF - d /run/gitea 0755 git git - EOF - systemd_newunit "${FILESDIR}"/gitea.service-r4 gitea.service - - insinto /etc/gitea - newins custom/conf/app.example.ini app.ini - if use acct; then - fowners root:git /etc/gitea/{,app.ini} - fperms g+w,o-rwx /etc/gitea/{,app.ini} - - diropts -m0750 -o git -g git - keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data - keepdir /var/log/gitea - fi -} - -pkg_postinst() { - fcaps_pkg_postinst - - # It is not guaranteed that the git user and group always exist (due to the acct USE Flag), - # but for convenience, the tmpfile uses the git user and group by default. - # To avoid installation errors, a condition needs to be added here: - # if there is no git user or group, the installation of tmpfile will be skipped - # and the user will be notified to handle it by themselves. - if egetent passwd git &>/dev/null && \ - egetent group git &>/dev/null; then - tmpfiles_process gitea.conf - else - eerror "Unable to install the tmpfile for gitea due to the git user or group is missing," - eerror "please install tmpfile manually or rebuild this package with USE flag 'acct'." - eerror "You can simply copy the default tmpfile from '/usr/lib/tmpfiles.d/gitea.conf'" - eerror "to higher priority path '/etc/tmpfiles.d/gitea.conf', and correct it with" - eerror "the right User and Group value (see tmpfiles.d(5) for details), then execute:" - eerror " # systemd-tmpfiles --create /etc/tmpfiles.d/gitea.conf" - eerror "to install it." - fi - - if [[ -n ${REPLACING_VERSIONS} ]] && ver_test "${REPLACING_VERSIONS}" -lt 1.21; then - ewarn "Since 1.21.0:" - ewarn " 1. The built-in SSH server will now only accept SSH user" - ewarn " certificates, not server certificates. This behaviour matches OpenSSH." - ewarn " 2. The options of the subcommand must follow the subcommand now." - ewarn " 3. Remove 'CHARSET' config option for MySQL, always use 'utf8mb4'." - ewarn "For other breaking changes, see ." - fi -} diff --git a/www-apps/gitea/gitea-1.21.11.ebuild b/www-apps/gitea/gitea-1.21.11.ebuild index 7a37bd3df1e3..df7f876a0823 100644 --- a/www-apps/gitea/gitea-1.21.11.ebuild +++ b/www-apps/gitea/gitea-1.21.11.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/go-gitea/gitea.git" else SRC_URI="https://github.com/go-gitea/gitea/releases/download/v${PV}/gitea-src-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" + KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv ~x86" fi S="${WORKDIR}/${PN}-src-${PV}" diff --git a/www-apps/gitea/gitea-1.21.8.ebuild b/www-apps/gitea/gitea-1.21.8.ebuild deleted file mode 100644 index df7f876a0823..000000000000 --- a/www-apps/gitea/gitea-1.21.8.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 2016-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fcaps go-module tmpfiles systemd flag-o-matic user-info - -DESCRIPTION="A painless self-hosted Git service" -HOMEPAGE="https://gitea.com https://github.com/go-gitea/gitea" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/go-gitea/gitea.git" -else - SRC_URI="https://github.com/go-gitea/gitea/releases/download/v${PV}/gitea-src-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv ~x86" -fi - -S="${WORKDIR}/${PN}-src-${PV}" - -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" -SLOT="0" -IUSE="+acct pam sqlite pie" - -DEPEND=" - acct? ( - acct-group/git - acct-user/git[gitea] ) - pam? ( sys-libs/pam )" -RDEPEND="${DEPEND} - dev-vcs/git" -BDEPEND=">=dev-lang/go-1.21:=" - -DOCS=( - custom/conf/app.example.ini CHANGELOG.md CONTRIBUTING.md README.md -) -FILECAPS=( - -m 711 cap_net_bind_service+ep usr/bin/gitea -) - -RESTRICT="test" - -src_prepare() { - default - - sed -i -e "s#^MODE = console#MODE = file#" custom/conf/app.example.ini || die -} - -src_configure() { - # bug 832756 - PIE build issues - filter-flags -fPIE - filter-ldflags -fPIE -pie -} - -src_compile() { - local gitea_tags - local -a gitea_settings makeenv - - # The space-separated list of the -tags flag is deprecated, please - # always use the comma-separated list in the future. - gitea_tags="bindata" - gitea_tags+="$(usex pam ',pam' '')" - gitea_tags+="$(usex sqlite ',sqlite,sqlite_unlock_notify' '')" - - gitea_settings=( - "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/gitea/app.ini" - "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom" - "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea" - ) - - makeenv=( - LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[*]}" - TAGS="${gitea_tags}" - ) - - if [[ ${PV} != *9999 ]]; then - # Use variable STORED_VERSION_FILE (the "${S}/VERSION" file) to set version, - # and prevent executing git command when it's not a live version. - makeenv+=( GITHUB_REF_NAME="" ) - fi - - if use pie ; then - # Please check the supported platforms when a new keyword request opened, - # refer to file: 'go/src/internal/platform/supported.go'. - # When PIE buildmode is not supported by internal linker, the external - # linker will be used automatically, refer to: - # https://github.com/golang/go/blob/ed817f1c4055a559a94afffecbb91c78e4f39942/src/cmd/link/internal/ld/config.go#L149 - makeenv+=( EXTRA_GOFLAGS="-buildmode=pie" ) - fi - - env "${makeenv[@]}" emake backend -} - -src_install() { - dobin gitea - - einstalldocs - - newconfd "${FILESDIR}/gitea.confd-r1" gitea - newinitd "${FILESDIR}/gitea.initd-r3" gitea - newtmpfiles - gitea.conf <<-EOF - d /run/gitea 0755 git git - EOF - systemd_newunit "${FILESDIR}"/gitea.service-r4 gitea.service - - insinto /etc/gitea - newins custom/conf/app.example.ini app.ini - if use acct; then - fowners root:git /etc/gitea/{,app.ini} - fperms g+w,o-rwx /etc/gitea/{,app.ini} - - diropts -m0750 -o git -g git - keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data - keepdir /var/log/gitea - fi -} - -pkg_postinst() { - fcaps_pkg_postinst - - # It is not guaranteed that the git user and group always exist (due to the acct USE Flag), - # but for convenience, the tmpfile uses the git user and group by default. - # To avoid installation errors, a condition needs to be added here: - # if there is no git user or group, the installation of tmpfile will be skipped - # and the user will be notified to handle it by themselves. - if egetent passwd git &>/dev/null && \ - egetent group git &>/dev/null; then - tmpfiles_process gitea.conf - else - eerror "Unable to install the tmpfile for gitea due to the git user or group is missing," - eerror "please install tmpfile manually or rebuild this package with USE flag 'acct'." - eerror "You can simply copy the default tmpfile from '/usr/lib/tmpfiles.d/gitea.conf'" - eerror "to higher priority path '/etc/tmpfiles.d/gitea.conf', and correct it with" - eerror "the right User and Group value (see tmpfiles.d(5) for details), then execute:" - eerror " # systemd-tmpfiles --create /etc/tmpfiles.d/gitea.conf" - eerror "to install it." - fi - - if [[ -n ${REPLACING_VERSIONS} ]] && ver_test "${REPLACING_VERSIONS}" -lt 1.21; then - ewarn "Since 1.21.0:" - ewarn " 1. The built-in SSH server will now only accept SSH user" - ewarn " certificates, not server certificates. This behaviour matches OpenSSH." - ewarn " 2. The options of the subcommand must follow the subcommand now." - ewarn " 3. Remove 'CHARSET' config option for MySQL, always use 'utf8mb4'." - ewarn "For other breaking changes, see ." - fi -} diff --git a/www-apps/gitea/gitea-1.22.0.ebuild b/www-apps/gitea/gitea-1.22.0.ebuild new file mode 100644 index 000000000000..dec2601480a6 --- /dev/null +++ b/www-apps/gitea/gitea-1.22.0.ebuild @@ -0,0 +1,158 @@ +# Copyright 2016-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module tmpfiles systemd flag-o-matic user-info + +DESCRIPTION="A painless self-hosted Git service" +HOMEPAGE="https://gitea.com https://github.com/go-gitea/gitea" + +SRC_URI="https://github.com/go-gitea/gitea/releases/download/v${PV}/gitea-src-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-src-${PV}" +LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +IUSE="+acct gogit pam sqlite pie" + +DEPEND=" + acct? ( + acct-group/git + acct-user/git[gitea] ) + pam? ( sys-libs/pam )" +RDEPEND="${DEPEND} + !gogit? ( dev-vcs/git )" +BDEPEND=">=dev-lang/go-1.22:=" + +DOCS=( + custom/conf/app.example.ini CHANGELOG.md CONTRIBUTING.md README.md +) +FILECAPS=( + -m 711 cap_net_bind_service+ep usr/bin/gitea +) + +RESTRICT="test" + +# The problems that can be fixed by the following patches has been fixed +# upstream, so these ALL patches should be removed in the next release. +PATCHES=( + "${FILESDIR}/${P}-go-chi-memcache-package.diff" + "${FILESDIR}/${P}-fix-missing-memcache-import.diff" + "${FILESDIR}/${P}-ignore-findrecentlypushednewbranches-err.diff" +) + +src_prepare() { + default + + sed -i -e "s#^MODE = console#MODE = file#" custom/conf/app.example.ini || die +} + +src_configure() { + # bug 832756 - PIE build issues + filter-flags -fPIE + filter-ldflags -fPIE -pie +} + +src_compile() { + local gitea_tags + local -a gitea_settings makeenv + + # The space-separated list of the -tags flag is deprecated, please + # always use the comma-separated list in the future. + gitea_tags="bindata" + gitea_tags+="$(usex gogit ',gogit' '')" + gitea_tags+="$(usex pam ',pam' '')" + gitea_tags+="$(usex sqlite ',sqlite,sqlite_unlock_notify' '')" + + gitea_settings=( + "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/gitea/app.ini" + "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom" + "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea" + ) + + makeenv=( + LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[*]}" + TAGS="${gitea_tags}" + ) + + if use pie ; then + # Please check the supported platforms when a new keyword request opened, + # refer to file: 'go/src/internal/platform/supported.go'. + # When PIE buildmode is not supported by internal linker, the external + # linker will be used automatically, refer to: + # https://github.com/golang/go/blob/ed817f1c4055a559a94afffecbb91c78e4f39942/src/cmd/link/internal/ld/config.go#L149 + makeenv+=( EXTRA_GOFLAGS="-buildmode=pie" ) + fi + + env "${makeenv[@]}" emake backend +} + +src_install() { + dobin gitea + + einstalldocs + + newconfd "${FILESDIR}/gitea.confd-r1" gitea + newinitd "${FILESDIR}/gitea.initd-r3" gitea + newtmpfiles - gitea.conf <<-EOF + d /run/gitea 0755 git git + EOF + systemd_newunit "${FILESDIR}"/gitea.service-r4 gitea.service + + insinto /etc/gitea + newins custom/conf/app.example.ini app.ini + if use acct; then + fowners root:git /etc/gitea/{,app.ini} + fperms g+w,o-rwx /etc/gitea/{,app.ini} + + diropts -m0750 -o git -g git + keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data + keepdir /var/log/gitea + fi +} + +pkg_postinst() { + fcaps_pkg_postinst + + # It is not guaranteed that the git user and group always exist (due to the acct USE Flag), + # but for convenience, the tmpfile uses the git user and group by default. + # To avoid installation errors, a condition needs to be added here: + # if there is no git user or group, the installation of tmpfile will be skipped + # and the user will be notified to handle it by themselves. + if egetent passwd git &>/dev/null && \ + egetent group git &>/dev/null; then + tmpfiles_process gitea.conf + else + eerror "Unable to install the tmpfile for gitea due to the git user or group is missing," + eerror "please install tmpfile manually or rebuild this package with USE flag 'acct'." + eerror "You can simply copy the default tmpfile from '/usr/lib/tmpfiles.d/gitea.conf'" + eerror "to higher priority path '/etc/tmpfiles.d/gitea.conf', and correct it with" + eerror "the right User and Group value (see tmpfiles.d(5) for details), then execute:" + eerror " # systemd-tmpfiles --create /etc/tmpfiles.d/gitea.conf" + eerror "to install it." + fi + + if [[ -n ${REPLACING_VERSIONS} ]]; then + if ver_test "${REPLACING_VERSIONS}" -lt 1.21; then + ewarn "Since version 1.21.0:" + ewarn " 1. The built-in SSH server will now only accept SSH user" + ewarn " certificates, not server certificates. This behaviour matches OpenSSH." + ewarn " 2. The options of the subcommand must follow the subcommand now." + ewarn " 3. Remove 'CHARSET' config option for MySQL, always use 'utf8mb4'." + ewarn "For other breaking changes, see ." + fi + if ver_test "${REPLACING_VERSIONS}" -lt 1.22; then + ewarn "Since version 1.22.0:" + ewarn " 1. Minimum database requirements updated to MySQL 8.0, PostgreSQL 12, and MSSQL 2012." + ewarn " 2. There are a lot of refactoring changes related to customizing templates." + ewarn " 3. The default duration of the 'Remember login' feature has been" + ewarn " changed from one week to one month." + ewarn " 4. Enhanced auth token/remember me, the obsolete setting" + ewarn " '[security].COOKIE_USERNAME' has been removed." + ewarn " 5. For MinIO storage, adds a prefix path for all MinIO storage" + ewarn " and override base path will override the path." + ewarn " 6. Now use a more restricted sanitizer for the repository description." + ewarn "For more details, see ." + fi + fi +} diff --git a/www-apps/gitea/metadata.xml b/www-apps/gitea/metadata.xml index 1443204ea795..007dbafc9b14 100644 --- a/www-apps/gitea/metadata.xml +++ b/www-apps/gitea/metadata.xml @@ -18,5 +18,6 @@ User and group management via acct-*/git packages + (EXPERIMENTAL) Use go-git variants of Git commands. diff --git a/www-apps/hugo/Manifest b/www-apps/hugo/Manifest index 3f6e62f1f728..7477dd3dad6d 100644 --- a/www-apps/hugo/Manifest +++ b/www-apps/hugo/Manifest @@ -1,13 +1,13 @@ AUX hugo-0.118.2-skip-some-tests.patch 2164 BLAKE2B 356a2b9b87a618178dd54bd066166761dd6bd670749c25bfc351ea9eeccdc5ae62211f5b0a7a61012f163925b536c820b8387db9d96f3371af50032a395d1f52 SHA512 329a36f69e8b279bb1fb431414b40b394ae1679b077bee3ff1c02ade257173cb9b53f671753ba66ad55565b00e26388b218055ce2a3c8274d03c860cffa7ecbd AUX hugo-0.121.0-unbundle-libwebp-and-libsass.patch 1541 BLAKE2B 37abecfdb87ff25f28730ac8cba4f9674e5dd46ef0f1152911ced81d894cb334903e6d09b948feb965e6ca466d17289b201f0118b8b6d4147f82bd4fe4a3db9d SHA512 0025d6e69893ce88fd3f6b508f223b4604e54791ca4a635e2cde786a83b78a25265ed07f586e115d0923363f2b73c82528717375b2008593f29d3bd8f5dc98a7 AUX hugo-0.123.0-skip-some-tests.patch 2214 BLAKE2B 418bc4c0eb04355e57420fc47930d154d1f019160607c8ac5e7e2707263c851403902cac7fbc85b297ffca294ce88b75dbd8b0c9507e8c12e7a7913e10137a79 SHA512 26f0f9a33661cebaeaf3fc1e02e83d50c219448012bb361fd08e9a4f9e1dac6a9bda86942506622560a9df74613fd8290e6b8c053ec946073d3db5de2c70e063 -DIST hugo-0.121.2-vendor.tar.xz 6683208 BLAKE2B d4be99aaf686c79cfda28c3ed4d1023b5012f57375835dfca0311761dfc2a47499dc5095d64d010c111a2e09dec92741e6b7bea0f81900749778c0a403c255c2 SHA512 c15d37d0b07cc57425b1be3fdcaf887e13b38e911b355691fae3ba505eed4041dd6fc8c28925d71a4f8fd89900b8d9da105aa489c72109826611aca36dcb88b7 -DIST hugo-0.121.2.tar.gz 21074668 BLAKE2B 06e42bcba49e9e2329ae1b76cc76caf2ac83e13f067533e07cd5471c064ecc402fb7cffaa21df4e20514d96bcfb7f16b4ff078ab23b84506a4ccfc423b21afca SHA512 717da396fa887995e455c1cc7cfc21c535583ba70cb90bcb15ea47e389aa636e9ffa4f66b28bf313f225579e40bc2864ef9da6ebf00d006b3a1ca68f38a47673 DIST hugo-0.124.1-vendor.tar.xz 6740828 BLAKE2B e34cb50eeb22da5f50c8ba7e1318d0f080e6df36f2f1a80e1567d4ccfdd30e4e2ad2153a87c7a18a1d2d6f1e746b5b6c1008d33e41e1900a7e94a42618c5e526 SHA512 2f59a7f2ab199bac5ebf69139b7cc6dd14dc07eab9be39fc39ee5fa41d3332000082407612528d8215a4ebc3a908f28816b19672a28b00bcbad275bea0a9ad35 DIST hugo-0.124.1.tar.gz 21052060 BLAKE2B 41bd17c3aaf1f137de41957dea049b3d7cdaf101d5bfa128e9412b5ea4eee54a0d30481c059b6982c1b803bbe6634643debf1022079320e653dbb37002f7ea35 SHA512 29f51a08f9e757a716c2f7845efc08b1ca3b0bf8e70fd06491735a123ca7da8e169116fa003c147be08d2d5f9752473e9a569085728ec0a9ed7850bd57ba8f93 DIST hugo-0.125.4-vendor.tar.xz 6722504 BLAKE2B ceccdb09cb41d730e398664f0fae64067e5043f2b63601917f54b8a34b91a761eccca1abe3789287b071948dc971bc97877120e742720384dec8bdcc768a6f6f SHA512 5f2c76478eedadee6a431b17daabc532a0e641c85115900847193ef6be177daa33b3f95023fd0e9c5091e29ed87f406d5c2bc1be69de900fabe8f509496d433e DIST hugo-0.125.4.tar.gz 21063288 BLAKE2B 688feac45a0b9c5c7876d28e23b4e1412f4795e866bd1baa06a79f30fe482aea9f7f40a24088c9c252b2528036bd41f3a84c3cb61aa942cf5c56fd9249c000eb SHA512 f76b85e0cb119fa35b8c253ddb05c9f8156aba004b1ec37e0b04d89afa6dec3771417c843594d076c81b1663d0a7677912f9b37ab3ef89ae13824973e6496097 -EBUILD hugo-0.121.2.ebuild 2278 BLAKE2B e26b3d40a1936efdf93c7041fbcf41bcd47261870a8d47ef8043c7f65a2066082a3697c73851aaa80641fcfe0e9c675f721ea29255ca2868cd9abe0427baa254 SHA512 10d1d1827260e33e4e2bc47ed905013398a1cca2efabfe962d25ed1154995d088471fa3ded005a8f3ee35984549d1ec3679a5e88c58e7092f985b36c6491bd78 +DIST hugo-0.125.7-vendor.tar.xz 6760028 BLAKE2B 8ced0fc2c9b5b7a73eb11c31e8d94ddc4fd150508ababc2252e5456f3bfb9bd27609551a703b5663eea8cbdc410153dddfde854137ed7ea703d2eb2637c0cdd5 SHA512 8bb2d0d872c86bd20408c593987b0cf28fea1969c85e7fecbe5a977b8775cc9c55aa3e0f7e548d6a879ad154394ac2fcc4ea1568e116e2d73f56b80ed6fc061e +DIST hugo-0.125.7.tar.gz 21062939 BLAKE2B 030171ac009c50e85123a3c4c3573da1b81a2696d2f98b51543fb5c28467d1f5416513dad278063590361ea1611735d41d514ce3226a222d32be6fb16e84630d SHA512 e6202026c7918f885abce338ade2e0a59d3a299030fc3b32af65eb434da31ef90647d14294ce1be5b3c66d2cd950b7a1f826094a2bf0e9538285e8cb2717cb91 EBUILD hugo-0.124.1.ebuild 2299 BLAKE2B 4423386eee760868733688f1045f6ec9bd205af1fbbc678881086feca6ace244a9d7a9db752b744a1af71d2ebae7a61447589409c1f27770c7e4ab1616798e37 SHA512 b7c5c0a3e6691599c2c3cd61cc686804eca701175372bea4412c45e1779693e6e61302fe88e6e7ddbb748f690f6cffac1c289d8edce919854bd0da72b8c522fc EBUILD hugo-0.125.4.ebuild 2300 BLAKE2B feef967f1a7653abfa9faebfa3ecfc4a823434623b0d2d87ebf12a2b77e53685534d205808b1985c7158a7226dde8c4ec18e1077681ccbac9cb35b57de3a798d SHA512 828eeb7e0bcb7417c24e977d27e6f6001649858284fa2031e68f72eae6159b7d6908c2134b42c5216ae17e770333cfad0dd696d04a7d82bc2d1fd00c4fedfaff +EBUILD hugo-0.125.7.ebuild 2300 BLAKE2B feef967f1a7653abfa9faebfa3ecfc4a823434623b0d2d87ebf12a2b77e53685534d205808b1985c7158a7226dde8c4ec18e1077681ccbac9cb35b57de3a798d SHA512 828eeb7e0bcb7417c24e977d27e6f6001649858284fa2031e68f72eae6159b7d6908c2134b42c5216ae17e770333cfad0dd696d04a7d82bc2d1fd00c4fedfaff MISC metadata.xml 747 BLAKE2B 41237356c5a48ebde4e351ac73bb1da54fd9553e3949d1abae2f48b5ea193b26d960cb3f01c8fbcf68c7d58d923af6b01e2e629a296daea0b96afb8ad0d93c1b SHA512 ee24abfa9f0c2bda3d4d02339dbe63da7d9753783f7a356c56721a67eaeac68963037803ac41af8d51834ac9437c543c1609216fda6479c3f298fbd1d0896107 diff --git a/www-apps/hugo/hugo-0.121.2.ebuild b/www-apps/hugo/hugo-0.121.2.ebuild deleted file mode 100644 index 48ca0532fc32..000000000000 --- a/www-apps/hugo/hugo-0.121.2.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 2018-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module shell-completion - -DESCRIPTION="Fast static HTML and CSS website generator" -HOMEPAGE="https://gohugo.io https://github.com/gohugoio/hugo" -SRC_URI=" - https://github.com/gohugoio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://tastytea.de/files/gentoo/${P}-vendor.tar.xz -" - -# NOTE: To create the vendor tarball, run: -# `go mod vendor && cd .. && tar -caf ${P}-vendor.tar.xz ${P}/vendor` - -LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0 Unlicense" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~loong ~riscv ~x86" -IUSE="doc +extended test" - -BDEPEND=" - >=dev-lang/go-1.21.5 - test? ( - dev-python/docutils - dev-ruby/asciidoctor - virtual/pandoc - ) -" -RDEPEND=" - extended? ( - dev-libs/libsass:= - >=media-libs/libwebp-1.3.2:= - ) -" -DEPEND="${RDEPEND}" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.121.0-unbundle-libwebp-and-libsass.patch - "${FILESDIR}"/${PN}-0.118.2-skip-some-tests.patch -) - -src_configure() { - export CGO_ENABLED=1 - export CGO_CFLAGS="${CFLAGS}" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export MY_BUILD_FLAGS="$(usev extended "-tags extended")" - - default -} - -src_prepare() { - # wants to run command that require network access - rm testscripts/commands/mod{,_vendor,__disable,_get,_get_u}.txt || die - - default -} - -src_compile() { - mkdir -pv bin || die - ego build -ldflags "-X github.com/gohugoio/hugo/common/hugo.vendorInfo=gentoo:${PVR}" \ - ${MY_BUILD_FLAGS} -o "${S}/bin/hugo" - - bin/hugo gen man --dir man || die - - mkdir -pv completions || die - bin/hugo completion bash > completions/hugo || die - bin/hugo completion fish > completions/hugo.fish || die - bin/hugo completion zsh > completions/_hugo || die - - if use doc ; then - bin/hugo gen doc --dir doc || die - fi -} - -src_test() { - ego test "./..." ${MY_BUILD_FLAGS} -} - -src_install() { - dobin bin/* - doman man/* - - dobashcomp completions/${PN} - dofishcomp completions/${PN}.fish - dozshcomp completions/_${PN} - - if use doc ; then - dodoc -r doc/* - fi -} - -pkg_postinst() { - elog "the sass USE-flag was renamed to extended. the functionality is the" \ - "same, except it also toggles the dependency on libwebp (for encoding)" -} diff --git a/www-apps/hugo/hugo-0.125.7.ebuild b/www-apps/hugo/hugo-0.125.7.ebuild new file mode 100644 index 000000000000..93b9e87528d4 --- /dev/null +++ b/www-apps/hugo/hugo-0.125.7.ebuild @@ -0,0 +1,101 @@ +# Copyright 2018-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module shell-completion + +DESCRIPTION="Fast static HTML and CSS website generator" +HOMEPAGE="https://gohugo.io https://github.com/gohugoio/hugo" +SRC_URI=" + https://github.com/gohugoio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://tastytea.de/files/gentoo/${P}-vendor.tar.xz +" + +# NOTE: To create the vendor tarball, run: +# `go mod vendor && cd .. && tar -caf ${P}-vendor.tar.xz ${P}/vendor` + +LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0 Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" +IUSE="doc +extended test" + +BDEPEND=" + >=dev-lang/go-1.22.2 + test? ( + dev-python/docutils + dev-ruby/asciidoctor + virtual/pandoc + ) +" +RDEPEND=" + extended? ( + dev-libs/libsass:= + >=media-libs/libwebp-1.3.2:= + ) +" +DEPEND="${RDEPEND}" + +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.121.0-unbundle-libwebp-and-libsass.patch + "${FILESDIR}"/${PN}-0.123.0-skip-some-tests.patch +) + +src_configure() { + export CGO_ENABLED=1 + export CGO_CFLAGS="${CFLAGS}" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export MY_BUILD_FLAGS="$(usev extended "-tags extended")" + + default +} + +src_prepare() { + # wants to run command that require network access + rm testscripts/commands/mod{,_vendor,__disable,_get,_get_u,_npm{,_withexisting}}.txt || die + + default +} + +src_compile() { + mkdir -pv bin || die + ego build -ldflags "-X github.com/gohugoio/hugo/common/hugo.vendorInfo=gentoo:${PVR}" \ + ${MY_BUILD_FLAGS} -o "${S}/bin/hugo" + + bin/hugo gen man --dir man || die + + mkdir -pv completions || die + bin/hugo completion bash > completions/hugo || die + bin/hugo completion fish > completions/hugo.fish || die + bin/hugo completion zsh > completions/_hugo || die + + if use doc ; then + bin/hugo gen doc --dir doc || die + fi +} + +src_test() { + ego test "./..." ${MY_BUILD_FLAGS} +} + +src_install() { + dobin bin/* + doman man/* + + dobashcomp completions/${PN} + dofishcomp completions/${PN}.fish + dozshcomp completions/_${PN} + + if use doc ; then + dodoc -r doc/* + fi +} + +pkg_postinst() { + elog "the sass USE-flag was renamed to extended. the functionality is the" \ + "same, except it also toggles the dependency on libwebp (for encoding)" +} diff --git a/www-apps/jellyfin-bin/Manifest b/www-apps/jellyfin-bin/Manifest index a39b5c51b668..cea5c2d24051 100644 --- a/www-apps/jellyfin-bin/Manifest +++ b/www-apps/jellyfin-bin/Manifest @@ -3,10 +3,10 @@ AUX jellyfin.init-r1 864 BLAKE2B 6e63339c0018b2db6a9661836c1665ff932738ee3509a0b AUX jellyfin.service 832 BLAKE2B e09a02c41f33aeabf5846946df1738e04516acf414041dc84cb8e107cedd546014ae1700af7994aa9643d26cc1edc99190615814353aad846af99d727702bb59 SHA512 f79b13cc2b0de47a31727affd633e9afde04d215fc28b82a6593e9aeaa8ff9c15796ab9aab4651922d2c14d2761e381c9d30c98ee56eeba57cf708bfde3ee73d DIST jellyfin_10.8.13_amd64.tar.gz 99122530 BLAKE2B 38c5cdb8f0cb5b20f12d6e682277a87d5bf00d083ce346a97d43e77f69dbe99ab2a7f03cc88c94ce9fee365c79d932ce4e5c62c2a820f3b007f32b5b95b5b101 SHA512 a7c468ec3500ebe5b4eb18d2dfb75f4c41c237e9e61577eab431021b6c7e173375519ba9f163b1c0fc1f7603771067c60b085c15de09b7db8276e33bffe2aa36 DIST jellyfin_10.8.13_arm64.tar.gz 96059100 BLAKE2B 7b0efda60fa8cd93b0f4dc769d032840da6b2e139fa1a6496fb20270e9bbff7eff6adfdac73fe4a2a9529eb258f7943c50bbb57e4886cc6bf40951fc6b760414 SHA512 b964f1850f2e60e853a6620e957bd67922c0fc823813c193108350cbb7c0d30b4afec80bddb36db4fdc45078f67e1f3398c134fe7ac4a8cd7f38b9bbbbcc3080 -DIST jellyfin_10.9.4-amd64-musl.tar.xz 80604548 BLAKE2B ede9ab8e5f47fac8df772efb601f6eca9d6f1fa351acc61f1042358fbc8ae43cc44832d62613683989b6570426ea43cb241d1b9814d1350f597df7e3e3282a69 SHA512 22db904ab0b08330ba6c3b9b77f6c7df328e5a965485dab50b3443830338624cab9492a43db25bce5b36e4e44abc7f172d8ad75ea7803a5e70b2a9098a6e4ac7 -DIST jellyfin_10.9.4-amd64.tar.xz 79748968 BLAKE2B 9d8abee4aa802e4a39e5c2e94425cf402cf23cfbbf3da790ffc30e36c23d4fcea514f04067c2ba7014386caf09c58d6d28f8b1e4b254b83950d9ee91553c0623 SHA512 6e77dae33f716ea76c926ebfbee816d2c92ea9097c3486edebc5d4fc10a4e57cf1001b0dae346f0dbdc4361d5f090b3ccb94d7d71f78bfd61857ec467dba8ea9 -DIST jellyfin_10.9.4-arm64-musl.tar.xz 76159532 BLAKE2B 420bdd27641cb755868ad3b82e9199843e0fdd5749afaedb7e3d69ac5213ad204a37fb23913abd86cc212333d91cf65e908d6a5459193734ed1668069264413c SHA512 9acc9443697de2932098d224851a5281033c959e8a4cb2650e8acb8469f3c93ddc337df4b8c5abdc235433d3da6e33bf88c4b085203e5e9ab87594ff537bd5e0 -DIST jellyfin_10.9.4-arm64.tar.xz 76134600 BLAKE2B 1c91a2eb448eec8bebacd592102d234945540889142be68e533811989534fb75c006ecff381179cd24330ac6dda307df776fe9d2f5d33145e3dbb76ca72890b2 SHA512 b1504105ad95bc1d8314db15489490c6ae4ff48a5b19ac90f60177b8e96a58ee5ff229e5a3d640dd92a59c02ed0d1d5b1a27ae993f21db1604cc8e394a071fe7 +DIST jellyfin_10.9.6-amd64-musl.tar.xz 80605660 BLAKE2B f7ba91722c092dc1dfdf7e4914adcb715f96a798c4856eeb45ce28695837b69b4b9563be17c543afd8f242c0bf96722918d565c86befa6b49f124647dd516e9d SHA512 41072c0801205c7cfc51e3eaf7e6da618bf4c4488095fe9245e46f4f43cf95bf8dff78a12509d27aa67f98d3873c1c771d7efc8f56f9ad9d54aaa453e57aabcc +DIST jellyfin_10.9.6-amd64.tar.xz 79733596 BLAKE2B cf10b44d8aa39367597aa1a0aa514b309257c9e513994dc1f42e93d446d08cd932f99d90f4f49740f56868dc40dbd4b07e0dd05adb982e73917bb52d82d5432b SHA512 b51fbc20fd6a5ae29f307fbe541f8bd79ed4675017b668312f984a376fc36f750e5bdfc2eee332daf655c5b20229cd431cf12629c20b00a076d2e3f3c27a175a +DIST jellyfin_10.9.6-arm64-musl.tar.xz 76153160 BLAKE2B 137d2aa8258d3ef8d64bd23b1dd08f670339c672ddcad4138f01d8449944c108f9e89d5c35d5692559fcf7e9784b61396dc2752bd663e4c0072d8ab5d24ac32e SHA512 fa6d2a027850ef5c9664e89c3eb967fc3382873501c2114e4019c8b20886ca83352ae5c2fd28cd0a361d389a822f161dda2e884d05387529c81fa0714279d654 +DIST jellyfin_10.9.6-arm64.tar.xz 76118424 BLAKE2B 08dab4199a28bac834029c569d1ecc0fdba150dce4e613b6d1c9f2f9d5d82951e261aa9212108852d63af48b0e4729285fc3db3114ee7bd5b44d194f702ab55f SHA512 864d9bfe0ff93a3f90610c1f4da8c97d37e0bf34693858412d2e7ab4dfc73840491e861fce991c1d83b8ecaae2e359ab1a17d30403ce15a5c33a1a3b2113b798 EBUILD jellyfin-bin-10.8.13.ebuild 1941 BLAKE2B 304a91c80ab532e46081479667f076280a755dc539d27a1396efc949b6e1a4b312759eb6c973299d05b02989a50152aadaa248b2b65e4fed16251f2996b92b45 SHA512 7efe7d41b27feb4dc8eab3208e81604b4cce0afdae651c2aa1497ab87acdf0cd6d77ddba8f574ad90c6d6545343833edf1aca6b1732ab8aba026d77a5bcef432 -EBUILD jellyfin-bin-10.9.4.ebuild 1992 BLAKE2B ccd78ee900f960d1960e8e6f012ca3ab25f1c9159117b38675d77e9ce47acdb5e54131986919e3957925cb435421fbd95d627eb9aedcaa76ef075c70c8a1af84 SHA512 509c2a0d6559e8da0d2ce896d414cd7d7e721cedc3b390782aa955938db7b5fb9bc6a45be70bf5c7914bf3e7b11fa8834b571a738d0ccf29fd959e2375a49982 +EBUILD jellyfin-bin-10.9.6.ebuild 1992 BLAKE2B ccd78ee900f960d1960e8e6f012ca3ab25f1c9159117b38675d77e9ce47acdb5e54131986919e3957925cb435421fbd95d627eb9aedcaa76ef075c70c8a1af84 SHA512 509c2a0d6559e8da0d2ce896d414cd7d7e721cedc3b390782aa955938db7b5fb9bc6a45be70bf5c7914bf3e7b11fa8834b571a738d0ccf29fd959e2375a49982 MISC metadata.xml 649 BLAKE2B 29ce34c89c1300d32c3ff30990ec92e49cfab21d74340d1cd6893650ffda87920348ac5feda5ee68feff3e8adbd8cd6e58548d73879025a206dc82756a99c383 SHA512 d8a36b27ee99f29cf9dfea5cc4a9735732bb11cc5931adb4bfe1d1942378d2477f63417b6a2a694e9691c217d20c5ce84bc8d46af5155c46b99b850c0f561315 diff --git a/www-apps/jellyfin-bin/jellyfin-bin-10.9.4.ebuild b/www-apps/jellyfin-bin/jellyfin-bin-10.9.4.ebuild deleted file mode 100644 index 3392e3209a21..000000000000 --- a/www-apps/jellyfin-bin/jellyfin-bin-10.9.4.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit pax-utils systemd tmpfiles - -DESCRIPTION="Jellyfin puts you in control of managing and streaming your media" -HOMEPAGE="https://jellyfin.readthedocs.io/en/latest/ - https://github.com/jellyfin/jellyfin/" - -SRC_URI=" - arm64? ( - elibc_glibc? ( - https://repo.jellyfin.org/files/server/linux/stable/v${PV}/arm64/jellyfin_${PV}-arm64.tar.xz - ) - elibc_musl? ( - https://repo.jellyfin.org/files/server/linux/stable/v${PV}/arm64-musl/jellyfin_${PV}-arm64-musl.tar.xz - ) - ) - amd64? ( - elibc_glibc? ( - https://repo.jellyfin.org/files/server/linux/stable/v${PV}/amd64/jellyfin_${PV}-amd64.tar.xz - ) - elibc_musl? ( - https://repo.jellyfin.org/files/server/linux/stable/v${PV}/amd64-musl/jellyfin_${PV}-amd64-musl.tar.xz - ) - )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm64" -RESTRICT="mirror test" - -DEPEND="acct-user/jellyfin - media-libs/fontconfig - sys-libs/zlib" -RDEPEND="${DEPEND} - dev-libs/icu - media-video/ffmpeg[vpx,x264]" -BDEPEND="acct-user/jellyfin" - -INST_DIR="/opt/jellyfin" -QA_PREBUILT="${INST_DIR#/}/*.so ${INST_DIR#/}/jellyfin ${INST_DIR#/}/createdump" - -src_unpack() { - unpack ${A} - mv jellyfin ${P} || die -} - -src_prepare() { - default - - # https://github.com/jellyfin/jellyfin/issues/7471 - # https://github.com/dotnet/runtime/issues/57784 - rm libcoreclrtraceptprovider.so || die -} - -src_install() { - keepdir /var/log/jellyfin - fowners jellyfin:jellyfin /var/log/jellyfin - keepdir /etc/jellyfin - fowners jellyfin:jellyfin /etc/jellyfin - insinto ${INST_DIR} - dodir ${INST_DIR} - doins -r "${S}"/* - newtmpfiles - jellyfin.conf <<<"d /var/cache/jellyfin 0775 jellyfin jellyfin -" - chmod 755 "${D}${INST_DIR}/jellyfin" - newinitd "${FILESDIR}/jellyfin.init-r1" "jellyfin" - newconfd "${FILESDIR}"/jellyfin.confd "jellyfin" - systemd_dounit "${FILESDIR}/jellyfin.service" - pax-mark -m "${ED}${INST_DIR}/jellyfin" -} - -pkg_postinst() { - tmpfiles_process jellyfin.conf -} diff --git a/www-apps/jellyfin-bin/jellyfin-bin-10.9.6.ebuild b/www-apps/jellyfin-bin/jellyfin-bin-10.9.6.ebuild new file mode 100644 index 000000000000..3392e3209a21 --- /dev/null +++ b/www-apps/jellyfin-bin/jellyfin-bin-10.9.6.ebuild @@ -0,0 +1,77 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils systemd tmpfiles + +DESCRIPTION="Jellyfin puts you in control of managing and streaming your media" +HOMEPAGE="https://jellyfin.readthedocs.io/en/latest/ + https://github.com/jellyfin/jellyfin/" + +SRC_URI=" + arm64? ( + elibc_glibc? ( + https://repo.jellyfin.org/files/server/linux/stable/v${PV}/arm64/jellyfin_${PV}-arm64.tar.xz + ) + elibc_musl? ( + https://repo.jellyfin.org/files/server/linux/stable/v${PV}/arm64-musl/jellyfin_${PV}-arm64-musl.tar.xz + ) + ) + amd64? ( + elibc_glibc? ( + https://repo.jellyfin.org/files/server/linux/stable/v${PV}/amd64/jellyfin_${PV}-amd64.tar.xz + ) + elibc_musl? ( + https://repo.jellyfin.org/files/server/linux/stable/v${PV}/amd64-musl/jellyfin_${PV}-amd64-musl.tar.xz + ) + )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" +RESTRICT="mirror test" + +DEPEND="acct-user/jellyfin + media-libs/fontconfig + sys-libs/zlib" +RDEPEND="${DEPEND} + dev-libs/icu + media-video/ffmpeg[vpx,x264]" +BDEPEND="acct-user/jellyfin" + +INST_DIR="/opt/jellyfin" +QA_PREBUILT="${INST_DIR#/}/*.so ${INST_DIR#/}/jellyfin ${INST_DIR#/}/createdump" + +src_unpack() { + unpack ${A} + mv jellyfin ${P} || die +} + +src_prepare() { + default + + # https://github.com/jellyfin/jellyfin/issues/7471 + # https://github.com/dotnet/runtime/issues/57784 + rm libcoreclrtraceptprovider.so || die +} + +src_install() { + keepdir /var/log/jellyfin + fowners jellyfin:jellyfin /var/log/jellyfin + keepdir /etc/jellyfin + fowners jellyfin:jellyfin /etc/jellyfin + insinto ${INST_DIR} + dodir ${INST_DIR} + doins -r "${S}"/* + newtmpfiles - jellyfin.conf <<<"d /var/cache/jellyfin 0775 jellyfin jellyfin -" + chmod 755 "${D}${INST_DIR}/jellyfin" + newinitd "${FILESDIR}/jellyfin.init-r1" "jellyfin" + newconfd "${FILESDIR}"/jellyfin.confd "jellyfin" + systemd_dounit "${FILESDIR}/jellyfin.service" + pax-mark -m "${ED}${INST_DIR}/jellyfin" +} + +pkg_postinst() { + tmpfiles_process jellyfin.conf +} -- cgit v1.2.3