[gentoo-commits] repo/gentoo:master commit in: app-misc/bottlerocket/

2022-10-15 Thread Ionen Wolkens
commit: 360a640ad90ee5a87a5dcaff4e0ca66c472fa053
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sat Oct 15 16:51:49 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Oct 15 20:06:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=360a640a

app-misc/bottlerocket: EAPI7->8, run eautoreconf for clang16

Also use https and respect CPPFLAGS.

Closes: https://bugs.gentoo.org/874321
Signed-off-by: Ionen Wolkens  gentoo.org>

 app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild | 28 ++
 1 file changed, 12 insertions(+), 16 deletions(-)

diff --git a/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild 
b/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild
index dbc423b04cb7..fef8fe2c07ac 100644
--- a/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild
+++ b/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild
@@ -1,39 +1,35 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit toolchain-funcs
+inherit autotools
 
 DESCRIPTION="CLI interface to the X-10 Firecracker Kit"
-HOMEPAGE="http://www.linuxha.com/bottlerocket/;
-SRC_URI="http://www.linuxha.com/${PN}/${P}.tar.gz;
+HOMEPAGE="https://www.linuxha.com/bottlerocket/;
+SRC_URI="https://www.linuxha.com/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2"
 SLOT="0"
-IUSE=""
 KEYWORDS="amd64 ~ppc ~sparc x86"
 
 src_prepare() {
default
-   # inset LDFLAGS
-   sed -i Makefile.in \
-   -e 's| -O2 ||g' \
-   -e '/ -o br /s|${CFLAGS}|& $(LDFLAGS)|g' \
-   || die "sed Makefile.in"
+
+   sed -e 's| -O2 ||' \
+   -e '/ -o br /s|${CFLAGS}|& $(CPPFLAGS) $(LDFLAGS)|' \
+   -i Makefile.in || die
+
+   eautoreconf #874321
 }
 
 src_configure() {
econf --with-x10port=/dev/firecracker
 }
 
-src_compile() {
-   emake CC="$(tc-getCC)"
-}
-
 src_install() {
-   dodoc README
dobin br
+   dodoc README
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/bottlerocket/

2019-01-17 Thread Mikle Kolyada
commit: 58afed25e10cb4b364a47f7d162e6cb9bb9c53ca
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Jan 17 17:26:37 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Jan 17 17:28:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58afed25

app-misc/bottlerocket: Drop old

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild | 44 --
 1 file changed, 44 deletions(-)

diff --git a/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild 
b/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild
deleted file mode 100644
index 4bebb91dd77..000
--- a/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit toolchain-funcs
-
-DESCRIPTION="CLI interface to the X-10 Firecracker Kit"
-HOMEPAGE="http://www.linuxha.com/bottlerocket/;
-SRC_URI="http://www.linuxha.com/${PN}/${P}.tar.gz;
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~sparc x86"
-IUSE=""
-
-src_prepare() {
-   # inset LDFLAGS
-   sed -i Makefile.in \
-   -e 's| -O2 ||g' \
-   -e '/ -o br /s|${CFLAGS}|& $(LDFLAGS)|g' \
-   || die "sed Makefile.in"
-}
-
-src_configure() {
-   econf --with-x10port=/dev/firecracker
-}
-
-src_compile() {
-   emake CC="$(tc-getCC)" || die "emake failed"
-}
-
-src_install() {
-   einstall || die "einstall"
-   dodoc README
-}
-
-pkg_postinst() {
-   elog
-   elog "Be sure to create a /dev/firecracker symlink to the"
-   elog "serial port that has the Firecracker serial interface"
-   elog "installed on it."
-   elog
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/bottlerocket/

2019-01-17 Thread Mikle Kolyada
commit: 90fa17076f146fa6fe6a252cd57242af5fed1a81
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Jan 17 17:25:45 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Jan 17 17:25:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90fa1707

app-misc/bottlerocket: amd64 stable wrt bug #675224

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild 
b/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild
index 40462ccff5f..dbc423b04cb 100644
--- a/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild
+++ b/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.linuxha.com/${PN}/${P}.tar.gz;
 LICENSE="LGPL-2"
 SLOT="0"
 IUSE=""
-KEYWORDS="~amd64 ~ppc ~sparc x86"
+KEYWORDS="amd64 ~ppc ~sparc x86"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: app-misc/bottlerocket/

2018-08-11 Thread Andreas Sturmlechner
commit: c493dd04a50d5560fe11b40293451ed893796584
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Wed Aug  1 11:01:51 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Aug 11 10:35:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c493dd04

app-misc/bottlerocket: EAPI7, improve ebuild

Closes: https://github.com/gentoo/gentoo/pull/9407

 app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild | 45 ++
 1 file changed, 45 insertions(+)

diff --git a/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild 
b/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild
new file mode 100644
index 000..882443c5b5f
--- /dev/null
+++ b/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="CLI interface to the X-10 Firecracker Kit"
+HOMEPAGE="http://www.linuxha.com/bottlerocket/;
+SRC_URI="http://www.linuxha.com/${PN}/${P}.tar.gz;
+
+LICENSE="LGPL-2"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+src_prepare() {
+   default
+   # inset LDFLAGS
+   sed -i Makefile.in \
+   -e 's| -O2 ||g' \
+   -e '/ -o br /s|${CFLAGS}|& $(LDFLAGS)|g' \
+   || die "sed Makefile.in"
+}
+
+src_configure() {
+   econf --with-x10port=/dev/firecracker
+}
+
+src_compile() {
+   emake CC="$(tc-getCC)"
+}
+
+src_install() {
+   dodoc README
+   dobin br
+}
+
+pkg_postinst() {
+   elog
+   elog "Be sure to create a /dev/firecracker symlink to the"
+   elog "serial port that has the Firecracker serial interface"
+   elog "installed on it."
+   elog
+}