Date: Mon, 31 Oct 2005 17:44:08 +0600 (NOVT) From: "Rashid N. Achilov" <shelton@ns.granch.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/88269: new port net/smb4k - SMB/CIFS network browser and mount dispatcher Message-ID: <200510311144.j9VBi88h061205@ns.granch.ru> Resent-Message-ID: <200510311150.j9VBoIkR019845@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 88269 >Category: ports >Synopsis: new port net/smb4k - SMB/CIFS network browser and mount dispatcher >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 31 11:50:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Rashid N. Achilov >Release: FreeBSD 5.4-RELEASE i386 >Organization: Granch Ltd. >Environment: System: FreeBSD sentry.granch.ru 5.4-RELEASE FreeBSD 5.4-RELEASE #3: Thu Jul 21 19:50:40 NOVST 2005 root@sentry.granch.ru:/usr/obj/usr/src/sys/Sentry i386 >Description: This is a new port SMB4K - an SMB/CIFS shares/networks browser and mount dispatcher. It uses the Samba suite for an easy access to local network. Some days I have submitted SMB4K 0.3.x - this is completely new port! >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # smb4k # smb4k/Makefile # smb4k/distinfo # smb4k/pkg-descr # smb4k/pkg-plist # smb4k/pkg-message # smb4k/files # smb4k/files/patch-smb4kfileio # echo c - smb4k mkdir -p smb4k > /dev/null 2>&1 echo x - smb4k/Makefile sed 's/^X//' >smb4k/Makefile << 'END-of-smb4k/Makefile' X# New ports collection makefile for: smb4k X# Date created: 28 Oct 2005 X# Whom: Rashid N. Achilov <shelton@granch.ru> X# X# $FreeBSD$ X# X XPORTNAME= smb4k XPORTVERSION= 0.6.3 XCATEGORIES= net kde XMASTER_SITES= http://download.berlios.de/smb4k/ \ X http://www.granch.ru/~shelton/fileZ/:addscript XDISTFILES+= smb4k-0.6.3.tar.gz addscript.tar.gz:addscript X XMAINTAINER= shelton@granch.ru XCOMMENT= KDE 3.x SMB Network browser and SMB shares mounting center X XRUN_DEPENDS= sudo:${PORTSDIR}/security/sudo \ X smbstatus:/${PORTSDIR}/net/samba3 X XUSE_KDELIBS_VER= 3 XUSE_GMAKE= yes XUSE_REINPLACE= yes XGNU_CONFIGURE= yes X XCONFIGURE_ARGS += --with-qt-dir=${QT_PREFIX} \ X --with-extra-includes=${LOCALBASE}/include \ X --with-extra-libs=${LOCALBASE}/lib X XCONFIGURE_TARGET= X XDOCSDIR= ${PREFIX}/share/doc/HTML/en/${PORTNAME} X XPLIST_SUB= DOCSDIR=${DOCSDIR} X Xpost-extract: X @${CP} ${DISTDIR}/addscript.tar.gz ${WRKDIR} X @cd ${WRKDIR} && ${TAR} -xzvf addscript.tar.gz X @${RM} ${WRKDIR}/addscript.tar.gz X Xpost-install: X.for i in smb2awk smb2nsmbrc X ${INSTALL_SCRIPT} ${WRKDIR}/addscript/${i} ${PREFIX}/bin X.endfor X X ${INSTALL_DATA} ${WRKDIR}/addscript/README.FreeBSD ${DOCSDIR} X X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-smb4k/Makefile echo x - smb4k/distinfo sed 's/^X//' >smb4k/distinfo << 'END-of-smb4k/distinfo' XMD5 (smb4k-0.6.3.tar.gz) = 8cac939f2efc50e9b128633db4d69847 XSIZE (smb4k-0.6.3.tar.gz) = 1081614 XMD5 (addscript.tar.gz) = af9d9f822fe74906283718345797ea02 XSIZE (addscript.tar.gz) = 3052 END-of-smb4k/distinfo echo x - smb4k/pkg-descr sed 's/^X//' >smb4k/pkg-descr << 'END-of-smb4k/pkg-descr' XSmb4K is an SMB share browser for KDE. Its features are inspired by Komba2 Xby Frank Schwanz. It uses the Samba software suite for an easy access Xto the SMB shares of your local network neighborhood. X XFeatures so far: X XScanning for (active) workgroups, hosts, and shares XMounting and unmounting of SMB shares, including unmounting all shares at once XAccess to the files of a mounted SMB share using Konqueror XAuto-detection of external mounts/unmounts XMounting of recently used shares on start-up XMiscellaneous infos about the SMB shares XBasic network search XWINS server support XPreview of SMB shares XSelectable look-up method XTranslations: 23 languages X XWWW: http://smb4k.berlios.de END-of-smb4k/pkg-descr echo x - smb4k/pkg-plist sed 's/^X//' >smb4k/pkg-plist << 'END-of-smb4k/pkg-plist' Xbin/smb4k Xbin/smb2awk Xbin/smb2nsmbrc Xbin/smb4k_mount Xbin/smb4k_umount Xbin/smb4k_kill Xlib/libsmb4kcore.la Xlib/libsmb4kcore.so.0 Xlib/libsmb4kwidgets.la Xlib/libsmb4kwidgets.so.0 Xlib/kde3/konqsidebar_smb4k.la Xlib/kde3/konqsidebar_smb4k.so Xinclude/smb4kglobal.h Xinclude/smb4kbookmark.h Xinclude/smb4kbookmarkhandler.h Xinclude/smb4kcore.h Xinclude/smb4kdefs.h Xinclude/smb4kfileio.h Xinclude/smb4kipfinder.h Xinclude/smb4kmounter.h Xinclude/smb4knetworkitems.h Xinclude/smb4kpasswordhandler.h Xinclude/smb4kprint.h Xinclude/smb4kprintinfo.h Xinclude/smb4kscanner.h Xinclude/smb4kshare.h Xinclude/smb4kshellio.h Xinclude/smb4kuser.h Xinclude/smb4kappearanceoptions.h Xinclude/smb4kauthoptions.h Xinclude/smb4kbookmarkeditor.h Xinclude/smb4kbookmarkmenuwidget.h Xinclude/smb4kbrowserwidget.h Xinclude/smb4kmountdialog.h Xinclude/smb4knetworkoptions.h Xinclude/smb4knetworktab.h Xinclude/smb4koptionsdlg.h Xinclude/smb4kpreviewdialog.h Xinclude/smb4kshareoptions.h Xinclude/smb4ksharetab.h Xinclude/smb4ksuperuseroptions.h Xinclude/smb4ksharewidget.h Xshare/applications/kde/smb4k.desktop Xshare/icons/crystalsvg/16x16/apps/smb4k.png Xshare/icons/crystalsvg/32x32/apps/smb4k.png Xshare/icons/crystalsvg/48x48/apps/smb4k.png Xshare/icons/crystalsvg/64x64/apps/smb4k.png Xshare/apps/konqsidebartng/add/smb4k_add.desktop Xshare/apps/smb4k/smb4kui.rc Xshare/locale/zh_CN/LC_MESSAGES/smb4k.mo Xshare/locale/zh_TW/LC_MESSAGES/smb4k.mo Xshare/locale/bg/LC_MESSAGES/smb4k.mo Xshare/locale/ca/LC_MESSAGES/smb4k.mo Xshare/locale/cs/LC_MESSAGES/smb4k.mo Xshare/locale/da/LC_MESSAGES/smb4k.mo Xshare/locale/de/LC_MESSAGES/smb4k.mo Xshare/locale/es/LC_MESSAGES/smb4k.mo Xshare/locale/fr/LC_MESSAGES/smb4k.mo Xshare/locale/hu/LC_MESSAGES/smb4k.mo Xshare/locale/ja/LC_MESSAGES/smb4k.mo Xshare/locale/is/LC_MESSAGES/smb4k.mo Xshare/locale/it/LC_MESSAGES/smb4k.mo Xshare/locale/nb/LC_MESSAGES/smb4k.mo Xshare/locale/nl/LC_MESSAGES/smb4k.mo Xshare/locale/nn/LC_MESSAGES/smb4k.mo Xshare/locale/pl/LC_MESSAGES/smb4k.mo Xshare/locale/ru/LC_MESSAGES/smb4k.mo Xshare/locale/sk/LC_MESSAGES/smb4k.mo Xshare/locale/sv/LC_MESSAGES/smb4k.mo Xshare/locale/tr/LC_MESSAGES/smb4k.mo Xshare/locale/uk/LC_MESSAGES/smb4k.mo Xshare/locale/pt_BR/LC_MESSAGES/smb4k.mo X%%PORTDOCS%%share/doc/HTML/en/smb4k/index.docbook X%%PORTDOCS%%share/doc/HTML/en/smb4k/index.cache.bz2 X%%PORTDOCS%%share/doc/HTML/en/smb4k/README.FreeBSD X@dirrm share/apps/smb4k X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@unexec rmdir %D/share/applications/kde 2>/dev/null || true X@unexec rmdir %D/share/applications 2>/dev/null || true END-of-smb4k/pkg-plist echo x - smb4k/pkg-message sed 's/^X//' >smb4k/pkg-message << 'END-of-smb4k/pkg-message' X*********************************************************** X XPlease, read README.FreeBSD in share/doc/HTML/en/smb4k in your KDE Xprefix directory *B*E*F*O*R*E* FIRST RUN of SMB4K!!!! X XIn order to run SMB4K properly be sure, that: X X1. Your kernel is configured properly X2. Your /etc/nsmb.conf file is configured properly X3. Your .nsmbrc file is configured properly (this mean, that Xpassword to *ANY* server in your network exist this file. For Xsemi-automatic creating .nsmbrc you can use smb2nsmbrc script) X XKeep in mind, that: X X1. SMB4K only calls smb4k_mount and smb4k_umount programs. X2. You can use presented scripts or create yourself. X3. DO NOT DISTURB ME ABOUT FreeBSD SMB IMPLEMENTATION!! X X************************************************************ END-of-smb4k/pkg-message echo c - smb4k/files mkdir -p smb4k/files > /dev/null 2>&1 echo x - smb4k/files/patch-smb4kfileio sed 's/^X//' >smb4k/files/patch-smb4kfileio << 'END-of-smb4k/files/patch-smb4kfileio' X--- smb4k/core/smb4kfileio.cpp.bak Mon Oct 31 17:09:18 2005 X+++ smb4k/core/smb4kfileio.cpp Mon Oct 31 17:09:18 2005 X@@ -221,7 +221,7 @@ X contents.append( "smb4k_mount\t"+m_config->readPathEntry( "smb4k_mount" )+"\t$(Smb4KUsers)\tuid=root\tgid=root\tenv=PASSWD,USER" ); X #else X contents.append( "smb4k_kill\t"+m_config->readPathEntry( "smb4k_kill" )+"\t$(Smb4KUsers)\tuid=root\tgid=wheel" ); X- contents.append( "smb4k_umount\t"+m_config->readPathEntry( "smb4k_umount" )+"\t$(Smb4KUsers)\tuid=root\tgid=wheel" );item X+ contents.append( "smb4k_umount\t"+m_config->readPathEntry( "smb4k_umount" )+"\t$(Smb4KUsers)\tuid=root\tgid=wheel" ); X contents.append( "smb4k_mount\t"+m_config->readPathEntry( "smb4k_mount" )+"\t$(Smb4KUsers)\tuid=root\tgid=wheel\tsetenv=HOME=$CALLER_HOME\tenv=PASSWD,USER" ); X #endif X contents.append( "# End of Smb4K user entries." ); END-of-smb4k/files/patch-smb4kfileio exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510311144.j9VBi88h061205>