From: W. Trevor King Date: Sat, 28 May 2011 14:06:45 +0000 (-0400) Subject: enewuser/enewgroup in monkeysphere ebuild. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4feef46cbd1a9af52b8b88236073f0e056a3f3e6;p=wtk-overlay.git enewuser/enewgroup in monkeysphere ebuild. --- diff --git a/app-crypt/monkeysphere/ChangeLog b/app-crypt/monkeysphere/ChangeLog index 38121fc..90443e1 100644 --- a/app-crypt/monkeysphere/ChangeLog +++ b/app-crypt/monkeysphere/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*monkeysphere-9999 (28 May 2011) + 28 May 2011; W. Trevor King monkeysphere-9999.ebuild : + - Add enewuser/enewgroup to support monkeysphere-host + *monkeysphere-9999 (25 May 2011) 25 May 2011; W. Trevor King ChangeLog, metadata.xml, monkeysphere-9999.ebuild : - Created ebuild suite for monkeysphere diff --git a/app-crypt/monkeysphere/Manifest b/app-crypt/monkeysphere/Manifest index d0429a1..6da40e6 100644 --- a/app-crypt/monkeysphere/Manifest +++ b/app-crypt/monkeysphere/Manifest @@ -1,3 +1,3 @@ -EBUILD monkeysphere-9999.ebuild 1240 RMD160 ff1ca94e3614ff0053d225d7e9092afdcebfed2e SHA1 e9a087cae930dd088d399cca21e0e085dcc48f53 SHA256 2cb7bc7df11f7a80a4b386c818cfdd49de88f715a720320d80bb2be817efd0b2 -MISC ChangeLog 678 RMD160 621c29e3d8be87ccdc8a803a9bcded2c974efdb4 SHA1 4ab9f1d412b1726bdfd96d7175fdecb9fad7f2bb SHA256 7240abbc90886316787f1620c418e8f4d2dc0b76682d401481edb36ec35f0fd1 +EBUILD monkeysphere-9999.ebuild 1341 RMD160 966fbbf4887b92bef9caa90bfca63e0dcad18db2 SHA1 96cf2d155d077dbfa297e1c95c818ea259df5c47 SHA256 f297b48a053f1cf8650091174f37949e97f71b2072d2ff13475e7906dccfbd26 +MISC ChangeLog 844 RMD160 467e0da027a97bc7584ddffc2dc899cda9f5d794 SHA1 b1291855c8b54af7e7933e30c23cb7ba613aa792 SHA256 47c91e89263eeed0369532aab85aab4e7bf60f813c1c62590e8e23ac95c4926c MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/app-crypt/monkeysphere/monkeysphere-9999.ebuild b/app-crypt/monkeysphere/monkeysphere-9999.ebuild index 55a929a..4cbb5d6 100644 --- a/app-crypt/monkeysphere/monkeysphere-9999.ebuild +++ b/app-crypt/monkeysphere/monkeysphere-9999.ebuild @@ -4,6 +4,8 @@ EAPI="4" +inherit eutils + if [[ ${PV} == "9999" ]] ; then inherit git EGIT_BRANCH="master" @@ -37,6 +39,11 @@ RDEPEND="app-crypt/gnupg )" DEPEND="test? ( ${DEPEND} )" +pkg_setup() { + enewgroup "${PN}" + enewuser "${PN}" -1 -1 "/var/lib/${PN}" "${PN}" +} + src_install() { emake install DESTDIR="${D}" rm -rf "${ED}usr/share/doc/${PN}"