summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2005-12-05 15:34:59 +0000
committertaca <taca@pkgsrc.org>2005-12-05 15:34:59 +0000
commit754a18946a9c24895e38b5e5fa1b90ea5bba49ef (patch)
treebc0d1feac0898d5519bef7c75965cf83f3252385 /converters
parent929b8ab0573b91aa4b066b59ac7fb4b10d538c90 (diff)
downloadpkgsrc-754a18946a9c24895e38b5e5fa1b90ea5bba49ef.tar.gz
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 (limited to 'converters')
-rw-r--r--converters/smbchartool/DESCR6
-rw-r--r--converters/smbchartool/Makefile32
-rw-r--r--converters/smbchartool/PLIST7
-rw-r--r--converters/smbchartool/distinfo9
-rw-r--r--converters/smbchartool/patches/patch-aa40
5 files changed, 94 insertions, 0 deletions
diff --git a/converters/smbchartool/DESCR b/converters/smbchartool/DESCR
new file mode 100644
index 00000000000..f98687607f9
--- /dev/null
+++ b/converters/smbchartool/DESCR
@@ -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 --git a/converters/smbchartool/Makefile b/converters/smbchartool/Makefile
new file mode 100644
index 00000000000..c0ee50923c2
--- /dev/null
+++ b/converters/smbchartool/Makefile
@@ -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
+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 --git a/converters/smbchartool/PLIST b/converters/smbchartool/PLIST
new file mode 100644
index 00000000000..58cc5dff2d9
--- /dev/null
+++ b/converters/smbchartool/PLIST
@@ -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 --git a/converters/smbchartool/distinfo b/converters/smbchartool/distinfo
new file mode 100644
index 00000000000..e45afc6d997
--- /dev/null
+++ b/converters/smbchartool/distinfo
@@ -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 --git a/converters/smbchartool/patches/patch-aa b/converters/smbchartool/patches/patch-aa
new file mode 100644
index 00000000000..99edaa19b92
--- /dev/null
+++ b/converters/smbchartool/patches/patch-aa
@@ -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 "$@"); }
+