[gentoo-commits] repo/proj/guru:master commit in: net-libs/kcgi/
commit: 319ee2331969fd6470c1bc6c09393bd99b2d4656 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Tue Oct 29 01:49:12 2024 + Commit: David Roman gmail com> CommitDate: Tue Oct 29 02:07:00 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=319ee233 net-libs/kcgi: add 0.13.4, drop old Closes: https://bugs.gentoo.org/884909 Closes: https://bugs.gentoo.org/921120 Closes: https://bugs.gentoo.org/921122 Closes: https://bugs.gentoo.org/921121 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> net-libs/kcgi/Manifest | 3 +- net-libs/kcgi/kcgi-0.12.5.ebuild | 141 -- net-libs/kcgi/kcgi-0.13.0.ebuild | 142 --- net-libs/kcgi/kcgi-0.13.4.ebuild | 92 + 4 files changed, 93 insertions(+), 285 deletions(-) diff --git a/net-libs/kcgi/Manifest b/net-libs/kcgi/Manifest index 40810127e..66a1ab73d 100644 --- a/net-libs/kcgi/Manifest +++ b/net-libs/kcgi/Manifest @@ -1,3 +1,2 @@ -DIST kcgi-0.12.5.tgz 247454 BLAKE2B 1aebd9d62977e22a6a6538b591c40efab53282fd6f28809330c34bfb825798b837003cf0b492f3c3bc79c2ebf3054b466b9e290c156aceee553ef8af6e0a7f07 SHA512 61c28f165b0c1024e4b22fd4e725d79c4e2800b0c6a7fae1473e33608b3299b5ad8630d87aab3e12358dfb6d1c3cd0eb0ed20fa0da1bcc35cc6df8106440 -DIST kcgi-0.13.0.tgz 243127 BLAKE2B e3f4f42450cf3ba5b7f3199e11d1ee57bd2b16f55d662c6989f486811fb49fb1dcba62864320ee1962db5b0cde026db832d6935c14a79f43d4b19383a630f392 SHA512 b07168d87ad55a403120bfe79ac37e29803047bf663bb50ead0a758a1636b9fc77fd3aba45eb52b2f80cd103f1878e861d99e22bc6eefd2dd742ac82f4dbc969 DIST kcgi-0.13.3.tgz 249621 BLAKE2B a503031e8d0cd87eaab7920d1392f51276af723e59baee85a7fd02abfd294d151cc2ccf633207d7e40704fe9d71779d5d8c5582fc28fba02b41b62a924ce7003 SHA512 272ffec2fa31dc465b66c0c67ed5f5e1d9e5ebafbe17e84586299f4a266c1344d127ef04fda284b91a596fc4c6bc06f6e50a784b62bf198c9d3d06c210ae2282 +DIST kcgi-0.13.4.tgz 269175 BLAKE2B 0d19cb6a4ee8bd49968c54ede85abdcd84d05460eed40de3f3445b5fce7e1377612ee5e70877d1261746dffd9c703387c6e3ee32a2ec99b6a8ce0a4874ff9e0b SHA512 070079a015e1bfbb575db16ef6ab40f0c2bbfcc166c83c83b2ac162ed3d5dd82764896b34a5bf125376079cdf040b59ea2bbcdf144d740b829e5113fd81c3a20 diff --git a/net-libs/kcgi/kcgi-0.12.5.ebuild b/net-libs/kcgi/kcgi-0.12.5.ebuild deleted file mode 100644 index bf6245071..0 --- a/net-libs/kcgi/kcgi-0.12.5.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic multilib multiprocessing toolchain-funcs - -DESCRIPTION="Minimal CGI library for web applications" -HOMEPAGE="https://kristaps.bsd.lv/kcgi/"; - -if [[ ${PV} == ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/kristapsdz/${PN}"; -else - SRC_URI="https://kristaps.bsd.lv/${PN}/snapshots/${P}.tgz"; - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="ISC" -SLOT="0" -IUSE="static-libs test" -RESTRICT="!test? ( test )" - -BDEPEND="dev-build/bmake" -RDEPEND=" - app-crypt/libmd - virtual/libcrypt -" -DEPEND="${RDEPEND} - test? ( net-misc/curl[static-libs(-)] ) -" - -PATCHES=( "${FILESDIR}"/${PN}-$(ver_cut 1-2)-ldflags.patch ) - -_get_version_component_count() { - local cnt=( $(ver_rs 1- ' ') ) - echo ${#cnt[@]} || die -} - -static_to_shared() { - local libstatic=${1} - shift - local libname=$(basename ${libstatic%.a}) - local soname=${libname}$(get_libname $(ver_cut 1-2)) - local libdir=$(dirname ${libstatic}) - - einfo "Making ${soname} from ${libstatic}" - if [[ ${CHOST} == *-darwin* ]] ; then - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -dynamiclib -install_name "${EPREFIX}"/usr/lib/"${soname}" \ - -Wl,-all_load -Wl,${libstatic} \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - else - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -shared -Wl,-soname=${soname} \ - -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - - if [[ $(_get_version_component_count) -ge 1 ]] ; then - ln -s ${soname} ${libdir}/${libname}$(get_libname $(ver_cut 1)) || die - fi - - ln -s ${soname} ${libdir}/${libname}$(get_libname) || die - fi -} - -src_prepare() { - default - - # disable failing tests - sed -e '/\s*regress\/test-debug-.*/d' -i Makefile || die - - # ld: multiple definition of `dummy' - local deselect=( sandbox-{capsicum,darwin,pledge,seccomp-filter}.o ) - case ${CHOST} in - *-linux-*) - deselect=( "${deselect[@]/sandbox-seccomp-filter.o}" ) - ;; - *-darwin*) -
[gentoo-commits] repo/proj/guru:master commit in: net-libs/kcgi/
commit: f3b87fb167f3669954fe6cdbb52500fe27f8b326 Author: Aisha Tammy aisha cc> AuthorDate: Fri Dec 29 01:33:50 2023 + Commit: David Roman gmail com> CommitDate: Fri Dec 29 01:34:32 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3b87fb1 net-libs/kcgi: add 0.13.3 Signed-off-by: Aisha Tammy aisha.cc> net-libs/kcgi/Manifest | 1 + net-libs/kcgi/kcgi-0.13.3.ebuild | 96 2 files changed, 97 insertions(+) diff --git a/net-libs/kcgi/Manifest b/net-libs/kcgi/Manifest index f043144c50..40810127ea 100644 --- a/net-libs/kcgi/Manifest +++ b/net-libs/kcgi/Manifest @@ -1,2 +1,3 @@ DIST kcgi-0.12.5.tgz 247454 BLAKE2B 1aebd9d62977e22a6a6538b591c40efab53282fd6f28809330c34bfb825798b837003cf0b492f3c3bc79c2ebf3054b466b9e290c156aceee553ef8af6e0a7f07 SHA512 61c28f165b0c1024e4b22fd4e725d79c4e2800b0c6a7fae1473e33608b3299b5ad8630d87aab3e12358dfb6d1c3cd0eb0ed20fa0da1bcc35cc6df8106440 DIST kcgi-0.13.0.tgz 243127 BLAKE2B e3f4f42450cf3ba5b7f3199e11d1ee57bd2b16f55d662c6989f486811fb49fb1dcba62864320ee1962db5b0cde026db832d6935c14a79f43d4b19383a630f392 SHA512 b07168d87ad55a403120bfe79ac37e29803047bf663bb50ead0a758a1636b9fc77fd3aba45eb52b2f80cd103f1878e861d99e22bc6eefd2dd742ac82f4dbc969 +DIST kcgi-0.13.3.tgz 249621 BLAKE2B a503031e8d0cd87eaab7920d1392f51276af723e59baee85a7fd02abfd294d151cc2ccf633207d7e40704fe9d71779d5d8c5582fc28fba02b41b62a924ce7003 SHA512 272ffec2fa31dc465b66c0c67ed5f5e1d9e5ebafbe17e84586299f4a266c1344d127ef04fda284b91a596fc4c6bc06f6e50a784b62bf198c9d3d06c210ae2282 diff --git a/net-libs/kcgi/kcgi-0.13.3.ebuild b/net-libs/kcgi/kcgi-0.13.3.ebuild new file mode 100644 index 00..6edf6fc1c9 --- /dev/null +++ b/net-libs/kcgi/kcgi-0.13.3.ebuild @@ -0,0 +1,96 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic multilib multiprocessing toolchain-funcs + +DESCRIPTION="Minimal CGI library for web applications" +HOMEPAGE="https://kristaps.bsd.lv/kcgi/"; + +if [[ ${PV} == ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/kristapsdz/${PN}"; +else + SRC_URI="https://kristaps.bsd.lv/${PN}/snapshots/${P}.tgz"; + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND="sys-devel/bmake" +RDEPEND=" + app-crypt/libmd + virtual/libcrypt +" +DEPEND="${RDEPEND} + test? ( net-misc/curl[static-libs(-)] ) +" + +src_prepare() { + default + + # ld: multiple definition of `dummy' + local deselect=( sandbox-{capsicum,darwin,pledge,seccomp-filter}.o ) + case ${CHOST} in + *-linux-*) + deselect=( "${deselect[@]/sandbox-seccomp-filter.o}" ) + ;; + *-darwin*) + deselect=( "${deselect[@]/sandbox-darwin.o}" ) + ;; + *-freebsd*) + deselect=( "${deselect[@]/sandbox-capsicum.o}" ) + ;; + *-openbsd*) + deselect=( "${deselect[@]/sandbox-pledge.o}" ) + ;; + esac + + for obj in "${deselect[@]}"; do + # elements are not deleted completely from the array + if [[ -n "${obj}" ]]; then + sed "/${obj}/d" -i Makefile || die + fi + done +} + +src_configure() { + tc-export CC AR + append-cflags -fPIC + + append-cppflags -DENABLE_SECCOMP_FILTER=1 + append-cppflags -DSANDBOX_SECCOMP_DEBUG # seccomp may cause problems + + # note: not an autoconf configure script + conf_args=( + CPPFLAGS="${CPPFLAGS}" + LDFLAGS="${LDFLAGS}" + PREFIX="${EPREFIX}"/usr + MANDIR="${EPREFIX}"/usr/share/man + LIBDIR="${EPREFIX}"/usr/$(get_libdir) + SBINDIR="${EPREFIX}"/usr/sbin + ) + + ./configure "${conf_args[@]}" || die +} + +src_compile() { + bmake || die +} + +src_test() { + # TODO: add `afl` tests + bmake regress || die +} + +src_install() { + bmake DESTDIR="${D}" \ + DATADIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ + install || die + + einstalldocs +}
[gentoo-commits] repo/proj/guru:master commit in: net-libs/kcgi/
commit: f7989067085a38f41fa51792b6e86fb0a06f Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Tue Aug 10 21:12:13 2021 + Commit: Florian Schmaus gentoo org> CommitDate: Tue Aug 10 21:12:13 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7989067 net-libs/kcgi: convert static libraries to shared Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> net-libs/kcgi/kcgi-0.12.5.ebuild | 68 ++-- 1 file changed, 65 insertions(+), 3 deletions(-) diff --git a/net-libs/kcgi/kcgi-0.12.5.ebuild b/net-libs/kcgi/kcgi-0.12.5.ebuild index 79afbe7c8..380808248 100644 --- a/net-libs/kcgi/kcgi-0.12.5.ebuild +++ b/net-libs/kcgi/kcgi-0.12.5.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multiprocessing toolchain-funcs +inherit flag-o-matic multilib multiprocessing toolchain-funcs DESCRIPTION="Minimal CGI library for web applications" HOMEPAGE="https://kristaps.bsd.lv/kcgi/"; @@ -32,15 +32,72 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${PN}-$(ver_cut 1-2)-ldflags.patch ) +_get_version_component_count() { + local cnt=( $(ver_rs 1- ' ') ) + echo ${#cnt[@]} || die +} + +static_to_shared() { + local libstatic=${1} + shift + local libname=$(basename ${libstatic%.a}) + local soname=${libname}$(get_libname $(ver_cut 1-2)) + local libdir=$(dirname ${libstatic}) + + einfo "Making ${soname} from ${libstatic}" + if [[ ${CHOST} == *-darwin* ]] ; then + ${LINK:-$(tc-getCC)} ${LDFLAGS} \ + -dynamiclib -install_name "${EPREFIX}"/usr/lib/"${soname}" \ + -Wl,-all_load -Wl,${libstatic} \ + "$@" -o ${libdir}/${soname} || die "${soname} failed" + else + ${LINK:-$(tc-getCC)} ${LDFLAGS} \ + -shared -Wl,-soname=${soname} \ + -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \ + "$@" -o ${libdir}/${soname} || die "${soname} failed" + + if [[ $(_get_version_component_count) -ge 1 ]] ; then + ln -s ${soname} ${libdir}/${libname}$(get_libname $(ver_cut 1)) || die + fi + + ln -s ${soname} ${libdir}/${libname}$(get_libname) || die + fi +} + src_prepare() { default # disable failing tests sed -e '/\s*regress\/test-debug-.*/d' -i Makefile || die + + # ld: multiple definition of `dummy' + local deselect=( sandbox-{capsicum,darwin,pledge,seccomp-filter}.o ) + case ${CHOST} in + *-linux-*) + deselect=( "${deselect[@]/sandbox-seccomp-filter.o}" ) + ;; + *-darwin*) + deselect=( "${deselect[@]/sandbox-darwin.o}" ) + ;; + *-freebsd*) + deselect=( "${deselect[@]/sandbox-capsicum.o}" ) + ;; + *-openbsd*) + deselect=( "${deselect[@]/sandbox-pledge.o}" ) + ;; + esac + + for obj in "${deselect[@]}"; do + # elements are not deleted completely from the array + if [[ -n "${obj}" ]]; then + sed "/${obj}/d" -i Makefile || die + fi + done } src_configure() { tc-export CC AR + append-cflags -fPIC # note: not an autoconf configure script conf_args=( @@ -56,6 +113,12 @@ src_configure() { src_compile() { bmake -j$(makeopts_jobs) || die + + static_to_shared libkcgi.a -lz -lmd + static_to_shared libkcgihtml.a + static_to_shared libkcgijson.a -lm + static_to_shared libkcgiregress.a + static_to_shared libkcgixml.a } src_test() { @@ -69,10 +132,9 @@ src_install() { DATADIR="/usr/share/doc/${PF}/examples" \ install || die - # kcgi does not install shared libraries + dolib.so lib*$(get_libname)* if ! use static-libs; then find "${ED}" -name '*.a' -delete || die - find "${ED}" -name '*.pc' -delete || die fi einstalldocs
[gentoo-commits] repo/proj/guru:master commit in: net-libs/kcgi/
commit: bb86ffcb54988f631098acfa179e13c3ea967c41 Author: Anna Vyalkova sysrq in> AuthorDate: Sun May 2 03:04:26 2021 + Commit: Theo Anderson posteo de> CommitDate: Sun May 2 03:06:07 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bb86ffcb net-libs/kcgi: disable failing *-debug tests Closes: https://bugs.gentoo.org/784656 Signed-off-by: Anna Vyalkova sysrq.in> net-libs/kcgi/kcgi-0.12.3.ebuild | 3 +++ net-libs/kcgi/kcgi-0.12.4.ebuild | 3 +++ net-libs/kcgi/kcgi-.ebuild | 3 +++ 3 files changed, 9 insertions(+) diff --git a/net-libs/kcgi/kcgi-0.12.3.ebuild b/net-libs/kcgi/kcgi-0.12.3.ebuild index 418ef22f2..4a39516f4 100644 --- a/net-libs/kcgi/kcgi-0.12.3.ebuild +++ b/net-libs/kcgi/kcgi-0.12.3.ebuild @@ -30,6 +30,9 @@ src_prepare() { export CC="$(tc-getCC)" export AR="$(tc-getAR)" + # disable failing tests + sed -e '/\s*regress\/test-debug-.*/d' -i Makefile || die + default } diff --git a/net-libs/kcgi/kcgi-0.12.4.ebuild b/net-libs/kcgi/kcgi-0.12.4.ebuild index 418ef22f2..4a39516f4 100644 --- a/net-libs/kcgi/kcgi-0.12.4.ebuild +++ b/net-libs/kcgi/kcgi-0.12.4.ebuild @@ -30,6 +30,9 @@ src_prepare() { export CC="$(tc-getCC)" export AR="$(tc-getAR)" + # disable failing tests + sed -e '/\s*regress\/test-debug-.*/d' -i Makefile || die + default } diff --git a/net-libs/kcgi/kcgi-.ebuild b/net-libs/kcgi/kcgi-.ebuild index 418ef22f2..4a39516f4 100644 --- a/net-libs/kcgi/kcgi-.ebuild +++ b/net-libs/kcgi/kcgi-.ebuild @@ -30,6 +30,9 @@ src_prepare() { export CC="$(tc-getCC)" export AR="$(tc-getAR)" + # disable failing tests + sed -e '/\s*regress\/test-debug-.*/d' -i Makefile || die + default }
[gentoo-commits] repo/proj/guru:master commit in: net-libs/kcgi/
commit: c7eff13dda8811f88acda894360f181a61c9b96b Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Fri Apr 30 16:05:42 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Fri Apr 30 16:11:53 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7eff13d net-libs/kcgi: Export CC and AR in src_prepare(). Build system falls back to hard-coded defaults otherwise. Closes: https://bugs.gentoo.org/785181 Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> net-libs/kcgi/kcgi-0.12.3.ebuild | 14 +- net-libs/kcgi/kcgi-0.12.4.ebuild | 14 +- net-libs/kcgi/kcgi-.ebuild | 14 +- 3 files changed, 27 insertions(+), 15 deletions(-) diff --git a/net-libs/kcgi/kcgi-0.12.3.ebuild b/net-libs/kcgi/kcgi-0.12.3.ebuild index abebd56bc..418ef22f2 100644 --- a/net-libs/kcgi/kcgi-0.12.3.ebuild +++ b/net-libs/kcgi/kcgi-0.12.3.ebuild @@ -26,6 +26,13 @@ DEPEND=" test? ( net-misc/curl[static-libs] ) " +src_prepare() { + export CC="$(tc-getCC)" + export AR="$(tc-getAR)" + + default +} + src_configure() { ./configure PREFIX="${EPREFIX}/usr" \ MANDIR="${EPREFIX}/usr/share/man" \ @@ -35,18 +42,15 @@ src_configure() { } src_compile() { - bmake -j$(makeopts_jobs) \ - CC="$(tc-getCC)" || die + bmake -j$(makeopts_jobs) || die } src_test() { - bmake -j$(makeopts_jobs) \ - CC="$(tc-getCC)" regress || die + bmake -j$(makeopts_jobs) regress || die } src_install() { bmake -j$(makeopts_jobs) \ - CC="$(tc-getCC)" \ DESTDIR="${D}" \ MANDIR=/usr/share/man \ install || die diff --git a/net-libs/kcgi/kcgi-0.12.4.ebuild b/net-libs/kcgi/kcgi-0.12.4.ebuild index abebd56bc..418ef22f2 100644 --- a/net-libs/kcgi/kcgi-0.12.4.ebuild +++ b/net-libs/kcgi/kcgi-0.12.4.ebuild @@ -26,6 +26,13 @@ DEPEND=" test? ( net-misc/curl[static-libs] ) " +src_prepare() { + export CC="$(tc-getCC)" + export AR="$(tc-getAR)" + + default +} + src_configure() { ./configure PREFIX="${EPREFIX}/usr" \ MANDIR="${EPREFIX}/usr/share/man" \ @@ -35,18 +42,15 @@ src_configure() { } src_compile() { - bmake -j$(makeopts_jobs) \ - CC="$(tc-getCC)" || die + bmake -j$(makeopts_jobs) || die } src_test() { - bmake -j$(makeopts_jobs) \ - CC="$(tc-getCC)" regress || die + bmake -j$(makeopts_jobs) regress || die } src_install() { bmake -j$(makeopts_jobs) \ - CC="$(tc-getCC)" \ DESTDIR="${D}" \ MANDIR=/usr/share/man \ install || die diff --git a/net-libs/kcgi/kcgi-.ebuild b/net-libs/kcgi/kcgi-.ebuild index abebd56bc..418ef22f2 100644 --- a/net-libs/kcgi/kcgi-.ebuild +++ b/net-libs/kcgi/kcgi-.ebuild @@ -26,6 +26,13 @@ DEPEND=" test? ( net-misc/curl[static-libs] ) " +src_prepare() { + export CC="$(tc-getCC)" + export AR="$(tc-getAR)" + + default +} + src_configure() { ./configure PREFIX="${EPREFIX}/usr" \ MANDIR="${EPREFIX}/usr/share/man" \ @@ -35,18 +42,15 @@ src_configure() { } src_compile() { - bmake -j$(makeopts_jobs) \ - CC="$(tc-getCC)" || die + bmake -j$(makeopts_jobs) || die } src_test() { - bmake -j$(makeopts_jobs) \ - CC="$(tc-getCC)" regress || die + bmake -j$(makeopts_jobs) regress || die } src_install() { bmake -j$(makeopts_jobs) \ - CC="$(tc-getCC)" \ DESTDIR="${D}" \ MANDIR=/usr/share/man \ install || die
[gentoo-commits] repo/proj/guru:master commit in: net-libs/kcgi/
commit: 720aeb7e0486e67f967fd2e2f1f5b1288ed61e9e Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Fri Apr 30 16:02:59 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Fri Apr 30 16:11:40 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=720aeb7e net-libs/kcgi: Add || die to find. Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> net-libs/kcgi/kcgi-0.12.3.ebuild | 2 +- net-libs/kcgi/kcgi-0.12.4.ebuild | 2 +- net-libs/kcgi/kcgi-.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net-libs/kcgi/kcgi-0.12.3.ebuild b/net-libs/kcgi/kcgi-0.12.3.ebuild index cc222867b..abebd56bc 100644 --- a/net-libs/kcgi/kcgi-0.12.3.ebuild +++ b/net-libs/kcgi/kcgi-0.12.3.ebuild @@ -50,5 +50,5 @@ src_install() { DESTDIR="${D}" \ MANDIR=/usr/share/man \ install || die - find "${ED}/usr/$(get_libdir)" -name "*.a" -delete + find "${ED}/usr/$(get_libdir)" -name "*.a" -delete || die } diff --git a/net-libs/kcgi/kcgi-0.12.4.ebuild b/net-libs/kcgi/kcgi-0.12.4.ebuild index cc222867b..abebd56bc 100644 --- a/net-libs/kcgi/kcgi-0.12.4.ebuild +++ b/net-libs/kcgi/kcgi-0.12.4.ebuild @@ -50,5 +50,5 @@ src_install() { DESTDIR="${D}" \ MANDIR=/usr/share/man \ install || die - find "${ED}/usr/$(get_libdir)" -name "*.a" -delete + find "${ED}/usr/$(get_libdir)" -name "*.a" -delete || die } diff --git a/net-libs/kcgi/kcgi-.ebuild b/net-libs/kcgi/kcgi-.ebuild index cc222867b..abebd56bc 100644 --- a/net-libs/kcgi/kcgi-.ebuild +++ b/net-libs/kcgi/kcgi-.ebuild @@ -50,5 +50,5 @@ src_install() { DESTDIR="${D}" \ MANDIR=/usr/share/man \ install || die - find "${ED}/usr/$(get_libdir)" -name "*.a" -delete + find "${ED}/usr/$(get_libdir)" -name "*.a" -delete || die }
[gentoo-commits] repo/proj/guru:master commit in: net-libs/kcgi/
commit: b4c55914b3e8435908fa21bade5c89c882e89a8a Author: Aisha Tammy aisha cc> AuthorDate: Sat Jan 23 13:29:27 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sat Jan 23 13:29:27 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b4c55914 net-libs/kcgi: version bump to 0.12.3 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Aisha Tammy aisha.cc> net-libs/kcgi/Manifest | 1 + net-libs/kcgi/kcgi-0.12.3.ebuild | 54 2 files changed, 55 insertions(+) diff --git a/net-libs/kcgi/Manifest b/net-libs/kcgi/Manifest index 6ce6a85e..255cd7c7 100644 --- a/net-libs/kcgi/Manifest +++ b/net-libs/kcgi/Manifest @@ -1 +1,2 @@ DIST kcgi-0.12.2.tgz 243979 BLAKE2B a142cf80ffc18677b245172d9af63104816eb12e377b99593186c7b8855459513c87c43eaa0ec38328684f17d22fae2b19c28bd30b5f4983ac538d43c7aabf52 SHA512 f28dd2134936036c44bbd3fc094e512c52019e0dc39f085a396924331c0e7f0bb940cee8afae43147674065b7d5a1d057c56cfdb0040131b72da53dff2289d31 +DIST kcgi-0.12.3.tgz 245425 BLAKE2B 8368e7c6ed48e876ee7e6d4e9689166eeca84681cbd65014af4537138b4ace00f1e02a981688bacdda4e7ec6a49d9d46bff3f6cbb0c03e91bff7768fefab8429 SHA512 70a79d10ac1fa2c5d7fc6a8a3b52ddd174842117b45b22a28068ed49649c4165ec1464597c2168e20200fedd39212811dbecfa23a9494989b4ab11b0a51c0fd1 diff --git a/net-libs/kcgi/kcgi-0.12.3.ebuild b/net-libs/kcgi/kcgi-0.12.3.ebuild new file mode 100644 index ..cc222867 --- /dev/null +++ b/net-libs/kcgi/kcgi-0.12.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multiprocessing toolchain-funcs + +DESCRIPTION="minimal CGI library for web applications" +HOMEPAGE="https://kristaps.bsd.lv/kcgi/"; + +if [[ ${PV} == ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/kristapsdz/kcgi"; +else + SRC_URI="https://kristaps.bsd.lv/kcgi/snapshots/${P}.tgz"; + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="sys-devel/bmake" +DEPEND=" + test? ( net-misc/curl[static-libs] ) +" + +src_configure() { + ./configure PREFIX="${EPREFIX}/usr" \ + MANDIR="${EPREFIX}/usr/share/man" \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + SBINDIR="${EPREFIX}/usr/bin" || die + echo 'LDADD_LIB_SOCKET += ${LDFLAGS}' >> Makefile.configure || die +} + +src_compile() { + bmake -j$(makeopts_jobs) \ + CC="$(tc-getCC)" || die +} + +src_test() { + bmake -j$(makeopts_jobs) \ + CC="$(tc-getCC)" regress || die +} + +src_install() { + bmake -j$(makeopts_jobs) \ + CC="$(tc-getCC)" \ + DESTDIR="${D}" \ + MANDIR=/usr/share/man \ + install || die + find "${ED}/usr/$(get_libdir)" -name "*.a" -delete +}
[gentoo-commits] repo/proj/guru:master commit in: net-libs/kcgi/
commit: 91c284872ed0322f8bf402685e749d20c92c0d71 Author: Aisha Tammy aisha cc> AuthorDate: Sat Jan 23 13:29:50 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sat Jan 23 13:29:50 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=91c28487 net-libs/kcgi: drop old version Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Aisha Tammy aisha.cc> net-libs/kcgi/Manifest | 1 - net-libs/kcgi/kcgi-0.12.2.ebuild | 54 2 files changed, 55 deletions(-) diff --git a/net-libs/kcgi/Manifest b/net-libs/kcgi/Manifest index 255cd7c7..4266650b 100644 --- a/net-libs/kcgi/Manifest +++ b/net-libs/kcgi/Manifest @@ -1,2 +1 @@ -DIST kcgi-0.12.2.tgz 243979 BLAKE2B a142cf80ffc18677b245172d9af63104816eb12e377b99593186c7b8855459513c87c43eaa0ec38328684f17d22fae2b19c28bd30b5f4983ac538d43c7aabf52 SHA512 f28dd2134936036c44bbd3fc094e512c52019e0dc39f085a396924331c0e7f0bb940cee8afae43147674065b7d5a1d057c56cfdb0040131b72da53dff2289d31 DIST kcgi-0.12.3.tgz 245425 BLAKE2B 8368e7c6ed48e876ee7e6d4e9689166eeca84681cbd65014af4537138b4ace00f1e02a981688bacdda4e7ec6a49d9d46bff3f6cbb0c03e91bff7768fefab8429 SHA512 70a79d10ac1fa2c5d7fc6a8a3b52ddd174842117b45b22a28068ed49649c4165ec1464597c2168e20200fedd39212811dbecfa23a9494989b4ab11b0a51c0fd1 diff --git a/net-libs/kcgi/kcgi-0.12.2.ebuild b/net-libs/kcgi/kcgi-0.12.2.ebuild deleted file mode 100644 index cc222867.. --- a/net-libs/kcgi/kcgi-0.12.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multiprocessing toolchain-funcs - -DESCRIPTION="minimal CGI library for web applications" -HOMEPAGE="https://kristaps.bsd.lv/kcgi/"; - -if [[ ${PV} == ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/kristapsdz/kcgi"; -else - SRC_URI="https://kristaps.bsd.lv/kcgi/snapshots/${P}.tgz"; - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="ISC" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND="sys-devel/bmake" -DEPEND=" - test? ( net-misc/curl[static-libs] ) -" - -src_configure() { - ./configure PREFIX="${EPREFIX}/usr" \ - MANDIR="${EPREFIX}/usr/share/man" \ - LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ - SBINDIR="${EPREFIX}/usr/bin" || die - echo 'LDADD_LIB_SOCKET += ${LDFLAGS}' >> Makefile.configure || die -} - -src_compile() { - bmake -j$(makeopts_jobs) \ - CC="$(tc-getCC)" || die -} - -src_test() { - bmake -j$(makeopts_jobs) \ - CC="$(tc-getCC)" regress || die -} - -src_install() { - bmake -j$(makeopts_jobs) \ - CC="$(tc-getCC)" \ - DESTDIR="${D}" \ - MANDIR=/usr/share/man \ - install || die - find "${ED}/usr/$(get_libdir)" -name "*.a" -delete -}