ports/97167: Updating port sysutils/mountsmb2 to new version
Rashid N. Achilov
shelton at granch.ru
Fri May 12 09:20:20 UTC 2006
>Number: 97167
>Category: ports
>Synopsis: Updating port sysutils/mountsmb2 to new version
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri May 12 09:20:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Rashid N. Achilov
>Release: FreeBSD 5.5-PRERELEASE i386
>Organization:
Granch Ltd.
>Environment:
System: FreeBSD www.granch.ru 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #1: Fri Mar 17 20:42:41 NOVT 2006 root at www.granch.ru:/usr/obj/usr/src/sys/Proxy i386
>Description:
This is a second version of mountsmb2. This version we throw out Samba and GAWK
dependences, but insert nbtscan and host instead of it :-). Also, we do not need
smb2awk anymore - smb2nsmbrc completely rewritten by shell.
>How-To-Repeat:
>Fix:
diff -ruN mountsmb2.old/Makefile mountsmb2/Makefile
--- mountsmb2.old/Makefile Sun Apr 30 21:41:30 2006
+++ mountsmb2/Makefile Fri May 12 16:02:26 2006
@@ -6,29 +6,32 @@
#
PORTNAME= mountsmb2
-PORTVERSION= 0.90.1
+PORTVERSION= 0.90.2
CATEGORIES= sysutils net
MASTER_SITES= ftp://ftp.granch.ru/pub/other/
MAINTAINER= shelton at www.granch.ru
COMMENT= SMB/CIFS shares mounting scripts to do it at login
-RUN_DEPENDS= findsmb:${PORTSDIR}/net/samba3 \
+RUN_DEPENDS= nbtscan:${PORTSDIR}/net-mgmt/nbtscan \
sudo:${PORTSDIR}/security/sudo \
- gawk:${PORTSDIR}/lang/gawk
+
+.if !exists(/usr/bin/host)
+RUN_DEPENDS+= host:${PORTSDIR}/dns/bind9
+.endif
USE_BZIP2= yes
NO_BUILD= yes
do-install:
-.for i in smb2awk smb2nsmbrc mountsmb2
+.for i in smb2nsmbrc mountsmb2
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
-@${MKDIR} ${EXAMPLESDIR}
-.for i in sudoers .login .nsmbrc .mssmbrc
+.for i in sudoers .login .nsmbrc .mssmbrc nsmb.conf
${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}
.endfor
diff -ruN mountsmb2.old/distinfo mountsmb2/distinfo
--- mountsmb2.old/distinfo Sun Apr 30 21:41:30 2006
+++ mountsmb2/distinfo Fri May 12 16:02:53 2006
@@ -1,3 +1,3 @@
-MD5 (mountsmb2-0.90.1.tar.bz2) = 7312cf69995b148dfd03a845805a58b7
-SHA256 (mountsmb2-0.90.1.tar.bz2) = 5efae56f0d38b3964cff38960f1b855b62210d8332ddeffe5e9ae209bbf06ee7
-SIZE (mountsmb2-0.90.1.tar.bz2) = 5505
+MD5 (mountsmb2-0.90.2.tar.bz2) = c01c062a49be98e66a624154226b64fb
+SHA256 (mountsmb2-0.90.2.tar.bz2) = e23e6cf07c614091a61f3189c23ee81eb7197f6ceb52f5304e95e60cebbbdc74
+SIZE (mountsmb2-0.90.2.tar.bz2) = 6245
diff -ruN mountsmb2.old/pkg-descr mountsmb2/pkg-descr
--- mountsmb2.old/pkg-descr Sun Apr 30 21:41:30 2006
+++ mountsmb2/pkg-descr Fri May 12 16:03:48 2006
@@ -3,8 +3,8 @@
understand, what you do, know how to install SMB/CIFS support into a kernel,
how to setup /etc/nsmb.conf and .nsmbrc files, etc.
-Script are written on Shell. Uses Samba utility findsmb to locate Windows boxes
-when generated .nsmbrc file in semi-automated mode with smb2nsmbrc helper
+Script are written on Shell. Uses nbtscan and host utilites to locate Windows
+boxes when generated .nsmbrc file in semi-automated mode with smb2nsmbrc helper
script. Also uses their own file .mssmbrc to describe any share, mounted with
mountsmb2.
diff -ruN mountsmb2.old/pkg-plist mountsmb2/pkg-plist
--- mountsmb2.old/pkg-plist Sun Apr 30 21:41:30 2006
+++ mountsmb2/pkg-plist Fri May 12 16:04:11 2006
@@ -1,10 +1,10 @@
bin/mountsmb2
bin/smb2nsmbrc
-bin/smb2awk
%%PORTDOCS%%%%EXAMPLESDIR%%/sudoers
%%PORTDOCS%%%%EXAMPLESDIR%%/.login
%%PORTDOCS%%%%EXAMPLESDIR%%/.nsmbrc
%%PORTDOCS%%%%EXAMPLESDIR%%/.mssmbrc
+%%PORTDOCS%%%%EXAMPLESDIR%%/nsmb.conf
%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list