misc: Formatting

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-11-09 19:29:22 +01:00
parent 03931c6d64
commit 586be63a07
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
25 changed files with 238 additions and 115 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
metadata/md5-cache

View file

@ -1,5 +1,6 @@
AUX goreleaser-manpage-no-compress.patch 199 BLAKE2B 42e3f76c79ba60bc35bcceb81aa6eca63eca05a39b69ccb1de0e237f8c8ba4050107ad1e71f9537a39e5658c5f1e52cb92e433747a7a561c6051cc1781e02583 SHA512 f168becefc1b8477730a3c49ca812213fbf91d02aa3e6b7977bcf98d4270f56e76bec1d2f6a4304fe43a12c879ef71c79d4b9059ef1472778e0eefc73b23881f
DIST goreleaser-1.22.0-vendor.tar.xz 7802072 BLAKE2B cd7618dc82c1a54b5a77012072c03e303e7a9c8ca00d3a8e862b4ac0463e5c75f9eaa4162894f72f38b00395c1a7e1e248f71643b6b2d2827bf7aa50b4ca7e42 SHA512 6895bc254741a07ccfc5dc8f07b4baa1fc0ca55e33422e04814c22144c36bae38cecdfda9a001c8adc7a756ccea24b1755f5ea56c2759a204c422cba9e69bd32
DIST goreleaser-1.22.0.tar.gz 934753 BLAKE2B 50ff56d1f6517848949ea8ade7d10f2717b73defb9407dc7f2a7d4b435832426452887d324d15f69221f14449e66e98351b413fc7da1e65744c609c69b3f4e6e SHA512 6334a9b6cb3a9d90672bc3161f3f5f7e2a4edf8efab5b2d6edeef185dc5c7d46d70053432fe37c7a44c2a0aa7afcdad2dd4478f6cedf6bca73f6ed37bdcf7ef1
EBUILD goreleaser-1.22.0.ebuild 1191 BLAKE2B 3108225c3f8b13da414dc89e31defb29c3c75e9b3c788d4a1fd873381566f9f67156b51e897c8998c67ff2e57e5da9c3aed27eee7b4ead0ccdd16ac3f0c20f37 SHA512 24429c860b5f3a0f0797f4c42db76cf9a468e4fa67a190e38d36633c4297600fcd093ff82de8aa9bba04f8ee39fea46a638df675118874f9f51ff7a01c3ac929
EBUILD goreleaser-9999.ebuild 1191 BLAKE2B 3108225c3f8b13da414dc89e31defb29c3c75e9b3c788d4a1fd873381566f9f67156b51e897c8998c67ff2e57e5da9c3aed27eee7b4ead0ccdd16ac3f0c20f37 SHA512 24429c860b5f3a0f0797f4c42db76cf9a468e4fa67a190e38d36633c4297600fcd093ff82de8aa9bba04f8ee39fea46a638df675118874f9f51ff7a01c3ac929
EBUILD goreleaser-1.22.0.ebuild 1140 BLAKE2B 7fe27a7f138cc5c7e64466a4ddb3e03295c38009aae494de896b57c273bf3ba68e6ec6b09aef7eeb4ef6d9e6909c5e83b3aed9ab8801daad696a636e8460f1e1 SHA512 e2bcfbee4a2a42ba1dd7152a54aa413a9b78cb6c3860d038eee8953283a2ff4ac38b07d2fd5d752dba7d20693e25c1c6cface20f055f8eb1e9c0be6da8b016e5
EBUILD goreleaser-9999.ebuild 1140 BLAKE2B 7fe27a7f138cc5c7e64466a4ddb3e03295c38009aae494de896b57c273bf3ba68e6ec6b09aef7eeb4ef6d9e6909c5e83b3aed9ab8801daad696a636e8460f1e1 SHA512 e2bcfbee4a2a42ba1dd7152a54aa413a9b78cb6c3860d038eee8953283a2ff4ac38b07d2fd5d752dba7d20693e25c1c6cface20f055f8eb1e9c0be6da8b016e5
MISC metadata.xml 331 BLAKE2B 373536dd40ff0287d8077a09699a8593706850dcbcb01116fba95f865145c5c8e9bb6ba836dab32893cb9b92db2f4d652bc334c353fa971fdf1f5fe22e3fb3ec SHA512 b3d2e351219c0ce54ae0b7beda4f3fc615fae362fe7a158c0f3cc4b554339488e4a701f48afc0c8881074f820891bee7c513b9651674ef7489c46bf7d049f2d8

View file

@ -18,27 +18,27 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/goreleaser/goreleaser.git"
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
COMMIT=$(git-r3_peek_remote_ref)
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
COMMIT=$(git-r3_peek_remote_ref)
}
}
else
# TODO: UPDATE EVERY BUMP
COMMIT="6b65ea5ca18f9ee2de48f2ecc914a617741d6b14"
SRC_URI="https://github.com/goreleaser/goreleaser/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.froth.zone/api/packages/packaging/generic/portage/deps/${P}-vendor.tar.xz"
KEYWORDS="~amd64 ~arm64 ~x86"
# TODO: UPDATE EVERY BUMP
COMMIT="6b65ea5ca18f9ee2de48f2ecc914a617741d6b14"
SRC_URI="https://github.com/goreleaser/goreleaser/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.froth.zone/api/packages/packaging/generic/portage/deps/${P}-vendor.tar.xz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_compile() {
ego build -ldflags "-s -w -X main.version=${PV} -X main.date=$(date -I) -X main.commit=${COMMIT} -X main.builtBy=portage" .
./scripts/manpages.sh
ego build -ldflags "-s -w -X main.version=${PV} -X main.date=$(date -I) -X main.commit=${COMMIT} -X main.builtBy=portage" .
./scripts/manpages.sh
}
src_install() {
dobin ./${PN}
doman manpages/goreleaser.1
einstalldocs
dobin ./${PN}
doman manpages/goreleaser.1
einstalldocs
}

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sam@samtherapy.net</email>
<name>Sam Therapy</name>
</maintainer>
<upstream>
<remote-id type='github'>goreleaser/goreleaser</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,4 +1,5 @@
DIST swag-1.16.2-vendor.tar.xz 489536 BLAKE2B 23c9baf576af9f3651c0d4f042aed3fa3d09f91fb63ba61b0de71ae0a1bcc2a0269ff162d14f48ceec6ad398eed1d49104c48c0d5468a71680c9527beebc0337 SHA512 dcdc8f5e1e644203ecf9823f9e9a0a42edc2ebc770420afd719bf242f596a76ca1ed7cbddf9ec24234d571da85aa882e06d6d6e5a5f2b1b834cdd1c7f3509dc0
DIST swag-1.16.2.tar.gz 283489 BLAKE2B bedc61a4929c5846092976d9de05bd47ad25506c1fa4710cdcabcc2c43472c6bb2fbea9b2664c39ae47ae419645102832fc1c082dc66e8264ffdab09f62b8459 SHA512 fcf1f695435c401ab4963e3abbf9747965d02485d2818c38a14912562744d7814b0d79e4237ffb6ee70ab0a04d5dbc192510436f7c3b06186add8533d25c5c01
EBUILD swag-1.16.2.ebuild 768 BLAKE2B ef9252133f896ec25c0c69ebb881a43f0f2293138406d7130d5b009adaed6e15bf666c85b367efc1faff6f8b38a0a6cf4b48e6ad97ea6b357e0d14ca7fdf2b46 SHA512 82f79e3e46edcded751e95f34f87600de4fb95bbb2a3bad50c79d9cfe66ce9b5d6c1ccb9fee3f5ca104afa5682b93605aadd30aa0bbb97ddf64d91ae90d88afa
EBUILD swag-9999.ebuild 768 BLAKE2B ef9252133f896ec25c0c69ebb881a43f0f2293138406d7130d5b009adaed6e15bf666c85b367efc1faff6f8b38a0a6cf4b48e6ad97ea6b357e0d14ca7fdf2b46 SHA512 82f79e3e46edcded751e95f34f87600de4fb95bbb2a3bad50c79d9cfe66ce9b5d6c1ccb9fee3f5ca104afa5682b93605aadd30aa0bbb97ddf64d91ae90d88afa
EBUILD swag-1.16.2.ebuild 732 BLAKE2B bc40db708c10d6a3e5adbf5cdb1fc56d1293ed6457c908ba6d87d1e605b8d725ab9063e890e63082460279113a69bc65ee52ee555b8217d4b0454d5b1c5d4fd0 SHA512 4298e009d6e4fdf1c992f4bbb065cb9cf1b1aa309dc5ef0a504fb6f49f9e2a7e1e7b43758d2588f393ebeb95d47c97deb5a60863703976c35349fc94f53a2ba6
EBUILD swag-9999.ebuild 732 BLAKE2B bc40db708c10d6a3e5adbf5cdb1fc56d1293ed6457c908ba6d87d1e605b8d725ab9063e890e63082460279113a69bc65ee52ee555b8217d4b0454d5b1c5d4fd0 SHA512 4298e009d6e4fdf1c992f4bbb065cb9cf1b1aa309dc5ef0a504fb6f49f9e2a7e1e7b43758d2588f393ebeb95d47c97deb5a60863703976c35349fc94f53a2ba6
MISC metadata.xml 321 BLAKE2B 1a29c5862737a5ddcf72241192d87752853bd306020aaa10083348049e23e53a463090b97ad33e0a8cec66f5f85344451ba991608156cffec56aadf2f89c3bc5 SHA512 ec653c6d6b4d6f0d47c3a791a6523e896ea4d3daf6eea52c6fc3c28c903721b92bf9400b40c9a7883c046f64399edc9b68e34bcb8fdeb0b101c4eb5a9f725853

11
dev-go/swag/metadata.xml Normal file
View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sam@samtherapy.net</email>
<name>Sam Therapy</name>
</maintainer>
<upstream>
<remote-id type='github'>swaggo/swag</remote-id>
</upstream>
</pkgmetadata>

View file

@ -14,21 +14,21 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/swaggo/swag.git"
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
}
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
}
else
SRC_URI="https://github.com/swaggo/swag/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.froth.zone/api/packages/packaging/generic/portage/deps/${P}-vendor.tar.xz"
KEYWORDS="~amd64 ~arm64 ~x86"
SRC_URI="https://github.com/swaggo/swag/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.froth.zone/api/packages/packaging/generic/portage/deps/${P}-vendor.tar.xz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_compile() {
ego build ./cmd/swag
ego build ./cmd/swag
}
src_install() {
dobin ./${PN}
einstalldocs
dobin ./${PN}
einstalldocs
}

View file

@ -1,5 +1,6 @@
AUX nfpm-manpage-no-compress.patch 207 BLAKE2B 176ea144039f23054f5d222de91d7c19d9aba134893c2d91c4d9ab1db781ac0dbe890f4a55d1390f13f9b0034d959de9e622a10e6a275eea84178e5a617343d1 SHA512 f07e440e09f2c58c0b5046aa0c64342880d2fe02e7a65a6e5f08be134505573f5526988e378a4a0b7eeaf57ddffebd0cf840a89f90fae39b95326b9cec6e3e2a
DIST nfpm-2.34.0-vendor.tar.xz 2443248 BLAKE2B 6ddf909150a23270d242424476d8f8a183b2058bf91df4ff78e666c3acc162a8df9b83f2176c262829ec7cf93ef5e668f566dd065145e410acb3948a9854b96f SHA512 18c84351cde81dca4ca57d0def2d208fd7cf193d62783bf41b0596d5d726cf63011fbb4696d0b1919134b8e697bf63efc31e1204a33bd4e7144d337d44ce0c4c
DIST nfpm-2.34.0.tar.gz 452713 BLAKE2B 890e78857641807a5a60469439679466c5e8f63fea91f23ee1ab5dae5ed0cff35f9388589cbee4c3e351c79d18b8a03866df2f05864b213fe3eec249d0c34702 SHA512 fd6dc65a421685072c1723c5e59e6ec04b72a4761e84d9c0d87a6dd72a07e79fabdcd104ccc73ea1880fe2be146cd2e7779be0adae7a4573b1652804468f18a7
EBUILD nfpm-2.34.0.ebuild 1190 BLAKE2B d1d4ce278e20eff28ed7ea7bc1153d09008ecbff76ee0cb578ca4f873896d17e1800c1f1cd4725e23a5d10ea56a68c88e31d0a87c78f4a00b964b2bc3fd56321 SHA512 6802cc79a97245d132f9e6e33e900ff329eaa259d009d63a8c9a46643e46200ffdbf86eceb8ef1c3c77f651564599fad1ab02c7e970ec053b0ce279faf8a0687
EBUILD nfpm-9999.ebuild 1190 BLAKE2B d1d4ce278e20eff28ed7ea7bc1153d09008ecbff76ee0cb578ca4f873896d17e1800c1f1cd4725e23a5d10ea56a68c88e31d0a87c78f4a00b964b2bc3fd56321 SHA512 6802cc79a97245d132f9e6e33e900ff329eaa259d009d63a8c9a46643e46200ffdbf86eceb8ef1c3c77f651564599fad1ab02c7e970ec053b0ce279faf8a0687
EBUILD nfpm-2.34.0.ebuild 1143 BLAKE2B 5609bb6b6db7afb9502c53586542fbd28e6bc6d2a3af0373f515d0e7a42c581898bef5e8b3c6791e853d3b277a8ef57749f0d5e698efe923246ee0b6d160c2a9 SHA512 484237ef848590a417f19267631f926639d6b1992e09fe6d4a6fb82f0b96b83cd624432ec25f97d834d0764f532b53a47ae6757ccce73173bd74aeb2446ea917
EBUILD nfpm-9999.ebuild 1143 BLAKE2B 5609bb6b6db7afb9502c53586542fbd28e6bc6d2a3af0373f515d0e7a42c581898bef5e8b3c6791e853d3b277a8ef57749f0d5e698efe923246ee0b6d160c2a9 SHA512 484237ef848590a417f19267631f926639d6b1992e09fe6d4a6fb82f0b96b83cd624432ec25f97d834d0764f532b53a47ae6757ccce73173bd74aeb2446ea917
MISC metadata.xml 325 BLAKE2B 7bc17c60a4c28803ffd5f607a8ec544252dd743e51bfbbdc77e778116740591c4a83dffd8ad3050ba94c19e94897241a06dd4ae6a0b6a0fd49d0969d35824ed7 SHA512 30f69788f4096c21832eb9621f9ae4c81ef3bcd27b5baedb412f565f33c366efd84b69e4498247e4133a9d1b367dc7123a9c812dab7f24cc88f5e74ed5679006

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sam@samtherapy.net</email>
<name>Sam Therapy</name>
</maintainer>
<upstream>
<remote-id type='github'>goreleaser/nfpm</remote-id>
</upstream>
</pkgmetadata>

View file

@ -11,34 +11,36 @@ LICENSE="MIT BSD BSD-2 Apache-2.0 MPL-2.0"
SLOT="0"
PATCHES=(
"${FILESDIR}/${PN}-manpage-no-compress.patch"
"${FILESDIR}/${PN}-manpage-no-compress.patch"
)
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/goreleaser/nfpm.git"
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
COMMIT=$(git-r3_peek_remote_ref)
}
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
COMMIT=$(git-r3_peek_remote_ref)
}
else
# TODO: UPDATE EVERY BUMP
COMMIT="6a16fcd38aa41ec2a5fea50728d22258ab9e2580"
SRC_URI="https://github.com/goreleaser/nfpm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.froth.zone/api/packages/packaging/generic/portage/deps/${P}-vendor.tar.xz"
KEYWORDS="~amd64 ~arm64 ~x86"
# TODO: UPDATE EVERY BUMP
COMMIT="6a16fcd38aa41ec2a5fea50728d22258ab9e2580"
SRC_URI="https://github.com/goreleaser/nfpm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.froth.zone/api/packages/packaging/generic/portage/deps/${P}-vendor.tar.xz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_compile() {
ego build -ldflags "-s -w -X main.version=${PV} -X main.date=$(date -I) -X main.commit=${COMMIT} -X main.builtBy=portage" ./cmd/nfpm
./scripts/manpages.sh
ego build \
-ldflags "-s -w -X main.version=${PV} -X main.date=$(date -I) -X main.commit=${COMMIT} -X main.builtBy=portage" \
./cmd/nfpm
./scripts/manpages.sh || die
}
src_install() {
dobin ./${PN}
doman manpages/nfpm.1
einstalldocs
dobin ./${PN}
doman manpages/nfpm.1
einstalldocs
}

View file

@ -1 +1,2 @@
EBUILD xcaddy-9999.ebuild 601 BLAKE2B 0b41b63f6284a35c4c8df1c3b47e96742429b7c1989b1006efedf81b41607a948081bfdff410d881949962d8e9fc71e0cb680e2c4758ee89f75b334c7c1f3ab4 SHA512 edb2f7a66c456085014688a7cc18b0c37dd2660f7ae3fb9e66eec232bfb4bb80f57616fed4d8e1cda1d1597c7f4d2ec756ae5cc9f1ff94f5c6d75711826a85e0
EBUILD xcaddy-9999.ebuild 598 BLAKE2B e1c1faad473fa1e21bbba4877ec4e9b454a117096bb3df29da9a5f7aea6c2923083e12b1078651136397a0f48fea0df7f353727c359640fd958740290cdcf0b5 SHA512 bb35f1b2c6aac1369b31331f8a2e90d3061eaa0a37cdef7986f25b2b8e63cd0550ec93c0b5511f6b1056a97dc50d112457c8fcde84b7a0a4e4459e1516b65fd5
MISC metadata.xml 322 BLAKE2B d1346f05fbd516faf02c99b02f6286ca15eae38d903dccf447ef66d68c84123a1f2429fc8e16c271b73173b37b7757716a9372298940f9ce3bf4ced7c85c588f SHA512 8d8bcd448a6c3b266eb96029d830687510e8f531dbdfec0e2621516ba58fc640b8a65d63e0b04542a868ba1c252875d8656a38f9d9cc11edf91757355eaee479

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sam@samtherapy.net</email>
<name>Sam Therapy</name>
</maintainer>
<upstream>
<remote-id type='github'>caddy/xcaddy</remote-id>
</upstream>
</pkgmetadata>

View file

@ -23,7 +23,7 @@ src_unpack() {
}
src_compile() {
ego build -ldflags "-s -w" ./cmd/xcaddy
ego build -ldflags "-s -w" ./cmd/xcaddy
}
src_install() {

View file

@ -4,7 +4,8 @@ DIST awl-0.6.6-deps.tar.xz 2171684 BLAKE2B 99448b44ddfee6ce03289995dacad33272cfd
DIST awl-0.6.6.tar.gz 48820 BLAKE2B 22737628b268868842f8de991c137cea59eec10be6b206035f13a68d615eb37e7ff527bc77631a236f9f807ca85ac8a608064fe035d74180d94dceede9c6c619 SHA512 0d65ccc1eb520fb9806464f3af9d6d331012e1a334c6c2328d1bc2d242cf46e9db01dc77a52c51991167e50a6711e52d0002367e01f6f7bde743b12cc1799c35
DIST awl-0.6.9-deps.tar.xz 6408852 BLAKE2B 31a805dd72d7f018687c1702d45376f211be0b8e6bc1aa25bf4e65e58758d7f37bef0cf3429f236180cb12e5b5855b1419c502450712eb10e98ed5c7ab822b4e SHA512 25264af75b84d926fbcfcb14aaed1c72989f28c8984018132da336f557372fd6a72f53c9b109b214c5bb3432237ded378d2ee873b0e9b3e13fb65d8a9a8fab24
DIST awl-0.6.9.tar.gz 48050 BLAKE2B 0d100417486fddd8de6d68ba098e0b42fecc72ddbbdb9615e827d2ba2cb658de80b09a54cfd09ce915666fe2b4441f2d5d60204badb5679bc578931b661a9edb SHA512 a7be7d99ad92eabc7ad35fc39e8d21bf913ed6a558a41962f0a7cd1744d37517fef11b0cc0c51bedb3ac559562e51e8406e95001bda4218fb9d58bf0b6459596
EBUILD awl-0.6.10.ebuild 1364 BLAKE2B 3701ce60dc5cbd3bed8d509717128441bfebcd1334aa076c0a35c170097a590eaca8d386cdedc7faabf2d23d350cc4f4dd9abe3ed62187efeb8a0789d408e320 SHA512 2d9e02c5aaafc445056a9e318fc148c1a765561df7c14bf88102681a18cbb98a3192e0ef06bb7721b9e6230eff2d092bd6fb14264e837fc4b51212cef4cdf813
EBUILD awl-0.6.6.ebuild 1235 BLAKE2B a364904b77f43d0cf6d37667bf42d05a3c9294f4d61afda8200324cce728cbd671c0177a4d7db984111074d975da41ea2203391fa263ab84ca835fe52a18e78e SHA512 a7c06f0a0b09cb46b8065d60691e2a59b5613316af9dd98f31b2d69e6db3ff73856ac34eb4fe278560b0c485fe3fcae1f9a4e2d0bbce77957c78e1f5c4235c32
EBUILD awl-0.6.9.ebuild 1364 BLAKE2B 3701ce60dc5cbd3bed8d509717128441bfebcd1334aa076c0a35c170097a590eaca8d386cdedc7faabf2d23d350cc4f4dd9abe3ed62187efeb8a0789d408e320 SHA512 2d9e02c5aaafc445056a9e318fc148c1a765561df7c14bf88102681a18cbb98a3192e0ef06bb7721b9e6230eff2d092bd6fb14264e837fc4b51212cef4cdf813
EBUILD awl-9999.ebuild 1364 BLAKE2B 3701ce60dc5cbd3bed8d509717128441bfebcd1334aa076c0a35c170097a590eaca8d386cdedc7faabf2d23d350cc4f4dd9abe3ed62187efeb8a0789d408e320 SHA512 2d9e02c5aaafc445056a9e318fc148c1a765561df7c14bf88102681a18cbb98a3192e0ef06bb7721b9e6230eff2d092bd6fb14264e837fc4b51212cef4cdf813
EBUILD awl-0.6.10.ebuild 1632 BLAKE2B 3ab2b7b32cfabf6564b4e56fc6e2167106d390c1b0864a93891b3173f7f885ecf118074992402072d4e8a7f85c986adb04590998bb07f8699a91917275bf7e92 SHA512 ce14bec1752c5170796552067e644b52e87649d9bb2ea1ac0ba77d918faf25f6f32740069a8f21b873cd48fe7af90afb4a9d11f9caf1d63dcb09803718ddaafe
EBUILD awl-0.6.6.ebuild 1617 BLAKE2B 80317d9b8c33db72c1893493e68d2410dc6e036c6fa2e30065abc32f4c7c13283a2ef45950443f8b26ecf0d1c310b51a11ed652aae6fc23b2bef94e754ac3890 SHA512 12b371c100dfa3def2f706fc364824da358dcd7d030c1344e30c252d9ebcde20cb8a4690623cf1364224df829b77680b793c3ea13518ea169d6d6b477381d088
EBUILD awl-0.6.9.ebuild 1632 BLAKE2B 3ab2b7b32cfabf6564b4e56fc6e2167106d390c1b0864a93891b3173f7f885ecf118074992402072d4e8a7f85c986adb04590998bb07f8699a91917275bf7e92 SHA512 ce14bec1752c5170796552067e644b52e87649d9bb2ea1ac0ba77d918faf25f6f32740069a8f21b873cd48fe7af90afb4a9d11f9caf1d63dcb09803718ddaafe
EBUILD awl-9999.ebuild 1632 BLAKE2B 3ab2b7b32cfabf6564b4e56fc6e2167106d390c1b0864a93891b3173f7f885ecf118074992402072d4e8a7f85c986adb04590998bb07f8699a91917275bf7e92 SHA512 ce14bec1752c5170796552067e644b52e87649d9bb2ea1ac0ba77d918faf25f6f32740069a8f21b873cd48fe7af90afb4a9d11f9caf1d63dcb09803718ddaafe
MISC metadata.xml 443 BLAKE2B c0faee1e491324e3dd21954fd22bd369f92257dfe2fc690773e7fd2f05bcae76ff5e1b59107fe09b48f9a42b772225b9ba4176fd74f53e3a778ea90c90e12f65 SHA512 e23e1caec4c1622bd85dc4b1a189590b5950ed6d5b639b29b605086e703d5e0118469eab519f8f11a06f367fb898f063185b7d5070aad00c482648c3310d3625

View file

@ -6,42 +6,62 @@ EAPI=8
inherit go-module
DESCRIPTION="command-line DNS query client"
HOMEPAGE="https://git.froth.zone/sam/awl"
SRC_URI="https://git.froth.zone/sam/awl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.froth.zone/sam/awl/releases/download/v${PV}/${P}-deps.tar.xz"
HOMEPAGE="https://dns.froth.zone/awl"
# test requires network for making DNS queries
RESTRICT="strip test"
RESTRICT="test"
LICENSE="BSD MIT Unlicense CC0-1.0"
SLOT="0"
IUSE="gccgo"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86"
BDEPEND="app-text/scdoc
gccgo? ( >=sys-devel/gcc-11[go] )"
gccgo? ( >=sys-devel/gcc-11[go] )"
# Gitea and only Gitea puts their tarballs in weird places
S="${WORKDIR}/awl"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.froth.zone/sam/awl.git"
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
}
src_configure() {
if use gccgo; then
# -buildmode=pie is not supported by gccgo
GOFLAGS="-buildvcs=false -modcacherw -v -x -compiler=gccgo"
else
GOFLAGS+=" -ldflags=-s -ldflags=-w -ldflags=-X=main.version=$(git-r3_peek_remote_ref)"
fi
}
else
SRC_URI="https://git.froth.zone/sam/awl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.froth.zone/sam/awl/releases/download/v${PV}/${P}-deps.tar.xz"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86"
# Gitea and only Gitea puts their tarballs in weird places
S="${WORKDIR}/awl"
src_configure() {
if use gccgo; then
# -buildmode=pie is not supported by gccgo
GOFLAGS="-buildvcs=false -modcacherw -v -x -compiler=gccgo"
else
GOFLAGS+=" -ldflags=-s -ldflags=-w -ldflags=-X=main.version=${PV}"
fi
}
fi
src_configure() {
if use gccgo; then
# -buildmode=pie is not supported by gccgo
GOFLAGS="-buildvcs=false -modcacherw -v -x -compiler=gccgo"
else
GOFLAGS+=" -ldflags=-s -ldflags=-w -ldflags=-X=main.version=${PV}"
fi
}
src_compile() {
emake PREFIX="${EPREFIX}/usr"
emake PREFIX="${EPREFIX}/usr"
}
src_test() {
#-buildmode=pie clashes with -race
emake test GOFLAGS="-buildvcs=false -modcacherw -v -x"
#-buildmode=pie clashes with -race
emake test GOFLAGS="-buildvcs=false -modcacherw -v -x"
}
src_install() {
emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
einstalldocs
emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
einstalldocs
}

View file

@ -12,44 +12,57 @@ HOMEPAGE="https://dns.froth.zone/awl"
RESTRICT="test"
LICENSE="BSD MIT Unlicense CC0-1.0"
SLOT="0"
#IUSE="gccgo"
BDEPEND="app-text/scdoc"
# gccgo? ( >=sys-devel/gcc-11[go] )"
#
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.froth.zone/sam/awl.git"
inherit git-r3
EGIT_REPO_URI="https://git.froth.zone/sam/awl.git"
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
}
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
}
src_configure() {
GOFLAGS+=" -ldflags=-s -ldflags=-w -ldflags=-X=main.version=$(git-r3_peek_remote_ref)-gentoo"
}
src_configure() {
# if use gccgo; then
# # -buildmode=pie is not supported by gccgo
# GOFLAGS="-buildvcs=false -modcacherw -v -x -compiler=gccgo"
# else
GOFLAGS+=" -ldflags=-s -ldflags=-w -ldflags=-X=main.version=$(git-r3_peek_remote_ref)"
# fi
}
else
SRC_URI="https://git.froth.zone/sam/awl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.froth.zone/sam/awl/releases/download/v${PV}/${P}-deps.tar.xz"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86"
SRC_URI="https://git.froth.zone/sam/awl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.froth.zone/sam/awl/releases/download/v${PV}/${P}-deps.tar.xz"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86"
# Gitea and only Gitea puts their tarballs in weird places
S="${WORKDIR}/awl"
# Gitea and only Gitea puts their tarballs in weird places
S="${WORKDIR}/awl"
src_configure() {
GOFLAGS+=" -ldflags=-s -ldflags=-w -ldflags=-X=main.version=${PV}"
}
src_configure() {
# if use gccgo; then
# # -buildmode=pie is not supported by gccgo
# GOFLAGS="-buildvcs=false -modcacherw -v -x -compiler=gccgo"
# else
GOFLAGS+=" -ldflags=-s -ldflags=-w -ldflags=-X=main.version=${PV}"
# fi
}
fi
src_compile() {
emake PREFIX="${EPREFIX}/usr"
emake PREFIX="${EPREFIX}/usr"
}
src_test() {
#-buildmode=pie clashes with -race
emake test GOFLAGS="-buildvcs=false -modcacherw -v -x"
#-buildmode=pie clashes with -race
emake test GOFLAGS="-buildvcs=false -modcacherw -v -x"
}
src_install() {
emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
einstalldocs
emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
einstalldocs
}

14
net-dns/awl/metadata.xml Normal file
View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
<flag name="gccgo">Use <pkg>sys-devel/gcc[go]</pkg> to build instead of <pkg>dev-lang/go</pkg></flag>
</use>
<maintainer type="person">
<email>sam@samtherapy.net</email>
<name>Sam Therapy</name>
</maintainer>
<upstream>
<remote-id type='github'>SamTherapy/awl</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1 +1,2 @@
EBUILD sshs-9999.ebuild 573 BLAKE2B fa1844062d742eee0aaee47c9fb9a5a051b526024b585c0b88e924df5dc293383a867c8acaaa67072276416e59d386e086e8bb1b4e925b1299ead81549ca69de SHA512 60f51e6e6e8d9277d8a7ce2c8d2826ef23549d6bb46c26c2fa845190063c73ee234e7efb6cbf91fe69979933696a6af06a3e120a796aea3f92635e9b4f0cb747
EBUILD sshs-9999.ebuild 567 BLAKE2B 803145cbc86ff8b21febb01b39c62f8bc868d4f667336999b6d61df240981458d7765f1f88a5646eb73f252ae9e2ec7c5229a98026a4d46e7373ca45cd85f35a SHA512 0b0d56d15c68a0c324baf2459403844d7895173911c4848ab62cebc4daafe24649d2e866cce9b673ec5a91cebfb068eda16cd18532d9f0abb3dcab8ddc879c1f
MISC metadata.xml 327 BLAKE2B 422af50988f127cd85d98281627d3e283277a0c256ce6c97bf5419f0a3ba036383dd717143a98ee04e962b7441012931bfccb75b7a36b322b419d91abd06f78d SHA512 06029befa0880bc1407fdf6b75de0c43ae05bf71c1634f769eb94acd865a61018b6fa25ddc0b0b158e0e97c5b2f0406dab748208652e5d3c4b478fe69a4e7b70

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sam@samtherapy.net</email>
<name>Sam Therapy</name>
</maintainer>
<upstream>
<remote-id type='github'>quantumsheep/sshs</remote-id>
</upstream>
</pkgmetadata>

View file

@ -22,9 +22,9 @@ src_unpack() {
}
src_compile() {
emake PREFIX="${EPREFIX}/usr"
emake PREFIX="${EPREFIX}/usr"
}
src_install() {
emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
}

View file

@ -1 +1 @@
sammefishe
froth-zone

View file

@ -2,14 +2,14 @@
<!DOCTYPE repositories SYSTEM "https://www.gentoo.org/dtd/repositories.dtd">
<repositories xmlns="" version="1.0">
<repo quality="experimental" status="unofficial">
<name>sammefishe</name>
<description lang="en">Personal Gentoo overlay for froth.zone<description>
<homepage>https://git.froth.zone/packaging/portage</homepage>
<owner type="person">
<email>sam@samtherapy.net</email>
<name>Sam Therapy</name>
</owner>
<source type="git">https://git.froth.zone/packaging/portage.git</source>
<feed>https://git.froth.zone/packaging/portage.rss</feed>
<name>sammefishe</name>
<description lang="en">Personal Gentoo overlay for froth.zone<description>
<homepage>https://git.froth.zone/packaging/portage</homepage>
<owner type="person">
<email>sam@samtherapy.net</email>
<name>Sam Therapy</name>
</owner>
<source type="git">https://git.froth.zone/packaging/portage.git</source>
<feed>https://git.froth.zone/packaging/portage.rss</feed>
</repo>
</repositories>

View file

@ -199,5 +199,6 @@ DIST windows_x86_64_msvc-0.42.0.crate 659377 BLAKE2B f01dbfcb86dcb7301790a1a7046
DIST winreg-0.10.1.crate 25725 BLAKE2B db536f2a098e4ff6ae4ff80a19bd2029030d68007c3d6100f5135da1a7c223463fc17640f533bc1d4e8c53e9becb186d98351719b3b6276802c68cc755b9ba4e SHA512 09f2d18f62c3c427ebed40d667b672bb778629502ad3c39541f324b2d5ac41f0822c98b7e5320314144130580da46f1e8e51928941850e7d4af28455a564360c
DIST xattr-0.2.2.crate 11750 BLAKE2B a5fc393d16935411a89e152e7afe9622f5b78cc207c1f3980c65f26adbe177efaa6c93e0c6ecac4ee0687609a932c957efb11678c9176d44010eebee651fc84c SHA512 a89d34313c35ab02d6ea25675c99f9c9650dee40a76223d62941edda43b3d2db83ed223bada129625b3cf8487c293646ce9980afc6dba8888fa078d5aa035cab
DIST zip-0.2.8.crate 22547 BLAKE2B 3c0647ab3ca417ac2b2f56463223e95b08d93c8628f7b8811ad4f3e898ac9bdd3d14bde80312e20ee366cfc8475e635c0a00f45aa933b2046b0230359ad3aaad SHA512 f96be63ba04915ea9505a5f486c1b47171b2ae585fc13b1356405b63032a71a9cd387cf82fe4c49616a64cde0002c6c244991c4a5c1e72c7359802362ed4a690
EBUILD volta-1.1.1.ebuild 4964 BLAKE2B 9f56d837e0f056a7331d1b92578f4eaed3b0c56ab852a213942f69e71c1b09309622eb9f3a4a78c9f81adb0392c5d8bf1b0b70b70fe85ea2251486f93a69961d SHA512 9d88e2c974f340a5b3ef0e51d432f6527fed25bef4f61a48240d4973752c59842318f6860981698e0fd5d06e7be214490ad45c56572894d1743b7da424364185
EBUILD volta-1.1.1.ebuild 4955 BLAKE2B 7f4127ae51cdd71c5c1861e64be9bfff55d527cb305073c5e3b65e481fa70a89cb0ade3d79ec6e7f41035109d631092c53f37347b4c1b1384830371761769185 SHA512 3e3e2dd5632f99e3cb1e3591db51005b27dfdadc93414172feb6634ec6a0f070f45047a583e8e3e677d26896aa37d3047a6d7cbb39d8d0e41d25c65810cbdf47
EBUILD volta-9999.ebuild 1133 BLAKE2B ad1a69979be8e2cbdb767a35b2bb55d365555cb1bfeb0d846860cee759e27f4aeee4380aa9061f3b1b4fa2100119c60b1085c884f6976e4fb05130be58f5f201 SHA512 691007579cff003d69d15395463595b53593ecd2cef2491f8625c37969983d54be86ab607548bac2c792d2e0b0c44e9f407fcc2f3428b7bb90ca17141be3d90a
MISC metadata.xml 325 BLAKE2B 15ee3726574fc72ac5cfc6063a8d0b9d68ecd8932d5d6fd0c6a8876e8d89d69e1e25da4d48a06f5f05a6114a5606ff3ba69f1398e928c18b4bf1d80e7986d49d SHA512 80e659e8abbbc4837363fedb93d58240c110b76a65cad12382fcf604a893e9e24b01e3741c8150edf4fa43d0815da5d4951c1758d697a340fa8a7f807771ef4d

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sam@samtherapy.net</email>
<name>Sam Therapy</name>
</maintainer>
<upstream>
<remote-id type='github'>volta-cli/volta</remote-id>
</upstream>
</pkgmetadata>

View file

@ -206,9 +206,9 @@ CRATES="
"
declare -A GIT_CRATES=(
[semver]="https://github.com/mikrostew/semver;7583eb352dc181ccd09978fd2b16461c1b1669c1;semver-%commit%"
[semver-parser]="https://github.com/mikrostew/semver-parser;f5c74268a09eef16a289a667ca7b4925e690fe13;semver-parser-%commit%"
[detect-indent]="https://github.com/stefanpenner/detect-indent-rs;f645bcc81bfb1f9745c4a4dec7c7f6faf3f84ec5;detect-indent-rs-%commit%"
[semver]="https://github.com/mikrostew/semver;7583eb352dc181ccd09978fd2b16461c1b1669c1;semver-%commit%"
[semver-parser]="https://github.com/mikrostew/semver-parser;f5c74268a09eef16a289a667ca7b4925e690fe13;semver-parser-%commit%"
[detect-indent]="https://github.com/stefanpenner/detect-indent-rs;f645bcc81bfb1f9745c4a4dec7c7f6faf3f84ec5;detect-indent-rs-%commit%"
)
inherit cargo