public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/chname/files/, sys-apps/chname/
@ 2017-02-22  3:11 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2017-02-22  3:11 UTC (permalink / raw
  To: gentoo-commits

commit:     07d416833c07bed58b0c652d213937b40cfd74c9
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 03:10:44 2017 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 03:10:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07d41683

sys-apps/chname: version bump to 1.1

 sys-apps/chname/Manifest                     |  1 +
 sys-apps/chname/chname-1.1.ebuild            | 32 ++++++++++++++++++++++++++++
 sys-apps/chname/files/chname-1.1-flags.patch | 28 ++++++++++++++++++++++++
 3 files changed, 61 insertions(+)

diff --git a/sys-apps/chname/Manifest b/sys-apps/chname/Manifest
index 221435950c..e35f667dbe 100644
--- a/sys-apps/chname/Manifest
+++ b/sys-apps/chname/Manifest
@@ -1 +1,2 @@
 DIST chname-1.0.tar.gz 998 SHA256 a94d24870491f3a5671292379ba0fee7130a1ff2f7bc99dad04a4daacccb98d5 SHA512 9c36c779e39b2051f84af5cb728a6810b5ede4134dee6156eff02c689dd4184c537d1502b35f9d7792d3e1babbf66bc7192d006d957b188c61f915fc93c515d7 WHIRLPOOL ef7f93b686b66eeb65d7b244f447c4f07df35863c5df3d1c32ebc82e6339c2859b1ba8195fec4a317d86d0aa83025454b9a481bcf0c5f252061008d87879af6e
+DIST chname-1.1.tar.gz 8010 SHA256 4dd3961c641d79a9700b118c1fde8ecd2be5122470bef51d39ecbc601e5090fd SHA512 4194b48189f949a95a1f8037638acbdd4bd3734dbc1cd3eb7642a0a2acaa8ba75e48d43ff01029b64da34b36683da917f52809915108e61973cb1e097b2a0993 WHIRLPOOL 89667a366e506afec00ce2d04a364acd491ca2165fb2b8a9e6c022370978a43cd9eb36d6fee96b7e06d6cc0d0f130d44c9b8775d460a52c5379782f2835da58f

diff --git a/sys-apps/chname/chname-1.1.ebuild b/sys-apps/chname/chname-1.1.ebuild
new file mode 100644
index 0000000000..9f29b7b44a
--- /dev/null
+++ b/sys-apps/chname/chname-1.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Run a command with a new system hostname"
+HOMEPAGE="https://github.com/marineam/chname"
+SRC_URI="https://github.com/marineam/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=sys-kernel/linux-headers-2.6.16"
+RDEPEND=""
+
+PATCHES=(
+	"${FILESDIR}"/${P}-flags.patch
+)
+
+src_configure() {
+	tc-export CC
+}
+
+src_install() {
+	dobin "${PN}"
+	doman "${PN}.1"
+	dodoc README*
+}

diff --git a/sys-apps/chname/files/chname-1.1-flags.patch b/sys-apps/chname/files/chname-1.1-flags.patch
new file mode 100644
index 0000000000..2824b0f53e
--- /dev/null
+++ b/sys-apps/chname/files/chname-1.1-flags.patch
@@ -0,0 +1,28 @@
+From e835e6a379969f5f188d02843257fa581ade083b Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Tue, 21 Feb 2017 21:56:10 -0500
+Subject: [PATCH] fix handling of compiler settings
+
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 77e5731641ac..5b8485b6d849 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,9 +1,9 @@
+-CFLAGS:=-Wall
++CFLAGS += -Wall
+ 
+ all: chname
+ 
+ chname: chname.c
+-	$(CC) $(CFLAGS) -o chname chname.c
++	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o chname chname.c
+ 
+ clean:
+ 	$(RM) chname
+-- 
+2.11.1
+


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-22  3:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-22  3:11 [gentoo-commits] repo/gentoo:master commit in: sys-apps/chname/files/, sys-apps/chname/ Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox