diff --git a/app-admin/chezmoi/Manifest b/app-admin/chezmoi/Manifest index cb22a51..8669a1c 100644 --- a/app-admin/chezmoi/Manifest +++ b/app-admin/chezmoi/Manifest @@ -2,3 +2,5 @@ DIST chezmoi-2.52.2-deps.tar.xz 186643132 BLAKE2B ee3b084e80b33c76e919589552d327 DIST chezmoi-2.52.2.tar.gz 2465927 BLAKE2B f442aeb44f73dffa3367401fd27d414d06eef66846ea8f9e496b4a64ef510a52e1aae5aa852e05f94a02c8c795b0bfedaedf85ebf556d1764daad7495fe2bb71 SHA512 8a4b06495cfec34234eb39860c5fbee94c5829294ba504698aefc10e862ed98982de0e8f61dd282af72f9fe6561f1a673868f2500a8915f06c9c09084e4b40c3 DIST chezmoi-2.52.3-deps.tar.xz 191705128 BLAKE2B 655c46889760b70beb528dc458ef8bc9968da5458961264535d6f453424f732d3ec97cfac34148da077c8524911dd6952af7b15b326fa11c7f2b405af1f135d0 SHA512 cebee6926cb129417121e661299d8125f9ef31c704ae9700a2aabdb9af57e2712e6b1f34d34f503cb17b516c7cabbf2c99c4bbbf8da23fc77940f4a4d5f565f9 DIST chezmoi-2.52.3.tar.gz 2499252 BLAKE2B 9c38df570fb517bf94b614a4d7d6f65603db690a9c6685aec479d29f3521346b779765ac39196a658cd84ef40fdf38618343c3309f2f2e3dde52c6d0b7e91e77 SHA512 c6f0d91c259ea0dbd6ef68d5e5e509c1e88c144f9af22917ef26777ba022e50a27f14ac1020e79867b7ae359b4f0ec97eb28e59abbdf04d41065161fc6d7cd3d +DIST chezmoi-2.52.4-deps.tar.xz 192579860 BLAKE2B 3faff441518ce9852a11eb89daa6bddd4be602ebb83670ae73654e2156b838859f747b701b26ff9370ca43e9570eae15860c8b609c4c6d8a095a34370bd629cc SHA512 174ca5d3c0c062b5e00b78a1b56ba67f5b6a3b8b7d5b92ac6c3231c12d7ace6352ffcb50297971119f2740a66fe2f5672a698e8d128c20bd4757f74448bf0dd7 +DIST chezmoi-2.52.4.tar.gz 2499482 BLAKE2B 22940ca7a5f622ed4fde9db1a6e1d51f0f2585f30d9c3eafebe4f7b68fd697fcdc449be2c923c317a26b411dfb7481fec6e74ccd758988284daa700eac8d7174 SHA512 d8b75d89374fb75345fa7767632ec2149b719e07bc26f25efe50a44a2fb9ba9ec52d96867549a2cf31e7a502a02e92e94e0ff99507de1c1b993039ee47b2d3d7 diff --git a/app-admin/chezmoi/chezmoi-2.52.4.ebuild b/app-admin/chezmoi/chezmoi-2.52.4.ebuild new file mode 100644 index 0000000..e1eae0a --- /dev/null +++ b/app-admin/chezmoi/chezmoi-2.52.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +VERSION_GIT_HASH="2f7b26d2f84c279bca652a11344ce4cd31365f3b" + +DESCRIPTION="Manage your dotfiles across multiple diverse machines, securely" +HOMEPAGE="https://www.chezmoi.io/" +SRC_URI="https://github.com/twpayne/chezmoi/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://gentoo.rgst.io/updater_artifacts/${CATEGORY}/${PN}/${PV}/deps.tar.xz -> ${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86" + +BDEPEND=">=dev-lang/go-1.22" + +RESTRICT="test" + +# This was added based on the .goreleaser.yml file in the upstream +# repository. +build_dist() { + ego build \ + -ldflags \ + "-s -w -X main.version=v${PV} -X main.commit=${VERSION_GIT_HASH} -X main.date=$(date "+%Y-%m-%dT%H:%M:%SZ") -X main.builtBy=ebuild" "$@" +} + +src_prepare() { + # Replaces generate-commit.go step. + echo -n "$VERSION_GIT_HASH" >COMMIT + default +} + +src_compile() { + build_dist ./ +} + +src_install() { + dobin chezmoi +} diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest index e76c954..cddd55f 100644 --- a/net-vpn/tailscale/Manifest +++ b/net-vpn/tailscale/Manifest @@ -1,2 +1,4 @@ -DIST tailscale-1.74.1-deps.tar.xz 411697400 BLAKE2B 2e2f7f3afd52746f56aec6ec86289780c496e8da294afc688ce152f9f67a57d3679b5aa885f95cb43b89e5c98ade12ed26a6db93d7a97e6b531186508572a4d3 SHA512 1cf49c4452bfb64c0369b104e1e058ac81b72441d3c4d14eb317a9069f7dce5dd274ab2aa40ef8a3d36a625942de618f8c8332ac10719c6bcee90c2f2351439b +DIST tailscale-1.74.1-deps.tar.xz 254129372 BLAKE2B e9e0fea2ba83d3ad23e4b26c0e86149c321d6f236f0ff30a019ed0aab6ed1568f3516832cd6af0ef904359308fefdfd7a9394af3859e503a0afc6e0cc28b7cd7 SHA512 32b3829c79733a4d86b0a40a09a5c8236604608bf490756f7a76c835d0688e79318837d2db9a1459afd7186b326c924c01d0431376ab76a6a0fbcfdd11c15811 DIST tailscale-1.74.1.tar.gz 3237654 BLAKE2B c54eb1338b2d017607213ef810d3accc64adc82efa60839c37c1298b79e61e56f472e329b237e32d270c8725fde678214b6c1290901d7fad1563451904a38bca SHA512 795aa53b4681a9e5f8316651d33bc9a0724fb75cba99847db01e3b0f29d6957b3588fea77347ce9d53d28154883458cac8d54ccd08ebbb31cc00294158d7780f +DIST tailscale-1.76.0-deps.tar.xz 412614532 BLAKE2B 51f7b8211072fc7d73dbcff3ccf54d7d2b42abe1bae7fd8298136f37cc5f4a6c197662ef88bae7b92375f30b6fd92e5c99346235eef18b542c3ca412fdd24193 SHA512 c84f2e006d86a1a7af62848fbe0ba8ffffe03b0c2981a02693c8fcaacccb460f6b9ad4a6a277b530c045018074fcf0932d9ee11ba46f4130132d4fe54fef3e91 +DIST tailscale-1.76.0.tar.gz 3282238 BLAKE2B 343858793733691aacd14abead4c0a86f8a44ef5494546130da5a208095e894c16d66b282ca6c61ddf68823b09ef87cbcff6d2447d1c459aec74cbca8d3b935c SHA512 cfae501c42f67ca1c51b11ee6ac3c1715e224daf38ec35d2ad4be34da1f1f6aa62cd187dd4741214e4cabf6f356e05b32826033d21c15e4acbadbbbfd23dcdcf diff --git a/net-vpn/tailscale/tailscale-1.76.0.ebuild b/net-vpn/tailscale/tailscale-1.76.0.ebuild new file mode 100644 index 0000000..d84c9d4 --- /dev/null +++ b/net-vpn/tailscale/tailscale-1.76.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd tmpfiles + +# These settings are obtained by running ./build_dist.sh shellvars in +# the upstream repo. +VERSION_MINOR="76" +VERSION_SHORT="1.76.0" +VERSION_LONG="1.76.0-t51fb4ce51" +VERSION_GIT_HASH="51fb4ce51753b03f79103bc48b798b4d13f0be6b" + +DESCRIPTION="Tailscale vpn client" +HOMEPAGE="https://tailscale.com" +SRC_URI="https://github.com/tailscale/tailscale/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://gentoo.rgst.io/updater_artifacts/${CATEGORY}/${PN}/${PV}/deps.tar.xz -> ${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86" + +RDEPEND="net-firewall/iptables" +BDEPEND=">=dev-lang/go-1.23" + +RESTRICT="test" + +# This translates the build command from upstream's build_dist.sh to an +# ebuild equivalent. +build_dist() { + ego build -tags xversion -ldflags " + -X tailscale.com/version.Long=${VERSION_LONG} + -X tailscale.com/version.Short=${VERSION_SHORT} + -X tailscale.com/version.GitCommit=${VERSION_GIT_HASH}" "$@" +} + +src_compile() { + build_dist ./cmd/tailscale + build_dist ./cmd/tailscaled +} + +src_install() { + dosbin tailscaled + dobin tailscale + + systemd_dounit cmd/tailscaled/tailscaled.service + insinto /etc/default + newins cmd/tailscaled/tailscaled.defaults tailscaled + keepdir /var/lib/${PN} + fperms 0750 /var/lib/${PN} + + newtmpfiles "${FILESDIR}/${PN}.tmpfiles" ${PN}.conf + + newinitd "${FILESDIR}/${PN}d.initd" ${PN} + newconfd "${FILESDIR}/${PN}d.confd" ${PN} +} + +pkg_postinst() { + tmpfiles_process ${PN}.conf +}