pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/smbchartool Importing converters/smbchartoo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e0f4baed824d
branches:  trunk
changeset: 504138:e0f4baed824d
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Dec 05 15:34:59 2005 +0000

description:
Importing converters/smbchartool pacakge 2.3a.


Smbchartool is File name conversion tool for Samba.

Samba, SMB/CIFS protocol server suite supports various file name encoding
and these encoded file name needs to be converted when Samba's configuration
need to be changed.  Smbchartool support these file name conversion
processing mainly Japanese character encoding.

diffstat:

 converters/smbchartool/DESCR            |   6 ++++
 converters/smbchartool/Makefile         |  32 ++++++++++++++++++++++++++
 converters/smbchartool/PLIST            |   7 +++++
 converters/smbchartool/distinfo         |   9 +++++++
 converters/smbchartool/patches/patch-aa |  40 +++++++++++++++++++++++++++++++++
 5 files changed, 94 insertions(+), 0 deletions(-)

diffs (114 lines):

diff -r a7f372b8bc60 -r e0f4baed824d converters/smbchartool/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/smbchartool/DESCR      Mon Dec 05 15:34:59 2005 +0000
@@ -0,0 +1,6 @@
+Smbchartool is File name conversion tool for Samba.
+
+Samba, SMB/CIFS protocol server suite supports various file name encoding
+and these encoded file name needs to be converted when Samba's configuration
+need to be changed.  Smbchartool support these file name conversion
+processing mainly Japanese character encoding.
diff -r a7f372b8bc60 -r e0f4baed824d converters/smbchartool/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/smbchartool/Makefile   Mon Dec 05 15:34:59 2005 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/12/05 15:34:59 taca Exp $
+#
+
+DISTNAME=      smbchartool-2.3a
+CATEGORIES=    converters japanese
+MASTER_SITES=  ftp://ftp.samba.gr.jp/pub/samba-jp/tool/
+
+PATCH_SITES=   http://www.miraclelinux.com/technet/samba30/download/
+PATCHFILES=    smbchartool-2.3a_3.0a.diff.gz
+PATCH_DIST_STRIP= -p1
+
+MAINTAINER=    tech-pkg-ja%jp.NetBSD.org@localhost
+HOMEPAGE=      http://www.miraclelinux.com/technet/samba30/migration.html
+COMMENT=       File name conversion tool for Samba
+
+DEPENDS+=      p5-jcode>=2.13:../../converters/p5-jcode
+DEPENDS+=      p5-Text-Iconv>=1.4:../../converters/p5-Text-Iconv
+
+NO_BUILD=      yes
+WRKSRC=                ${WRKDIR}/smbchartool
+REPLACE_PERL=  capecho hexecho smbfnconv
+
+do-install:
+.for f in ${REPLACE_PERL}
+       ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
+.endfor
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/smbchartool
+       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/smbchartool
+       ${INSTALL_DATA} ${WRKSRC}/dot.bashrc.example \
+               ${PREFIX}/share/doc/smbchartool/dot.profile
+
+.include "../../mk/bsd.pkg.mk"
diff -r a7f372b8bc60 -r e0f4baed824d converters/smbchartool/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/smbchartool/PLIST      Mon Dec 05 15:34:59 2005 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/05 15:34:59 taca Exp $
+bin/capecho
+bin/hexecho
+bin/smbfnconv
+share/doc/smbchartool/README
+share/doc/smbchartool/dot.profile
+@dirrm share/doc/smbchartool
diff -r a7f372b8bc60 -r e0f4baed824d converters/smbchartool/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/smbchartool/distinfo   Mon Dec 05 15:34:59 2005 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/12/05 15:34:59 taca Exp $
+
+SHA1 (smbchartool-2.3a.tar.gz) = 59ad29b550bc3c56455500058104cf0e01026206
+RMD160 (smbchartool-2.3a.tar.gz) = f3c5968692cb64006d0497f7eec15ad087159316
+Size (smbchartool-2.3a.tar.gz) = 30978 bytes
+SHA1 (smbchartool-2.3a_3.0a.diff.gz) = ea1db05059f84797d753eb9d388e8ee6c845a664
+RMD160 (smbchartool-2.3a_3.0a.diff.gz) = 0daa1dda927455ad1321d17ace1b0d1aba257d92
+Size (smbchartool-2.3a_3.0a.diff.gz) = 7327 bytes
+SHA1 (patch-aa) = 4a960b0f20927d61c5966cd566530c67f46679c2
diff -r a7f372b8bc60 -r e0f4baed824d converters/smbchartool/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/smbchartool/patches/patch-aa   Mon Dec 05 15:34:59 2005 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/12/05 15:34:59 taca Exp $
+
+--- dot.bashrc.example.orig    2001-12-05 13:14:02.000000000 +0900
++++ dot.bashrc.example
+@@ -1,4 +1,4 @@
+-# this is .bashrc example to use capecho and hexecho command
++# this is shell funciton examples to use capecho and hexecho command
+ #
+ # hcd is a replace of the "cd" to using on coding system = HEX
+ # ccd is also another replace of "cd" to using on coding system = CAP
+@@ -7,17 +7,17 @@
+ #     cd, mkdir, rmdir, pushd, rm, ln 
+ #  replacement.
+  
+-function hcd()    { cd    $(hexecho "$@"); }
+-function hmkdir() { mkdir $(hexecho "$@"); }
+-function hrmdir() { rmdir $(hexecho "$@"); }
+-function hpushd() { pushd $(hexecho "$@"); }
+-function hrm()    { rm    $(hexecho "$@"); }
+-function hln()    { ln    $(hexecho "$@"); }
++hcd()    { cd    $(hexecho "$@"); }
++hmkdir() { mkdir $(hexecho "$@"); }
++hrmdir() { rmdir $(hexecho "$@"); }
++hpushd() { pushd $(hexecho "$@"); }
++hrm()    { rm    $(hexecho "$@"); }
++hln()    { ln    $(hexecho "$@"); }
+ 
+-function ccd()    { cd    $(capecho "$@"); }
+-function cmkdir() { mkdir $(capecho "$@"); }
+-function crmdir() { rmdir $(capecho "$@"); }
+-function cpushd() { pushd $(capecho "$@"); }
+-function crm()    { rm    $(capecho "$@"); }
+-function cln()    { ln    $(capecho "$@"); }
++ccd()    { cd    $(capecho "$@"); }
++cmkdir() { mkdir $(capecho "$@"); }
++crmdir() { rmdir $(capecho "$@"); }
++cpushd() { pushd $(capecho "$@"); }
++crm()    { rm    $(capecho "$@"); }
++cln()    { ln    $(capecho "$@"); }
+ 



Home | Main Index | Thread Index | Old Index