From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Lwzfa-00027W-B5 for garchives@archives.gentoo.org; Thu, 23 Apr 2009 14:12:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D45B4E02C1; Thu, 23 Apr 2009 14:12:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 84BEFE02C1 for ; Thu, 23 Apr 2009 14:12:53 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 2059A64EA3 for ; Thu, 23 Apr 2009 14:12:53 +0000 (UTC) Received: from patrick by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1LwzfY-0004VG-QC for gentoo-commits@lists.gentoo.org; Thu, 23 Apr 2009 14:12:52 +0000 From: "Patrick Lauer (patrick)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, patrick@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-fs/samba: ChangeLog samba-3.2.11.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog samba-3.2.11.ebuild X-VCS-Directories: net-fs/samba X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer Content-Type: text/plain; charset=utf8 Message-Id: Sender: Patrick Lauer Date: Thu, 23 Apr 2009 14:12:52 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 651ea460-c9a9-45ea-b142-4bbecfea92cd X-Archives-Hash: 9e695eaa877ae80a8dfd9d206ae0a85a patrick 09/04/23 14:12:52 Modified: ChangeLog Added: samba-3.2.11.ebuild Log: Adding samba-3.2.11 ebuild based on the 3.2.8 ebuild from bug #231273. = Thanks to Steffen Stollfu=DF and all the other people who worked on it an= d tested it. (Portage version: 2.2_rc31/cvs/Linux x86_64) Revision Changes Path 1.354 net-fs/samba/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/Chang= eLog?rev=3D1.354&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/Chang= eLog?rev=3D1.354&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/Chang= eLog?r1=3D1.353&r2=3D1.354 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v retrieving revision 1.353 retrieving revision 1.354 diff -u -r1.353 -r1.354 --- ChangeLog 29 Mar 2009 16:49:58 -0000 1.353 +++ ChangeLog 23 Apr 2009 14:12:52 -0000 1.354 @@ -1,6 +1,13 @@ # ChangeLog for net-fs/samba # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.353 2009/0= 3/29 16:49:58 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.354 2009/0= 4/23 14:12:52 patrick Exp $ + +*samba-3.2.11 (23 Apr 2009) + + 23 Apr 2009; Patrick Lauer +samba-3.2.11.ebuild: + Adding samba-3.2.11 ebuild based on the 3.2.8 ebuild from bug #231273. + Thanks to Steffen Stollfuss and all the other people who worked on it = and + tested it. =20 *samba-3.0.34 (29 Mar 2009) =20 1.1 net-fs/samba/samba-3.2.11.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/samba= -3.2.11.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/samba= -3.2.11.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: samba-3.2.11.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.2.11.ebuild,v 1.1= 2009/04/23 14:12:52 patrick Exp $ inherit eutils pam multilib versionator confutils MY_P=3D${PN}-${PV/_/} DESCRIPTION=3D"A suite of SMB and CIFS client/server programs for UNIX" HOMEPAGE=3D"http://www.samba.org/" SRC_URI=3D"mirror://samba/${MY_P}.tar.gz" LICENSE=3D"GPL-3" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~s= parc ~sparc-fbsd ~x86 ~x86-fbsd" IUSE_LINGUAS=3D"linguas_ja linguas_pl" IUSE=3D"${IUSE_LINGUAS} acl ads async automount caps cups doc examples ip= v6 kernel_linux ldap fam pam quotas readline selinux swat syslog winbind" RDEPEND=3D"dev-libs/popt dev-libs/iniparser virtual/libiconv acl? ( kernel_linux? ( sys-apps/acl ) ) cups? ( net-print/cups ) ipv6? ( sys-apps/xinetd ) ads? ( virtual/krb5 sys-fs/e2fsprogs ) ldap? ( net-nds/openldap ) pam? ( virtual/pam ) readline? ( sys-libs/readline ) selinux? ( sec-policy/selinux-samba ) swat? ( sys-apps/xinetd ) syslog? ( virtual/logger ) fam? ( virtual/fam ) caps? ( sys-libs/libcap )" DEPEND=3D"${RDEPEND}" S=3D"${WORKDIR}/${MY_P}" CONFDIR=3D"${FILESDIR}/config-3.2" PRIVATE_DST=3D/var/lib/samba/private # Tests are currently broken due to hardcoded paths (due to --with-fhs) # The problem is that --without-fhs lets samba use lockdir (which can be = changed in smb.conf) # which is wrong as well. RESTRICT=3D"test" pkg_setup() { confutils_use_depend_all ads ldap } src_unpack() { unpack ${A} cd "${S}/source" # Ok, agreed, this is ugly. But it avoids a patch we # need for every samba version and we don't need autotools sed -i \ -e 's|"lib32" ||' \ -e 's|if test -d "$i/$l" ;|if test -d "$i/$l" -o -L "$i/$l";|' \ configure || die "sed failed" rm "${S}/docs/manpages"/{mount,umount}.cifs.8 sed -i \ -e 's|tdbsam|tdbsam:${PRIVATEDIR}/passdb.tdb|' \ "${S}/source/script/tests/selftest.sh" || die "sed failed" } src_compile() { cd "${S}/source" local myconf local mylangs local mymod_shared mylangs=3D"--with-manpages-langs=3Den" use linguas_ja && mylangs=3D"${mylangs},ja" use linguas_pl && mylangs=3D"${mylangs},pl" use winbind && mymod_shared=3D"--with-shared-modules=3Didmap_rid" if use ldap ; then myconf=3D"${myconf} $(use_with ads)" use winbind && mymod_shared=3D"${mymod_shared},idmap_ad" fi [[ ${CHOST} =3D=3D *-*bsd* ]] && myconf=3D"${myconf} --disable-pie" use hppa && myconf=3D"${myconf} --disable-pie" use caps && export ac_cv_header_sys_capability_h=3Dyes || export ac_cv_h= eader_sys_capability_h=3Dno # Otherwise we get the whole swat stuff installed if ! use swat ; then sed -i \ -e 's/^\(install:.*\)installswat \(.*\)/\1\2/' \ Makefile.in || die "sed failed" fi econf \ --with-fhs \ --sysconfdir=3D/etc/samba \ --localstatedir=3D/var \ --with-configdir=3D/etc/samba \ --with-libdir=3D/usr/$(get_libdir)/samba \ --with-pammodulesdir=3D$(getpam_mod_dir) \ --with-swatdir=3D/usr/share/doc/${PF}/swat \ --with-piddir=3D/var/run/samba \ --with-lockdir=3D/var/cache/samba \ --with-logfilebase=3D/var/log/samba \ --with-privatedir=3D${PRIVATE_DST} \ --with-libsmbclient \ --without-spinlocks \ --enable-socket-wrapper \ --enable-nss-wrapper \ --with-cifsmount=3Dno \ $(use_with acl acl-support) \ $(use_with async aio-support) \ $(use_with automount) \ --without-cifsupcall \ $(use_enable cups) \ $(use_enable fam) \ $(use_with ads krb5) \ $(use_with ads dnsupdate) \ $(use_with ldap) \ $(use_with pam) $(use_with pam pam_smbpass) \ $(use_with quotas) $(use_with quotas sys-quotas) \ $(use_with readline) \ $(use_with syslog) \ $(use_with winbind) \ ${myconf} ${mylangs} ${mymod_shared} || die "econf failed" emake proto || die "emake proto failed" emake everything || die "emake everything failed" } src_test() { cd "${S}/source" emake test || die "tests failed" } src_install() { cd "${S}/source" emake DESTDIR=3D"${D}" install-everything || die "emake install-everythi= ng failed" # Extra rpctorture progs local extra_bins=3D"rpctorture" for i in ${extra_bins} ; do [[ -x "${S}/bin/${i}" ]] && dobin "${S}/bin/${i}" done # remove .old stuff from /usr/bin: rm -f "${D}"/usr/bin/*.old # Removing executable bits from header-files fperms 644 /usr/include/libsmbclient.h # Nsswitch extensions. Make link for wins and winbind resolvers if use winbind ; then dolib.so nsswitch/libnss_wins.so dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2 dolib.so nsswitch/libnss_winbind.so dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2 fi # bug #46389: samba doesn't create symlink anymore # beaviour seems to be changed in 3.0.6, see bug #61046 dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so dosym samba/libsmbclient.so.0 /usr/$(get_libdir)/libsmbclient.so.0 dosym samba/libtalloc.so /usr/$(get_libdir)/libtalloc.so dosym samba/libtalloc.so.1 /usr/$(get_libdir)/libtalloc.so.1 dosym samba/libtdb.so /usr/$(get_libdir)/libtdb.so dosym samba/libtdb.so.1 /usr/$(get_libdir)/libtdb.so.1 # make the smb backend symlink for cups printing support (bug #133133) if use cups ; then dodir $(cups-config --serverbin)/backend dosym /usr/bin/smbspool $(cups-config --serverbin)/backend/smb fi cd "${S}/source" # General config files insinto /etc/samba doins "${CONFDIR}"/{smbusers,lmhosts} newins "${CONFDIR}/smb.conf.example-samba3" smb.conf.example newpamd "${CONFDIR}/samba.pam" samba use winbind && dopamd "${CONFDIR}/system-auth-winbind" if use swat ; then insinto /etc/xinetd.d newins "${CONFDIR}/swat.xinetd" swat else rm -f "${D}/usr/sbin/swat" rm -f "${D}/usr/share/man/man8/swat.8" fi newinitd "${FILESDIR}/samba-init" samba newconfd "${FILESDIR}/samba-conf" samba if use ldap ; then insinto /etc/openldap/schema doins "${S}/examples/LDAP/samba.schema" fi if use ipv6 ; then insinto /etc/xinetd.d newins "${FILESDIR}/samba-xinetd" smb fi # dirs diropts -m0700 ; keepdir "${PRIVATE_DST}" diropts -m1777 ; keepdir /var/spool/samba diropts -m0755 keepdir /var/{log,run,cache}/samba keepdir /var/lib/samba/{netlogon,profiles} keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC,X6= 4,IA64,COLOR} keepdir /usr/$(get_libdir)/samba/{rpc,idmap,auth} # docs dodoc "${FILESDIR}/README.gentoo" dodoc "${S}"/{MAINTAINERS,README,Roadmap,WHATSNEW.txt} dodoc "${CONFDIR}/nsswitch.conf-wins" use winbind && dodoc "${CONFDIR}/nsswitch.conf-winbind" if use examples ; then insinto /usr/share/doc/${PF} doins -r "${S}/examples/" find "${D}/usr/share/doc/${PF}" -type d -print0 | xargs -0 chmod 755 find "${D}/usr/share/doc/${PF}/examples" ! -type d -print0 | xargs -0 c= hmod 644 fi if ! use doc ; then if ! use swat ; then rm -rf "${D}/usr/share/doc/${PF}/swat" else rm -rf "${D}/usr/share/doc/${PF}/swat/help"/{guide,howto,devel} rm -rf "${D}/usr/share/doc/${PF}/swat/using_samba" fi fi } pkg_preinst() { local PRIVATE_SRC=3D/etc/samba/private if [[ ! -r "${ROOT}/${PRIVATE_DST}/secrets.tdb" \ && -r "${ROOT}/${PRIVATE_SRC}/secrets.tdb" ]] ; then ebegin "Copying ${ROOT}/${PRIVATE_SRC}/* to ${ROOT}/${PRIVATE_DST}/" mkdir -p "${D}/${PRIVATE_DST}" cp -pPRf "${ROOT}/${PRIVATE_SRC}"/* "${D}/${PRIVATE_DST}/" eend $? fi if [[ ! -f "${ROOT}/etc/samba/smb.conf" ]] ; then touch "${D}/etc/samba/smb.conf" fi } pkg_postinst() { if use swat ; then einfo "swat must be enabled by xinetd:" einfo " change the /etc/xinetd.d/swat configuration" fi if use ipv6 ; then einfo "ipv6 support must be enabled by xinetd:" einfo " change the /etc/xinetd.d/smb configuration" fi elog "It is possible to start/stop daemons separately:" elog " Create a symlink from /etc/init.d/samba.{smbd,nmbd,winbind} to" elog " /etc/init.d/samba. Calling /etc/init.d/samba directly will start= " elog " the daemons configured in /etc/conf.d/samba" elog "The mount/umount.cifs helper applications are not included anymore= ." elog "Please install net-fs/mount-cifs instead." ewarn "If you're upgrading from 3.0.24 or earlier, please make sure to" ewarn "restart your clients to clear any cached information about the se= rver." ewarn "Otherwise they might not be able to connect to the volumes." }