Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 59473 Details for
Bug 93400
gnome-extra/nautilus-share: a nautilus extension to share folders over SMB
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
nautilus-share-0.5.1.ebuild
nautilus-share-0.5.1.ebuild (text/plain), 3.11 KB, created by
Ed Catmur
on 2005-05-21 12:30:04 UTC
(
hide
)
Description:
nautilus-share-0.5.1.ebuild
Filename:
MIME Type:
Creator:
Ed Catmur
Created:
2005-05-21 12:30:04 UTC
Size:
3.11 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit gnome2 eutils > >DESCRIPTION="A nautilus plugin to easily share folders over the SMB protocol" >HOMEPAGE="http://gentoo.ovibes.net/nautilus-share" >SRC_URI="http://gentoo.ovibes.net/${PN}/${P}.tar.gz" >IUSE="" >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="~x86" > >RDEPEND=" > >=gnome-base/nautilus-2.10.0 > >=gnome-base/eel-2.10.0 > >=dev-libs/glib-2.4.0 > >=gnome-base/libglade-2.4.0 > >=sys-apps/dbus-0.23 > >=dev-libs/libdaemon-0.7 > >=x11-themes/gnome-icon-theme-2.10.1" > >DOCS="AUTHORS ChangeLog NEWS README TODO" > >G2CONF="--with-dbus-sys=/etc/dbus-1/system.d" > >USE_DESTDIR="1" > >pkg_setup() { > if ! built_with_use sys-apps/dbus gtk; then > eerror "Need GLib support in DBUS." > eerror "Please re-emerge sys-apps/dbus with gtk USE flag enabled." > die "unmet dependencies" > fi >} > >src_unpack() { > unpack ${A} > cd ${S} > epatch ${FILESDIR}/${PN}-0.5.1-stock-icon.patch > epatch ${FILESDIR}/${PN}-0.5.1-dbus-api-auto.patch > autoheader && autoconf || die "autotools failed" >} > >src_install() { > gnome2_src_install "$@" > > if has_version '>=sys-apps/dbus-0.30'; then > dodir /usr/share/dbus-1/services > cat >${D}/usr/share/dbus-1/services/net.ovibes.dbus.smbparser.service \ > <<END >[D-BUS Service] >Names=net.ovibes.dbus.smbparser.Service; >Exec=/usr/bin/smbshared >END > fi > > # debian only > rm -r ${D}/etc/dbus-1/event.d > doinitd ${FILESDIR}/smbshared >} > >pkg_preinst() { > if ! [[ -e ${ROOT}/etc/samba/smb.conf ]]; then > dodir /etc/samba > cat > ${IMAGE}/etc/samba/smb.conf <<END > >[global] >workgroup = WORKGROUP >security = share ># directive to enable gnome-extra/nautilus-share >include = /etc/samba/smbshared.conf > >END > fperms 644 /etc/samba/smb.conf > fi > if ! [[ -e ${ROOT}/etc/samba/smbshared.conf ]]; then > dodir /etc/samba > touch ${IMAGE}/etc/samba/smbshared.conf > fperms 644 /etc/samba/smbshared.conf > fi >} > >pkg_postinst() { > einfo "To get nautilus-share working:" > echo > if ! grep 'include[[:space:]]*=[[:space:]]*/etc/samba/smbshared.conf' \ > -q ${ROOT}/etc/samba/smb.conf; then > einfo "Add the lines" > echo > einfo " # directive to enable gnome-extra/nautilus-share" > einfo " include = /etc/samba/smbshared.conf" > echo > einfo "to the end of the [global] section in /etc/samba/smb.conf" > echo > fi > einfo "Issue the following commands as root:" > echo > einfo " # rc-update add smbshared default" > einfo " # /etc/init.d/dbus restart" > einfo " # /etc/init.d/smbshared start" > echo > einfo "As your current user, restart nautilus:" > echo > einfo " $ nautilus -q" > echo >} > >pkg_postrm() { > if ! has_version ${CATEGORY}/${PN}; then > if [[ -e ${ROOT}/etc/samba/smb.conf ]] && \ > grep 'include[[:space:]]*=[[:space:]]*/etc/samba/smbshared.conf' \ > -q ${ROOT}/etc/samba/smb.conf > then > ebeep > ewarn "SECURITY ADVISORY:" > ewarn "You probably should remove the line" > echo > ewarn " include = /etc/samba/smbshared.conf" > echo > ewarn "from /etc/samba/smb.conf" > echo > fi > if [[ -e ${ROOT}/etc/samba/smbshared.conf ]]; then > ebeep > ewarn "SECURITY ADVISORY:" > ewarn "You probably should delete /etc/samba/smbshared.conf" > echo > fi > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 93400
:
59428
|
59429
|
59430
|
59431
|
59432
|
59433
|
59473
|
59474
|
59508
|
60724
|
60725
|
60841
|
66363
|
86198
|
86199
|
94146
|
94926
|
94927
|
94928
|
94930
|
105251
|
161268
|
161269