diff options
Diffstat (limited to 'net-misc/yacsd/yacsd-0.6.0_pre20070208.ebuild')
-rw-r--r-- | net-misc/yacsd/yacsd-0.6.0_pre20070208.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
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 |