diff -Nru samba-2.0.10-ja-1.1/Changelog.en samba-2.0.10-ja-1.2beta1/Changelog.en --- samba-2.0.10-ja-1.1/Changelog.en Sun Aug 12 15:09:48 2001 +++ samba-2.0.10-ja-1.2beta1/Changelog.en Wed Sep 26 03:20:06 2001 @@ -9,7 +9,20 @@ x: Fix of sending a patch to Samba Team c: Fix of being commited a patch by Samba Team -samba-2.0.10-ja-1.1 (2001/08/xx) +samba-2.0.10-ja-1.2 (2001/??/??) +~~~~~~~~~~~~~~~~~~~ + Changes to the internationalized version + * different SFN filenames are treated as the same during + comparing these filenames + * Added scripts in packaging/Vine for Samba Japanese Edition + * Added scripts in packaging/PS2_Linux for Samba Japanese Edition + + Changes to the original version + * Fixed "J0058: cannot work the Samba server joining the domain of + full-width characters" + * Fixed "J0029: connected to invalid home directory" + +samba-2.0.10-ja-1.1 (2001/08/20) ~~~~~~~~~~~~~~~~~~~ * Fixed not to put half-width KANA to netbios name via SWAT * Modified the package scripts for HP-UX diff -Nru samba-2.0.10-ja-1.1/Changelog.ja samba-2.0.10-ja-1.2beta1/Changelog.ja --- samba-2.0.10-ja-1.1/Changelog.ja Sun Aug 12 15:09:48 2001 +++ samba-2.0.10-ja-1.2beta1/Changelog.ja Wed Sep 26 03:20:06 2001 @@ -9,7 +9,21 @@ x: 本家に patch を提出した修正 c: 本家に patch がコミットされた修正 -samba-2.0.10-ja-1.1 (2001/08/xx) +samba-2.0.10-ja-1.2 (2001/??/??) +~~~~~~~~~~~~~~~~~~~ + 国際化版独自の修正 + * 短いファイル名の比較時に、異なる短いファイル名が同一視される + * packaging/Vine 以下に Samba 日本語版のパッケージ作成スクリプト + を追加 + * packaging/PS2_Linux 以下に Samba 日本語版のパッケージ作成スク + リプトを追加 + + オリジナル版に対する修正 + * 「J0058: 全角文字を含むドメインに参加した Samba マシンが機能し + ない」の修正 + * 「J0029: 不正なホームディレクトリに接続される」の修正 + +samba-2.0.10-ja-1.1 (2001/08/20) ~~~~~~~~~~~~~~~~~~~ 国際化版独自の修正 * SWATからnetbios nameに半角カナなどを入力できない不具合を修正 diff -Nru samba-2.0.10-ja-1.1/RELNOTE.en samba-2.0.10-ja-1.2beta1/RELNOTE.en --- samba-2.0.10-ja-1.1/RELNOTE.en Mon Aug 20 18:19:15 2001 +++ samba-2.0.10-ja-1.2beta1/RELNOTE.en Wed Sep 26 03:20:06 2001 @@ -766,6 +766,43 @@ b) Modified packaging scripts for HP-UX o patch: sugj-tech:3867 and misc. +Changed in Samba 2.0.10-ja-1.2 + + bug#66) J0029: connected to invalid home directory + o patch: sugj-tech:4025 + o Testing: + Windows NT/2000 client $B$G!"$"$k%f!<%6$G%m%0%*%U$7$F$9$0(B + $B$KJL$N%f!<%6$G%m%0%*%s$7$F$b!"%m%0%*%U:Q%f!<%6$N%[!<%`%G(B + $B%#%l%/%H%j$,6&M-0lMw$K8=$l$J$$!#(B + + bug#67) $BC;$$%U%!%$%kL>$,0c$C$F$$$k$K$b4X$o$i$:F10l$@$HH=Dj$5$l$k(B + o patch: sugj-tech:4077 + o depend on: bug#2 + o $B%F%9%HJ}K!(B: + $B!V#2#0#0#1#0#8#0#2!2#B#C#D#E!2#V#0#0#1#3!2%P!<%8%g%s%"%C%W0MMj=q!2Js9p(B.doc$B!W(B + $B$H$$$&L>A0$N%U%!%$%k$,B8:_$9$k%G%#%l%/%H%j$K!"(B + $B!V#2#0#0#1#0#8#0#2!2#B#C#D#E!2#V#0#0#1#4!2%P!<%8%g%s%"%C%W0MMj=q!2Js9p(B.doc$B!W(B + $B$H$$$&L>A0$N%U%!%$%k$,DI2C$G$-$J$$!#(B + + bug#68) J0058: cannot work the Samba server joining the domain of + full-width characters" + o patch: samba-jp: 10906 + o depends on: bug#50 + o $B%F%9%HJ}K!(B: + coding system = sjis/euc/cap/hex / client code page = 932 $B$N4D6-$G!"(B + $BF|K\8l$r4^$`%I%a%$%sL>$N%I%a%$%s$K;22C$7$?>l9g!"(B + + security = domain + + $B$N4D6-$G!"(Bsmbpasswd $BCf$K%(%s%H%j$,$J$$%"%+%&%s%H$G%"%/%;%9$G$-$k$3(B + $B$H$r3NG'$9$k!#(B + + a) $B%I%-%e%a%s%H$N%P!<%8%g%sI=5-$N=$@5(B + o sugj-tech:4035 $B$N%Q%C%A$J$I(B + + b) PS2 Linux/Vine Linux $B$N%Q%C%1!<%8:n@.%9%/%j%W%H$N=$@5$HDI2C(B + + Outstanding problems (will be fixed): bug#26) It takes a long time to write from some applications on FreeBSD @@ -792,5 +829,8 @@ bug#49) J0015: a broken file remains to cancel transferring a huge file + bug#65) $BA43QBgJ8;z$H>.J8;z$,:.:_$7$?%3%s%T%e!<%?L>$N(BSamba$B%^%7%s$,%I%a(B + $B%$%s$K;22C$G$-$J$$(B + o depends on bug#50 -Registered at #64 +Registered at #68 diff -Nru samba-2.0.10-ja-1.1/RELNOTE.ja samba-2.0.10-ja-1.2beta1/RELNOTE.ja --- samba-2.0.10-ja-1.1/RELNOTE.ja Mon Aug 20 01:52:17 2001 +++ samba-2.0.10-ja-1.2beta1/RELNOTE.ja Wed Sep 26 03:20:06 2001 @@ -714,6 +714,44 @@ b) HP-UX のパッケージ作成スクリプトの修正 o patch: sugj-tech:3867 など + +Samba 2.0.10-ja-1.2 の修正予定点 + + bug#66) J0029: 不正なホームディレクトリに接続される + o patch: sugj-tech:4025 + o テスト方法: + Windows NT/2000 client で、あるユーザでログオフしてすぐ + に別のユーザでログオンしても、ログオフ済ユーザのホームデ + ィレクトリが共有一覧に現れない。 + + bug#67) 短いファイル名が違っているにも関わらず同一だと判定される + o patch: sugj-tech:4077 + o depend on: bug#2 + o テスト方法: + 「20010802_BCDE_V0013_バージョンアップ依頼書_報告.doc」 + という名前のファイルが存在するディレクトリに、 + 「20010802_BCDE_V0014_バージョンアップ依頼書_報告.doc」 + という名前のファイルが追加できない。 + + bug#68) J0058: 全角文字を含むドメインに参加した Samba マシンが機能しな + い + o patch: samba-jp: 10906 + o depends on: bug#50 + o テスト方法: + coding system = sjis/euc/cap/hex / client code page = 932 の環境で、 + 日本語を含むドメイン名のドメインに参加した場合、 + + security = domain + + の環境で、smbpasswd 中にエントリがないアカウントでアクセスできるこ + とを確認する。 + + a) ドキュメントのバージョン表記の修正 + o sugj-tech:4035 のパッチなど + + b) PS2 Linux/Vine Linux のパッケージ作成スクリプトの修正 + + 修正予定の問題点など bug#26) J0005: FreeBSDで一部のアプリケーションからの書き込みに時間がか @@ -741,4 +779,8 @@ bug#49) J0015: 大容量ファイルを転送中にキャンセルすると壊れたファイルが残る -#64 まで登録 + bug#65) 全角大文字と小文字が混在したコンピュータ名のSambaマシンがドメ + インに参加できない + o depends on bug#50 + +#68 まで登録 diff -Nru samba-2.0.10-ja-1.1/docs/ja/htmldocs/smb.conf.5.html samba-2.0.10-ja-1.2beta1/docs/ja/htmldocs/smb.conf.5.html --- samba-2.0.10-ja-1.1/docs/ja/htmldocs/smb.conf.5.html Sat Jul 7 15:53:44 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/htmldocs/smb.conf.5.html Tue Oct 16 22:36:59 2001 @@ -3388,7 +3388,7 @@

preexec (S)

このオプションは、サービス接続時に常時起動されるコマンドを指定する。 -これには通常の置換操作も使える。 +コマンド中には通常のSambaの変数も利用できる。

興味深い例としては、ログインするたびごとに、 歓迎(welcome)メッセージをユーザに送るものがある。 その日の一言 (message of the day) なんかがよいかもしれない。 @@ -3407,8 +3407,7 @@ preexec = echo \"%u connected to %S from %m (%I)\" >> /tmp/log

preexec close (S)
-

この真偽値オプションは、"preexec" が、クローズ -すべき接続中のサービスからの非ゼロのリターンコードを制御する。 +

この真偽値オプションは、"preexec" で指定したコマンドから 0 以外の戻り値が返却された際に、接続中のコネクションをクローズするかどうかを制御する。

既定値: preexec close = no

例: diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/lmhosts.5.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/lmhosts.5.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/lmhosts.5.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/lmhosts.5.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "lmhosts " "5" "23 Oct 1998 (JP-1999/05/11)" "Samba 2\&.0\&.7" "SAMBA" +.TH "lmhosts " "5" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" lmhosts \- Samba の NetBIOS hosts ファイル diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/make_smbcodepage.1.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/make_smbcodepage.1.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/make_smbcodepage.1.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/make_smbcodepage.1.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "make_smbcodepage " "1" "23 Oct 1998 (JP-1999/05/18)" "Samba 2\&.0\&.7" "SAMBA" +.TH "make_smbcodepage " "1" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" make_smbcodepage \- Samba 用のコードページ・ファイルの構築 diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/make_unicodemap.1.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/make_unicodemap.1.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/make_unicodemap.1.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/make_unicodemap.1.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "make_unicodemap " "1" "23 Oct 1998(JP-2000/05/13)" "Samba 2\&.0\&.7" "SAMBA" +.TH "make_unicodemap " "1" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" make_unicodemap \- Sambaのunicode変換ルール表を生成する diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/nmbd.8.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/nmbd.8.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/nmbd.8.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/nmbd.8.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "nmbd" "8" "23 Oct 1998 (JP-1999/12/25)" "Samba 2\&.0\&.7" "SAMBA" +.TH "nmbd" "8" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" nmbd \- クライアントへの NetBIOS ネームサーバのサポート機能 diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/nmblookup.1.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/nmblookup.1.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/nmblookup.1.man Thu May 24 02:51:38 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/nmblookup.1.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "nmblookup " "1" "23 Oct 1998 (JP-1999/12/25)" "Samba 2\&.0\&.7" "SAMBA" +.TH "nmblookup " "1" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" nmblookup \- NetBIOS 名を検索するのに使用する NetBIOS over TCP/IP クライアント diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/samba.7.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/samba.7.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/samba.7.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/samba.7.man Wed Aug 22 17:26:00 2001 @@ -1,5 +1,4 @@ -.TH "Samba " "7" "23 Oct 1998 (JP-2000/01/30)" "Samba 2\&.0\&.7" "Samba" -() +.TH Samba 7 "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" .PP .SH "NAME" Samba \- UNIX 用の SMB/CIFS ファイルサーバ diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smb.conf.5.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smb.conf.5.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smb.conf.5.man Sat Jul 7 15:53:58 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smb.conf.5.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smb\&.conf " "5" "28 Feb 1999(JP-2000/05/14)" "Samba2\&.0\&.7" "SAMBA" +.TH "smb\&.conf " "5" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" smb\&.conf \- Samba 全体の設定ファイル diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smbclient.1.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbclient.1.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smbclient.1.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbclient.1.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smbclient " "1" "23 Oct 1998 (JP-2000/01/20)" "Samba 2\&.0\&.7" "SAMBA" +.TH "smbclient " "1" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" smbclient \- サーバ上の SMB/CIFS リソースにアクセスする ftp ライクなクライアント diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smbd.8.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbd.8.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smbd.8.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbd.8.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smbd " "8" "23 Oct 1998(JP-2000/02/06)" "Samba 2\&.0\&.7" "Samba" +.TH "smbd " "8" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10 "Samba" (SAMBA) .PP .SH "NAME" diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smbmnt.8.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbmnt.8.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smbmnt.8.man Sat Jul 7 15:53:58 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbmnt.8.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smbmnt " "8" "25 September 1999 (JP-2000-01-26)" "Samba 2\&.0\&.7" "SAMBA" +.TH "smbmnt " "8" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" smbmnt \- SMB ファイルシステムをマウント diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smbmount.8.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbmount.8.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smbmount.8.man Sat Jul 7 15:53:58 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbmount.8.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smbmount " "8" "25 September 1999 (JP-2000/01/26)" "Samba 2\&.0\&.7" "SAMBA" +.TH "smbmount " "8" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" smbmount \- SMB ファイルシステムのマウント diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smbpasswd.5.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbpasswd.5.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smbpasswd.5.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbpasswd.5.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smbpasswd " "5" "29 Feb 1999 (JP-1999/05/11)" "Samba 2\&.0\&.7" "SAMBA" +.TH "smbpasswd " "5" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" smbpasswd \- Samba 暗号化パスワードファイル diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smbpasswd.8.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbpasswd.8.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smbpasswd.8.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbpasswd.8.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smbpasswd " "8" "23 Oct 1998 (JP-2000/05/02)" "Samba 2\&.0\&.7" "SAMBA" +.TH "smbpasswd " "8" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" smbpasswd \- ユーザの SMB パスワードの変更 diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smbrun.1.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbrun.1.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smbrun.1.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbrun.1.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smbrun " "1" "23 Oct 1998 (JP-1999/03/20)" "Samba 2\&.0\&.7" "SAMBA" +.TH "smbrun " "1" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" smbrun \- smbd と外部プログラム間のインタフェース・プログラム diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smbsh.1.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbsh.1.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smbsh.1.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbsh.1.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smbsh " "1" "23 Oct 1998 (JP-1999/06/03)" "Samba 2\&.0\&.7" "SAMBA" +.TH "smbsh " "1" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" smbsh \- Unix コマンドに Windows NT ファイルシステムへのアクセスを可能にする diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smbspool.8.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbspool.8.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smbspool.8.man Sat Jul 7 15:53:58 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbspool.8.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smbspool " "8" "11 October 1999 (JP-2000/01/19)" "Samba 2\&.0\&.7" "SAMBA" +.TH "smbspool " "8" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" smbspool \- mount an SMB filesystem diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smbstatus.1.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbstatus.1.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smbstatus.1.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbstatus.1.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smbstatus " "1" "23 Oct 1998 (JP-2000/05/02)" "Samba 2\&.0\&.7" "SAMBA" +.TH "smbstatus " "1" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" smbstatus \- 現在の Samba の接続を報告 diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smbtar.1.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbtar.1.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smbtar.1.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbtar.1.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smbtar " "1" "23 Oct 1998 (JP-2000/01/23)" "Samba 2\&.0\&.7" "SAMBA" +.TH "smbtar " "1" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" smbtar \- SMB/CIFS の共有ディレクトリから diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/smbumount.8.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbumount.8.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/smbumount.8.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/smbumount.8.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "smbumount" "8" "28 Feb 1999 (JP-1999/01/13)" "Samba 2\&.0\&.7" "SAMBA" +.TH "smbumount" "8" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .SH 名前 smbumount \- 通常ユーザ向けのアンマウント .SH 形式 diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/swat.8.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/swat.8.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/swat.8.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/swat.8.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "swat " "8" "23 Oct 1998 (JP-1999/06/02)" "Samba 2\&.0\&.7" "SAMBA" +.TH "swat " "8" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" swat \- Samba Web 管理ツール diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/testparm.1.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/testparm.1.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/testparm.1.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/testparm.1.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "testparm " "1" "23 Oct 1998 (JP-1999/12/25)" "Samba 2\&.0\&.7" "SAMBA" +.TH "testparm " "1" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" testparm \- smbd 構成ファイル内部の正当性を検査 diff -Nru samba-2.0.10-ja-1.1/docs/ja/manpages/testprns.1.man samba-2.0.10-ja-1.2beta1/docs/ja/manpages/testprns.1.man --- samba-2.0.10-ja-1.1/docs/ja/manpages/testprns.1.man Fri May 4 04:11:40 2001 +++ samba-2.0.10-ja-1.2beta1/docs/ja/manpages/testprns.1.man Wed Aug 22 17:26:00 2001 @@ -1,4 +1,4 @@ -.TH "testprns " "1" "23 Oct 1998 (JP-2000/01/23)" "Samba 2\&.0\&.7" "SAMBA" +.TH "testprns " "1" "23 Jun 2001 (JP-2001/08/20)" "Samba 2\&.0\&.10" "SAMBA" .PP .SH "NAME" testprns \- smbd で有効なプリンタ名かどうかの検査 diff -Nru samba-2.0.10-ja-1.1/packaging/Caldera/OpenLinux/samba2.spec samba-2.0.10-ja-1.2beta1/packaging/Caldera/OpenLinux/samba2.spec --- samba-2.0.10-ja-1.1/packaging/Caldera/OpenLinux/samba2.spec Mon Aug 20 18:41:01 2001 +++ samba-2.0.10-ja-1.2beta1/packaging/Caldera/OpenLinux/samba2.spec Wed Oct 17 01:04:44 2001 @@ -1,7 +1,7 @@ Summary: Samba SMB client and server Name: samba Version: 2.0.10 -Release: 1.1 +Release: 1.2beta1 Copyright: GNU GPL version 2 Group: Server/Network Source: ftp://samba.org/pub/samba/samba-2.0.10.tar.gz diff -Nru samba-2.0.10-ja-1.1/packaging/Kondara/samba2.ja.spec samba-2.0.10-ja-1.2beta1/packaging/Kondara/samba2.ja.spec --- samba-2.0.10-ja-1.1/packaging/Kondara/samba2.ja.spec Mon Aug 20 18:41:01 2001 +++ samba-2.0.10-ja-1.2beta1/packaging/Kondara/samba2.ja.spec Wed Oct 17 01:04:44 2001 @@ -1,7 +1,7 @@ Summary: Samba SMB client and server Summary(ja): Samba SMB クライアントとサーバー Name: samba -%define ja_rel 1.1 +%define ja_rel 1.2beta1 Version: 2.0.10 Release: ja_%{ja_rel} Vendor: Samba User Group Japan diff -Nru samba-2.0.10-ja-1.1/packaging/PHT/TurboLinux/makerpms.sh samba-2.0.10-ja-1.2beta1/packaging/PHT/TurboLinux/makerpms.sh --- samba-2.0.10-ja-1.1/packaging/PHT/TurboLinux/makerpms.sh Mon Aug 20 18:41:01 2001 +++ samba-2.0.10-ja-1.2beta1/packaging/PHT/TurboLinux/makerpms.sh Wed Oct 17 01:04:44 2001 @@ -7,7 +7,7 @@ GRPID=`id -g` VER=2.0.10 -LVER=1.1 +LVER=1.2beta1 LPREF=ja ( cd ../../../.. ; chown -R ${USERID}.${GRPID} ${SRCDIR}/samba-${VER}-${LPREF}-${LVER}) diff -Nru samba-2.0.10-ja-1.1/packaging/PHT/TurboLinux/samba2.ja.spec samba-2.0.10-ja-1.2beta1/packaging/PHT/TurboLinux/samba2.ja.spec --- samba-2.0.10-ja-1.1/packaging/PHT/TurboLinux/samba2.ja.spec Mon Aug 20 18:41:01 2001 +++ samba-2.0.10-ja-1.2beta1/packaging/PHT/TurboLinux/samba2.ja.spec Wed Oct 17 01:04:44 2001 @@ -1,7 +1,7 @@ Summary: Samba SMB client and server Name: samba Version: 2.0.10 -%define ja_rel 1.1 +%define ja_rel 1.2beta1 Release: ja_%{ja_rel} Copyright: GNU GPL version 2 Group: Networking diff -Nru samba-2.0.10-ja-1.1/packaging/PHT/TurboLinux/samba2.spec samba-2.0.10-ja-1.2beta1/packaging/PHT/TurboLinux/samba2.spec --- samba-2.0.10-ja-1.1/packaging/PHT/TurboLinux/samba2.spec Mon Aug 20 18:41:01 2001 +++ samba-2.0.10-ja-1.2beta1/packaging/PHT/TurboLinux/samba2.spec Wed Oct 17 01:04:44 2001 @@ -1,7 +1,7 @@ Summary: Samba SMB client and server Name: samba Version: 2.0.10 -Release: 1.1 +Release: 1.2beta1 Copyright: GNU GPL version 2 Group: Networking Source: ftp://samba.org/pub/samba/samba-2.0.10.tar.gz @@ -15,13 +15,13 @@ %package debugtools Version: 2.0.10 -Release: 1.1 +Release: 1.2beta1 Group: Networking Summary: Programs to debug Samba and to test SMB client integrity %package -n smbfs Version: 2.0.10 -Release: 1.1 +Release: 1.2beta1 Group: Utilities/File Summary: Programs to mount SMB shares. diff -Nru samba-2.0.10-ja-1.1/packaging/PS2Linux/samba2.spec samba-2.0.10-ja-1.2beta1/packaging/PS2Linux/samba2.spec --- samba-2.0.10-ja-1.1/packaging/PS2Linux/samba2.spec Thu Jan 1 09:00:00 1970 +++ samba-2.0.10-ja-1.2beta1/packaging/PS2Linux/samba2.spec Wed Oct 17 01:04:44 2001 @@ -0,0 +1,841 @@ +Summary: Samba SMB server. +Summary(ja): Sambaサーバ +Name: samba +%define en_ver 2.0.10 +%define ja_ver 1.2beta1 +Version: %{en_ver}_ja_%{ja_ver} +Release: 1 +Copyright: GNU GPL Version 2 +Group: System Environment/Daemons +Source: ftp://ftp.samba.gr.jp/pub/samba-jp/samba-%{en_ver}-ja/samba-%{en_ver}-ja-%{ja_ver}.tar.gz +Source1: samba.log +Source2: smb.conf +Source3: samba-jp.tar.gz +Packager: TAKAHASHI Motonobu +Patch: samba-makefilepath.patch +Patch1: smbw.patch +Patch2: samba-glibc21.patch +Patch3: samba-2.0.3-fixinit.patch +Patch4: samba-nsl.patch +Patch5: samba-2.0.5a-gawk.patch +Patch6: samba-smbprint.patch +Requires: pam >= 0.64, samba-common = %{version}, gettext >= 0.10, tcp_wrappers +Buildroot: %{_tmppath}/%{name}-root +Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall +Prereq: fileutils sed gawk grep + + +%description +Samba provides an SMB server which can be used to provide network +services to SMB (sometimes called "Lan Manager") clients, including +various versions of MS Windows, OS/2, and other Linux machines. Samba +uses NetBIOS over TCP/IP (NetBT) protocols and does NOT need NetBEUI +(Microsoft Raw NetBIOS frame) protocol. + +Samba-2 features an almost working NT Domain Control capability and +includes the new SWAT (Samba Web Administration Tool) that allows +samba's smb.conf file to be remotely managed using your favourite web +browser. For the time being this is being enabled on TCP port 901 via +inetd. + +Please refer to the WHATSNEW.txt document for fixup information. This +binary release includes encrypted password support. Please read the +smb.conf file and ENCRYPTION.txt in the docs directory for +implementation details. + +NOTE: Red Hat Linux 5.X and Vine Linux Uses PAM which has +integrated support for Shadow passwords. Do NOT recompile with +the SHADOW_PWD option enabled. Red Hat Linux has built in +support for quotas in PAM. + + +NOTE2: +This SWAT and man translation is made by Japanese Samba user +association. But the Samba itself is just same as the orignal and +isn't still extended by them. +You can't use Japanese in share label name. Notice that +it will cause character turning, please. + +%description -l ja +Samba は Microsoft Windows 3.1/95/98/NT/2000 や LAN Manager 、OS/2 +そして他の Linux マシンを含む SMB/CIFS クライアントにファイル共有や +プリント共有サービスを提供します。 +Sambaは NetBIOS over TCP/IP (NBT) プロトコルを使用するので、 +NetBEUI(Microsoft Raw NetBIOS frame) プロトコルは不要です。 + +Samba 2.0 では、新しく Windows 95/98 クライアントに対する +ログオンサーバ機能や、Webブラウザ経由で Samba のsmb.conf ファイ +ルのリモート管理を実現するツールであるSWAT (Samba Web +Administration Tool) が提供されるようになりました。 SWATは + inetd 経由で TCP ポート 901 (デフォルト)を利用します。 + +修正情報は WHATNEW.TXT などを参照してください。このバイナリリリース +は暗号化パスワードを含んでいます。実装の詳細に関して、smb.confファ +イルまたは 、docsディレクトリにあるENCRYPTION.txtを参照してください。 + +NOTE: RedHat Linux 5.xやVine Linuxは シャドウパスワードサポートが統合 +されているPAMを使用しています。SHADOW_PWDオプションを有効にして再コン +パイルしないでください。 + + +%package client +Summary: Samba (SMB) client programs. +Summary(ja): Samba (SMB) クライアントプログラム +Group: Applications/System +Requires: samba-common = %{version} +Obsoletes: smbfs + +%description client +The samba-client package provides some SMB clients to complement the +built-in SMB filesystem in Linux. These clients allow access of SMB +shares and printing to SMB printers. + +%description client -l ja +Samba-client は Linux カーネルがサポートしている +SMB ファイルシステム機能を操作する SMB クライアントを提供します。 +これらは SMB 共有のアクセスと SMB プリンタへの印刷を実現します。 + +%package common +Summary: Files used by both Samba servers and clients. +Summary(ja): Sambaサーバーとクライアントの両方に使用されるファイル +Group: Applications/System + +%description common +Samba-common provides files necessary for both the server and client +packages of Samba. + +%description common -l ja +Samba-common は Sambaのサーバとクライアントの両方のパッケージで +使用される共通的なファイルを提供します。 + +%prep +%setup -q -a 3 -n samba-%{en_ver}-ja-%{ja_ver} +%patch -p1 -b .makefile +%patch1 -p1 -b .smbw +%patch2 -p1 -b .glibc21 +%patch3 -p1 -b .fixinit +%patch4 -p1 -b .nsl +%patch5 -p1 -b .gawk +%patch6 -p1 -b .smbprint + +%build +cd source +autoconf +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=/etc \ + --with-lockdir=/var/lock/samba --with-privatedir=/etc \ + --with-swatdir=/usr/share/swat --with-sambabook=/usr/share/swat/using_samba \ + --with-swat-langfile=/usr/share/swat/swat-i18n.conf \ + --with-automount --with-smbmount \ + --with-pam --with-syslog --with-profile --with-netatalk \ + --with-quotas --with-utmp --with-i18n-swat + +make CFLAGS="$RPM_OPT_FLAGS" all + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/sbin +mkdir -p $RPM_BUILD_ROOT/etc/codepages/src +mkdir -p $RPM_BUILD_ROOT/etc/{logrotate.d,pam.d} +mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d +mkdir -p $RPM_BUILD_ROOT/usr/{bin,sbin} +mkdir -p $RPM_BUILD_ROOT/usr/share/swat/{images,help,include} +mkdir -p $RPM_BUILD_ROOT/usr/share/swat/ja/{images,help,include} +mkdir -p $RPM_BUILD_ROOT/usr/share/locale/en/LC_MESSAGES +mkdir -p $RPM_BUILD_ROOT/usr/share/locale/ja/LC_MESSAGES +mkdir -p $RPM_BUILD_ROOT/usr/share/swat/using_samba/{figs,gifs} +mkdir -p $RPM_BUILD_ROOT/usr/man/{man1,man5,man7,man8} +mkdir -p $RPM_BUILD_ROOT/usr/man/ja/{man1,man5,man7,man8} +mkdir -p $RPM_BUILD_ROOT/var/lock/samba +mkdir -p $RPM_BUILD_ROOT/var/log/samba +mkdir -p $RPM_BUILD_ROOT/var/spool/samba + +for i in nmblookup smbclient smbspool smbpasswd smbstatus testparm testprns \ + smbmount smbmnt smbumount make_smbcodepage make_printerdef rpcclient make_unicodemap make_nftable +do + install -m755 -s source/bin/$i $RPM_BUILD_ROOT/usr/bin +done + +for i in addtosmbpass mksmbpasswd.sh smbtar convert_smbpasswd +do + install -m755 source/script/$i $RPM_BUILD_ROOT/usr/bin +done + +for i in smbd nmbd swat +do + install -m755 -s source/bin/$i $RPM_BUILD_ROOT/usr/sbin +done + +for i in smbclient.1 smbstatus.1 smbtar.1 testparm.1 testprns.1 make_smbcodepage.1 nmblookup.1 make_unicodemap.1 +do + install -m644 docs/manpages/$i $RPM_BUILD_ROOT/usr/man/man1 +done + +for i in 437 737 775 850 852 861 866 932 936 949 950 1251 +do + install -m644 source/codepages/codepage_def.$i $RPM_BUILD_ROOT/etc/codepages/src +done +for i in 437 737 850 852 861 866 932 936 949 950 ISO8859-1 ISO8859-2 ISO8859-5 \ + ISO8859-7 KOI8-R +do +install -m644 source/codepages/CP$i.TXT $RPM_BUILD_ROOT/etc/codepages/src +done +install -m644 source/codepages/NormalizationTest.txt $RPM_BUILD_ROOT/etc/codepages/src +install -m644 source/codepages/NFD2MacOSX.txt $RPM_BUILD_ROOT/etc/codepages/src + + +# Install SWAT helper files +for j in . ja +do + for i in swat/$j/help/*.html docs/$j/htmldocs/*.html + do + install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/$j/help + done + for i in swat/$j/images/*.gif + do + install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/$j/images + done + for i in swat/$j/include/*.html + do + install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/$j/include + done +done + +for i in docs/htmldocs/using_samba/*.html; do + install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/using_samba +done +for i in docs/htmldocs/using_samba/figs/*.gif; do + install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/using_samba/figs +done +for i in docs/htmldocs/using_samba/gifs/*.gif; do + install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/using_samba/gifs +done + +# Install other stuff +install -m644 swat/README $RPM_BUILD_ROOT/usr/share/swat +install -m644 docs/manpages/smb.conf.5 $RPM_BUILD_ROOT/usr/man/man5 +install -m644 docs/manpages/lmhosts.5 $RPM_BUILD_ROOT/usr/man/man5 +install -m644 docs/manpages/smbpasswd.5 $RPM_BUILD_ROOT/usr/man/man5 +install -m644 docs/manpages/samba.7 $RPM_BUILD_ROOT/usr/man/man7 +install -m644 docs/manpages/smbmnt.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/smbmount.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/smbumount.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/smbd.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/nmbd.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/swat.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/smbpasswd.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/smbspool.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 %{SOURCE2} $RPM_BUILD_ROOT/etc/smb.conf +install -m644 packaging/RedHat/smbusers $RPM_BUILD_ROOT/etc/smbusers +install -m755 packaging/RedHat/smbprint $RPM_BUILD_ROOT/usr/bin +install -m755 packaging/RedHat/smbadduser $RPM_BUILD_ROOT/usr/bin +install -m755 packaging/RedHat/findsmb $RPM_BUILD_ROOT/usr/bin +install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT/etc/rc.d/init.d/smb +install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT/usr/sbin/samba +install -m644 packaging/RedHat/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba +install -m644 $RPM_SOURCE_DIR/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/samba +install -m644 source/po/en.gmo $RPM_BUILD_ROOT/usr/share/locale/en/LC_MESSAGES/i18n_swat.mo +install -m644 source/po/ja.gmo $RPM_BUILD_ROOT/usr/share/locale/ja/LC_MESSAGES/i18n_swat.mo +ln -s /usr/bin/smbmount $RPM_BUILD_ROOT/sbin/mount.smb +ln -s /usr/bin/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs +echo 127.0.0.1 localhost > $RPM_BUILD_ROOT/etc/lmhosts + +# +# install samba_jp misc. +# +(cd docs/ja/manpages; sh ./install-man.sh $RPM_BUILD_ROOT/usr/man/ja/ cat) + +%clean +rm -rf $RPM_BUILD_ROOT + +%post common +# Build codepage load files +for i in 437 737 850 852 861 866 932 936 949 950 1251; do + /usr/bin/make_smbcodepage c $i /etc/codepages/src/codepage_def.$i /etc/codepages/codepage.$i +done +for i in 437 737 850 852 861 866 932 936 949 950 ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 KOI8-R; do + /usr/bin/make_unicodemap $i /etc/codepages/src/CP$i.TXT /etc/codepages/unicode_map.$i + /usr/bin/make_nftable $i /etc/codepages/src/NormalizationTest.txt /etc/codepages/src/NFD2MacOSX.txt /etc/codepages/src/CP$i.TXT /etc/codepages/nftable.$i + +done + +%post +tcpdconf () { + while [ $# != "0" ]; do + case $1 in + -a|--allow) shift; ALLOW="$1";; + -d|--deny) shift; DENY="$1";; + -e|--erase|--delete) MODE="erase";; + -*) echo "invalid option" $1; return;; + *)SERVICE=$1;; + esac + shift + done + + /usr/bin/awk -vallow="$ALLOW" -vdeny="$DENY" -vmode="$MODE" -vservice=$SERVICE ' +func grep(key, file, line, ret) { + #local line, ret; + ret = FALSE; + while (1) { + line = EOF; + getline line < file; + if (line == EOF) break; + if (line !~ /^#/ && line ~ key) { + ret = TRUE; break; + } + } + close(file); + return ret; + +} +func output_hosts_access(service, list, file, line, key, done, tmpfile) { + #local line, key, done, tmpfile + key = "^[ \t]*[#]*[ \t]*" service; + done = FALSE; + + if (grep("^[ \t]*ALL[: \t]", file) || (list && (grep(key, file)))) + return; + "echo /etc/rpmtmp.$$" | getline tmp; + tmpfile = tmp; + system ("/bin/rm -f " tmpfile); /* clean file */ + system ("/bin/touch " tmpfile); + while (TRUE) { + line = EOF; + getline line < file; + if (line == EOF) break; + if (line ~ key && !done) { + if (line ~ /\\$/) + done = PROGRESS; + else + done = TRUE; + if (list) + printf(service ": " list "\n") >> tmpfile; + } else { + if (done == PROGRESS) { + if (line !~ /\\$/) + done = TRUE; + } else + print line >> tmpfile; + } + } + if (!done && list) + printf(service ": " list "\n") >> tmpfile; + close(file); + close(tmpfile); + system("/bin/mv " file " " file ".rpmsave"); + system("/bin/mv " tmpfile " " file); +} +BEGIN { + TRUE = 1; + PROGRESS = -1; + EOF = "@@@EOF@@@" + if (!service) { + printf("error: service name is null.\n"); + exit (1); + } + if (mode == "erase") { + output_hosts_access(service, NULL, "/etc/hosts.allow"); + output_hosts_access(service, NULL, "/etc/hosts.deny"); + } else { + if (allow) + output_hosts_access(service, allow, "/etc/hosts.allow"); + if (deny) + output_hosts_access(service, deny, "/etc/hosts.deny"); + } +}' +} + +/sbin/chkconfig --add smb + +# Add swat entry to /etc/services if needed +if !( grep ^[:space:]*swat /etc/services > /dev/null ) then + echo 'swat 901/tcp # Add swat service used via inetd' >> /etc/services +fi + +# Add swat entry to /etc/inetd.conf if needed +if !( grep swat /etc/inetd.conf > /dev/null 2>&1 ) then + echo 'swat stream tcp nowait.400 root /usr/sbin/swat swat' >> /etc/inetd.conf +fi + +# Set tcpd_wrapper +SWAT_ALLOW_HOST="localhost" +[ -f /bin/hostname ] && SWAT_ALLOW_HOST="${SWAT_ALLOW_HOST} `/bin/hostname -i`" +tcpdconf --allow "${SWAT_ALLOW_HOST}" --deny ALL swat + +killall -HUP inetd >/dev/null 2>&1 || : + +%preun +if [ $1 = 0 ] ; then + /sbin/chkconfig --del smb + + if [ -e /var/lock/samba/browse.dat ]; then + rm -f /var/lock/samba/browse.dat + fi + if [ -e /var/lock/samba/wins.dat ]; then + rm -f /var/lock/samba/wins.dat + fi + if [ -d /var/log/samba ]; then + rm -rf /var/log/samba/* + fi + if [ -d /var/lock/samba ]; then + rm -rf /var/lock/samba/* + fi +fi + +%preun common +if [ $1 = 0 ] ; then + for n in /etc/codepages/*; do + if [ "$n" != "/etc/codepages/src" ]; then + rm -rf $n + fi + done +fi + + +%postun +tcpdconf () { + while [ $# != "0" ]; do + case $1 in + -a|--allow) shift; ALLOW="$1";; + -d|--deny) shift; DENY="$1";; + -e|--erase|--delete) MODE="erase";; + -*) echo "invalid option" $1; return;; + *)SERVICE=$1;; + esac + shift + done + + /usr/bin/awk -vallow="$ALLOW" -vdeny="$DENY" -vmode="$MODE" -vservice=$SERVICE ' +func grep(key, file, line, ret) { + #local line, ret; + ret = FALSE; + while (1) { + line = EOF; + getline line < file; + if (line == EOF) break; + if (line !~ /^#/ && line ~ key) { + ret = TRUE; break; + } + } + close(file); + return ret; + +} +func output_hosts_access(service, list, file, line, key, done, tmpfile) { + #local line, key, done, tmpfile + key = "^[ \t]*[#]*[ \t]*" service; + done = FALSE; + + if (grep("^[ \t]*ALL[: \t]", file) || (list && (grep(key, file)))) + return; + "echo /etc/rpmtmp.$$" | getline tmp; + tmpfile = tmp; + system ("/bin/rm -f " tmpfile); /* clean file */ + system ("/bin/touch " tmpfile); + while (TRUE) { + line = EOF; + getline line < file; + if (line == EOF) break; + if (line ~ key && !done) { + if (line ~ /\\$/) + done = PROGRESS; + else + done = TRUE; + if (list) + printf(service ": " list "\n") >> tmpfile; + } else { + if (done == PROGRESS) { + if (line !~ /\\$/) + done = TRUE; + } else + print line >> tmpfile; + } + } + if (!done && list) + printf(service ": " list "\n") >> tmpfile; + close(file); + close(tmpfile); + system("/bin/mv " file " " file ".rpmsave"); + system("/bin/mv " tmpfile " " file); +} +BEGIN { + TRUE = 1; + PROGRESS = -1; + EOF = "@@@EOF@@@" + if (!service) { + printf("error: service name is null.\n"); + exit (1); + } + if (mode == "erase") { + output_hosts_access(service, NULL, "/etc/hosts.allow"); + output_hosts_access(service, NULL, "/etc/hosts.deny"); + } else { + if (allow) + output_hosts_access(service, allow, "/etc/hosts.allow"); + if (deny) + output_hosts_access(service, deny, "/etc/hosts.deny"); + } +}' +} + +if [ $1 = 0 ] ; then + # Remove swat entries from /etc/inetd.conf and /etc/services + tmpfile="`/bin/mktemp /etc/tmp.XXXXXX`" + sed -e '/^[:space:]*swat.*$/d' /etc/inetd.conf > $tmpfile + cat $tmpfile > /etc/inetd.conf + sed -e '/^[:space:]*swat.*$/d' /etc/services > $tmpfile + cat $tmpfile > /etc/services + rm -f $tmpfile + tcpdconf --delete swat + killall -HUP inetd >/dev/null 2>&1 || : +fi + + +%triggerpostun -- samba < 1.9.18p7 +if [ $1 != 0 ]; then + /sbin/chkconfig --add smb +fi + +%triggerpostun -- samba < 2.0.5a-3 +if [ $1 != 0 ]; then + [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba + [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba + chmod 644 /etc/services /etc/inetd.conf +fi + +%files +%defattr(-,root,root) +%doc README COPYING Manifest Read-Manifest-Now +%doc WHATSNEW.txt Roadmap +%doc RELNOTE.en RELNOTE.ja ANNOUNCE.ja Changelog.ja +%doc README-smbmount +%doc docs +%doc swat/README +%doc examples +/usr/sbin/smbd +/usr/sbin/nmbd +/usr/sbin/swat +/usr/bin/addtosmbpass +/usr/bin/mksmbpasswd.sh +/usr/bin/smbstatus +/usr/bin/smbpasswd +/usr/bin/convert_smbpasswd +/usr/bin/smbadduser +/usr/bin/smbspool +/usr/bin/rpcclient +/usr/share/swat +%config(noreplace) /etc/smbusers +%config /usr/sbin/samba +%config /etc/rc.d/init.d/smb +%config /etc/logrotate.d/samba +%config /etc/pam.d/samba +/usr/man/man1/smbstatus.1* +/usr/man/man5/smbpasswd.5* +/usr/man/man7/samba.7* +/usr/man/man8/smbd.8* +/usr/man/man8/nmbd.8* +/usr/man/man8/smbpasswd.8* +/usr/man/man8/smbspool.8* +/usr/man/man8/swat.8* +/usr/man/ja/man1/smbstatus.1* +/usr/man/ja/man5/smbpasswd.5* +/usr/man/ja/man7/samba.7* +/usr/man/ja/man8/smbd.8* +/usr/man/ja/man8/nmbd.8* +/usr/man/ja/man8/smbpasswd.8* +/usr/man/ja/man8/smbspool.8* +/usr/man/ja/man8/swat.8* +/usr/share/locale/en/LC_MESSAGES/i18n_swat.mo +/usr/share/locale/ja/LC_MESSAGES/i18n_swat.mo + +%dir /var/lock/samba +%attr(0700,root,root) %dir /var/log/samba +%attr(1777,root,root) %dir /var/spool/samba + +%files client +%defattr(-,root,root) +/sbin/mount.smb +/sbin/mount.smbfs +/usr/bin/smbmount +/usr/bin/smbmnt +/usr/bin/smbumount +/usr/man/man8/smbmnt.8* +/usr/man/man8/smbmount.8* +#/usr/man/man8/smbumount.8* +/usr/man/ja/man8/smbmnt.8* +/usr/man/ja/man8/smbmount.8* +#/usr/man/ja/man8/smbumount.8* +/usr/bin/nmblookup +/usr/bin/findsmb +/usr/bin/smbclient +/usr/bin/smbprint +/usr/bin/smbtar +#/usr/man/man1/smbrun.1 +/usr/man/man1/smbtar.1* +/usr/man/man1/smbclient.1* +/usr/man/man1/nmblookup.1* +/usr/man/ja/man1/smbtar.1* +/usr/man/ja/man1/smbclient.1* +/usr/man/ja/man1/nmblookup.1* + +%files common +%defattr(-,root,root) +/usr/bin/make_nftable +/usr/bin/make_smbcodepage +/usr/bin/make_unicodemap +/usr/bin/testparm +/usr/bin/testprns +/usr/bin/make_printerdef +%config(noreplace) /etc/smb.conf +%config(noreplace) /etc/lmhosts +%dir /etc/codepages +%dir /etc/codepages/src +%config /etc/codepages/src/codepage_def.437 +%config /etc/codepages/src/codepage_def.737 +%config /etc/codepages/src/codepage_def.775 +%config /etc/codepages/src/codepage_def.850 +%config /etc/codepages/src/codepage_def.852 +%config /etc/codepages/src/codepage_def.861 +%config /etc/codepages/src/codepage_def.866 +%config /etc/codepages/src/codepage_def.932 +%config /etc/codepages/src/codepage_def.936 +%config /etc/codepages/src/codepage_def.949 +%config /etc/codepages/src/codepage_def.950 +%config /etc/codepages/src/codepage_def.1251 +%config /etc/codepages/src/CP437.TXT +%config /etc/codepages/src/CP737.TXT +%config /etc/codepages/src/CP850.TXT +%config /etc/codepages/src/CP852.TXT +%config /etc/codepages/src/CP861.TXT +%config /etc/codepages/src/CP866.TXT +%config /etc/codepages/src/CP932.TXT +%config /etc/codepages/src/CP936.TXT +%config /etc/codepages/src/CP949.TXT +%config /etc/codepages/src/CP950.TXT +%config /etc/codepages/src/CPISO8859-1.TXT +%config /etc/codepages/src/CPISO8859-2.TXT +%config /etc/codepages/src/CPISO8859-5.TXT +%config /etc/codepages/src/CPISO8859-7.TXT +%config /etc/codepages/src/CPKOI8-R.TXT +%config /etc/codepages/src/NFD2MacOSX.txt +%config /etc/codepages/src/NormalizationTest.txt +/usr/man/man1/make_smbcodepage.1* +/usr/man/man1/make_unicodemap.1* +/usr/man/man1/testparm.1* +/usr/man/man1/testprns.1* +/usr/man/man5/smb.conf.5* +/usr/man/man5/lmhosts.5* +/usr/man/ja/man1/make_smbcodepage.1* +/usr/man/ja/man1/make_unicodemap.1* +/usr/man/ja/man1/testparm.1* +/usr/man/ja/man1/testprns.1* +/usr/man/ja/man5/lmhosts.5* +/usr/man/ja/man5/smb.conf.5* + +%changelog +* Tue Sep 19 2000 Jun Nishii +- 2.0.7_ja_1.3-0vl1 + +* Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji +- 2.0.7_ja_1.2.1-0vl2 +- fixed missing Changelog.ja (was Chagelog.ja) + +* Tue Sep 12 2000 Jun Nishii +- updated to 2.0.7-ja-1.2.1 + +* Wed Jul 19 2000 Yasuyuki Furukawa +- updated to 2.0.7-ja-1.2 + +* Tue Jul 11 2000 Yasuyuki Furukawa +- added some Japanese documents to %doc + +* Mon Jul 10 2000 Yasuyuki Furukawa +- updated to 2.0.7-ja-1.0 + +* Mon May 29 2000 Yasuyuki Furukawa +- updated to 2.0.7-ja-0.99 + +* Mon May 29 2000 Yasuyuki Furukawa +- added rpccilent +- modified tcpdconf for stability. + +* Fri May 26 2000 Yasuyuki Furukawa +- first test release for Vine based on RH6.2 spec file. +- activated swat in default for only localhost. + +* Fri Feb 25 2000 Bill Nottingham +- fix trigger, again. + +* Mon Feb 7 2000 Bill Nottingham +- fix trigger. + +* Fri Feb 4 2000 Bill Nottingham +- turn on quota support + +* Mon Jan 31 2000 Cristian Gafton +- rebuild to fox dependencies +- man pages are compressed + +* Fri Jan 21 2000 Bill Nottingham +- munge post scripts slightly + +* Wed Jan 19 2000 Bill Nottingham +- turn on mmap again. Wheee. +- ship smbmount on alpha + +* Mon Dec 6 1999 Bill Nottingham +- turn off mmap. ;) + +* Wed Dec 1 1999 Bill Nottingham +- change /var/log/samba to 0700 +- turn on mmap support + +* Thu Nov 11 1999 Bill Nottingham +- update to 2.0.6 + +* Fri Oct 29 1999 Bill Nottingham +- add a %defattr for -common + +* Tue Oct 5 1999 Bill Nottingham +- shift some files into -client +- remove /home/samba from package. + +* Tue Sep 28 1999 Bill Nottingham +- initscript oopsie. killproc -HUP, not other way around. + +* Sat Sep 26 1999 Bill Nottingham +- script cleanups. Again. + +* Wed Sep 22 1999 Bill Nottingham +- add a patch to fix dropped reconnection attempts + +* Mon Sep 6 1999 Jeff Johnson +- use cp rather than mv to preserve /etc/services perms (#4938 et al). +- use mktemp to generate /etc/tmp.XXXXXX file name. +- add prereqs on sed/mktemp/killall (need to move killall to /bin). +- fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7") + +* Mon Aug 30 1999 Bill Nottingham +- sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd + +* Sat Aug 21 1999 Bill Nottingham +- fix typo in mount.smb + +* Fri Aug 20 1999 Bill Nottingham +- add a %trigger to work around (sort of) broken scripts in + previous releases + +* Mon Aug 16 1999 Bill Nottingham +- initscript munging + +* Mon Aug 9 1999 Bill Nottingham +- add domain parsing to mount.smb + +* Fri Aug 6 1999 Bill Nottingham +- add a -common package, shuffle files around. + +* Fri Jul 23 1999 Bill Nottingham +- add a chmod in %postun so /etc/services & inetd.conf don't become unreadable + +* Wed Jul 21 1999 Bill Nottingham +- update to 2.0.5 +- fix mount.smb - smbmount options changed again......... +- fix postun. oops. +- update some stuff from the samba team's spec file. + +* Fri Jun 18 1999 Bill Nottingham +- split off clients into separate package +- don't run samba by default + +* Mon Jun 14 1999 Bill Nottingham +- fix one problem with mount.smb script +- fix smbpasswd on sparc with a really ugly kludge + +* Thu Jun 10 1999 Dale Lovelace +- fixed logrotate script + +* Tue May 25 1999 Bill Nottingham +- turn of 64-bit locking on 32-bit platforms + +* Thu May 20 1999 Bill Nottingham +- so many releases, so little time +- explicitly uncomment 'printing = bsd' in sample config + +* Tue May 18 1999 Bill Nottingham +- update to 2.0.4a +- fix mount.smb arg ordering + +* Fri Apr 16 1999 Bill Nottingham +- go back to stop/start for restart (-HUP didn't work in testing) + +* Fri Mar 26 1999 Bill Nottingham +- add a mount.smb to make smb mounting a little easier. +- smb filesystems apparently don't work on alpha. Oops. + +* Thu Mar 25 1999 Bill Nottingham +- always create codepages + +* Tue Mar 23 1999 Bill Nottingham +- logrotate changes + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 3) + +* Fri Mar 19 1999 Preston Brown +- updated init script to use graceful restart (not stop/start) + +* Tue Mar 9 1999 Bill Nottingham +- update to 2.0.3 + +* Thu Feb 18 1999 Bill Nottingham +- update to 2.0.2 + +* Mon Feb 15 1999 Bill Nottingham +- swat swat + +* Tue Feb 9 1999 Bill Nottingham +- fix bash2 breakage in post script + +* Fri Feb 5 1999 Bill Nottingham +- update to 2.0.0 + +* Mon Oct 12 1998 Cristian Gafton +- make sure all binaries are stripped + +* Thu Sep 17 1998 Jeff Johnson +- update to 1.9.18p10. +- fix %triggerpostun. + +* Tue Jul 07 1998 Erik Troan +- updated postun triggerscript to check $0 +- clear /etc/codepages from %preun instead of %postun + +* Mon Jun 08 1998 Erik Troan +- made the %postun script a tad less agressive; no reason to remove + the logs or lock file (after all, if the lock file is still there, + samba is still running) +- the %postun and %preun should only exectute if this is the final + removal +- migrated %triggerpostun from Red Hat's samba package to work around + packaging problems in some Red Hat samba releases + +* Sun Apr 26 1998 John H Terpstra +- minor tidy up in preparation for release of 1.9.18p5 +- added findsmb utility from SGI package + +* Wed Mar 18 1998 John H Terpstra +- Updated version and codepage info. +- Release to test name resolve order + +* Sat Jan 24 1998 John H Terpstra +- Many optimisations (some suggested by Manoj Kasichainula +- Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb +- Compounded make line +- Updated smb.init restart mechanism +- Use compound mkdir -p line instead of individual calls to mkdir +- Fixed smb.conf file path for log files +- Fixed smb.conf file path for incoming smb print spool directory +- Added a number of options to smb.conf file +- Added smbadduser command (missed from all previous RPMs) - Doooh! +- Added smbuser file and smb.conf file updates for username map + diff -Nru samba-2.0.10-ja-1.1/packaging/PS2Linux/samba2.spec.tmpl samba-2.0.10-ja-1.2beta1/packaging/PS2Linux/samba2.spec.tmpl --- samba-2.0.10-ja-1.1/packaging/PS2Linux/samba2.spec.tmpl Thu Jan 1 09:00:00 1970 +++ samba-2.0.10-ja-1.2beta1/packaging/PS2Linux/samba2.spec.tmpl Fri Sep 21 22:57:16 2001 @@ -0,0 +1,841 @@ +Summary: Samba SMB server. +Summary(ja): Sambaサーバ +Name: samba +%define en_ver PVERSION +%define ja_ver PRELEASE +Version: %{en_ver}_ja_%{ja_ver} +Release: 1 +Copyright: GNU GPL Version 2 +Group: System Environment/Daemons +Source: ftp://ftp.samba.gr.jp/pub/samba-jp/samba-%{en_ver}-ja/samba-%{en_ver}-ja-%{ja_ver}.tar.gz +Source1: samba.log +Source2: smb.conf +Source3: samba-jp.tar.gz +Packager: TAKAHASHI Motonobu +Patch: samba-makefilepath.patch +Patch1: smbw.patch +Patch2: samba-glibc21.patch +Patch3: samba-2.0.3-fixinit.patch +Patch4: samba-nsl.patch +Patch5: samba-2.0.5a-gawk.patch +Patch6: samba-smbprint.patch +Requires: pam >= 0.64, samba-common = %{version}, gettext >= 0.10, tcp_wrappers +Buildroot: %{_tmppath}/%{name}-root +Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall +Prereq: fileutils sed gawk grep + + +%description +Samba provides an SMB server which can be used to provide network +services to SMB (sometimes called "Lan Manager") clients, including +various versions of MS Windows, OS/2, and other Linux machines. Samba +uses NetBIOS over TCP/IP (NetBT) protocols and does NOT need NetBEUI +(Microsoft Raw NetBIOS frame) protocol. + +Samba-2 features an almost working NT Domain Control capability and +includes the new SWAT (Samba Web Administration Tool) that allows +samba's smb.conf file to be remotely managed using your favourite web +browser. For the time being this is being enabled on TCP port 901 via +inetd. + +Please refer to the WHATSNEW.txt document for fixup information. This +binary release includes encrypted password support. Please read the +smb.conf file and ENCRYPTION.txt in the docs directory for +implementation details. + +NOTE: Red Hat Linux 5.X and Vine Linux Uses PAM which has +integrated support for Shadow passwords. Do NOT recompile with +the SHADOW_PWD option enabled. Red Hat Linux has built in +support for quotas in PAM. + + +NOTE2: +This SWAT and man translation is made by Japanese Samba user +association. But the Samba itself is just same as the orignal and +isn't still extended by them. +You can't use Japanese in share label name. Notice that +it will cause character turning, please. + +%description -l ja +Samba は Microsoft Windows 3.1/95/98/NT/2000 や LAN Manager 、OS/2 +そして他の Linux マシンを含む SMB/CIFS クライアントにファイル共有や +プリント共有サービスを提供します。 +Sambaは NetBIOS over TCP/IP (NBT) プロトコルを使用するので、 +NetBEUI(Microsoft Raw NetBIOS frame) プロトコルは不要です。 + +Samba 2.0 では、新しく Windows 95/98 クライアントに対する +ログオンサーバ機能や、Webブラウザ経由で Samba のsmb.conf ファイ +ルのリモート管理を実現するツールであるSWAT (Samba Web +Administration Tool) が提供されるようになりました。 SWATは + inetd 経由で TCP ポート 901 (デフォルト)を利用します。 + +修正情報は WHATNEW.TXT などを参照してください。このバイナリリリース +は暗号化パスワードを含んでいます。実装の詳細に関して、smb.confファ +イルまたは 、docsディレクトリにあるENCRYPTION.txtを参照してください。 + +NOTE: RedHat Linux 5.xやVine Linuxは シャドウパスワードサポートが統合 +されているPAMを使用しています。SHADOW_PWDオプションを有効にして再コン +パイルしないでください。 + + +%package client +Summary: Samba (SMB) client programs. +Summary(ja): Samba (SMB) クライアントプログラム +Group: Applications/System +Requires: samba-common = %{version} +Obsoletes: smbfs + +%description client +The samba-client package provides some SMB clients to complement the +built-in SMB filesystem in Linux. These clients allow access of SMB +shares and printing to SMB printers. + +%description client -l ja +Samba-client は Linux カーネルがサポートしている +SMB ファイルシステム機能を操作する SMB クライアントを提供します。 +これらは SMB 共有のアクセスと SMB プリンタへの印刷を実現します。 + +%package common +Summary: Files used by both Samba servers and clients. +Summary(ja): Sambaサーバーとクライアントの両方に使用されるファイル +Group: Applications/System + +%description common +Samba-common provides files necessary for both the server and client +packages of Samba. + +%description common -l ja +Samba-common は Sambaのサーバとクライアントの両方のパッケージで +使用される共通的なファイルを提供します。 + +%prep +%setup -q -a 3 -n samba-%{en_ver}-ja-%{ja_ver} +%patch -p1 -b .makefile +%patch1 -p1 -b .smbw +%patch2 -p1 -b .glibc21 +%patch3 -p1 -b .fixinit +%patch4 -p1 -b .nsl +%patch5 -p1 -b .gawk +%patch6 -p1 -b .smbprint + +%build +cd source +autoconf +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=/etc \ + --with-lockdir=/var/lock/samba --with-privatedir=/etc \ + --with-swatdir=/usr/share/swat --with-sambabook=/usr/share/swat/using_samba \ + --with-swat-langfile=/usr/share/swat/swat-i18n.conf \ + --with-automount --with-smbmount \ + --with-pam --with-syslog --with-profile --with-netatalk \ + --with-quotas --with-utmp --with-i18n-swat + +make CFLAGS="$RPM_OPT_FLAGS" all + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/sbin +mkdir -p $RPM_BUILD_ROOT/etc/codepages/src +mkdir -p $RPM_BUILD_ROOT/etc/{logrotate.d,pam.d} +mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d +mkdir -p $RPM_BUILD_ROOT/usr/{bin,sbin} +mkdir -p $RPM_BUILD_ROOT/usr/share/swat/{images,help,include} +mkdir -p $RPM_BUILD_ROOT/usr/share/swat/ja/{images,help,include} +mkdir -p $RPM_BUILD_ROOT/usr/share/locale/en/LC_MESSAGES +mkdir -p $RPM_BUILD_ROOT/usr/share/locale/ja/LC_MESSAGES +mkdir -p $RPM_BUILD_ROOT/usr/share/swat/using_samba/{figs,gifs} +mkdir -p $RPM_BUILD_ROOT/usr/man/{man1,man5,man7,man8} +mkdir -p $RPM_BUILD_ROOT/usr/man/ja/{man1,man5,man7,man8} +mkdir -p $RPM_BUILD_ROOT/var/lock/samba +mkdir -p $RPM_BUILD_ROOT/var/log/samba +mkdir -p $RPM_BUILD_ROOT/var/spool/samba + +for i in nmblookup smbclient smbspool smbpasswd smbstatus testparm testprns \ + smbmount smbmnt smbumount make_smbcodepage make_printerdef rpcclient make_unicodemap make_nftable +do + install -m755 -s source/bin/$i $RPM_BUILD_ROOT/usr/bin +done + +for i in addtosmbpass mksmbpasswd.sh smbtar convert_smbpasswd +do + install -m755 source/script/$i $RPM_BUILD_ROOT/usr/bin +done + +for i in smbd nmbd swat +do + install -m755 -s source/bin/$i $RPM_BUILD_ROOT/usr/sbin +done + +for i in smbclient.1 smbstatus.1 smbtar.1 testparm.1 testprns.1 make_smbcodepage.1 nmblookup.1 make_unicodemap.1 +do + install -m644 docs/manpages/$i $RPM_BUILD_ROOT/usr/man/man1 +done + +for i in 437 737 775 850 852 861 866 932 936 949 950 1251 +do + install -m644 source/codepages/codepage_def.$i $RPM_BUILD_ROOT/etc/codepages/src +done +for i in 437 737 850 852 861 866 932 936 949 950 ISO8859-1 ISO8859-2 ISO8859-5 \ + ISO8859-7 KOI8-R +do +install -m644 source/codepages/CP$i.TXT $RPM_BUILD_ROOT/etc/codepages/src +done +install -m644 source/codepages/NormalizationTest.txt $RPM_BUILD_ROOT/etc/codepages/src +install -m644 source/codepages/NFD2MacOSX.txt $RPM_BUILD_ROOT/etc/codepages/src + + +# Install SWAT helper files +for j in . ja +do + for i in swat/$j/help/*.html docs/$j/htmldocs/*.html + do + install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/$j/help + done + for i in swat/$j/images/*.gif + do + install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/$j/images + done + for i in swat/$j/include/*.html + do + install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/$j/include + done +done + +for i in docs/htmldocs/using_samba/*.html; do + install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/using_samba +done +for i in docs/htmldocs/using_samba/figs/*.gif; do + install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/using_samba/figs +done +for i in docs/htmldocs/using_samba/gifs/*.gif; do + install -m644 $i $RPM_BUILD_ROOT/usr/share/swat/using_samba/gifs +done + +# Install other stuff +install -m644 swat/README $RPM_BUILD_ROOT/usr/share/swat +install -m644 docs/manpages/smb.conf.5 $RPM_BUILD_ROOT/usr/man/man5 +install -m644 docs/manpages/lmhosts.5 $RPM_BUILD_ROOT/usr/man/man5 +install -m644 docs/manpages/smbpasswd.5 $RPM_BUILD_ROOT/usr/man/man5 +install -m644 docs/manpages/samba.7 $RPM_BUILD_ROOT/usr/man/man7 +install -m644 docs/manpages/smbmnt.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/smbmount.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/smbumount.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/smbd.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/nmbd.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/swat.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/smbpasswd.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 docs/manpages/smbspool.8 $RPM_BUILD_ROOT/usr/man/man8 +install -m644 %{SOURCE2} $RPM_BUILD_ROOT/etc/smb.conf +install -m644 packaging/RedHat/smbusers $RPM_BUILD_ROOT/etc/smbusers +install -m755 packaging/RedHat/smbprint $RPM_BUILD_ROOT/usr/bin +install -m755 packaging/RedHat/smbadduser $RPM_BUILD_ROOT/usr/bin +install -m755 packaging/RedHat/findsmb $RPM_BUILD_ROOT/usr/bin +install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT/etc/rc.d/init.d/smb +install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT/usr/sbin/samba +install -m644 packaging/RedHat/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba +install -m644 $RPM_SOURCE_DIR/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/samba +install -m644 source/po/en.gmo $RPM_BUILD_ROOT/usr/share/locale/en/LC_MESSAGES/i18n_swat.mo +install -m644 source/po/ja.gmo $RPM_BUILD_ROOT/usr/share/locale/ja/LC_MESSAGES/i18n_swat.mo +ln -s /usr/bin/smbmount $RPM_BUILD_ROOT/sbin/mount.smb +ln -s /usr/bin/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs +echo 127.0.0.1 localhost > $RPM_BUILD_ROOT/etc/lmhosts + +# +# install samba_jp misc. +# +(cd docs/ja/manpages; sh ./install-man.sh $RPM_BUILD_ROOT/usr/man/ja/ cat) + +%clean +rm -rf $RPM_BUILD_ROOT + +%post common +# Build codepage load files +for i in 437 737 850 852 861 866 932 936 949 950 1251; do + /usr/bin/make_smbcodepage c $i /etc/codepages/src/codepage_def.$i /etc/codepages/codepage.$i +done +for i in 437 737 850 852 861 866 932 936 949 950 ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 KOI8-R; do + /usr/bin/make_unicodemap $i /etc/codepages/src/CP$i.TXT /etc/codepages/unicode_map.$i + /usr/bin/make_nftable $i /etc/codepages/src/NormalizationTest.txt /etc/codepages/src/NFD2MacOSX.txt /etc/codepages/src/CP$i.TXT /etc/codepages/nftable.$i + +done + +%post +tcpdconf () { + while [ $# != "0" ]; do + case $1 in + -a|--allow) shift; ALLOW="$1";; + -d|--deny) shift; DENY="$1";; + -e|--erase|--delete) MODE="erase";; + -*) echo "invalid option" $1; return;; + *)SERVICE=$1;; + esac + shift + done + + /usr/bin/awk -vallow="$ALLOW" -vdeny="$DENY" -vmode="$MODE" -vservice=$SERVICE ' +func grep(key, file, line, ret) { + #local line, ret; + ret = FALSE; + while (1) { + line = EOF; + getline line < file; + if (line == EOF) break; + if (line !~ /^#/ && line ~ key) { + ret = TRUE; break; + } + } + close(file); + return ret; + +} +func output_hosts_access(service, list, file, line, key, done, tmpfile) { + #local line, key, done, tmpfile + key = "^[ \t]*[#]*[ \t]*" service; + done = FALSE; + + if (grep("^[ \t]*ALL[: \t]", file) || (list && (grep(key, file)))) + return; + "echo /etc/rpmtmp.$$" | getline tmp; + tmpfile = tmp; + system ("/bin/rm -f " tmpfile); /* clean file */ + system ("/bin/touch " tmpfile); + while (TRUE) { + line = EOF; + getline line < file; + if (line == EOF) break; + if (line ~ key && !done) { + if (line ~ /\\$/) + done = PROGRESS; + else + done = TRUE; + if (list) + printf(service ": " list "\n") >> tmpfile; + } else { + if (done == PROGRESS) { + if (line !~ /\\$/) + done = TRUE; + } else + print line >> tmpfile; + } + } + if (!done && list) + printf(service ": " list "\n") >> tmpfile; + close(file); + close(tmpfile); + system("/bin/mv " file " " file ".rpmsave"); + system("/bin/mv " tmpfile " " file); +} +BEGIN { + TRUE = 1; + PROGRESS = -1; + EOF = "@@@EOF@@@" + if (!service) { + printf("error: service name is null.\n"); + exit (1); + } + if (mode == "erase") { + output_hosts_access(service, NULL, "/etc/hosts.allow"); + output_hosts_access(service, NULL, "/etc/hosts.deny"); + } else { + if (allow) + output_hosts_access(service, allow, "/etc/hosts.allow"); + if (deny) + output_hosts_access(service, deny, "/etc/hosts.deny"); + } +}' +} + +/sbin/chkconfig --add smb + +# Add swat entry to /etc/services if needed +if !( grep ^[:space:]*swat /etc/services > /dev/null ) then + echo 'swat 901/tcp # Add swat service used via inetd' >> /etc/services +fi + +# Add swat entry to /etc/inetd.conf if needed +if !( grep swat /etc/inetd.conf > /dev/null 2>&1 ) then + echo 'swat stream tcp nowait.400 root /usr/sbin/swat swat' >> /etc/inetd.conf +fi + +# Set tcpd_wrapper +SWAT_ALLOW_HOST="localhost" +[ -f /bin/hostname ] && SWAT_ALLOW_HOST="${SWAT_ALLOW_HOST} `/bin/hostname -i`" +tcpdconf --allow "${SWAT_ALLOW_HOST}" --deny ALL swat + +killall -HUP inetd >/dev/null 2>&1 || : + +%preun +if [ $1 = 0 ] ; then + /sbin/chkconfig --del smb + + if [ -e /var/lock/samba/browse.dat ]; then + rm -f /var/lock/samba/browse.dat + fi + if [ -e /var/lock/samba/wins.dat ]; then + rm -f /var/lock/samba/wins.dat + fi + if [ -d /var/log/samba ]; then + rm -rf /var/log/samba/* + fi + if [ -d /var/lock/samba ]; then + rm -rf /var/lock/samba/* + fi +fi + +%preun common +if [ $1 = 0 ] ; then + for n in /etc/codepages/*; do + if [ "$n" != "/etc/codepages/src" ]; then + rm -rf $n + fi + done +fi + + +%postun +tcpdconf () { + while [ $# != "0" ]; do + case $1 in + -a|--allow) shift; ALLOW="$1";; + -d|--deny) shift; DENY="$1";; + -e|--erase|--delete) MODE="erase";; + -*) echo "invalid option" $1; return;; + *)SERVICE=$1;; + esac + shift + done + + /usr/bin/awk -vallow="$ALLOW" -vdeny="$DENY" -vmode="$MODE" -vservice=$SERVICE ' +func grep(key, file, line, ret) { + #local line, ret; + ret = FALSE; + while (1) { + line = EOF; + getline line < file; + if (line == EOF) break; + if (line !~ /^#/ && line ~ key) { + ret = TRUE; break; + } + } + close(file); + return ret; + +} +func output_hosts_access(service, list, file, line, key, done, tmpfile) { + #local line, key, done, tmpfile + key = "^[ \t]*[#]*[ \t]*" service; + done = FALSE; + + if (grep("^[ \t]*ALL[: \t]", file) || (list && (grep(key, file)))) + return; + "echo /etc/rpmtmp.$$" | getline tmp; + tmpfile = tmp; + system ("/bin/rm -f " tmpfile); /* clean file */ + system ("/bin/touch " tmpfile); + while (TRUE) { + line = EOF; + getline line < file; + if (line == EOF) break; + if (line ~ key && !done) { + if (line ~ /\\$/) + done = PROGRESS; + else + done = TRUE; + if (list) + printf(service ": " list "\n") >> tmpfile; + } else { + if (done == PROGRESS) { + if (line !~ /\\$/) + done = TRUE; + } else + print line >> tmpfile; + } + } + if (!done && list) + printf(service ": " list "\n") >> tmpfile; + close(file); + close(tmpfile); + system("/bin/mv " file " " file ".rpmsave"); + system("/bin/mv " tmpfile " " file); +} +BEGIN { + TRUE = 1; + PROGRESS = -1; + EOF = "@@@EOF@@@" + if (!service) { + printf("error: service name is null.\n"); + exit (1); + } + if (mode == "erase") { + output_hosts_access(service, NULL, "/etc/hosts.allow"); + output_hosts_access(service, NULL, "/etc/hosts.deny"); + } else { + if (allow) + output_hosts_access(service, allow, "/etc/hosts.allow"); + if (deny) + output_hosts_access(service, deny, "/etc/hosts.deny"); + } +}' +} + +if [ $1 = 0 ] ; then + # Remove swat entries from /etc/inetd.conf and /etc/services + tmpfile="`/bin/mktemp /etc/tmp.XXXXXX`" + sed -e '/^[:space:]*swat.*$/d' /etc/inetd.conf > $tmpfile + cat $tmpfile > /etc/inetd.conf + sed -e '/^[:space:]*swat.*$/d' /etc/services > $tmpfile + cat $tmpfile > /etc/services + rm -f $tmpfile + tcpdconf --delete swat + killall -HUP inetd >/dev/null 2>&1 || : +fi + + +%triggerpostun -- samba < 1.9.18p7 +if [ $1 != 0 ]; then + /sbin/chkconfig --add smb +fi + +%triggerpostun -- samba < 2.0.5a-3 +if [ $1 != 0 ]; then + [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba + [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba + chmod 644 /etc/services /etc/inetd.conf +fi + +%files +%defattr(-,root,root) +%doc README COPYING Manifest Read-Manifest-Now +%doc WHATSNEW.txt Roadmap +%doc RELNOTE.en RELNOTE.ja ANNOUNCE.ja Changelog.ja +%doc README-smbmount +%doc docs +%doc swat/README +%doc examples +/usr/sbin/smbd +/usr/sbin/nmbd +/usr/sbin/swat +/usr/bin/addtosmbpass +/usr/bin/mksmbpasswd.sh +/usr/bin/smbstatus +/usr/bin/smbpasswd +/usr/bin/convert_smbpasswd +/usr/bin/smbadduser +/usr/bin/smbspool +/usr/bin/rpcclient +/usr/share/swat +%config(noreplace) /etc/smbusers +%config /usr/sbin/samba +%config /etc/rc.d/init.d/smb +%config /etc/logrotate.d/samba +%config /etc/pam.d/samba +/usr/man/man1/smbstatus.1* +/usr/man/man5/smbpasswd.5* +/usr/man/man7/samba.7* +/usr/man/man8/smbd.8* +/usr/man/man8/nmbd.8* +/usr/man/man8/smbpasswd.8* +/usr/man/man8/smbspool.8* +/usr/man/man8/swat.8* +/usr/man/ja/man1/smbstatus.1* +/usr/man/ja/man5/smbpasswd.5* +/usr/man/ja/man7/samba.7* +/usr/man/ja/man8/smbd.8* +/usr/man/ja/man8/nmbd.8* +/usr/man/ja/man8/smbpasswd.8* +/usr/man/ja/man8/smbspool.8* +/usr/man/ja/man8/swat.8* +/usr/share/locale/en/LC_MESSAGES/i18n_swat.mo +/usr/share/locale/ja/LC_MESSAGES/i18n_swat.mo + +%dir /var/lock/samba +%attr(0700,root,root) %dir /var/log/samba +%attr(1777,root,root) %dir /var/spool/samba + +%files client +%defattr(-,root,root) +/sbin/mount.smb +/sbin/mount.smbfs +/usr/bin/smbmount +/usr/bin/smbmnt +/usr/bin/smbumount +/usr/man/man8/smbmnt.8* +/usr/man/man8/smbmount.8* +#/usr/man/man8/smbumount.8* +/usr/man/ja/man8/smbmnt.8* +/usr/man/ja/man8/smbmount.8* +#/usr/man/ja/man8/smbumount.8* +/usr/bin/nmblookup +/usr/bin/findsmb +/usr/bin/smbclient +/usr/bin/smbprint +/usr/bin/smbtar +#/usr/man/man1/smbrun.1 +/usr/man/man1/smbtar.1* +/usr/man/man1/smbclient.1* +/usr/man/man1/nmblookup.1* +/usr/man/ja/man1/smbtar.1* +/usr/man/ja/man1/smbclient.1* +/usr/man/ja/man1/nmblookup.1* + +%files common +%defattr(-,root,root) +/usr/bin/make_nftable +/usr/bin/make_smbcodepage +/usr/bin/make_unicodemap +/usr/bin/testparm +/usr/bin/testprns +/usr/bin/make_printerdef +%config(noreplace) /etc/smb.conf +%config(noreplace) /etc/lmhosts +%dir /etc/codepages +%dir /etc/codepages/src +%config /etc/codepages/src/codepage_def.437 +%config /etc/codepages/src/codepage_def.737 +%config /etc/codepages/src/codepage_def.775 +%config /etc/codepages/src/codepage_def.850 +%config /etc/codepages/src/codepage_def.852 +%config /etc/codepages/src/codepage_def.861 +%config /etc/codepages/src/codepage_def.866 +%config /etc/codepages/src/codepage_def.932 +%config /etc/codepages/src/codepage_def.936 +%config /etc/codepages/src/codepage_def.949 +%config /etc/codepages/src/codepage_def.950 +%config /etc/codepages/src/codepage_def.1251 +%config /etc/codepages/src/CP437.TXT +%config /etc/codepages/src/CP737.TXT +%config /etc/codepages/src/CP850.TXT +%config /etc/codepages/src/CP852.TXT +%config /etc/codepages/src/CP861.TXT +%config /etc/codepages/src/CP866.TXT +%config /etc/codepages/src/CP932.TXT +%config /etc/codepages/src/CP936.TXT +%config /etc/codepages/src/CP949.TXT +%config /etc/codepages/src/CP950.TXT +%config /etc/codepages/src/CPISO8859-1.TXT +%config /etc/codepages/src/CPISO8859-2.TXT +%config /etc/codepages/src/CPISO8859-5.TXT +%config /etc/codepages/src/CPISO8859-7.TXT +%config /etc/codepages/src/CPKOI8-R.TXT +%config /etc/codepages/src/NFD2MacOSX.txt +%config /etc/codepages/src/NormalizationTest.txt +/usr/man/man1/make_smbcodepage.1* +/usr/man/man1/make_unicodemap.1* +/usr/man/man1/testparm.1* +/usr/man/man1/testprns.1* +/usr/man/man5/smb.conf.5* +/usr/man/man5/lmhosts.5* +/usr/man/ja/man1/make_smbcodepage.1* +/usr/man/ja/man1/make_unicodemap.1* +/usr/man/ja/man1/testparm.1* +/usr/man/ja/man1/testprns.1* +/usr/man/ja/man5/lmhosts.5* +/usr/man/ja/man5/smb.conf.5* + +%changelog +* Tue Sep 19 2000 Jun Nishii +- 2.0.7_ja_1.3-0vl1 + +* Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji +- 2.0.7_ja_1.2.1-0vl2 +- fixed missing Changelog.ja (was Chagelog.ja) + +* Tue Sep 12 2000 Jun Nishii +- updated to 2.0.7-ja-1.2.1 + +* Wed Jul 19 2000 Yasuyuki Furukawa +- updated to 2.0.7-ja-1.2 + +* Tue Jul 11 2000 Yasuyuki Furukawa +- added some Japanese documents to %doc + +* Mon Jul 10 2000 Yasuyuki Furukawa +- updated to 2.0.7-ja-1.0 + +* Mon May 29 2000 Yasuyuki Furukawa +- updated to 2.0.7-ja-0.99 + +* Mon May 29 2000 Yasuyuki Furukawa +- added rpccilent +- modified tcpdconf for stability. + +* Fri May 26 2000 Yasuyuki Furukawa +- first test release for Vine based on RH6.2 spec file. +- activated swat in default for only localhost. + +* Fri Feb 25 2000 Bill Nottingham +- fix trigger, again. + +* Mon Feb 7 2000 Bill Nottingham +- fix trigger. + +* Fri Feb 4 2000 Bill Nottingham +- turn on quota support + +* Mon Jan 31 2000 Cristian Gafton +- rebuild to fox dependencies +- man pages are compressed + +* Fri Jan 21 2000 Bill Nottingham +- munge post scripts slightly + +* Wed Jan 19 2000 Bill Nottingham +- turn on mmap again. Wheee. +- ship smbmount on alpha + +* Mon Dec 6 1999 Bill Nottingham +- turn off mmap. ;) + +* Wed Dec 1 1999 Bill Nottingham +- change /var/log/samba to 0700 +- turn on mmap support + +* Thu Nov 11 1999 Bill Nottingham +- update to 2.0.6 + +* Fri Oct 29 1999 Bill Nottingham +- add a %defattr for -common + +* Tue Oct 5 1999 Bill Nottingham +- shift some files into -client +- remove /home/samba from package. + +* Tue Sep 28 1999 Bill Nottingham +- initscript oopsie. killproc -HUP, not other way around. + +* Sat Sep 26 1999 Bill Nottingham +- script cleanups. Again. + +* Wed Sep 22 1999 Bill Nottingham +- add a patch to fix dropped reconnection attempts + +* Mon Sep 6 1999 Jeff Johnson +- use cp rather than mv to preserve /etc/services perms (#4938 et al). +- use mktemp to generate /etc/tmp.XXXXXX file name. +- add prereqs on sed/mktemp/killall (need to move killall to /bin). +- fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7") + +* Mon Aug 30 1999 Bill Nottingham +- sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd + +* Sat Aug 21 1999 Bill Nottingham +- fix typo in mount.smb + +* Fri Aug 20 1999 Bill Nottingham +- add a %trigger to work around (sort of) broken scripts in + previous releases + +* Mon Aug 16 1999 Bill Nottingham +- initscript munging + +* Mon Aug 9 1999 Bill Nottingham +- add domain parsing to mount.smb + +* Fri Aug 6 1999 Bill Nottingham +- add a -common package, shuffle files around. + +* Fri Jul 23 1999 Bill Nottingham +- add a chmod in %postun so /etc/services & inetd.conf don't become unreadable + +* Wed Jul 21 1999 Bill Nottingham +- update to 2.0.5 +- fix mount.smb - smbmount options changed again......... +- fix postun. oops. +- update some stuff from the samba team's spec file. + +* Fri Jun 18 1999 Bill Nottingham +- split off clients into separate package +- don't run samba by default + +* Mon Jun 14 1999 Bill Nottingham +- fix one problem with mount.smb script +- fix smbpasswd on sparc with a really ugly kludge + +* Thu Jun 10 1999 Dale Lovelace +- fixed logrotate script + +* Tue May 25 1999 Bill Nottingham +- turn of 64-bit locking on 32-bit platforms + +* Thu May 20 1999 Bill Nottingham +- so many releases, so little time +- explicitly uncomment 'printing = bsd' in sample config + +* Tue May 18 1999 Bill Nottingham +- update to 2.0.4a +- fix mount.smb arg ordering + +* Fri Apr 16 1999 Bill Nottingham +- go back to stop/start for restart (-HUP didn't work in testing) + +* Fri Mar 26 1999 Bill Nottingham +- add a mount.smb to make smb mounting a little easier. +- smb filesystems apparently don't work on alpha. Oops. + +* Thu Mar 25 1999 Bill Nottingham +- always create codepages + +* Tue Mar 23 1999 Bill Nottingham +- logrotate changes + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 3) + +* Fri Mar 19 1999 Preston Brown +- updated init script to use graceful restart (not stop/start) + +* Tue Mar 9 1999 Bill Nottingham +- update to 2.0.3 + +* Thu Feb 18 1999 Bill Nottingham +- update to 2.0.2 + +* Mon Feb 15 1999 Bill Nottingham +- swat swat + +* Tue Feb 9 1999 Bill Nottingham +- fix bash2 breakage in post script + +* Fri Feb 5 1999 Bill Nottingham +- update to 2.0.0 + +* Mon Oct 12 1998 Cristian Gafton +- make sure all binaries are stripped + +* Thu Sep 17 1998 Jeff Johnson +- update to 1.9.18p10. +- fix %triggerpostun. + +* Tue Jul 07 1998 Erik Troan +- updated postun triggerscript to check $0 +- clear /etc/codepages from %preun instead of %postun + +* Mon Jun 08 1998 Erik Troan +- made the %postun script a tad less agressive; no reason to remove + the logs or lock file (after all, if the lock file is still there, + samba is still running) +- the %postun and %preun should only exectute if this is the final + removal +- migrated %triggerpostun from Red Hat's samba package to work around + packaging problems in some Red Hat samba releases + +* Sun Apr 26 1998 John H Terpstra +- minor tidy up in preparation for release of 1.9.18p5 +- added findsmb utility from SGI package + +* Wed Mar 18 1998 John H Terpstra +- Updated version and codepage info. +- Release to test name resolve order + +* Sat Jan 24 1998 John H Terpstra +- Many optimisations (some suggested by Manoj Kasichainula +- Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb +- Compounded make line +- Updated smb.init restart mechanism +- Use compound mkdir -p line instead of individual calls to mkdir +- Fixed smb.conf file path for log files +- Fixed smb.conf file path for incoming smb print spool directory +- Added a number of options to smb.conf file +- Added smbadduser command (missed from all previous RPMs) - Doooh! +- Added smbuser file and smb.conf file updates for username map + diff -Nru samba-2.0.10-ja-1.1/packaging/RedHat/makerpms.sh samba-2.0.10-ja-1.2beta1/packaging/RedHat/makerpms.sh --- samba-2.0.10-ja-1.1/packaging/RedHat/makerpms.sh Mon Aug 20 18:41:01 2001 +++ samba-2.0.10-ja-1.2beta1/packaging/RedHat/makerpms.sh Wed Oct 17 01:04:44 2001 @@ -6,7 +6,7 @@ GRPID=`id -g` VER=2.0.10 -LVER=1.1 +LVER=1.2beta1 LPREF=ja rpm3var () { diff -Nru samba-2.0.10-ja-1.1/packaging/RedHat/samba2.i18n.spec samba-2.0.10-ja-1.2beta1/packaging/RedHat/samba2.i18n.spec --- samba-2.0.10-ja-1.1/packaging/RedHat/samba2.i18n.spec Mon Aug 20 18:41:01 2001 +++ samba-2.0.10-ja-1.2beta1/packaging/RedHat/samba2.i18n.spec Wed Oct 17 01:04:44 2001 @@ -1,7 +1,7 @@ Summary: Samba SMB client and server Summary(ja): Samba SMB クライアントとサーバー Name: samba -%define ja_rel 1.1 +%define ja_rel 1.2beta1 Version: 2.0.10 Release: ja_%{ja_rel} Vendor: Samba User Group Japan diff -Nru samba-2.0.10-ja-1.1/packaging/RedHat/samba2.ja.spec samba-2.0.10-ja-1.2beta1/packaging/RedHat/samba2.ja.spec --- samba-2.0.10-ja-1.1/packaging/RedHat/samba2.ja.spec Mon Aug 20 18:41:01 2001 +++ samba-2.0.10-ja-1.2beta1/packaging/RedHat/samba2.ja.spec Wed Oct 17 01:04:44 2001 @@ -1,7 +1,7 @@ Summary: Samba SMB client and server Name: samba Version: 2.0.10 -%define ja_rel 1.1 +%define ja_rel 1.2beta1 Release: ja_%{ja_rel} Copyright: GNU GPL version 2 Group: Networking diff -Nru samba-2.0.10-ja-1.1/packaging/RedHat/samba2.spec samba-2.0.10-ja-1.2beta1/packaging/RedHat/samba2.spec --- samba-2.0.10-ja-1.1/packaging/RedHat/samba2.spec Mon Aug 20 18:41:01 2001 +++ samba-2.0.10-ja-1.2beta1/packaging/RedHat/samba2.spec Wed Oct 17 01:04:44 2001 @@ -1,7 +1,7 @@ Summary: Samba SMB client and server Name: samba Version: 2.0.10 -Release: 1.1 +Release: 1.2beta1 Copyright: GNU GPL version 2 Group: Networking Source: ftp://samba.org/pub/samba/samba-2.0.10.tar.gz diff -Nru samba-2.0.10-ja-1.1/packaging/Solaris/pkginfo samba-2.0.10-ja-1.2beta1/packaging/Solaris/pkginfo --- samba-2.0.10-ja-1.1/packaging/Solaris/pkginfo Mon Aug 20 18:41:01 2001 +++ samba-2.0.10-ja-1.2beta1/packaging/Solaris/pkginfo Wed Oct 17 01:04:44 2001 @@ -1,7 +1,7 @@ PKG=samba NAME=SMB based file/printer sharing ARCH=sparc -VERSION=2.0.10-ja-1.1 +VERSION=2.0.10-ja-1.2beta1 CATEGORY=system VENDOR=Samba Users Group Japan DESC=File and printer sharing for NT workstations diff -Nru samba-2.0.10-ja-1.1/packaging/Vine/README samba-2.0.10-ja-1.2beta1/packaging/Vine/README --- samba-2.0.10-ja-1.1/packaging/Vine/README Thu Jan 1 09:00:00 1970 +++ samba-2.0.10-ja-1.2beta1/packaging/Vine/README Fri Sep 21 22:57:18 2001 @@ -0,0 +1,6 @@ +samba2.spec* + Vine のパッケージポリシーにしたがった RPM + 現在メンテナンスされていません。 + +samba210ja22.spec* + samba-2.0.10-ja-1.1 に対応した SPEC ファイル diff -Nru samba-2.0.10-ja-1.1/packaging/Vine/samba2.ja.spec samba-2.0.10-ja-1.2beta1/packaging/Vine/samba2.ja.spec --- samba-2.0.10-ja-1.1/packaging/Vine/samba2.ja.spec Mon Aug 20 18:41:01 2001 +++ samba-2.0.10-ja-1.2beta1/packaging/Vine/samba2.ja.spec Wed Oct 17 01:04:44 2001 @@ -1,7 +1,7 @@ Summary: Samba SMB client and server Japanese Edition Summary(ja): Samba SMB クライアントとサーバー 日本語版 Name: samba -%define ja_rel 1.1 +%define ja_rel 1.2beta1 Version: 2.0.10 Release: ja_%{ja_rel} Vendor: Samba Users Group Japan diff -Nru samba-2.0.10-ja-1.1/packaging/Vine/samba210ja22.spec samba-2.0.10-ja-1.2beta1/packaging/Vine/samba210ja22.spec --- samba-2.0.10-ja-1.1/packaging/Vine/samba210ja22.spec Thu Jan 1 09:00:00 1970 +++ samba-2.0.10-ja-1.2beta1/packaging/Vine/samba210ja22.spec Wed Oct 17 01:04:44 2001 @@ -0,0 +1,997 @@ +Summary: Samba SMB client and server +Name: samba +Version: 2.0.10 +%define ja_rel 1.2beta1 +Release: ja_%{ja_rel}_g2 +Copyright: GNU GPL version 2 +Group: Networking +Source: ftp://ftp.samba.gr.jp/pub/samba-jp/samba-%{version}-ja/samba-%{version}-ja-%{ja_rel}.tar.bz2 +Patch: makefile-path.patch +Patch1: smbw.patch +Packager: Hiroshi Inoue [samba-jp ML member] +Requires: pam >= 0.64, gettext >= 0.10, tcp_wrappers +Prereq: chkconfig fileutils +BuildRoot: /var/tmp/samba +Prefix: /usr + +%description +Samba provides an SMB server which can be used to provide +network services to SMB (sometimes called "Lan Manager") +clients, including various versions of MS Windows, OS/2, +and other Linux machines. Samba also provides some SMB +clients, which complement the built-in SMB filesystem +in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols +and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) +protocol. + +Samba-2 features an almost working NT Domain Control +capability and includes the new SWAT (Samba Web Administration +Tool) that allows samba's smb.conf file to be remotely managed +using your favourite web browser. For the time being this is +being enabled on TCP port 901 via inetd. + +Please refer to the WHATSNEW.txt document for fixup information. +This binary release includes encrypted password support. +Please read the smb.conf file and ENCRYPTION.txt in the +docs directory for implementation details. + +NOTE: Red Hat Linux 5.X Uses PAM which has integrated support +for Shadow passwords. Do NOT recompile with the SHADOW_PWD option +enabled. Red Hat Linux has built in support for quotas in PAM. + +%changelog +* Sun Sep 16 2001 TAKAHASHI Motonobu + - Change Target Version to samba-2.0.10-ja-1.1 . + +* Sun Jul 10 2001 Hiroshi Inoue + - Include Hankaku Kana filename problem patch from Mr.Takashi SHIRAI. + +* Sun Jul 8 2001 Hiroshi Inoue + - Change Target Version to samba-2.0.10-ja-1.0 . + +* Sat Jun 10 2001 Hiroshi Inoue + - No man page was install fix. + - Spec File modify SWAT JP Document Install correct. + based on packaging/RedHat/samba2.ja.spec + +* Sat Jul 8 2000 TAKAHASHI Motonobu + - Added smb-useradd and smb-userdel scripts + - Fixed some Japanese expression + - SWAT is invoked via tcp + - create STATUS..LCK during installation + +* Fri Jul 7 2000 Hiroshi MIURA + - Added Japanese manual pages + +* Sat May 27 2000 Hiroshi MIURA + - Added support for "HowToUseSamba" Document + - Update spec file Japanese description. + +* Sat May 6 2000 Hiroshi MIURA + - Added support for "i18n SWAT" + +* Fri Apr 14 2000 John H Terpstra + - Updated unicode map file generation + +* Thu Mar 30 2000 Jeremy Allison + - Added support for "Using Samba" and unicode maps. + +* Sat Nov 29 1999 Matthew Vanecek + - Added a Prefix and changed "/usr" to "%{prefix}" + +* Sat Nov 11 1999 Tridge + - changed from mount.smb to mount.smbfs + +* Sat Oct 9 1999 Tridge + - removed smbwrapper + - added smbmnt and smbmount + +* Sun Apr 25 1999 John H Terpstra + - added smbsh.1 man page + +* Fri Mar 26 1999 Andrew Tridgell + - added --with-pam as pam is no longer used by default + +* Sat Jan 27 1999 Jeremy Allison + - Removed smbrun binary and tidied up some loose ends + +* Sun Oct 25 1998 John H Terpstra + - Added parameters to /config to ensure smb.conf, lmhosts, + and smbusers never gets over-written. + +* Sat Oct 24 1998 John H Terpstra + - removed README.smbsh file from docs area + +* Mon Oct 05 1998 John H Terpstra + - Added rpcclient to binaries list + - Added smbwrapper stuff + +* Fri Aug 21 1998 John H Terpstra + - Updated for Samba version 2.0 building + +* Tue Jul 07 1998 Erik Troan + - updated postun triggerscript to check $0 + - clear /etc/codepages from %preun instead of %postun + +* Sat Jul 04 1998 John H Terpstra + - fixed codepage preservation during update via -Uvh + +* Mon Jun 08 1998 Erik Troan + - made the %postun script a tad less agressive; no reason to remove + the logs or lock file + - the %postun and %preun should only exectute if this is the final + removal + - migrated %triggerpostun from Red Hat's samba package to work around + packaging problems in some Red Hat samba releases + +* Sun Apr 26 1998 John H Terpstra + - Tidy up for early alpha releases + - added findsmb from SGI packaging + +* Thu Apr 09 1998 John H Terpstra + - Updated spec file + - Included new codepage.936 + +* Sat Mar 20 1998 John H Terpstra + - Added swat facility + +* Sat Jan 24 1998 John H Terpstra + - Many optimisations (some suggested by Manoj Kasichainula + - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb + - Compounded make line + - Updated smb.init restart mechanism + - Use compound mkdir -p line instead of individual calls to mkdir + - Fixed smb.conf file path for log files + - Fixed smb.conf file path for incoming smb print spool directory + - Added a number of options to smb.conf file + - Added smbadduser command (missed from all previous RPMs) - Doooh! + - Added smbuser file and smb.conf file updates for username map + +%prep +%setup -n samba-%{version}-ja-%{ja_rel} +%patch -p1 +%patch1 -p1 + +%build +cd source +./configure --prefix=%{prefix} --libdir=/etc --with-lockdir=/var/lock/samba --with-privatedir=/etc --with-swatdir=%{prefix}/share/swat --with-sambabook=%{prefix}/share/swat/using_samba --with-swat-langfile=%{prefix}/share/swat/swat-i18n.conf --with-smbmount --with-automount --with-quotas --with-pam --with-i18n-swat --localstatedir=/var/log/samba --with-utmp +make all + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/etc/codepages/src +mkdir -p $RPM_BUILD_ROOT/etc/{logrotate.d,pam.d} +mkdir -p $RPM_BUILD_ROOT/etc/rc.d/{init.d,rc0.d,rc1.d,rc2.d,rc3.d,rc5.d,rc6.d} +mkdir -p $RPM_BUILD_ROOT/home/samba +mkdir -p $RPM_BUILD_ROOT%{prefix}/{bin,sbin,lib} +mkdir -p $RPM_BUILD_ROOT/sbin +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/{images,help,include,using_samba} +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/ja/{images,help,include} +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/ja_JP.SJIS/{images,help,include} +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/ja/help/HowToUseSamba +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/locale/en/LC_MESSAGES +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/locale/ja/LC_MESSAGES +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/locale/ja_JP.SJIS/LC_MESSAGES +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/{figs,gifs} +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/ja +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/ja/{figs,gifs} +mkdir -p $RPM_BUILD_ROOT%{prefix}/man/{man1,man5,man7,man8} +#mkdir -p $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/{man1,man5,man7,man8} +mkdir -p $RPM_BUILD_ROOT%{prefix}/man/ja/{man1,man5,man7,man8} +mkdir -p $RPM_BUILD_ROOT/var/lock/samba +mkdir -p $RPM_BUILD_ROOT/var/log/samba +mkdir -p $RPM_BUILD_ROOT/var/spool/samba + +# Install standard binary files +for i in nmblookup smbclient smbspool smbpasswd smbstatus testparm testprns \ + make_smbcodepage make_printerdef rpcclient make_unicodemap make_nftable +do +install -m755 -s source/bin/$i $RPM_BUILD_ROOT%{prefix}/bin +done +for i in addtosmbpass mksmbpasswd.sh smbtar +do +install -m755 source/script/$i $RPM_BUILD_ROOT%{prefix}/bin +done +for i in smb-useradd smb-userdel +do +install -m755 examples/add-delete-user-script/$i $RPM_BUILD_ROOT/usr/bin +done + +# Install secure binary files +for i in smbd nmbd swat smbmount smbmnt smbumount +do +install -m755 -s source/bin/$i $RPM_BUILD_ROOT%{prefix}/sbin +done + +# we need a symlink for mount to recognise the smb filesystem type +ln -sf %{prefix}/sbin/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs + +# Install level 1 man pages +for i in smbclient.1 smbrun.1 smbstatus.1 smbtar.1 testparm.1 testprns.1 make_smbcodepage.1 \ + nmblookup.1 make_unicodemap.1 +do +install -m644 docs/manpages/$i $RPM_BUILD_ROOT%{prefix}/man/man1 +done + +# Install level 1 jman pages +# At a later date add back to line below: smbsh.1 +for i in smbclient.1 smbrun.1 smbstatus.1 smbtar.1 testparm.1 testprns.1 make_smbcodepage.1 nmblookup.1 make_unicodemap.1 +do +#cp docs/ja/manpages/$i.man $RPM_BUILD_ROOT/usr/man/ja_JP.ujis/man1/$i +cp docs/ja/manpages/$i.man $RPM_BUILD_ROOT/usr/man/ja/man1/$i +done +#chmod 644 $RPM_BUILD_ROOT/usr/man/ja_JP.ujis/man1/* +chmod 644 $RPM_BUILD_ROOT/usr/man/ja/man1/* + +# Install codepage source files +for i in 437 737 775 850 852 861 866 932 936 949 950 1251 +do +install -m644 source/codepages/codepage_def.$i $RPM_BUILD_ROOT/etc/codepages/src +done +for i in 437 737 850 852 861 866 932 936 949 950 ISO8859-1 ISO8859-2 ISO8859-5 \ + ISO8859-7 KOI8-R +do +install -m644 source/codepages/CP$i.TXT $RPM_BUILD_ROOT/etc/codepages/src +done + +install -m644 source/codepages/NFD2MacOSX.txt $RPM_BUILD_ROOT/etc/codepages/src +install -m644 source/codepages/NormalizationTest.txt $RPM_BUILD_ROOT/etc/codepages/src + +# Install SWAT helper files +for j in . ja +do + for i in swat/$j/help/*.html docs/$j/htmldocs/*.html + do + install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/$j/help + done + for i in swat/$j/images/*.gif + do + install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/$j/images + done + for i in swat/$j/include/*.html + do + install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/$j/include + done +done +for i in docs/ja/htmldocs/HowToUseSamba/*.html docs/ja/htmldocs/HowToUseSamba/*.gif docs/ja/htmldocs/HowToUseSamba/*.GIF +do +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/ja/help/HowToUseSamba +done +%for j in ja_JP.SJIS +%do +% for i in swat/$j/help/*.html +% do +% install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/$j/help +% done +% for i in swat/$j/images/*.gif +% do +% install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/$j/images +% done +% for i in swat/$j/include/*.html +% do +% install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/$j/include +% done +%done +for i in docs/ja/textdocs/*.txt +do + cat docs/ja/textdocs/header.html $i docs/ja/textdocs/footer.html > docs/ja/htmldocs/`basename $i`.html +done + +# added by gamera for text doc 27 May 2001 +for i in docs/ja/htmldocs/*.html +do +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/ja/help +done + +for i in docs/htmldocs/using_samba/*.html +do +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba +done +for i in docs/htmldocs/using_samba/figs/*.gif +do +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/figs +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/ja/figs +done +for i in docs/htmldocs/using_samba/gifs/*.gif +do +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/gifs +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/ja/gifs +done + +# added by gamera for using_samba 27 May 2001 +for i in docs/ja/htmldocs/using_samba/*.html +do +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/ja +done + + +# Install the miscellany +install -m644 swat/README $RPM_BUILD_ROOT%{prefix}/share/swat +install -m644 docs/manpages/smb.conf.5 $RPM_BUILD_ROOT%{prefix}/man/man5 +install -m644 docs/manpages/lmhosts.5 $RPM_BUILD_ROOT%{prefix}/man/man5 +install -m644 docs/manpages/smbpasswd.5 $RPM_BUILD_ROOT%{prefix}/man/man5 +install -m644 docs/manpages/samba.7 $RPM_BUILD_ROOT%{prefix}/man/man7 +install -m644 docs/manpages/smbd.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +install -m644 docs/manpages/nmbd.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +install -m644 docs/manpages/swat.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +install -m644 docs/manpages/smbmnt.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +install -m644 docs/manpages/smbmount.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +install -m644 docs/manpages/smbpasswd.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +install -m644 docs/manpages/smbspool.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +#cp docs/ja/manpages/smb.conf.5.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man5/smb.conf.5 +#cp docs/ja/manpages/lmhosts.5.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man5/lmhosts.5 +#cp docs/ja/manpages/smbpasswd.5.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man5/smbpasswd.5 +#cp docs/ja/manpages/samba.7.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man7/samba.7 +#cp docs/ja/manpages/smbd.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/smbd.8 +#cp docs/ja/manpages/nmbd.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/nmbd.8 +#cp docs/ja/manpages/swat.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/swat.8 +#cp docs/ja/manpages/smbmnt.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/smbmnt.8 +#cp docs/ja/manpages/smbmount.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/smbmount.8 +#cp docs/ja/manpages/smbpasswd.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/smbpasswd.8 +#cp docs/ja/manpages/smbspool.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/smbspool.8 +#chmod 644 $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man5/* +#chmod 644 $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man7/* +#chmod 644 $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/* +cp docs/ja/manpages/smb.conf.5.man $RPM_BUILD_ROOT%{prefix}/man/ja/man5/smb.conf.5 +cp docs/ja/manpages/lmhosts.5.man $RPM_BUILD_ROOT%{prefix}/man/ja/man5/lmhosts.5 +cp docs/ja/manpages/smbpasswd.5.man $RPM_BUILD_ROOT%{prefix}/man/ja/man5/smbpasswd.5 +cp docs/ja/manpages/samba.7.man $RPM_BUILD_ROOT%{prefix}/man/ja/man7/samba.7 +cp docs/ja/manpages/smbd.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/smbd.8 +cp docs/ja/manpages/nmbd.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/nmbd.8 +cp docs/ja/manpages/swat.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/swat.8 +cp docs/ja/manpages/smbmnt.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/smbmnt.8 +cp docs/ja/manpages/smbmount.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/smbmount.8 +cp docs/ja/manpages/smbpasswd.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/smbpasswd.8 +cp docs/ja/manpages/smbspool.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/smbspool.8 +chmod 644 $RPM_BUILD_ROOT%{prefix}/man/ja/man5/* +chmod 644 $RPM_BUILD_ROOT%{prefix}/man/ja/man7/* +chmod 644 $RPM_BUILD_ROOT%{prefix}/man/ja/man8/* +# install -m644 packaging/RedHat/smb.conf $RPM_BUILD_ROOT/etc/smb.conf +install -m644 examples/smb.conf.default.ja $RPM_BUILD_ROOT/etc/smb.conf +install -m644 packaging/RedHat/smbusers $RPM_BUILD_ROOT/etc/smbusers +install -m755 packaging/RedHat/smbprint $RPM_BUILD_ROOT%{prefix}/bin +install -m755 packaging/RedHat/findsmb $RPM_BUILD_ROOT%{prefix}/bin +install -m755 packaging/RedHat/smbadduser $RPM_BUILD_ROOT%{prefix}/bin +install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT/etc/rc.d/init.d/smb +install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT%{prefix}/sbin/samba +install -m644 packaging/RedHat/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba +install -m644 packaging/RedHat/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/samba +install -m644 source/po/en.gmo $RPM_BUILD_ROOT%{prefix}/share/locale/en/LC_MESSAGES/i18n_swat.mo +install -m644 source/po/ja.gmo $RPM_BUILD_ROOT%{prefix}/share/locale/ja/LC_MESSAGES/i18n_swat.mo +#install -m644 source/po/ja_JP.SJIS.gmo $RPM_BUILD_ROOT%{prefix}/share/locale/ja_JP.SJIS/LC_MESSAGES/i18n_swat.mo +#install -m644 source/po/sup_locale.txt $RPM_BUILD_ROOT%{prefix}/share/swat/swat-i18n.conf +echo 127.0.0.1 localhost > $RPM_BUILD_ROOT/etc/lmhosts + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/chkconfig --add smb + +# Build codepage load files +for i in 437 737 850 852 861 866 932 936 949 950 1251 +do +%{prefix}/bin/make_smbcodepage c $i /etc/codepages/src/codepage_def.$i /etc/codepages/codepage.$i +done +for i in 437 737 850 852 861 866 932 936 949 950 ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 KOI8-R +do +%{prefix}/bin/make_unicodemap $i /etc/codepages/src/CP$i.TXT /etc/codepages/unicode_map.$i + ## This if clause skips if CP${a}.TXT does not exist. + if [ -f /etc/codepages/src/NormalizationTest.txt ] + then + %{prefix}/bin/make_nftable $i \ + /etc/codepages/src/NormalizationTest.txt \ + /etc/codepages/src/NFD2MacOSX.txt \ + /etc/codepages/src/CP${i}.TXT \ + /etc/codepages/nftable.$i + fi +done + +# Add swat entry to /etc/services if not already there +if !( grep ^[:space:]*swat /etc/services > /dev/null ) then + echo 'swat 901/tcp # Add swat service used via inetd' >> /etc/services +fi + +# Add swat entry to /etc/inetd.conf if needed +if !( grep ^[:space:]*swat /etc/inetd.conf > /dev/null ) then + echo 'swat stream tcp nowait.400 root /usr/sbin/tcpd %{prefix}/sbin/swat' >> /etc/inetd.conf +killall -1 inetd || : +fi + +# Create an empty lock file to supress error messages +if [ ! -e /var/lock/samba/STATUS..LCK ]; then + touch /var/lock/samba/STATUS..LCK +fi + + +%preun +if [ $1 = 0 ] ; then + /sbin/chkconfig --del smb + + for n in /etc/codepages/*; do + if [ $n != /etc/codepages/src ]; then + rm -rf $n + fi + done + # We want to remove the browse.dat and wins.dat files so they can not interfer with a new version of samba! + if [ -e /var/lock/samba/browse.dat ]; then + rm -f /var/lock/samba/browse.dat + fi + if [ -e /var/lock/samba/wins.dat ]; then + rm -f /var/lock/samba/wins.dat + fi + if [ -e /var/lock/samba/STATUS..LCK ]; then + rm -f /var/lock/samba/STATUS..LCK + fi +fi + +%postun +# Only delete remnants of samba if this is the final deletion. +if [ $1 = 0 ] ; then + if [ -x /etc/pam.d/samba ]; then + rm -f /etc/pam.d/samba + fi + if [ -e /var/log/samba ]; then + rm -rf /var/log/samba + fi + if [ -e /var/lock/samba ]; then + rm -rf /var/lock/samba + fi + + # Remove swat entries from /etc/inetd.conf and /etc/services + cd /etc + tmpfile=/etc/tmp.$$ + sed -e '/^[:space:]*swat.*$/d' /etc/inetd.conf > $tmpfile + mv $tmpfile inetd.conf + sed -e '/^[:space:]*swat.*$/d' /etc/services > $tmpfile + mv $tmpfile services +fi + +%triggerpostun -- samba < samba-2.0.0 +if [ $0 != 0 ]; then + /sbin/chkconfig --add smb +fi + + +%files +%doc README COPYING Manifest Read-Manifest-Now RELNOTE.ja RELNOTE.en +%doc WHATSNEW.txt Roadmap +%doc docs +%doc swat/README +%doc examples +%attr(-,root,root) %{prefix}/sbin/smbd +%attr(-,root,root) %{prefix}/sbin/nmbd +%attr(-,root,root) %{prefix}/sbin/swat +%attr(-,root,root) %{prefix}/sbin/smbmnt +%attr(-,root,root) %{prefix}/sbin/smbmount +%attr(-,root,root) %{prefix}/sbin/smbumount +%attr(-,root,root) /sbin/mount.smbfs +%attr(0750,root,root) %{prefix}/sbin/samba +%attr(-,root,root) %{prefix}/bin/addtosmbpass +%attr(-,root,root) %{prefix}/bin/mksmbpasswd.sh +%attr(-,root,root) %{prefix}/bin/smbclient +%attr(-,root,root) %{prefix}/bin/smbspool +%attr(-,root,root) %{prefix}/bin/rpcclient +%attr(-,root,root) %{prefix}/bin/smb-useradd +%attr(-,root,root) %{prefix}/bin/smb-userdel +%attr(-,root,root) %{prefix}/bin/testparm +%attr(-,root,root) %{prefix}/bin/testprns +%attr(-,root,root) %{prefix}/bin/findsmb +%attr(-,root,root) %{prefix}/bin/smbstatus +%attr(-,root,root) %{prefix}/bin/nmblookup +%attr(-,root,root) %{prefix}/bin/make_nftable +%attr(-,root,root) %{prefix}/bin/make_smbcodepage +%attr(-,root,root) %{prefix}/bin/make_unicodemap +%attr(-,root,root) %{prefix}/bin/make_printerdef +%attr(-,root,root) %{prefix}/bin/smbpasswd +%attr(-,root,root) %{prefix}/bin/smbtar +%attr(-,root,root) %{prefix}/bin/smbprint +%attr(-,root,root) %{prefix}/bin/smbadduser +%attr(-,root,root) %{prefix}/share/swat/help/welcome.html +%attr(-,root,root) %{prefix}/share/swat/help/DOMAIN_MEMBER.html +%attr(-,root,root) %{prefix}/share/swat/help/NT_Security.html +%attr(-,root,root) %{prefix}/share/swat/help/lmhosts.5.html +%attr(-,root,root) %{prefix}/share/swat/help/make_smbcodepage.1.html +%attr(-,root,root) %{prefix}/share/swat/help/nmbd.8.html +%attr(-,root,root) %{prefix}/share/swat/help/nmblookup.1.html +%attr(-,root,root) %{prefix}/share/swat/help/samba.7.html +%attr(-,root,root) %{prefix}/share/swat/help/smb.conf.5.html +%attr(-,root,root) %{prefix}/share/swat/help/smbclient.1.html +%attr(-,root,root) %{prefix}/share/swat/help/smbspool.8.html +%attr(-,root,root) %{prefix}/share/swat/help/smbd.8.html +%attr(-,root,root) %{prefix}/share/swat/help/smbpasswd.5.html +%attr(-,root,root) %{prefix}/share/swat/help/smbpasswd.8.html +%attr(-,root,root) %{prefix}/share/swat/help/smbrun.1.html +%attr(-,root,root) %{prefix}/share/swat/help/smbstatus.1.html +%attr(-,root,root) %{prefix}/share/swat/help/smbtar.1.html +%attr(-,root,root) %{prefix}/share/swat/help/swat.8.html +%attr(-,root,root) %{prefix}/share/swat/help/testparm.1.html +%attr(-,root,root) %{prefix}/share/swat/help/testprns.1.html +%attr(-,root,root) %{prefix}/share/swat/images/globals.gif +%attr(-,root,root) %{prefix}/share/swat/images/home.gif +%attr(-,root,root) %{prefix}/share/swat/images/passwd.gif +%attr(-,root,root) %{prefix}/share/swat/images/printers.gif +%attr(-,root,root) %{prefix}/share/swat/images/shares.gif +%attr(-,root,root) %{prefix}/share/swat/images/samba.gif +%attr(-,root,root) %{prefix}/share/swat/images/status.gif +%attr(-,root,root) %{prefix}/share/swat/images/viewconfig.gif +%attr(-,root,root) %{prefix}/share/swat/include/header.html +%attr(-,root,root) %{prefix}/share/swat/include/footer.html +%attr(-,root,root) %{prefix}/share/swat/ja/help/*.html +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/1-18.html +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/1-19.html +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/1-6.html +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/MSNET1.GIF +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/MSNETW2.GIF +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/PRTCL95.GIF +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/SAMBA1.GIF +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/WGRPNT1.GIF +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/globals.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/home.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/index.html +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/passwd.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printers.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printtool1.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printtool2.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printtool3.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printtool4.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printtool5.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printtool6.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/samba.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/shares.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/status.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/swat1.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/userhome.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/userprofile.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/viewconfig.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/x-1-256.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/x-2-256.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/x-3-256.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/globals.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/home.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/passwd.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/printers.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/shares.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/samba.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/status.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/viewconfig.gif +%attr(-,root,root) %{prefix}/share/swat/ja/include/header.html +%attr(-,root,root) %{prefix}/share/swat/ja/include/footer.html +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/help/welcome.html +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/home.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/passwd.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/printers.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/shares.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/samba.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/status.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/viewconfig.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/include/header.html +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/include/footer.html +#%attr(-,root,root) %{prefix}/share/swat/swat-i18n.conf +%attr(-,root,root) %{prefix}/share/swat/using_samba/appa_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appa_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appa_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appa_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appa_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appb_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appb_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appb_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appc_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appd_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appe_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appf_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_07.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_08.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch02_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch02_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch02_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch02_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch02_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch02_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch03_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch03_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch03_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_07.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_08.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch05_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch05_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch05_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch05_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch05_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch06_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch06_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch06_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch06_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch06_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch06_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch07_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch07_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch07_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_07.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch09_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch09_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch09_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/index.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/inx.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/licenseinfo.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/this_edition.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0101.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0102.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0103.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0104.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0105.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0106.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0107.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0108.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0109.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0110.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0111.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0112.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0113.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0114.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0201.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0202.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0203.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0204.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0301.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0302.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0303.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0304.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0305.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0306.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0307.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0308.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0309.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0310.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0311.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0312.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0313.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0314.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0315.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0316.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0317.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0318.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0319.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0320.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0321.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0322.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0323.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0324.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0325.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0326.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0327.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0328.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0401.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0402.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0403.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0404.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0405.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0406.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0407.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0501.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0502.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0503.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0504.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0505.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0506.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0507.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0508.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0601.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0602.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0603.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0604.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0605.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0606.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0701.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0702.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0703.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0704.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0705.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0706.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0707.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0708.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0709.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0801.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0802.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0803.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0804.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0805.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0901.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0902.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0903.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0904.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0905.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.aa01.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.ab01.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.ab02.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/gifs/index.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/gifs/samba.s.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/gifs/txthome.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/gifs/txtnexta.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/gifs/txtpreva.gif + +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appa_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appa_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appa_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appa_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appa_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appb_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appb_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appb_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appc_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appd_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appe_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appf_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_07.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_08.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch02_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch02_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch02_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch02_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch02_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch02_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch03_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch03_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch03_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_07.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_08.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch05_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch05_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch05_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch05_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch05_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch06_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch06_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch06_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch06_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch06_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch06_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch07_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch07_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch07_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_07.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch09_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch09_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch09_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/index.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/inx.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/licenseinfo.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/this_edition.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0101.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0102.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0103.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0104.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0105.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0106.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0107.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0108.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0109.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0110.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0111.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0112.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0113.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0114.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0201.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0202.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0203.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0204.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0301.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0302.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0303.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0304.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0305.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0306.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0307.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0308.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0309.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0310.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0311.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0312.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0313.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0314.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0315.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0316.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0317.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0318.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0319.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0320.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0321.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0322.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0323.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0324.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0325.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0326.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0327.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0328.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0401.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0402.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0403.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0404.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0405.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0406.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0407.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0501.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0502.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0503.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0504.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0505.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0506.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0507.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0508.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0601.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0602.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0603.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0604.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0605.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0606.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0701.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0702.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0703.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0704.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0705.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0706.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0707.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0708.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0709.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0801.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0802.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0803.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0804.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0805.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0901.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0902.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0903.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0904.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0905.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.aa01.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.ab01.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.ab02.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/gifs/index.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/gifs/samba.s.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/gifs/txthome.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/gifs/txtnexta.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/gifs/txtpreva.gif + +%attr(-,root,root) %{prefix}/share/locale/en/LC_MESSAGES/i18n_swat.mo +%attr(-,root,root) %{prefix}/share/locale/ja/LC_MESSAGES/i18n_swat.mo +#%attr(-,root,root) %{prefix}/share/locale/ja_JP.SJIS/LC_MESSAGES/i18n_swat.mo +%attr(-,root,root) %config(noreplace) /etc/lmhosts +%attr(-,root,root) %config(noreplace) /etc/smb.conf +%attr(-,root,root) %config(noreplace) /etc/smbusers +%attr(-,root,root) /etc/rc.d/init.d/smb +%attr(-,root,root) /etc/logrotate.d/samba +%attr(-,root,root) /etc/pam.d/samba +%attr(-,root,root) /etc/codepages/src/codepage_def.437 +%attr(-,root,root) /etc/codepages/src/codepage_def.737 +%attr(-,root,root) /etc/codepages/src/codepage_def.775 +%attr(-,root,root) /etc/codepages/src/codepage_def.850 +%attr(-,root,root) /etc/codepages/src/codepage_def.852 +%attr(-,root,root) /etc/codepages/src/codepage_def.861 +%attr(-,root,root) /etc/codepages/src/codepage_def.866 +%attr(-,root,root) /etc/codepages/src/codepage_def.932 +%attr(-,root,root) /etc/codepages/src/codepage_def.936 +%attr(-,root,root) /etc/codepages/src/codepage_def.949 +%attr(-,root,root) /etc/codepages/src/codepage_def.950 +%attr(-,root,root) /etc/codepages/src/codepage_def.1251 +%attr(-,root,root) /etc/codepages/src/CP437.TXT +%attr(-,root,root) /etc/codepages/src/CP737.TXT +%attr(-,root,root) /etc/codepages/src/CP850.TXT +%attr(-,root,root) /etc/codepages/src/CP852.TXT +%attr(-,root,root) /etc/codepages/src/CP861.TXT +%attr(-,root,root) /etc/codepages/src/CP866.TXT +%attr(-,root,root) /etc/codepages/src/CP932.TXT +%attr(-,root,root) /etc/codepages/src/CP936.TXT +%attr(-,root,root) /etc/codepages/src/CP949.TXT +%attr(-,root,root) /etc/codepages/src/CP950.TXT +%attr(-,root,root) /etc/codepages/src/CPISO8859-1.TXT +%attr(-,root,root) /etc/codepages/src/CPISO8859-2.TXT +%attr(-,root,root) /etc/codepages/src/CPISO8859-5.TXT +%attr(-,root,root) /etc/codepages/src/CPISO8859-7.TXT +%attr(-,root,root) /etc/codepages/src/CPKOI8-R.TXT +%attr(-,root,root) /etc/codepages/src/NFD2MacOSX.txt +%attr(-,root,root) /etc/codepages/src/NormalizationTest.txt +%attr(-,root,root) %{prefix}/man/man1/smbstatus.1.gz +%attr(-,root,root) %{prefix}/man/man1/smbclient.1.gz +%attr(-,root,root) %{prefix}/man/man1/make_smbcodepage.1.gz +%attr(-,root,root) %{prefix}/man/man1/make_unicodemap.1.gz +%attr(-,root,root) %{prefix}/man/man1/smbrun.1.gz +%attr(-,root,root) %{prefix}/man/man1/smbtar.1.gz +%attr(-,root,root) %{prefix}/man/man1/testparm.1.gz +%attr(-,root,root) %{prefix}/man/man1/testprns.1.gz +%attr(-,root,root) %{prefix}/man/man1/nmblookup.1.gz +%attr(-,root,root) %{prefix}/man/man5/smb.conf.5.gz +%attr(-,root,root) %{prefix}/man/man5/lmhosts.5.gz +%attr(-,root,root) %{prefix}/man/man5/smbpasswd.5.gz +%attr(-,root,root) %{prefix}/man/man7/samba.7.gz +%attr(-,root,root) %{prefix}/man/man8/smbd.8.gz +%attr(-,root,root) %{prefix}/man/man8/nmbd.8.gz +%attr(-,root,root) %{prefix}/man/man8/smbpasswd.8.gz +%attr(-,root,root) %{prefix}/man/man8/swat.8.gz +%attr(-,root,root) %{prefix}/man/man8/smbmnt.8.gz +%attr(-,root,root) %{prefix}/man/man8/smbmount.8.gz +%attr(-,root,root) %{prefix}/man/man8/smbspool.8.gz +# Original man install path +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/smbstatus.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/smbclient.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/make_smbcodepage.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/make_unicodemap.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/smbrun.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/smbtar.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/testparm.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/testprns.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/nmblookup.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man5/smb.conf.5.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man5/lmhosts.5.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man5/smbpasswd.5.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man7/samba.7.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/smbd.8.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/nmbd.8.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/smbpasswd.8.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/swat.8.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/smbmnt.8.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/smbmount.8.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/smbspool.8.gz +# Modifyed man path by gamera +%attr(-,root,root) %{prefix}/man/ja/man1/smbstatus.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/smbclient.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/make_smbcodepage.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/make_unicodemap.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/smbrun.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/smbtar.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/testparm.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/testprns.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/nmblookup.1.gz +%attr(-,root,root) %{prefix}/man/ja/man5/smb.conf.5.gz +%attr(-,root,root) %{prefix}/man/ja/man5/lmhosts.5.gz +%attr(-,root,root) %{prefix}/man/ja/man5/smbpasswd.5.gz +%attr(-,root,root) %{prefix}/man/ja/man7/samba.7.gz +%attr(-,root,root) %{prefix}/man/ja/man8/smbd.8.gz +%attr(-,root,root) %{prefix}/man/ja/man8/nmbd.8.gz +%attr(-,root,root) %{prefix}/man/ja/man8/smbpasswd.8.gz +%attr(-,root,root) %{prefix}/man/ja/man8/swat.8.gz +%attr(-,root,root) %{prefix}/man/ja/man8/smbmnt.8.gz +%attr(-,root,root) %{prefix}/man/ja/man8/smbmount.8.gz +%attr(-,root,root) %{prefix}/man/ja/man8/smbspool.8.gz +%attr(-,root,nobody) %dir /home/samba +%attr(-,root,root) %dir /etc/codepages +%attr(-,root,root) %dir /etc/codepages/src +%attr(-,root,root) %dir /var/lock/samba +%attr(-,root,root) %dir /var/log/samba +%attr(1777,root,root) %dir /var/spool/samba diff -Nru samba-2.0.10-ja-1.1/packaging/Vine/samba210ja22.spec.tmpl samba-2.0.10-ja-1.2beta1/packaging/Vine/samba210ja22.spec.tmpl --- samba-2.0.10-ja-1.1/packaging/Vine/samba210ja22.spec.tmpl Thu Jan 1 09:00:00 1970 +++ samba-2.0.10-ja-1.2beta1/packaging/Vine/samba210ja22.spec.tmpl Fri Sep 21 22:58:27 2001 @@ -0,0 +1,997 @@ +Summary: Samba SMB client and server +Name: samba +Version: PVERSION +%define ja_rel PRELEASE +Release: ja_%{ja_rel}_g2 +Copyright: GNU GPL version 2 +Group: Networking +Source: ftp://ftp.samba.gr.jp/pub/samba-jp/samba-%{version}-ja/samba-%{version}-ja-%{ja_rel}.tar.bz2 +Patch: makefile-path.patch +Patch1: smbw.patch +Packager: Hiroshi Inoue [samba-jp ML member] +Requires: pam >= 0.64, gettext >= 0.10, tcp_wrappers +Prereq: chkconfig fileutils +BuildRoot: /var/tmp/samba +Prefix: /usr + +%description +Samba provides an SMB server which can be used to provide +network services to SMB (sometimes called "Lan Manager") +clients, including various versions of MS Windows, OS/2, +and other Linux machines. Samba also provides some SMB +clients, which complement the built-in SMB filesystem +in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols +and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) +protocol. + +Samba-2 features an almost working NT Domain Control +capability and includes the new SWAT (Samba Web Administration +Tool) that allows samba's smb.conf file to be remotely managed +using your favourite web browser. For the time being this is +being enabled on TCP port 901 via inetd. + +Please refer to the WHATSNEW.txt document for fixup information. +This binary release includes encrypted password support. +Please read the smb.conf file and ENCRYPTION.txt in the +docs directory for implementation details. + +NOTE: Red Hat Linux 5.X Uses PAM which has integrated support +for Shadow passwords. Do NOT recompile with the SHADOW_PWD option +enabled. Red Hat Linux has built in support for quotas in PAM. + +%changelog +* Sun Sep 16 2001 TAKAHASHI Motonobu + - Change Target Version to samba-2.0.10-ja-1.1 . + +* Sun Jul 10 2001 Hiroshi Inoue + - Include Hankaku Kana filename problem patch from Mr.Takashi SHIRAI. + +* Sun Jul 8 2001 Hiroshi Inoue + - Change Target Version to samba-2.0.10-ja-1.0 . + +* Sat Jun 10 2001 Hiroshi Inoue + - No man page was install fix. + - Spec File modify SWAT JP Document Install correct. + based on packaging/RedHat/samba2.ja.spec + +* Sat Jul 8 2000 TAKAHASHI Motonobu + - Added smb-useradd and smb-userdel scripts + - Fixed some Japanese expression + - SWAT is invoked via tcp + - create STATUS..LCK during installation + +* Fri Jul 7 2000 Hiroshi MIURA + - Added Japanese manual pages + +* Sat May 27 2000 Hiroshi MIURA + - Added support for "HowToUseSamba" Document + - Update spec file Japanese description. + +* Sat May 6 2000 Hiroshi MIURA + - Added support for "i18n SWAT" + +* Fri Apr 14 2000 John H Terpstra + - Updated unicode map file generation + +* Thu Mar 30 2000 Jeremy Allison + - Added support for "Using Samba" and unicode maps. + +* Sat Nov 29 1999 Matthew Vanecek + - Added a Prefix and changed "/usr" to "%{prefix}" + +* Sat Nov 11 1999 Tridge + - changed from mount.smb to mount.smbfs + +* Sat Oct 9 1999 Tridge + - removed smbwrapper + - added smbmnt and smbmount + +* Sun Apr 25 1999 John H Terpstra + - added smbsh.1 man page + +* Fri Mar 26 1999 Andrew Tridgell + - added --with-pam as pam is no longer used by default + +* Sat Jan 27 1999 Jeremy Allison + - Removed smbrun binary and tidied up some loose ends + +* Sun Oct 25 1998 John H Terpstra + - Added parameters to /config to ensure smb.conf, lmhosts, + and smbusers never gets over-written. + +* Sat Oct 24 1998 John H Terpstra + - removed README.smbsh file from docs area + +* Mon Oct 05 1998 John H Terpstra + - Added rpcclient to binaries list + - Added smbwrapper stuff + +* Fri Aug 21 1998 John H Terpstra + - Updated for Samba version 2.0 building + +* Tue Jul 07 1998 Erik Troan + - updated postun triggerscript to check $0 + - clear /etc/codepages from %preun instead of %postun + +* Sat Jul 04 1998 John H Terpstra + - fixed codepage preservation during update via -Uvh + +* Mon Jun 08 1998 Erik Troan + - made the %postun script a tad less agressive; no reason to remove + the logs or lock file + - the %postun and %preun should only exectute if this is the final + removal + - migrated %triggerpostun from Red Hat's samba package to work around + packaging problems in some Red Hat samba releases + +* Sun Apr 26 1998 John H Terpstra + - Tidy up for early alpha releases + - added findsmb from SGI packaging + +* Thu Apr 09 1998 John H Terpstra + - Updated spec file + - Included new codepage.936 + +* Sat Mar 20 1998 John H Terpstra + - Added swat facility + +* Sat Jan 24 1998 John H Terpstra + - Many optimisations (some suggested by Manoj Kasichainula + - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb + - Compounded make line + - Updated smb.init restart mechanism + - Use compound mkdir -p line instead of individual calls to mkdir + - Fixed smb.conf file path for log files + - Fixed smb.conf file path for incoming smb print spool directory + - Added a number of options to smb.conf file + - Added smbadduser command (missed from all previous RPMs) - Doooh! + - Added smbuser file and smb.conf file updates for username map + +%prep +%setup -n samba-%{version}-ja-%{ja_rel} +%patch -p1 +%patch1 -p1 + +%build +cd source +./configure --prefix=%{prefix} --libdir=/etc --with-lockdir=/var/lock/samba --with-privatedir=/etc --with-swatdir=%{prefix}/share/swat --with-sambabook=%{prefix}/share/swat/using_samba --with-swat-langfile=%{prefix}/share/swat/swat-i18n.conf --with-smbmount --with-automount --with-quotas --with-pam --with-i18n-swat --localstatedir=/var/log/samba --with-utmp +make all + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/etc/codepages/src +mkdir -p $RPM_BUILD_ROOT/etc/{logrotate.d,pam.d} +mkdir -p $RPM_BUILD_ROOT/etc/rc.d/{init.d,rc0.d,rc1.d,rc2.d,rc3.d,rc5.d,rc6.d} +mkdir -p $RPM_BUILD_ROOT/home/samba +mkdir -p $RPM_BUILD_ROOT%{prefix}/{bin,sbin,lib} +mkdir -p $RPM_BUILD_ROOT/sbin +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/{images,help,include,using_samba} +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/ja/{images,help,include} +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/ja_JP.SJIS/{images,help,include} +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/ja/help/HowToUseSamba +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/locale/en/LC_MESSAGES +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/locale/ja/LC_MESSAGES +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/locale/ja_JP.SJIS/LC_MESSAGES +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/{figs,gifs} +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/ja +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/ja/{figs,gifs} +mkdir -p $RPM_BUILD_ROOT%{prefix}/man/{man1,man5,man7,man8} +#mkdir -p $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/{man1,man5,man7,man8} +mkdir -p $RPM_BUILD_ROOT%{prefix}/man/ja/{man1,man5,man7,man8} +mkdir -p $RPM_BUILD_ROOT/var/lock/samba +mkdir -p $RPM_BUILD_ROOT/var/log/samba +mkdir -p $RPM_BUILD_ROOT/var/spool/samba + +# Install standard binary files +for i in nmblookup smbclient smbspool smbpasswd smbstatus testparm testprns \ + make_smbcodepage make_printerdef rpcclient make_unicodemap make_nftable +do +install -m755 -s source/bin/$i $RPM_BUILD_ROOT%{prefix}/bin +done +for i in addtosmbpass mksmbpasswd.sh smbtar +do +install -m755 source/script/$i $RPM_BUILD_ROOT%{prefix}/bin +done +for i in smb-useradd smb-userdel +do +install -m755 examples/add-delete-user-script/$i $RPM_BUILD_ROOT/usr/bin +done + +# Install secure binary files +for i in smbd nmbd swat smbmount smbmnt smbumount +do +install -m755 -s source/bin/$i $RPM_BUILD_ROOT%{prefix}/sbin +done + +# we need a symlink for mount to recognise the smb filesystem type +ln -sf %{prefix}/sbin/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs + +# Install level 1 man pages +for i in smbclient.1 smbrun.1 smbstatus.1 smbtar.1 testparm.1 testprns.1 make_smbcodepage.1 \ + nmblookup.1 make_unicodemap.1 +do +install -m644 docs/manpages/$i $RPM_BUILD_ROOT%{prefix}/man/man1 +done + +# Install level 1 jman pages +# At a later date add back to line below: smbsh.1 +for i in smbclient.1 smbrun.1 smbstatus.1 smbtar.1 testparm.1 testprns.1 make_smbcodepage.1 nmblookup.1 make_unicodemap.1 +do +#cp docs/ja/manpages/$i.man $RPM_BUILD_ROOT/usr/man/ja_JP.ujis/man1/$i +cp docs/ja/manpages/$i.man $RPM_BUILD_ROOT/usr/man/ja/man1/$i +done +#chmod 644 $RPM_BUILD_ROOT/usr/man/ja_JP.ujis/man1/* +chmod 644 $RPM_BUILD_ROOT/usr/man/ja/man1/* + +# Install codepage source files +for i in 437 737 775 850 852 861 866 932 936 949 950 1251 +do +install -m644 source/codepages/codepage_def.$i $RPM_BUILD_ROOT/etc/codepages/src +done +for i in 437 737 850 852 861 866 932 936 949 950 ISO8859-1 ISO8859-2 ISO8859-5 \ + ISO8859-7 KOI8-R +do +install -m644 source/codepages/CP$i.TXT $RPM_BUILD_ROOT/etc/codepages/src +done + +install -m644 source/codepages/NFD2MacOSX.txt $RPM_BUILD_ROOT/etc/codepages/src +install -m644 source/codepages/NormalizationTest.txt $RPM_BUILD_ROOT/etc/codepages/src + +# Install SWAT helper files +for j in . ja +do + for i in swat/$j/help/*.html docs/$j/htmldocs/*.html + do + install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/$j/help + done + for i in swat/$j/images/*.gif + do + install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/$j/images + done + for i in swat/$j/include/*.html + do + install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/$j/include + done +done +for i in docs/ja/htmldocs/HowToUseSamba/*.html docs/ja/htmldocs/HowToUseSamba/*.gif docs/ja/htmldocs/HowToUseSamba/*.GIF +do +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/ja/help/HowToUseSamba +done +%for j in ja_JP.SJIS +%do +% for i in swat/$j/help/*.html +% do +% install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/$j/help +% done +% for i in swat/$j/images/*.gif +% do +% install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/$j/images +% done +% for i in swat/$j/include/*.html +% do +% install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/$j/include +% done +%done +for i in docs/ja/textdocs/*.txt +do + cat docs/ja/textdocs/header.html $i docs/ja/textdocs/footer.html > docs/ja/htmldocs/`basename $i`.html +done + +# added by gamera for text doc 27 May 2001 +for i in docs/ja/htmldocs/*.html +do +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/ja/help +done + +for i in docs/htmldocs/using_samba/*.html +do +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba +done +for i in docs/htmldocs/using_samba/figs/*.gif +do +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/figs +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/ja/figs +done +for i in docs/htmldocs/using_samba/gifs/*.gif +do +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/gifs +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/ja/gifs +done + +# added by gamera for using_samba 27 May 2001 +for i in docs/ja/htmldocs/using_samba/*.html +do +install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/ja +done + + +# Install the miscellany +install -m644 swat/README $RPM_BUILD_ROOT%{prefix}/share/swat +install -m644 docs/manpages/smb.conf.5 $RPM_BUILD_ROOT%{prefix}/man/man5 +install -m644 docs/manpages/lmhosts.5 $RPM_BUILD_ROOT%{prefix}/man/man5 +install -m644 docs/manpages/smbpasswd.5 $RPM_BUILD_ROOT%{prefix}/man/man5 +install -m644 docs/manpages/samba.7 $RPM_BUILD_ROOT%{prefix}/man/man7 +install -m644 docs/manpages/smbd.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +install -m644 docs/manpages/nmbd.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +install -m644 docs/manpages/swat.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +install -m644 docs/manpages/smbmnt.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +install -m644 docs/manpages/smbmount.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +install -m644 docs/manpages/smbpasswd.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +install -m644 docs/manpages/smbspool.8 $RPM_BUILD_ROOT%{prefix}/man/man8 +#cp docs/ja/manpages/smb.conf.5.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man5/smb.conf.5 +#cp docs/ja/manpages/lmhosts.5.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man5/lmhosts.5 +#cp docs/ja/manpages/smbpasswd.5.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man5/smbpasswd.5 +#cp docs/ja/manpages/samba.7.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man7/samba.7 +#cp docs/ja/manpages/smbd.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/smbd.8 +#cp docs/ja/manpages/nmbd.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/nmbd.8 +#cp docs/ja/manpages/swat.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/swat.8 +#cp docs/ja/manpages/smbmnt.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/smbmnt.8 +#cp docs/ja/manpages/smbmount.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/smbmount.8 +#cp docs/ja/manpages/smbpasswd.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/smbpasswd.8 +#cp docs/ja/manpages/smbspool.8.man $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/smbspool.8 +#chmod 644 $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man5/* +#chmod 644 $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man7/* +#chmod 644 $RPM_BUILD_ROOT%{prefix}/man/ja_JP.ujis/man8/* +cp docs/ja/manpages/smb.conf.5.man $RPM_BUILD_ROOT%{prefix}/man/ja/man5/smb.conf.5 +cp docs/ja/manpages/lmhosts.5.man $RPM_BUILD_ROOT%{prefix}/man/ja/man5/lmhosts.5 +cp docs/ja/manpages/smbpasswd.5.man $RPM_BUILD_ROOT%{prefix}/man/ja/man5/smbpasswd.5 +cp docs/ja/manpages/samba.7.man $RPM_BUILD_ROOT%{prefix}/man/ja/man7/samba.7 +cp docs/ja/manpages/smbd.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/smbd.8 +cp docs/ja/manpages/nmbd.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/nmbd.8 +cp docs/ja/manpages/swat.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/swat.8 +cp docs/ja/manpages/smbmnt.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/smbmnt.8 +cp docs/ja/manpages/smbmount.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/smbmount.8 +cp docs/ja/manpages/smbpasswd.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/smbpasswd.8 +cp docs/ja/manpages/smbspool.8.man $RPM_BUILD_ROOT%{prefix}/man/ja/man8/smbspool.8 +chmod 644 $RPM_BUILD_ROOT%{prefix}/man/ja/man5/* +chmod 644 $RPM_BUILD_ROOT%{prefix}/man/ja/man7/* +chmod 644 $RPM_BUILD_ROOT%{prefix}/man/ja/man8/* +# install -m644 packaging/RedHat/smb.conf $RPM_BUILD_ROOT/etc/smb.conf +install -m644 examples/smb.conf.default.ja $RPM_BUILD_ROOT/etc/smb.conf +install -m644 packaging/RedHat/smbusers $RPM_BUILD_ROOT/etc/smbusers +install -m755 packaging/RedHat/smbprint $RPM_BUILD_ROOT%{prefix}/bin +install -m755 packaging/RedHat/findsmb $RPM_BUILD_ROOT%{prefix}/bin +install -m755 packaging/RedHat/smbadduser $RPM_BUILD_ROOT%{prefix}/bin +install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT/etc/rc.d/init.d/smb +install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT%{prefix}/sbin/samba +install -m644 packaging/RedHat/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba +install -m644 packaging/RedHat/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/samba +install -m644 source/po/en.gmo $RPM_BUILD_ROOT%{prefix}/share/locale/en/LC_MESSAGES/i18n_swat.mo +install -m644 source/po/ja.gmo $RPM_BUILD_ROOT%{prefix}/share/locale/ja/LC_MESSAGES/i18n_swat.mo +#install -m644 source/po/ja_JP.SJIS.gmo $RPM_BUILD_ROOT%{prefix}/share/locale/ja_JP.SJIS/LC_MESSAGES/i18n_swat.mo +#install -m644 source/po/sup_locale.txt $RPM_BUILD_ROOT%{prefix}/share/swat/swat-i18n.conf +echo 127.0.0.1 localhost > $RPM_BUILD_ROOT/etc/lmhosts + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/chkconfig --add smb + +# Build codepage load files +for i in 437 737 850 852 861 866 932 936 949 950 1251 +do +%{prefix}/bin/make_smbcodepage c $i /etc/codepages/src/codepage_def.$i /etc/codepages/codepage.$i +done +for i in 437 737 850 852 861 866 932 936 949 950 ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 KOI8-R +do +%{prefix}/bin/make_unicodemap $i /etc/codepages/src/CP$i.TXT /etc/codepages/unicode_map.$i + ## This if clause skips if CP${a}.TXT does not exist. + if [ -f /etc/codepages/src/NormalizationTest.txt ] + then + %{prefix}/bin/make_nftable $i \ + /etc/codepages/src/NormalizationTest.txt \ + /etc/codepages/src/NFD2MacOSX.txt \ + /etc/codepages/src/CP${i}.TXT \ + /etc/codepages/nftable.$i + fi +done + +# Add swat entry to /etc/services if not already there +if !( grep ^[:space:]*swat /etc/services > /dev/null ) then + echo 'swat 901/tcp # Add swat service used via inetd' >> /etc/services +fi + +# Add swat entry to /etc/inetd.conf if needed +if !( grep ^[:space:]*swat /etc/inetd.conf > /dev/null ) then + echo 'swat stream tcp nowait.400 root /usr/sbin/tcpd %{prefix}/sbin/swat' >> /etc/inetd.conf +killall -1 inetd || : +fi + +# Create an empty lock file to supress error messages +if [ ! -e /var/lock/samba/STATUS..LCK ]; then + touch /var/lock/samba/STATUS..LCK +fi + + +%preun +if [ $1 = 0 ] ; then + /sbin/chkconfig --del smb + + for n in /etc/codepages/*; do + if [ $n != /etc/codepages/src ]; then + rm -rf $n + fi + done + # We want to remove the browse.dat and wins.dat files so they can not interfer with a new version of samba! + if [ -e /var/lock/samba/browse.dat ]; then + rm -f /var/lock/samba/browse.dat + fi + if [ -e /var/lock/samba/wins.dat ]; then + rm -f /var/lock/samba/wins.dat + fi + if [ -e /var/lock/samba/STATUS..LCK ]; then + rm -f /var/lock/samba/STATUS..LCK + fi +fi + +%postun +# Only delete remnants of samba if this is the final deletion. +if [ $1 = 0 ] ; then + if [ -x /etc/pam.d/samba ]; then + rm -f /etc/pam.d/samba + fi + if [ -e /var/log/samba ]; then + rm -rf /var/log/samba + fi + if [ -e /var/lock/samba ]; then + rm -rf /var/lock/samba + fi + + # Remove swat entries from /etc/inetd.conf and /etc/services + cd /etc + tmpfile=/etc/tmp.$$ + sed -e '/^[:space:]*swat.*$/d' /etc/inetd.conf > $tmpfile + mv $tmpfile inetd.conf + sed -e '/^[:space:]*swat.*$/d' /etc/services > $tmpfile + mv $tmpfile services +fi + +%triggerpostun -- samba < samba-2.0.0 +if [ $0 != 0 ]; then + /sbin/chkconfig --add smb +fi + + +%files +%doc README COPYING Manifest Read-Manifest-Now RELNOTE.ja RELNOTE.en +%doc WHATSNEW.txt Roadmap +%doc docs +%doc swat/README +%doc examples +%attr(-,root,root) %{prefix}/sbin/smbd +%attr(-,root,root) %{prefix}/sbin/nmbd +%attr(-,root,root) %{prefix}/sbin/swat +%attr(-,root,root) %{prefix}/sbin/smbmnt +%attr(-,root,root) %{prefix}/sbin/smbmount +%attr(-,root,root) %{prefix}/sbin/smbumount +%attr(-,root,root) /sbin/mount.smbfs +%attr(0750,root,root) %{prefix}/sbin/samba +%attr(-,root,root) %{prefix}/bin/addtosmbpass +%attr(-,root,root) %{prefix}/bin/mksmbpasswd.sh +%attr(-,root,root) %{prefix}/bin/smbclient +%attr(-,root,root) %{prefix}/bin/smbspool +%attr(-,root,root) %{prefix}/bin/rpcclient +%attr(-,root,root) %{prefix}/bin/smb-useradd +%attr(-,root,root) %{prefix}/bin/smb-userdel +%attr(-,root,root) %{prefix}/bin/testparm +%attr(-,root,root) %{prefix}/bin/testprns +%attr(-,root,root) %{prefix}/bin/findsmb +%attr(-,root,root) %{prefix}/bin/smbstatus +%attr(-,root,root) %{prefix}/bin/nmblookup +%attr(-,root,root) %{prefix}/bin/make_nftable +%attr(-,root,root) %{prefix}/bin/make_smbcodepage +%attr(-,root,root) %{prefix}/bin/make_unicodemap +%attr(-,root,root) %{prefix}/bin/make_printerdef +%attr(-,root,root) %{prefix}/bin/smbpasswd +%attr(-,root,root) %{prefix}/bin/smbtar +%attr(-,root,root) %{prefix}/bin/smbprint +%attr(-,root,root) %{prefix}/bin/smbadduser +%attr(-,root,root) %{prefix}/share/swat/help/welcome.html +%attr(-,root,root) %{prefix}/share/swat/help/DOMAIN_MEMBER.html +%attr(-,root,root) %{prefix}/share/swat/help/NT_Security.html +%attr(-,root,root) %{prefix}/share/swat/help/lmhosts.5.html +%attr(-,root,root) %{prefix}/share/swat/help/make_smbcodepage.1.html +%attr(-,root,root) %{prefix}/share/swat/help/nmbd.8.html +%attr(-,root,root) %{prefix}/share/swat/help/nmblookup.1.html +%attr(-,root,root) %{prefix}/share/swat/help/samba.7.html +%attr(-,root,root) %{prefix}/share/swat/help/smb.conf.5.html +%attr(-,root,root) %{prefix}/share/swat/help/smbclient.1.html +%attr(-,root,root) %{prefix}/share/swat/help/smbspool.8.html +%attr(-,root,root) %{prefix}/share/swat/help/smbd.8.html +%attr(-,root,root) %{prefix}/share/swat/help/smbpasswd.5.html +%attr(-,root,root) %{prefix}/share/swat/help/smbpasswd.8.html +%attr(-,root,root) %{prefix}/share/swat/help/smbrun.1.html +%attr(-,root,root) %{prefix}/share/swat/help/smbstatus.1.html +%attr(-,root,root) %{prefix}/share/swat/help/smbtar.1.html +%attr(-,root,root) %{prefix}/share/swat/help/swat.8.html +%attr(-,root,root) %{prefix}/share/swat/help/testparm.1.html +%attr(-,root,root) %{prefix}/share/swat/help/testprns.1.html +%attr(-,root,root) %{prefix}/share/swat/images/globals.gif +%attr(-,root,root) %{prefix}/share/swat/images/home.gif +%attr(-,root,root) %{prefix}/share/swat/images/passwd.gif +%attr(-,root,root) %{prefix}/share/swat/images/printers.gif +%attr(-,root,root) %{prefix}/share/swat/images/shares.gif +%attr(-,root,root) %{prefix}/share/swat/images/samba.gif +%attr(-,root,root) %{prefix}/share/swat/images/status.gif +%attr(-,root,root) %{prefix}/share/swat/images/viewconfig.gif +%attr(-,root,root) %{prefix}/share/swat/include/header.html +%attr(-,root,root) %{prefix}/share/swat/include/footer.html +%attr(-,root,root) %{prefix}/share/swat/ja/help/*.html +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/1-18.html +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/1-19.html +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/1-6.html +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/MSNET1.GIF +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/MSNETW2.GIF +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/PRTCL95.GIF +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/SAMBA1.GIF +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/WGRPNT1.GIF +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/globals.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/home.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/index.html +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/passwd.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printers.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printtool1.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printtool2.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printtool3.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printtool4.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printtool5.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/printtool6.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/samba.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/shares.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/status.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/swat1.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/userhome.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/userprofile.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/viewconfig.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/x-1-256.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/x-2-256.gif +%attr(-,root,root) %{prefix}/share/swat/ja/help/HowToUseSamba/x-3-256.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/globals.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/home.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/passwd.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/printers.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/shares.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/samba.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/status.gif +%attr(-,root,root) %{prefix}/share/swat/ja/images/viewconfig.gif +%attr(-,root,root) %{prefix}/share/swat/ja/include/header.html +%attr(-,root,root) %{prefix}/share/swat/ja/include/footer.html +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/help/welcome.html +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/home.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/passwd.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/printers.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/shares.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/samba.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/status.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/images/viewconfig.gif +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/include/header.html +#%attr(-,root,root) %{prefix}/share/swat/ja_JP.SJIS/include/footer.html +#%attr(-,root,root) %{prefix}/share/swat/swat-i18n.conf +%attr(-,root,root) %{prefix}/share/swat/using_samba/appa_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appa_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appa_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appa_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appa_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appb_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appb_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appb_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appc_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appd_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appe_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/appf_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_07.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch01_08.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch02_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch02_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch02_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch02_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch02_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch02_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch03_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch03_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch03_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_07.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch04_08.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch05_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch05_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch05_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch05_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch05_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch06_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch06_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch06_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch06_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch06_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch06_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch07_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch07_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch07_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch08_07.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch09_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch09_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ch09_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/index.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/inx.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/licenseinfo.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/this_edition.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0101.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0102.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0103.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0104.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0105.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0106.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0107.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0108.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0109.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0110.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0111.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0112.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0113.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0114.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0201.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0202.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0203.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0204.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0301.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0302.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0303.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0304.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0305.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0306.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0307.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0308.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0309.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0310.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0311.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0312.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0313.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0314.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0315.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0316.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0317.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0318.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0319.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0320.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0321.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0322.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0323.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0324.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0325.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0326.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0327.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0328.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0401.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0402.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0403.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0404.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0405.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0406.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0407.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0501.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0502.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0503.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0504.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0505.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0506.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0507.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0508.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0601.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0602.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0603.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0604.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0605.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0606.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0701.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0702.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0703.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0704.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0705.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0706.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0707.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0708.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0709.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0801.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0802.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0803.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0804.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0805.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0901.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0902.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0903.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0904.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.0905.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.aa01.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.ab01.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/figs/sam.ab02.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/gifs/index.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/gifs/samba.s.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/gifs/txthome.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/gifs/txtnexta.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/gifs/txtpreva.gif + +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appa_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appa_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appa_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appa_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appa_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appb_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appb_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appb_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appc_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appd_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appe_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/appf_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_07.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch01_08.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch02_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch02_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch02_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch02_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch02_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch02_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch03_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch03_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch03_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_07.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch04_08.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch05_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch05_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch05_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch05_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch05_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch06_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch06_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch06_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch06_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch06_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch06_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch07_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch07_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch07_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_04.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_05.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_06.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch08_07.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch09_01.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch09_02.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/ch09_03.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/index.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/inx.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/licenseinfo.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/this_edition.html +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0101.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0102.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0103.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0104.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0105.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0106.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0107.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0108.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0109.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0110.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0111.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0112.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0113.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0114.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0201.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0202.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0203.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0204.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0301.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0302.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0303.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0304.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0305.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0306.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0307.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0308.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0309.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0310.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0311.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0312.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0313.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0314.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0315.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0316.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0317.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0318.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0319.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0320.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0321.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0322.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0323.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0324.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0325.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0326.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0327.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0328.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0401.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0402.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0403.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0404.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0405.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0406.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0407.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0501.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0502.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0503.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0504.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0505.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0506.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0507.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0508.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0601.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0602.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0603.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0604.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0605.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0606.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0701.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0702.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0703.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0704.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0705.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0706.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0707.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0708.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0709.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0801.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0802.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0803.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0804.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0805.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0901.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0902.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0903.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0904.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.0905.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.aa01.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.ab01.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/figs/sam.ab02.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/gifs/index.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/gifs/samba.s.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/gifs/txthome.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/gifs/txtnexta.gif +%attr(-,root,root) %{prefix}/share/swat/using_samba/ja/gifs/txtpreva.gif + +%attr(-,root,root) %{prefix}/share/locale/en/LC_MESSAGES/i18n_swat.mo +%attr(-,root,root) %{prefix}/share/locale/ja/LC_MESSAGES/i18n_swat.mo +#%attr(-,root,root) %{prefix}/share/locale/ja_JP.SJIS/LC_MESSAGES/i18n_swat.mo +%attr(-,root,root) %config(noreplace) /etc/lmhosts +%attr(-,root,root) %config(noreplace) /etc/smb.conf +%attr(-,root,root) %config(noreplace) /etc/smbusers +%attr(-,root,root) /etc/rc.d/init.d/smb +%attr(-,root,root) /etc/logrotate.d/samba +%attr(-,root,root) /etc/pam.d/samba +%attr(-,root,root) /etc/codepages/src/codepage_def.437 +%attr(-,root,root) /etc/codepages/src/codepage_def.737 +%attr(-,root,root) /etc/codepages/src/codepage_def.775 +%attr(-,root,root) /etc/codepages/src/codepage_def.850 +%attr(-,root,root) /etc/codepages/src/codepage_def.852 +%attr(-,root,root) /etc/codepages/src/codepage_def.861 +%attr(-,root,root) /etc/codepages/src/codepage_def.866 +%attr(-,root,root) /etc/codepages/src/codepage_def.932 +%attr(-,root,root) /etc/codepages/src/codepage_def.936 +%attr(-,root,root) /etc/codepages/src/codepage_def.949 +%attr(-,root,root) /etc/codepages/src/codepage_def.950 +%attr(-,root,root) /etc/codepages/src/codepage_def.1251 +%attr(-,root,root) /etc/codepages/src/CP437.TXT +%attr(-,root,root) /etc/codepages/src/CP737.TXT +%attr(-,root,root) /etc/codepages/src/CP850.TXT +%attr(-,root,root) /etc/codepages/src/CP852.TXT +%attr(-,root,root) /etc/codepages/src/CP861.TXT +%attr(-,root,root) /etc/codepages/src/CP866.TXT +%attr(-,root,root) /etc/codepages/src/CP932.TXT +%attr(-,root,root) /etc/codepages/src/CP936.TXT +%attr(-,root,root) /etc/codepages/src/CP949.TXT +%attr(-,root,root) /etc/codepages/src/CP950.TXT +%attr(-,root,root) /etc/codepages/src/CPISO8859-1.TXT +%attr(-,root,root) /etc/codepages/src/CPISO8859-2.TXT +%attr(-,root,root) /etc/codepages/src/CPISO8859-5.TXT +%attr(-,root,root) /etc/codepages/src/CPISO8859-7.TXT +%attr(-,root,root) /etc/codepages/src/CPKOI8-R.TXT +%attr(-,root,root) /etc/codepages/src/NFD2MacOSX.txt +%attr(-,root,root) /etc/codepages/src/NormalizationTest.txt +%attr(-,root,root) %{prefix}/man/man1/smbstatus.1.gz +%attr(-,root,root) %{prefix}/man/man1/smbclient.1.gz +%attr(-,root,root) %{prefix}/man/man1/make_smbcodepage.1.gz +%attr(-,root,root) %{prefix}/man/man1/make_unicodemap.1.gz +%attr(-,root,root) %{prefix}/man/man1/smbrun.1.gz +%attr(-,root,root) %{prefix}/man/man1/smbtar.1.gz +%attr(-,root,root) %{prefix}/man/man1/testparm.1.gz +%attr(-,root,root) %{prefix}/man/man1/testprns.1.gz +%attr(-,root,root) %{prefix}/man/man1/nmblookup.1.gz +%attr(-,root,root) %{prefix}/man/man5/smb.conf.5.gz +%attr(-,root,root) %{prefix}/man/man5/lmhosts.5.gz +%attr(-,root,root) %{prefix}/man/man5/smbpasswd.5.gz +%attr(-,root,root) %{prefix}/man/man7/samba.7.gz +%attr(-,root,root) %{prefix}/man/man8/smbd.8.gz +%attr(-,root,root) %{prefix}/man/man8/nmbd.8.gz +%attr(-,root,root) %{prefix}/man/man8/smbpasswd.8.gz +%attr(-,root,root) %{prefix}/man/man8/swat.8.gz +%attr(-,root,root) %{prefix}/man/man8/smbmnt.8.gz +%attr(-,root,root) %{prefix}/man/man8/smbmount.8.gz +%attr(-,root,root) %{prefix}/man/man8/smbspool.8.gz +# Original man install path +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/smbstatus.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/smbclient.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/make_smbcodepage.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/make_unicodemap.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/smbrun.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/smbtar.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/testparm.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/testprns.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man1/nmblookup.1.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man5/smb.conf.5.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man5/lmhosts.5.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man5/smbpasswd.5.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man7/samba.7.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/smbd.8.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/nmbd.8.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/smbpasswd.8.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/swat.8.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/smbmnt.8.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/smbmount.8.gz +#%attr(-,root,root) %{prefix}/man/ja_JP.ujis/man8/smbspool.8.gz +# Modifyed man path by gamera +%attr(-,root,root) %{prefix}/man/ja/man1/smbstatus.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/smbclient.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/make_smbcodepage.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/make_unicodemap.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/smbrun.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/smbtar.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/testparm.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/testprns.1.gz +%attr(-,root,root) %{prefix}/man/ja/man1/nmblookup.1.gz +%attr(-,root,root) %{prefix}/man/ja/man5/smb.conf.5.gz +%attr(-,root,root) %{prefix}/man/ja/man5/lmhosts.5.gz +%attr(-,root,root) %{prefix}/man/ja/man5/smbpasswd.5.gz +%attr(-,root,root) %{prefix}/man/ja/man7/samba.7.gz +%attr(-,root,root) %{prefix}/man/ja/man8/smbd.8.gz +%attr(-,root,root) %{prefix}/man/ja/man8/nmbd.8.gz +%attr(-,root,root) %{prefix}/man/ja/man8/smbpasswd.8.gz +%attr(-,root,root) %{prefix}/man/ja/man8/swat.8.gz +%attr(-,root,root) %{prefix}/man/ja/man8/smbmnt.8.gz +%attr(-,root,root) %{prefix}/man/ja/man8/smbmount.8.gz +%attr(-,root,root) %{prefix}/man/ja/man8/smbspool.8.gz +%attr(-,root,nobody) %dir /home/samba +%attr(-,root,root) %dir /etc/codepages +%attr(-,root,root) %dir /etc/codepages/src +%attr(-,root,root) %dir /var/lock/samba +%attr(-,root,root) %dir /var/log/samba +%attr(1777,root,root) %dir /var/spool/samba diff -Nru samba-2.0.10-ja-1.1/source/include/version.h samba-2.0.10-ja-1.2beta1/source/include/version.h --- samba-2.0.10-ja-1.1/source/include/version.h Mon Aug 20 18:41:01 2001 +++ samba-2.0.10-ja-1.2beta1/source/include/version.h Wed Oct 17 01:04:44 2001 @@ -1 +1 @@ -#define VERSION "2.0.10-ja-1.1" +#define VERSION "2.0.10-ja-1.2beta1" diff -Nru samba-2.0.10-ja-1.1/source/lib/util_str.c samba-2.0.10-ja-1.2beta1/source/lib/util_str.c --- samba-2.0.10-ja-1.1/source/lib/util_str.c Tue Aug 7 03:37:29 2001 +++ samba-2.0.10-ja-1.2beta1/source/lib/util_str.c Wed Sep 26 03:20:09 2001 @@ -137,6 +137,11 @@ if (w1 != w2) return diff; } + else { + diff = ((int)(unsigned char) *(s+1)) - ((int)(unsigned char) *(t+1)); + if (diff) + return diff; + } s += 2; t += 2; } diff -Nru samba-2.0.10-ja-1.1/source/param/loadparm.c samba-2.0.10-ja-1.2beta1/source/param/loadparm.c --- samba-2.0.10-ja-1.1/source/param/loadparm.c Wed Aug 8 03:31:49 2001 +++ samba-2.0.10-ja-1.2beta1/source/param/loadparm.c Sat Sep 22 03:38:22 2001 @@ -491,6 +491,7 @@ static BOOL bInGlobalSection = True; static BOOL bGlobalOnly = False; static int default_server_announce; +static int snum_home_service = -1; #define NUMPARAMETERS (sizeof(parm_table) / sizeof(struct parm_struct)) @@ -505,6 +506,7 @@ static BOOL handle_netbios_name(char *pszParmValue,char **ptr); +static BOOL snum_not_home( int ); static void set_default_server_announce_type(void); static void getversion( void ); @@ -1545,6 +1547,14 @@ } /*************************************************************************** +check if a snum is not home service +***************************************************************************/ +static BOOL snum_not_home(int snum) +{ + return(snum != snum_home_service); +} + +/*************************************************************************** add a new home service, with the specified home directory, defaults coming from service ifrom ***************************************************************************/ @@ -1553,6 +1563,9 @@ int i; struct stat buf; + lp_killunused(snum_not_home); + snum_home_service = -1; + if ( stat(pszHomedir,&buf) ) return (False); i = add_a_service(pSERVICE(iDefaultService),pszHomename); @@ -1570,6 +1583,7 @@ } iSERVICE(i).bAvailable = sDefault.bAvailable; iSERVICE(i).bBrowseable = sDefault.bBrowseable; + snum_home_service = i; DEBUG(3,("adding home directory %s at %s\n", pszHomename, pszHomedir)); diff -Nru samba-2.0.10-ja-1.1/source/rpc_parse/parse_net.c samba-2.0.10-ja-1.2beta1/source/rpc_parse/parse_net.c --- samba-2.0.10-ja-1.1/source/rpc_parse/parse_net.c Fri May 4 04:11:43 2001 +++ samba-2.0.10-ja-1.2beta1/source/rpc_parse/parse_net.c Sat Sep 22 23:37:52 2001 @@ -639,9 +639,9 @@ char sess_key[16], unsigned char lm_cypher[16], unsigned char nt_cypher[16]) { - int len_domain_name = strlen(domain_name); - int len_user_name = strlen(user_name ); - int len_wksta_name = strlen(wksta_name ); + int len_domain_name = str_charnum(domain_name); + int len_user_name = str_charnum(user_name ); + int len_wksta_name = str_charnum(wksta_name ); unsigned char lm_owf[16]; unsigned char nt_owf[16]; @@ -769,9 +769,9 @@ unsigned char lm_chal_resp[24], unsigned char nt_chal_resp[24]) { - int len_domain_name = strlen(domain_name); - int len_user_name = strlen(user_name ); - int len_wksta_name = strlen(wksta_name ); + int len_domain_name = str_charnum(domain_name); + int len_user_name = str_charnum(user_name ); + int len_wksta_name = str_charnum(wksta_name ); int nt_chal_resp_len = ((nt_chal_resp != NULL) ? 24 : 0); int lm_chal_resp_len = ((lm_chal_resp != NULL) ? 24 : 0); unsigned char lm_owf[24];