Bug 97167 - Updating port sysutils/mountsmb2 to new version
Summary: Updating port sysutils/mountsmb2 to new version
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Andrey Slusar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-12 10:20 UTC by Rashid N. Achilov
Modified: 2006-05-16 17:36 UTC (History)
0 users

See Also:


Attachments
file.diff (172 bytes, patch)
2006-05-12 10:20 UTC, Rashid N. Achilov
no flags Details | Diff
file.diff (888 bytes, patch)
2006-05-12 10:20 UTC, Rashid N. Achilov
no flags Details | Diff
file.diff (512 bytes, patch)
2006-05-12 10:20 UTC, Rashid N. Achilov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rashid N. Achilov 2006-05-12 10:20:16 UTC
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.

Fix: PORTNAME=	mountsmb2
-PORTVERSION=	0.90.1
+PORTVERSION=	0.90.2
 CATEGORIES=	sysutils net
 MASTER_SITES=	ftp://ftp.granch.ru/pub/other/

 MAINTAINER=	shelton@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

-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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-12 10:24:13 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-12 10:24:27 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 3 Rashid N. Achilov 2006-05-12 12:56:49 UTC
On Friday 12 May 2006 16:24, Edwin Groothuis wrote:
> Maintainer of sysutils/mountsmb2,
> 
> Please note that PR ports/97167 has just been submitted.
> 
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
> 
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/97167

Yes, I agree.

E-mails shelton@granch.ru and shelton@www.granch.ru is completely equivalent.
-- 
   With Best Regards.
   Rashid N. Achilov (RNA1-RIPE), Web: http://granch.ru/~shelton
   Granch Ltd. system administrator, e-mail: achilov [at] granch [dot] ru
   PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A
Comment 4 Andrey Slusar freebsd_committer freebsd_triage 2006-05-16 17:25:38 UTC
State Changed
From-To: feedback->open

Submitter is maintainer. 


Comment 5 Andrey Slusar freebsd_committer freebsd_triage 2006-05-16 17:25:38 UTC
Class Changed
From-To: change-request->maintainer-update

Submitter is maintainer.
Comment 6 Andrey Slusar freebsd_committer freebsd_triage 2006-05-16 17:26:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anray

I'll take it.
Comment 7 Andrey Slusar freebsd_committer freebsd_triage 2006-05-16 17:36:12 UTC
State Changed
From-To: open->closed

Committed. Thanks!