Return-Path: X-Original-To: apmail-aurora-commits-archive@minotaur.apache.org Delivered-To: apmail-aurora-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37AD1180D8 for ; Mon, 3 Aug 2015 19:21:26 +0000 (UTC) Received: (qmail 96443 invoked by uid 500); 3 Aug 2015 19:21:26 -0000 Delivered-To: apmail-aurora-commits-archive@aurora.apache.org Received: (qmail 96412 invoked by uid 500); 3 Aug 2015 19:21:26 -0000 Mailing-List: contact commits-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list commits@aurora.apache.org Received: (qmail 96403 invoked by uid 99); 3 Aug 2015 19:21:25 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2015 19:21:25 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C9BE7E0922; Mon, 3 Aug 2015 19:21:25 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kevints@apache.org To: commits@aurora.apache.org Message-Id: <4e7c93b54b2a476dbcb950c405f364e7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: aurora git commit: Build Kerberos clients in RPM. Date: Mon, 3 Aug 2015 19:21:25 +0000 (UTC) Repository: aurora Updated Branches: refs/heads/master fb0325065 -> 7fdcfef17 Build Kerberos clients in RPM. Testing Done: None - I don't have a test environment for RPMs. Bugs closed: AURORA-1410 Reviewed at https://reviews.apache.org/r/37047/ Project: http://git-wip-us.apache.org/repos/asf/aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/7fdcfef1 Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/7fdcfef1 Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/7fdcfef1 Branch: refs/heads/master Commit: 7fdcfef171a6cefb9edb121a6df2e8a95999549a Parents: fb03250 Author: Kevin Sweeney Authored: Mon Aug 3 12:21:09 2015 -0700 Committer: Kevin Sweeney Committed: Mon Aug 3 12:21:09 2015 -0700 ---------------------------------------------------------------------- build-support/packaging/rpm/aurora.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora/blob/7fdcfef1/build-support/packaging/rpm/aurora.spec ---------------------------------------------------------------------- diff --git a/build-support/packaging/rpm/aurora.spec b/build-support/packaging/rpm/aurora.spec index 3003ced..5ec516f 100644 --- a/build-support/packaging/rpm/aurora.spec +++ b/build-support/packaging/rpm/aurora.spec @@ -70,6 +70,7 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: git BuildRequires: java-%{JAVA_VERSION}-openjdk-devel +BuildRequires: krb5-devel BuildRequires: libcurl-devel BuildRequires: patch %if 0%{?rhel} && 0%{?rhel} < 7 @@ -102,6 +103,7 @@ resource isolation. Summary: A client for scheduling services against the Aurora scheduler Group: Development/Tools +Requires: krb5-libs %if 0%{?rhel} && 0%{?rhel} < 7 Requires: python27 %else @@ -177,8 +179,8 @@ popd ./gradle-%{GRADLE_VERSION}/bin/gradle installDist # Builds Aurora client PEX binaries. -./pants binary src/main/python/apache/aurora/admin:aurora_admin -./pants binary src/main/python/apache/aurora/client:aurora +./pants binary src/main/python/apache/aurora/kerberos:kaurora +./pants binary src/main/python/apache/aurora/kerberos:kaurora_admin # Builds Aurora Thermos and GC executor PEX binaries. ./pants binary src/main/python/apache/aurora/executor:thermos_executor @@ -222,6 +224,10 @@ for pex_binary in %{PEX_BINARIES}; do install -m 755 dist/${pex_binary}.pex %{buildroot}%{_bindir}/${pex_binary} done +# Strip the "k" from Kerberized client binaries. +mv %{buildroot}%{_bindir}/kaurora %{buildroot}%{_bindir}/aurora +mv %{buildroot}%{_bindir}/kaurora_admin %{buildroot}%{_bindir}/aurora_admin + # Installs all support scripting. %if 0%{?fedora} || 0%{?rhel} > 6 install -m 644 build-support/packaging/rpm/%{name}.service %{buildroot}%{_sysconfdir}/systemd/system/%{name}.service