diff options
author | Christian Parpart <trapni@gentoo.org> | 2007-02-13 09:51:00 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2007-02-13 09:51:00 +0000 |
commit | 39b5d24fe291c9bdf42adbdedda73a5fc8ad9f41 (patch) | |
tree | 824c7430c88e13dca95ea4366d81b64cc4595178 /net-misc/yacsd | |
parent | initial import of my little overlay helper (diff) | |
download | overlay-39b5d24fe291c9bdf42adbdedda73a5fc8ad9f41.tar.gz overlay-39b5d24fe291c9bdf42adbdedda73a5fc8ad9f41.tar.bz2 overlay-39b5d24fe291c9bdf42adbdedda73a5fc8ad9f41.zip |
ensuring yacs user/group at pkg_setup()
svn path=/overlay/; revision=21
Diffstat (limited to 'net-misc/yacsd')
-rw-r--r-- | net-misc/yacsd/ChangeLog | 3 | ||||
-rw-r--r-- | net-misc/yacsd/Manifest | 8 | ||||
-rw-r--r-- | net-misc/yacsd/yacsd-0.6.0_pre20070208.ebuild | 7 |
3 files changed, 14 insertions, 4 deletions
diff --git a/net-misc/yacsd/ChangeLog b/net-misc/yacsd/ChangeLog index 176074e..899da4c 100644 --- a/net-misc/yacsd/ChangeLog +++ b/net-misc/yacsd/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 13 Feb 2007; <trapni@gentoo.org> ChangeLog: + ensuring yacs user/group at pkg_setup() + 02 Feb 2007; Christian Parpart <trapni@gentoo.org> ChangeLog: snapshot bump diff --git a/net-misc/yacsd/Manifest b/net-misc/yacsd/Manifest index 32ce81c..be93008 100644 --- a/net-misc/yacsd/Manifest +++ b/net-misc/yacsd/Manifest @@ -12,10 +12,10 @@ EBUILD yacsd-0.6.0_pre20070202.ebuild 3613 RMD160 37b904d89f06255689dbbdcf202249 MD5 bbbfc9d8343dac62c7a5b9a8ab1a5084 yacsd-0.6.0_pre20070202.ebuild 3613 RMD160 37b904d89f06255689dbbdcf202249e2249c4410 yacsd-0.6.0_pre20070202.ebuild 3613 SHA256 8431796ff6ab3c936aa14cb1497f8758c8f50ac64dce8fb46f5c9cb8cb07c21e yacsd-0.6.0_pre20070202.ebuild 3613 -EBUILD yacsd-0.6.0_pre20070208.ebuild 3357 RMD160 21d1599ce600bdeeab04bf7091aa391c78152343 SHA1 bb8363b6de06e6bfac3e1559b37ce7cdcef537fe SHA256 ba92bddcae1d4e1e965766367d66cc4996e38e4217a822ee886375d311ab78f8 -MD5 265f85c53d120cc0af9d5c3d704dc3c9 yacsd-0.6.0_pre20070208.ebuild 3357 -RMD160 21d1599ce600bdeeab04bf7091aa391c78152343 yacsd-0.6.0_pre20070208.ebuild 3357 -SHA256 ba92bddcae1d4e1e965766367d66cc4996e38e4217a822ee886375d311ab78f8 yacsd-0.6.0_pre20070208.ebuild 3357 +EBUILD yacsd-0.6.0_pre20070208.ebuild 3575 RMD160 96184d06094d7291f8cbe4f6334dd2732fa0d1c1 SHA1 d818cc7771f9a72851b4ec5f5d6096bfbfb9b8b5 SHA256 2bb19618b0d8432e2d3b321e8ea367dc09c9b37d807efbc5b87433502814e7b9 +MD5 bb3a7a8b841cda09eebb781eaa86fc8a yacsd-0.6.0_pre20070208.ebuild 3575 +RMD160 96184d06094d7291f8cbe4f6334dd2732fa0d1c1 yacsd-0.6.0_pre20070208.ebuild 3575 +SHA256 2bb19618b0d8432e2d3b321e8ea367dc09c9b37d807efbc5b87433502814e7b9 yacsd-0.6.0_pre20070208.ebuild 3575 MISC ChangeLog 196 RMD160 b1b4a8f3825f971cb231bd1d242db29a308af171 SHA1 86bc204c04d1336e80631813f4ff381698a88e96 SHA256 a47616206be7467d8d2fca1f4204dc5b7e06f21190614be51ece2a977ce1da71 MD5 0985eb198b24d3a309d01c060fe6a9c0 ChangeLog 196 RMD160 b1b4a8f3825f971cb231bd1d242db29a308af171 ChangeLog 196 diff --git a/net-misc/yacsd/yacsd-0.6.0_pre20070208.ebuild b/net-misc/yacsd/yacsd-0.6.0_pre20070208.ebuild index c61cb59..b2be8af 100644 --- a/net-misc/yacsd/yacsd-0.6.0_pre20070208.ebuild +++ b/net-misc/yacsd/yacsd-0.6.0_pre20070208.ebuild @@ -28,6 +28,11 @@ S="${WORKDIR}/yacs-${PV}" BASE_DIR=${BASE_DIR:-/usr} +pkg_setup() { + enewgroup yacs 71 + enewuser yacs 71 -1 / yacs +} + src_compile() { use debug && append-flags -O0 -g use debug || append-flags -DNDEBUG=1 @@ -115,6 +120,8 @@ src_install() { local configfile="${D}/${configdir}/yacsd.conf" cp server/yacsd.conf-dist ${configfile} || die sed -i -e "s,/opt/surakware/lib,${BASE_DIR}/$(get_libdir)," ${configfile} || die + sed -i -e 's,User = "yacsd",User = "yacs",' ${configfile} || die + sed -i -e 's,Mail = "yacsd@MY.HOST.NET",Mail = "yacs@localhost",' ${configfile} || die # install common docs dodoc AUTHORS ChangeLog* NEWS README* TODO |