From d2123eb2c6c183dbd58549c04526b8e92a19cc21 Mon Sep 17 00:00:00 2001
From: Christian Andreetta <satya@gentoo.org>
Date: Sat, 12 Mar 2005 16:22:48 +0000
Subject: minor fixes: dirs creations via keepdir, examples permissions (bug
 #83563) (Portage version: 2.0.51.19)

---
 net-fs/samba/ChangeLog           |  5 ++++-
 net-fs/samba/Manifest            |  2 +-
 net-fs/samba/samba-3.0.11.ebuild | 19 ++++++++-----------
 3 files changed, 13 insertions(+), 13 deletions(-)

(limited to 'net-fs')

diff --git a/net-fs/samba/ChangeLog b/net-fs/samba/ChangeLog
index 2d5084b87cfe..16699b3edabc 100644
--- a/net-fs/samba/ChangeLog
+++ b/net-fs/samba/ChangeLog
@@ -1,6 +1,9 @@
 # ChangeLog for net-fs/samba
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.152 2005/03/03 10:55:49 mglauche Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.153 2005/03/12 16:22:47 satya Exp $
+
+  12 Mar 2005; Christian Andreetta <satya@gentoo.org> samba-3.0.11.ebuild:
+  minor fixes: dirs creations via keepdir, examples permissions (bug #83563)
 
   03 Mar 2005; <mglauche@gentoo.org> samba-3.0.10.ebuild:
   smbldap-tools have new download location, see Bug 83203. Thanks to Ricardo
diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest
index 786d416fafd7..867a841077fc 100644
--- a/net-fs/samba/Manifest
+++ b/net-fs/samba/Manifest
@@ -1,7 +1,7 @@
 MD5 998e5fa677027d5f9c34c6e11a2f2300 samba-3.0.7.ebuild 13959
 MD5 752029d2b65f2faafedafcbc8f74c0cb samba-3.0.7-r1.ebuild 15430
 MD5 a099bbaec41e1bf990ab5b7986ce4cf1 samba-3.0.6-r4.ebuild 14235
-MD5 bcdfefa0fdb6b4ca7f5011d5c0b62f58 samba-3.0.11.ebuild 16523
+MD5 644442fe46cb1783a257bf1cf5f712a2 samba-3.0.11.ebuild 16419
 MD5 0f3d8c9bb836841be55e78eadd0ea0b7 samba-3.0.9.ebuild 16226
 MD5 636cefb79b33da2114659a179850f094 samba-3.0.6-r3.ebuild 14258
 MD5 7b437485608a9d4133c07e606ab9fda8 samba-3.0.9-r1.ebuild 16411
diff --git a/net-fs/samba/samba-3.0.11.ebuild b/net-fs/samba/samba-3.0.11.ebuild
index b63a8044f7b6..957c36bdfd59 100644
--- a/net-fs/samba/samba-3.0.11.ebuild
+++ b/net-fs/samba/samba-3.0.11.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.11.ebuild,v 1.3 2005/02/11 22:57:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.11.ebuild,v 1.4 2005/03/12 16:22:48 satya Exp $
 
 inherit eutils flag-o-matic
 #---------------------------------------------------------------------------
@@ -325,18 +325,13 @@ src_install() {
 	# dirs -----------------------------------------------------------------
 	diropts -m0700
 	local PRIVATE_DST=/var/lib/samba/private
-	dodir ${PRIVATE_DST}
-	touch ${D}${PRIVATE_DST}/.keep
+	keepdir ${PRIVATE_DST}
 	diropts -m1777
-	dodir /var/spool/samba
-	touch ${D}/var/spool/samba/.keep
+	keepdir /var/spool/samba
 	diropts -m0755
-	dodir /var/{log,run,cache}/samba
-	dodir /var/lib/samba/{netlogon,profiles}
-	dodir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC}
-	touch ${D}/var/{log,run,cache}/samba/.keep
-	touch ${D}/var/lib/samba/{netlogon,profiles}/.keep
-	touch ${D}/var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC}/.keep
+	keepdir /var/{log,run,cache}/samba
+	keepdir /var/lib/samba/{netlogon,profiles}
+	keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC}
 	# docs -----------------------------------------------------------------
 	docinto ""
 	dodoc ${S}/COPYING ${S}/Manifest ${S}/README ${S}/Roadmap ${S}/WHATSNEW.txt
@@ -344,6 +339,8 @@ src_install() {
 	dodoc ${FILESDIR}/nsswitch.conf-wins
 	use winbind && dodoc ${FILESDIR}/nsswitch.conf-winbind
 	cp -a ${S}/examples.ORIG/* ${D}/usr/share/doc/${PF}/examples
+	chmod -R 755 `find ${D}/usr/share/doc/${PF}/examples -type d`
+	chmod -R 644 `find ${D}/usr/share/doc/${PF}/examples ! -type d`
 	if use oav; then
 		docinto ${PN}-vscan-${VSCAN_VER}
 		cd ${WORKDIR}/${PN}-vscan-${VSCAN_VER}
-- 
cgit v1.2.3-65-gdbad