samba-vl.spec 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392
  1. %define tdb_version 1.2.9
  2. %define talloc_version 2.0.5
  3. %define samba_version 3.5.11
  4. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  5. %define samba_release 1
  6. %define samba_source source3
  7. Summary: The Samba Suite of programs
  8. Summary(ja): Samba スイート
  9. Name: samba
  10. Version: %{samba_version}
  11. Release: %{samba_release}%{?_dist_release}
  12. License: GPLv3+ and LGPLv3+
  13. Group: System Environment/Daemons
  14. URL: http://www.samba.org/
  15. Source: http://www.samba.org/samba/ftp/%{name}-%{version}.tar.gz
  16. # Vine specific replacement-files
  17. Source1: samba.log
  18. Source2: samba.xinetd
  19. Source3: swat.desktop
  20. Source4: samba.sysconfig
  21. Source5: smb.init
  22. Source6: samba.pamd
  23. Source7: smbprint
  24. Source8: winbind.init
  25. Source9: smb.conf.default
  26. Source10: nmb.init
  27. Source11: pam_winbind.conf
  28. # fixed manual
  29. Source100: smb.conf.5
  30. # Don't depend on Net::LDAP
  31. Source999: filter-requires-samba.sh
  32. # upstream patches. Applied first so that they'll break our patches rather
  33. # than the other way around
  34. # (none right now)
  35. # generic patches
  36. Patch102: samba-3.2.0pre1-pipedir.patch
  37. Patch104: samba-3.0.0rc3-nmbd-netbiosname.patch
  38. # The passwd part has been applied, but not the group part
  39. Patch107: samba-3.2.0pre1-grouppwd.patch
  40. Patch200: samba-3.2.5-inotify.patch
  41. Requires(pre): samba-common = %{version}-%{release}
  42. Requires: pam >= 0:0.64
  43. Requires: logrotate >= 0:3.4
  44. Requires: krb5-libs, libacl, libattr
  45. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  46. Requires(post): /sbin/chkconfig, /sbin/service
  47. Requires(preun): /sbin/chkconfig, /sbin/service
  48. BuildRequires: net-tools
  49. BuildRequires: pam-devel, readline-devel, ncurses-devel, libacl-devel
  50. BuildRequires: krb5-devel, openldap-devel, openssl-devel, cups-devel
  51. BuildRequires: autoconf, gawk, popt-devel, gtk2-devel, libcap-devel
  52. BuildRequires: libtalloc-devel, libtdb-devel
  53. %if %{?_dist_release}!="vl5"
  54. BuildRequires: libuuid-devel
  55. %endif
  56. # Working around perl dependency problem from docs
  57. %define __perl_requires %{SOURCE999}
  58. Vendor: Project Vine
  59. Distribution: Vine Linux
  60. Packager: tomop
  61. %description
  62. Samba is the suite of programs by which a lot of PC-related machines
  63. share files, printers, and other information (such as lists of
  64. available files and printers). The Windows NT, OS/2, and Linux
  65. operating systems support this natively, and add-on packages can
  66. enable the same thing for DOS, Windows, VMS, UNIX of all kinds, MVS,
  67. and more. This package provides an SMB/CIFS server that can be used to
  68. provide network services to SMB/CIFS clients.
  69. Samba uses NetBIOS over TCP/IP (NetBT) protocols and does NOT
  70. need the NetBEUI (Microsoft Raw NetBIOS frame) protocol.
  71. %description -l ja
  72. Samba は Microsoft Windows や OS/2、その他の Linux マシンを含む SMB/CIFS
  73. クライアントにネットワークファイル・プリンタ共有サービスを提供します。
  74. Samba は NetBIOS over TCP/IP (NetBT, NBT) プロトコルを使用しますので、
  75. NetBUEI (Microsoft Raw NetBIOS frame) プロトコルは必要ありません。
  76. %package client
  77. Summary: Samba client programs
  78. Summary(ja): Samba クライアントプログラム
  79. Group: Applications/System
  80. Requires: samba-common = %{samba_version}-%{release}
  81. Obsoletes: smbfs
  82. %description client
  83. The samba-client package provides some SMB/CIFS clients to complement
  84. the built-in SMB/CIFS filesystem in Linux. These clients allow access
  85. of SMB/CIFS shares and printing to SMB/CIFS printers.
  86. %description client -l ja
  87. samba-client は Linux カーネルがサポートしている SMB ファイルシステム
  88. 機能を操作する SMB クライアントを提供します。
  89. これらは SMB 共有のアクセスと SMB プリンタへの印刷を実現します。
  90. %package common
  91. Summary: Files used by both Samba servers and clients
  92. Summary(ja): Samba サーバーとクライアントの両方に使用されるファイル
  93. Requires: libtdb >= %{tdb_version}
  94. Requires: libtalloc >= %{talloc_version}
  95. Group: Applications/System
  96. Requires(pre): /usr/sbin/groupadd
  97. Requires(post): /sbin/chkconfig, /sbin/service, coreutils
  98. Requires(preun): /sbin/chkconfig, /sbin/service
  99. %description common
  100. Samba-common provides files necessary for both the server and client
  101. packages of Samba.
  102. %description common -l ja
  103. samba-common は Samba のサーバーとクライアントの両方のパッケージで
  104. 使用される共通のファイルを提供します。
  105. %package winbind
  106. Summary: Samba winbind
  107. Group: Applications/System
  108. Requires: samba-common = %{samba_version}-%{release}
  109. Requires(pre): /usr/sbin/groupadd
  110. Requires(post): /sbin/chkconfig, /sbin/service, coreutils
  111. Requires(preun): /sbin/chkconfig, /sbin/service
  112. %description winbind
  113. The samba-winbind package provides the winbind daemon, a NSS library, a PAM
  114. module and some client tools. Winbind enables Linux to be a full member in
  115. Windows domains and to use Windows user and group accounts on Linux.
  116. %package winbind-krb5-locator
  117. Summary: Samba winbind krb5 locator
  118. Requires: samba-winbind-clients = %{samba_version}-%{release}
  119. Group: Applications/System
  120. %description winbind-krb5-locator
  121. The winbind krb5 locator is a plugin for the system kerberos library to allow
  122. the local kerberos library to use the same KDC as samba and winbind use
  123. %package winbind-clients
  124. Summary: Samba winbind clients
  125. Group: Applications/System
  126. %description winbind-clients
  127. The samba-winbind-clients package provides the NSS library and a PAM
  128. module necessary to communicate to the Winbind Daemon
  129. %package winbind-devel
  130. Summary: Developer tools for the winbind library
  131. Group: Development/Libraries
  132. Requires: samba-winbind = %{samba_version}-%{release}
  133. %description winbind-devel
  134. The samba-winbind package provides developer tools for the wbclient library.
  135. %package swat
  136. Summary: The Samba SMB server Web configuration program
  137. Summary(ja): Web ベースの Samba サーバ設定ツール
  138. Group: Applications/System
  139. Requires: samba = %{samba_version}-%{release}, xinetd
  140. %description swat
  141. The samba-swat package includes the new SWAT (Samba Web Administration
  142. Tool), for remotely managing Samba's smb.conf file using your favorite
  143. Web browser.
  144. %description swat -l ja
  145. SWAT (Samba Web Administration Tool) を使うと、Samba の管理をお好きな Web
  146. ブラウザで行うことができるようになります。
  147. %package doc
  148. Summary: Documentation for the Samba suite
  149. Group: Applications/Documentation
  150. Requires: samba-common = %{samba_version}-%{release}
  151. %description doc
  152. The samba-doc package includes all the non-manpage documentation for the
  153. Samba suite.
  154. %package domainjoin-gui
  155. Summary: Domainjoin GUI
  156. Group: Applications/System
  157. Requires: samba-common = %{samba_version}-%{release}, gtk2
  158. %description domainjoin-gui
  159. The samba-domainjoin-gui package includes a domainjoin gtk application.
  160. %package -n libsmbclient
  161. Summary: The SMB client library
  162. Summary(ja): SMB クライアントライブラリ
  163. Group: System Environment/Libraries
  164. Obsoletes: samba-libsmbclient < 3.1
  165. Provides: samba-libsmbclient = %{samba_version}-%{release}
  166. %description -n libsmbclient
  167. The libsmbclient contains the SMB client library from the Samba suite.
  168. %description -n libsmbclient -l ja
  169. libsmbclient は Samba クライアントの機能を提供するライブラリを
  170. 提供します。
  171. %if %build_compat32
  172. %package -n compat32-libsmbclient
  173. Summary: The SMB client library
  174. Summary(ja): SMB クライアントライブラリ
  175. Group: System Environment/Libraries
  176. Provides: compat32-samba-libsmbclient = %{samba_version}-%{release}
  177. %description -n compat32-libsmbclient
  178. The libsmbclient contains the SMB client library from the Samba suite.
  179. %description -n compat32-libsmbclient -l ja
  180. libsmbclient は Samba クライアントの機能を提供するライブラリを
  181. 提供します。
  182. %package -n compat32-samba-winbind
  183. Summary: Samba winbind
  184. Group: Applications/System
  185. Requires: samba-common = %{samba_version}-%{release}
  186. Requires(pre): /usr/sbin/groupadd
  187. Requires(post): /sbin/chkconfig, /sbin/service, coreutils
  188. Requires(preun): /sbin/chkconfig, /sbin/service
  189. %description -n compat32-samba-winbind
  190. The samba-winbind package provides the winbind daemon, a NSS library, a PAM
  191. module and some client tools. Winbind enables Linux to be a full member in
  192. Windows domains and to use Windows user and group accounts on Linux.
  193. %endif
  194. %package -n libsmbclient-devel
  195. Summary: Developer tools for the SMB client library
  196. Summary(ja): SMB クライアントライブラリ開発用ファイル
  197. Group: Development/Libraries
  198. Requires: libsmbclient = %{samba_version}-%{release}
  199. Obsoletes: samba-libsmbclient-devel < 3.1
  200. Provides: samba-libsmbclient-devel = %{samba_version}-%{release}
  201. %description -n libsmbclient-devel
  202. The libsmbclient-devel package contains the header files and libraries needed to
  203. develop programs that link against the SMB client library in the Samba suite.
  204. %description -n libsmbclient-devel -l ja
  205. libsmbclient-devel は Samba クライアントの機能を提供するライブラリを
  206. 使ったアプリケーションを開発するためのファイルを提供します。
  207. %prep
  208. %setup -q
  209. # copy Red Hat specific scripts
  210. mkdir packaging/Vine
  211. cp packaging/RHEL/setup/smbusers packaging/Vine/
  212. cp %{SOURCE5} packaging/Vine/
  213. cp %{SOURCE6} packaging/Vine/
  214. cp %{SOURCE7} packaging/Vine/
  215. cp %{SOURCE8} packaging/Vine/winbind.init
  216. cp %{SOURCE9} packaging/Vine/
  217. cp %{SOURCE10} packaging/Vine/
  218. cp %{SOURCE11} packaging/Vine/
  219. # Upstream patches
  220. #(none)
  221. # generic patches
  222. %patch102 -p1 -b .pipedir
  223. #%patch103 -p1 -b .logfiles
  224. #%patch104 -p1 -b .nmbd-netbiosname # FIXME: does not apply
  225. %patch107 -p1 -b .grouppwd
  226. %patch200 -p0 -b .inotify
  227. mv %samba_source/VERSION %samba_source/VERSION.orig
  228. sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{release}\"/' < %samba_source/VERSION.orig > %samba_source/VERSION
  229. cd %samba_source
  230. script/mkversion.sh
  231. cd ..
  232. #Remove smbldap-tools, they are already packaged separately in Fedora
  233. rm -fr examples/LDAP/smbldap-tools-*/
  234. %build
  235. cd %samba_source
  236. sh autogen.sh
  237. %ifarch i386 sparc
  238. RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
  239. %endif
  240. %ifarch ia64
  241. #libtoolize --copy --force # get it to recognize IA-64
  242. #autoheader
  243. #autoconf
  244. EXTRA="-D_LARGEFILE64_SOURCE"
  245. %endif
  246. CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DLDAP_DEPRECATED" %configure \
  247. --with-dnsupdate \
  248. --with-ads \
  249. --with-acl-support \
  250. --with-automount \
  251. --with-dnsupdate \
  252. --with-libsmbclient \
  253. --with-libsmbsharemodes \
  254. --with-mmap \
  255. --with-pam \
  256. --with-pam_smbpass \
  257. --with-quotas \
  258. --with-sendfile-support \
  259. --with-syslog \
  260. --with-utmp \
  261. --with-vfs \
  262. --with-winbind \
  263. --without-smbwrapper \
  264. --with-lockdir=/var/lib/samba \
  265. --with-piddir=/var/run \
  266. --with-mandir=%{_mandir} \
  267. --with-privatedir=/var/lib/samba/private \
  268. --with-logfilebase=/var/log/samba \
  269. --with-libdir=%{_libdir} \
  270. --with-modulesdir=%{_libdir}/samba \
  271. --with-configdir=%{_sysconfdir}/samba \
  272. --with-pammodulesdir=%{_lib}/security \
  273. --with-swatdir=%{_datadir}/swat \
  274. --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2 \
  275. --with-cluster-support=auto \
  276. --with-libtalloc=no \
  277. --enable-external-libtalloc=yes \
  278. --with-libtdb=no
  279. # --enable-external-libtdb=yes \
  280. # --with-aio-support \
  281. make pch
  282. make LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{samba_version}/%samba_source/bin \
  283. %{?_smp_mflags} \
  284. all ../nsswitch/libnss_wins.so modules \
  285. test_pam_modules test_nss_modules test_shlibs
  286. make LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{samba_version}/%samba_source/bin \
  287. %{?_smp_mflags} \
  288. -C lib/netapi/examples
  289. make debug2html smbfilter
  290. %install
  291. rm -rf $RPM_BUILD_ROOT
  292. build_libdir="$RPM_BUILD_ROOT%{_libdir}"
  293. mkdir -p $RPM_BUILD_ROOT/sbin
  294. mkdir -p $RPM_BUILD_ROOT/usr/{sbin,bin}
  295. mkdir -p $RPM_BUILD_ROOT/%{_initrddir}
  296. mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/{pam.d,logrotate.d,security}
  297. mkdir -p $RPM_BUILD_ROOT/%{_lib}/security
  298. mkdir -p $RPM_BUILD_ROOT/var/lib/samba
  299. mkdir -p $RPM_BUILD_ROOT/var/lib/samba/private
  300. mkdir -p $RPM_BUILD_ROOT/var/lib/samba/winbindd_privileged
  301. mkdir -p $RPM_BUILD_ROOT/var/lib/samba/scripts
  302. mkdir -p $RPM_BUILD_ROOT/var/log/samba/old
  303. mkdir -p $RPM_BUILD_ROOT/var/spool/samba
  304. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/swat/using_samba
  305. mkdir -p $RPM_BUILD_ROOT/var/run/winbindd
  306. mkdir -p $RPM_BUILD_ROOT/%{_libdir}/samba
  307. mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  308. cd %samba_source
  309. %makeinstall \
  310. BINDIR=$RPM_BUILD_ROOT%{_bindir} \
  311. BASEDIR=$RPM_BUILD_ROOT%{_prefix} \
  312. SBINDIR=$RPM_BUILD_ROOT%{_sbindir} \
  313. DATADIR=$RPM_BUILD_ROOT%{_datadir} \
  314. LOCKDIR=$RPM_BUILD_ROOT/var/lib/samba \
  315. PRIVATEDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba \
  316. LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
  317. MODULESDIR=$RPM_BUILD_ROOT%{_libdir}/samba \
  318. CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba \
  319. PAMMODULESDIR=$RPM_BUILD_ROOT/%{_lib}/security \
  320. MANDIR=$RPM_BUILD_ROOT%{_mandir} \
  321. VARDIR=$RPM_BUILD_ROOT/var/log/samba \
  322. CODEPAGEDIR=$RPM_BUILD_ROOT%{_libdir}/samba \
  323. SWATDIR=$RPM_BUILD_ROOT%{_datadir}/swat \
  324. SAMBABOOK=$RPM_BUILD_ROOT%{_datadir}/swat/using_samba \
  325. PIDDIR=$RPM_BUILD_ROOT/var/run
  326. cd ..
  327. # Install other stuff
  328. install -m644 packaging/Vine/smb.conf.default $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
  329. install -m755 %samba_source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir}
  330. install -m644 packaging/Vine/smbusers $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
  331. install -m755 packaging/Vine/smbprint $RPM_BUILD_ROOT%{_bindir}
  332. install -m755 packaging/Vine/smb.init $RPM_BUILD_ROOT%{_initrddir}/smb
  333. install -m755 packaging/Vine/nmb.init $RPM_BUILD_ROOT%{_initrddir}/nmb
  334. install -m755 packaging/Vine/winbind.init $RPM_BUILD_ROOT%{_initrddir}/winbind
  335. install -m644 packaging/Vine/pam_winbind.conf $RPM_BUILD_ROOT%{_sysconfdir}/security
  336. #ln -s ../..%{_initrddir}/smb $RPM_BUILD_ROOT%{_sbindir}/samba
  337. install -m644 packaging/Vine/samba.pamd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/samba
  338. install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/samba
  339. echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
  340. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema
  341. install -m644 examples/LDAP/samba.schema $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/samba.schema
  342. # winbind
  343. mkdir -p $RPM_BUILD_ROOT%{_libdir}
  344. install -m 755 nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
  345. ln -sf /%{_lib}/libnss_winbind.so.2 $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so
  346. install -m 755 nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
  347. ln -sf /%{_lib}/libnss_wins.so.2 $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so
  348. # winbind krb5 locator
  349. #mkdir -p $RPM_BUILD_ROOT%{_libdir}/krb5/plugins/libkrb5
  350. install -d -m 0755 %{buildroot}%{_libdir}/krb5/plugins/libkrb5
  351. install -m 755 source3/bin/winbind_krb5_locator.so $RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
  352. # libraries {
  353. mkdir -p $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir}
  354. # make install puts libraries in the wrong place
  355. # (but at least gets the versioning right now)
  356. list="smbclient smbsharemodes netapi wbclient"
  357. for i in $list; do
  358. install -m 644 %samba_source/pkgconfig/$i.pc $build_libdir/pkgconfig/ || true
  359. done
  360. /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/
  361. # }
  362. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
  363. install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat
  364. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
  365. install -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba
  366. install -m 755 %samba_source/lib/netapi/examples/bin/netdomjoin-gui $RPM_BUILD_ROOT/%{_sbindir}/netdomjoin-gui
  367. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}
  368. install -m 644 %samba_source/lib/netapi/examples/netdomjoin-gui/samba.ico $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}/samba.ico
  369. install -m 644 %samba_source/lib/netapi/examples/netdomjoin-gui/logo.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}/logo.png
  370. install -m 644 %samba_source/lib/netapi/examples/netdomjoin-gui/logo-small.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}/logo-small.png
  371. #install -m644 %{SOURCE100} $RPM_BUILD_ROOT%{_mandir}/man5/
  372. rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/editreg.1*
  373. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1*
  374. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbsh.1*
  375. #rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbget.1*
  376. rm -f $RPM_BUILD_ROOT%{_mandir}/man5/smbgetrc.5*
  377. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/vfstest.1*
  378. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/testprns.1*
  379. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbmount.8*
  380. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbmnt.8*
  381. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbumount.8*
  382. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{u,}mount.cifs.8*
  383. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{u,}cifs.upcall.8*
  384. rm -f $RPM_BUILD_ROOT%{_sbindir}/{u,}mount.cifs
  385. rm -f $RPM_BUILD_ROOT%{_sbindir}/cifs.upcall
  386. #Rename ldb tools, as samba3 has an old copy of ldb.
  387. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbadd $RPM_BUILD_ROOT%{_bindir}/ldb3add
  388. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbdel $RPM_BUILD_ROOT%{_bindir}/ldb3del
  389. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbmodify $RPM_BUILD_ROOT%{_bindir}/ldb3modify
  390. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbsearch $RPM_BUILD_ROOT%{_bindir}/ldb3search
  391. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbrename $RPM_BUILD_ROOT%{_bindir}/ldb3rename
  392. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbedit $RPM_BUILD_ROOT%{_bindir}/ldb3edit
  393. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbadd.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3add.1
  394. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbdel.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3del.1
  395. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbedit.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3edit.1
  396. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbmodify.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3modify.1
  397. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbsearch.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3search.1
  398. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbrename.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3rename.1
  399. #rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.so.*
  400. #rm -f $RPM_BUILD_ROOT%{_includedir}/talloc.h
  401. #rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.so
  402. #rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/talloc.pc
  403. #rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.so.*
  404. #rm -f $RPM_BUILD_ROOT%{_includedir}/tdb.h
  405. #rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.so
  406. #rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/tdb.pc
  407. rm -f $RPM_BUILD_ROOT%{_bindir}/tdbbackup
  408. rm -f $RPM_BUILD_ROOT%{_bindir}/tdbdump
  409. rm -f $RPM_BUILD_ROOT%{_bindir}/tdbtool
  410. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8*
  411. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8*
  412. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8*
  413. %clean
  414. rm -rf $RPM_BUILD_ROOT
  415. #%pre
  416. %post
  417. /sbin/chkconfig --add smb
  418. /sbin/chkconfig --add nmb
  419. if [ "$1" -ge "1" ]; then
  420. /sbin/service smb condrestart >/dev/null 2>&1 || :
  421. /sbin/service nmb condrestart >/dev/null 2>&1 || :
  422. fi
  423. exit 0
  424. %preun
  425. if [ $1 = 0 ] ; then
  426. /sbin/service smb stop >/dev/null 2>&1 || :
  427. /sbin/service nmb stop >/dev/null 2>&1 || :
  428. /sbin/chkconfig --del smb
  429. /sbin/chkconfig --del nmb
  430. fi
  431. exit 0
  432. #%postun
  433. %pre winbind
  434. /usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || :
  435. %post winbind
  436. /sbin/chkconfig --add winbind
  437. if [ "$1" -ge "1" ]; then
  438. /sbin/service winbind condrestart >/dev/null 2>&1 || :
  439. fi
  440. %post common
  441. /sbin/ldconfig
  442. %preun winbind
  443. if [ $1 = 0 ] ; then
  444. /sbin/service winbind stop >/dev/null 2>&1 || :
  445. /sbin/chkconfig --del winbind
  446. fi
  447. exit 0
  448. %postun common
  449. /sbin/ldconfig
  450. %post -n libsmbclient
  451. /sbin/ldconfig
  452. %postun -n libsmbclient
  453. /sbin/ldconfig
  454. %if %build_compat32
  455. %post -n compat32-libsmbclient
  456. /sbin/ldconfig
  457. %postun -n compat32-libsmbclient
  458. /sbin/ldconfig
  459. %endif
  460. %files
  461. %defattr(-,root,root)
  462. %{_sbindir}/smbd
  463. %{_sbindir}/nmbd
  464. %{_bindir}/mksmbpasswd.sh
  465. %{_bindir}/smbstatus
  466. %{_bindir}/eventlogadm
  467. %config(noreplace) %{_sysconfdir}/samba/smbusers
  468. %attr(755,root,root) %{_initrddir}/smb
  469. %attr(755,root,root) %{_initrddir}/nmb
  470. %config(noreplace) %{_sysconfdir}/logrotate.d/samba
  471. %config(noreplace) %{_sysconfdir}/pam.d/samba
  472. %{_mandir}/man7/samba.7*
  473. %{_mandir}/man8/nmbd.8*
  474. %{_mandir}/man8/smbd.8*
  475. %{_mandir}/man8/eventlogadm.8*
  476. %{_mandir}/man8/vfs_*.8*
  477. %{_libdir}/samba/vfs
  478. %{_libdir}/samba/auth
  479. %{_libdir}/samba/charset
  480. %attr(1777,root,root) %dir /var/spool/samba
  481. %dir %{_sysconfdir}/openldap/schema
  482. %{_sysconfdir}/openldap/schema/samba.schema
  483. %doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting
  484. %doc examples/printing
  485. %files swat
  486. %defattr(-,root,root)
  487. %config(noreplace) %{_sysconfdir}/xinetd.d/swat
  488. %{_datadir}/swat
  489. %{_sbindir}/swat
  490. %{_mandir}/man8/swat.8*
  491. %attr(755,root,root) %{_libdir}/samba/*.msg
  492. %files client
  493. %defattr(-,root,root)
  494. %{_bindir}/rpcclient
  495. %{_bindir}/smbcacls
  496. %{_bindir}/findsmb
  497. %{_bindir}/smbget
  498. %{_bindir}/nmblookup
  499. %{_bindir}/smbclient
  500. %{_bindir}/smbprint
  501. %{_bindir}/smbspool
  502. %{_bindir}/smbtar
  503. %{_bindir}/smbtree
  504. %{_bindir}/sharesec
  505. %{_mandir}/man1/findsmb.1*
  506. %{_mandir}/man1/nmblookup.1*
  507. %{_mandir}/man1/rpcclient.1*
  508. %{_mandir}/man1/smbcacls.1*
  509. %{_mandir}/man1/smbclient.1*
  510. %{_mandir}/man1/smbtar.1*
  511. %{_mandir}/man1/smbtree.1*
  512. %{_mandir}/man1/smbget.1*
  513. %{_mandir}/man1/sharesec.1*
  514. %{_mandir}/man8/smbspool.8*
  515. %files common
  516. %defattr(-,root,root)
  517. %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
  518. %dir %{_libdir}/samba
  519. %{_libdir}/samba/lowcase.dat
  520. %{_libdir}/samba/upcase.dat
  521. %{_libdir}/samba/valid.dat
  522. %{_libdir}/libnetapi.so
  523. %attr(755,root,root) %{_libdir}/libnetapi.so.*
  524. %{_includedir}/netapi.h
  525. %{_libdir}/pkgconfig/netapi.pc
  526. %{_bindir}/net
  527. %{_bindir}/testparm
  528. %{_bindir}/smbpasswd
  529. %{_bindir}/pdbedit
  530. %{_bindir}/profiles
  531. %{_bindir}/smbcquotas
  532. %{_bindir}/smbcontrol
  533. %{_bindir}/ldb3add
  534. %{_bindir}/ldb3del
  535. %{_bindir}/ldb3edit
  536. %{_bindir}/ldb3modify
  537. %{_bindir}/ldb3search
  538. %{_bindir}/ldb3rename
  539. %dir /var/lib/samba
  540. %attr(700,root,root) %dir /var/lib/samba/private
  541. %dir /var/lib/samba/scripts
  542. %config(noreplace) %{_sysconfdir}/samba/smb.conf
  543. %config(noreplace) %{_sysconfdir}/samba/lmhosts
  544. %config(noreplace) %{_sysconfdir}/sysconfig/samba
  545. %dir %{_sysconfdir}/samba
  546. %attr(0700,root,root) %dir /var/log/samba
  547. %attr(0700,root,root) %dir /var/log/samba/old
  548. %{_mandir}/man1/ldb3add.1.gz
  549. %{_mandir}/man1/ldb3del.1.gz
  550. %{_mandir}/man1/ldb3edit.1.gz
  551. %{_mandir}/man1/ldb3modify.1.gz
  552. %{_mandir}/man1/ldb3search.1.gz
  553. %{_mandir}/man1/ldb3rename.1.gz
  554. %{_mandir}/man1/profiles.1*
  555. %{_mandir}/man1/smbcquotas.1*
  556. %{_mandir}/man1/smbcontrol.1*
  557. #%{_mandir}/man1/vfstest.1*
  558. %{_mandir}/man1/testparm.1*
  559. %{_mandir}/man1/smbstatus.1*
  560. %{_mandir}/man5/smbpasswd.5*
  561. %{_mandir}/man5/smb.conf.5*
  562. %{_mandir}/man5/lmhosts.5*
  563. %{_mandir}/man8/smbpasswd.8*
  564. %{_mandir}/man8/pdbedit.8*
  565. %{_mandir}/man8/net.8*
  566. %{_datadir}/locale/*/LC_MESSAGES/net.mo
  567. %doc README COPYING Manifest
  568. %doc WHATSNEW.txt Roadmap
  569. %files winbind
  570. %defattr(-,root,root)
  571. %{_bindir}/ntlm_auth
  572. %{_bindir}/wbinfo
  573. %{_libdir}/samba/idmap
  574. %{_libdir}/samba/nss_info
  575. %{_sbindir}/winbindd
  576. %dir /var/run/winbindd
  577. %attr(750,root,wbpriv) %dir /var/lib/samba/winbindd_privileged
  578. %config(noreplace) %{_sysconfdir}/security/pam_winbind.conf
  579. %{_initrddir}/winbind
  580. %{_mandir}/man1/ntlm_auth.1*
  581. %{_mandir}/man1/wbinfo.1*
  582. %{_mandir}/man5/pam_winbind.conf.5*
  583. %{_mandir}/man8/pam_winbind.8*
  584. %{_mandir}/man8/winbindd.8*
  585. %{_mandir}/man8/idmap_*.8*
  586. %{_datadir}/locale/*/LC_MESSAGES/pam_winbind.mo
  587. %files winbind-krb5-locator
  588. %{_mandir}/man7/winbind_krb5_locator.7*
  589. %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
  590. %files winbind-clients
  591. %defattr(-,root,root)
  592. %{_libdir}/libnss_winbind.so
  593. /%{_lib}/libnss_winbind.so.2
  594. %{_libdir}/libnss_wins.so
  595. /%{_lib}/libnss_wins.so.2
  596. /%{_lib}/security/pam_winbind.so
  597. %attr(755,root,root) %{_libdir}/libwbclient.so.*
  598. %files winbind-devel
  599. %defattr(-,root,root)
  600. %{_includedir}/wbclient.h
  601. %{_includedir}/wbc_async.h
  602. %{_libdir}/libwbclient.so
  603. %{_libdir}/pkgconfig/wbclient.pc
  604. %files doc
  605. %defattr(-,root,root)
  606. %doc docs/Samba3-Developers-Guide.pdf docs/Samba3-ByExample.pdf
  607. %doc docs/Samba3-HOWTO.pdf
  608. %doc docs/htmldocs
  609. %files -n libsmbclient
  610. %defattr(-,root,root)
  611. %attr(755,root,root) %{_libdir}/libsmbclient.so.*
  612. %attr(755,root,root) %{_libdir}/libsmbsharemodes.so.*
  613. %files -n libsmbclient-devel
  614. %defattr(-,root,root)
  615. %{_includedir}/libsmbclient.h
  616. %{_includedir}/smb_share_modes.h
  617. %{_libdir}/libsmbclient.so
  618. %{_libdir}/libsmbsharemodes.so
  619. %{_libdir}/pkgconfig/smbclient.pc
  620. %{_libdir}/pkgconfig/smbsharemodes.pc
  621. %{_mandir}/man7/libsmbclient.7*
  622. %files domainjoin-gui
  623. %defattr(-,root,root)
  624. %{_sbindir}/netdomjoin-gui
  625. %dir %{_datadir}/pixmaps/samba
  626. %{_datadir}/pixmaps/samba/samba.ico
  627. %{_datadir}/pixmaps/samba/logo.png
  628. %{_datadir}/pixmaps/samba/logo-small.png
  629. %if %build_compat32
  630. %files -n compat32-%{name}-winbind
  631. %attr(755,root,root) %{_libdir}/libwbclient.so.*
  632. %files -n compat32-libsmbclient
  633. %attr(755,root,root) %{_libdir}/libsmbclient.so.*
  634. %attr(755,root,root) %{_libdir}/libsmbsharemodes.so.*
  635. %endif
  636. %changelog
  637. * Tue Aug 09 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.11-1
  638. - new upstream release. (to fix BTS:1189)
  639. * Sat Jul 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.10-1
  640. - new upstream release. (to fix CVE-2011-2522 and CVE-2011-2694)
  641. * Mon Jul 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-3
  642. - updated Source6.
  643. * Fri Mar 25 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-2
  644. - fix smb.conf(5).
  645. * Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-1
  646. - new upstream release.
  647. - updated patches.
  648. - added subpackages 'winbind-krb5-locator' and 'winbind-client'.
  649. - dropped tdb and talloc subpackages became independent packages.
  650. - dropped {,u}mount.cifs were included in cifs-utils.
  651. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.3.10-13
  652. - rebuilt with rpm-4.8.1 for pkg-config
  653. - changed spec file name as vine style
  654. - dropt script lines in %%build that no work
  655. * Sun Feb 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.3.10-12
  656. - add patch1000 for fix CVE-2010-0547 (cifs.mount)
  657. * Sat Jan 30 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-11
  658. - new upstream release.
  659. * Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-10
  660. - added 'Packager' tag.
  661. * Sun Oct 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-9
  662. - new upstream release.
  663. - added '--disable-fam' option.
  664. - added 'compat32-*' subpackages.
  665. - added 'libuuid-devel' to 'BuildRequires:'.
  666. * Thu Jul 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.7-7
  667. - new upstream release.
  668. * Thu Jun 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.6-6
  669. - new upstream release.
  670. * Thu Jun 4 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-5
  671. - increased release number for libtalloc/libtdb.
  672. * Tue Jun 2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-2
  673. - fixed dependency.
  674. - fixed modulepath.
  675. * Fri May 29 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-1
  676. - new upstream release.
  677. * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 3.2.5-4
  678. - rebuilt with openldap-2.4.11
  679. * Sat Jan 17 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 3.2.5-3
  680. - samba-doc: changed Group to Applications/Documentation
  681. - samba-winbind-devel: changed Group to Development/Libraries
  682. - libsmbclient: changed Group to System Environment/Libraries
  683. - libsmbclient-devel: changed Group to Development/Libraries
  684. - libtalloc: changed Group to System Environment/Libraries
  685. - libtalloc-devel: changed Group to Development/Libraries
  686. - libtdb: fixed summary
  687. changed Group to System Environment/Libraries
  688. - libtdb-devel: changed Group to Development/Libraries
  689. * Thu Dec 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-2
  690. - new upstream release
  691. * Sat Nov 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-1
  692. - new upstream release
  693. - drop jp patch
  694. - use UTF-8 as default charset
  695. - rename samba-libsmbclient to libsmbclient
  696. * Fri Apr 11 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 3.0.28a-1
  697. - new upstream release.
  698. - remove gamin-devel from BuildRequires: (no longer needed).
  699. * Sat Sep 15 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.0.24-0vl4
  700. - BuildRequires: gamin-devel (see [wishes:0127])
  701. * Wed May 16 2007 KAZUKI SHIMURA <ksh753@gmail.com> 3.0.24-0vl3
  702. - [SECURITY FIX] add security patches (#50-52)
  703. - CVE-2007-2444: local SID/Name translation bug (user privilege elevation)
  704. - CVE-2007-2446: multiple heap overflows allow remote code execution
  705. - CVE-2007-2447: remote command injection vulnerability
  706. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl2
  707. - apply upstream patches (#0-5)
  708. - fix an issues with servers set to "security = share" and Vista clients
  709. that send NTLMv2 responses
  710. - fixe several point-n-print bugs with Vista clients
  711. - fix failure when using the Vista backup utility
  712. - fix expansion of the %a smb.conf variable for Vista clients
  713. - fix MS-DFS referrals with Windows Vista clients
  714. - fix for Vista failing to delete directories on a Samba share
  715. - display service start/stop messages ([VineSeed:13299])
  716. * Wed Feb 14 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl1
  717. - [SECURITY FIX] new upstream release
  718. - CVE-2007-0452: potential denial of service bug in smbd
  719. - CVE-2007-0453: buffer overrun in NSS host lookup winbind library on Solaris
  720. - CVE-2007-0454: format string bug in afsacl.so vfs plugin
  721. * Thu Dec 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23d-0vl1
  722. - new upstream release
  723. * Sun Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl3
  724. - disable swat (via inetd) by default
  725. - fix code for editing %%{_sysconfdir}/inetd.conf
  726. * Sun Sep 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl2
  727. - fix dependencies:
  728. - move PreReq: mktemp, psmisc, fileutils, sed, gawk, grep to -swat
  729. - drop PreReq: gawk from -client
  730. - drop PreReq: inetd from -swat
  731. - drop Requires: tcp_wrappers from -swat (is needed by inetd)
  732. - fix %%post etc...
  733. - drop code for editing /etc/services: no more needed
  734. - move code for editing %%{_sysconfdir}/{hosts.*,inetd.conf}
  735. from %%triggerin swat -- inetd to %%post swat
  736. - check if %%{_sysconfdir}/inetd.conf exist before updating at %%postun
  737. * Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl1
  738. - new upstream release
  739. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.0.23b-0vl2
  740. - rebuilt with openldap-2.3.27-0vl1
  741. * Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23b-0vl1
  742. - new upstream release
  743. * Fri Jul 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23a-0vl1
  744. - new upstream release
  745. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23-0vl1
  746. - [SECURITY] new upstream release
  747. - Memory exhaustion DoS against smbd (CVE-2006-3403)
  748. - update patches
  749. - buildroot.patch (#100)
  750. - logfiles.patch (#103)
  751. - smb.conf.patch (#106)
  752. - update filter-requires-samba.sh (source999)
  753. - get rid of bogus dependency on perl(Unicode::MapUTF8)
  754. * Fri Jun 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.22-0vl1
  755. - new upstream release
  756. - renumber patches
  757. - 000- for upstream patches
  758. - 050- for security patches
  759. - 100- for generic patches
  760. - update logfiles.patch (#103)
  761. - drop warning.patch (#104)
  762. - not apply hex.patch (#105)
  763. - add smb.conf.patch (#106)
  764. - drop samba.log (source1), smb.conf (source2)
  765. - use samba.pamd.stack instead of samba.pamd
  766. - define macro: pkgingdir
  767. - add files:
  768. - samba-client
  769. - %%{_bindir}/{smbget,eventlogadm}
  770. - samba-common:
  771. - %%{_bindir}/tdbtool
  772. - separate development files to samba-libsmbclient-devel
  773. - change groups
  774. * Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl5
  775. - remove unneeded dependencies
  776. - update filter-requires-samba.sh (source999)
  777. - overwrite __find_requires instead of __perl_requires
  778. * Tue Mar 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl4
  779. - rebuild with readline-5.1
  780. * Sat Aug 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl3
  781. - separate doc package with %%docpkg
  782. - use %%htmlview instead of %%browser
  783. * Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl2
  784. - add %%config(noreplace) against %%{_sysconfdir}/xinetd.d/swat
  785. * Fri Jul 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl1
  786. - new upstream release
  787. - install %%{_sysconfdir}/xinetd.d/swat
  788. - update filter-requires-samba.sh
  789. - add swat.desktop.in instead of swat.desktop
  790. - switch browser by %%browser
  791. - drop i18n patches
  792. - update logfiles.patch (#3)
  793. - add warning.patch (#4)
  794. * Sun Jul 10 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl2
  795. - fix samba.log
  796. - thanks, K. Moriyama [VinePlus:02606]
  797. - remove docs/manpages from %%doc
  798. * Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl1
  799. - new upstream release
  800. - update struplower_m_i18n.patch (#102)
  801. - drop obsolete patch (#10)
  802. * Fri Dec 17 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl2
  803. - [SECURITY FIX] fix possible remote code execution (CAN-2004-1154)
  804. - add samba-3.0.9-CAN-2004-1154.patch (#10)
  805. - update patch (#102)
  806. * Fri Nov 26 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl1
  807. - new upstream release
  808. - drop obsolete patches (#10,11,110)
  809. - update patches (#3,102)
  810. * Sun Nov 21 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl6
  811. - [SECURITY FIX] fix smbd buffer overrun (CAN-2004-0882)
  812. - add samba-3.0.7-CAN-2004-0882.patch (patch11)
  813. - update Source URL
  814. * Tue Nov 09 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl5
  815. - [SECURITY FIX] fix smbd remote DoS vulnerability (CAN-2004-0930)
  816. - add samba-3.0.7-CAN-2004-0930.patch (patch10)
  817. * Fri Oct 15 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl4
  818. - update samba.log, {smb,winbind}.init
  819. - use *.log as logfile name instead of log.* (patch3)
  820. * Wed Oct 06 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl3
  821. - change directories from %%{_localstatedir}/lock/samba
  822. - LOCKDIR: %%{_localstatedir}/cache/samba
  823. - PIDDIR: %%{_localstatedir}/run
  824. - restart {smb,winbind} at postun (upgrade)
  825. - samba-common
  826. - convert smbpasswd at triggerpostun -- samba < 3.0.7
  827. - add convert_smbpasswd
  828. - add PreReq: gawk
  829. * Sat Sep 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl2
  830. - add docs_ja (source101) from 3.0.5-16ml
  831. * Wed Sep 22 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl1
  832. - new upstream release (shift to 3.0 series)
  833. - refer to 3.0.6-3 (Fedora Core), 3.0.5-16ml (MIRACLE)
  834. - drop obsolete paches, configure options
  835. - update buildroot.patch
  836. - add I18N patches (#101-)
  837. - update smb.conf
  838. - add URL
  839. - use more macros
  840. - change LIBDIR from %%{_sysconfdir}/samba to %%{_libdir}/samba
  841. - move %%{_localstatedir}/log/samba, smbpasswd to samba-common
  842. - move smbspool, smbcacls, rpcclient to samba-client
  843. - update descriptions
  844. * Wed Sep 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl1
  845. - new upstream release
  846. * Wed Sep 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl0.beta1
  847. - 2.2.11-ja-1.0beta1
  848. - drop patch10
  849. - add BuildPreReq: openssl-devel
  850. - swat
  851. - add PreReq/Requires: inetd
  852. - add swat.desktop
  853. * Sun Jul 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl3
  854. - fix changelog
  855. * Sat Jul 24 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl2
  856. - [SECURITY FIX] fix buffer overflow (CAN-2004-0686)
  857. - add samba-2.2.9-ja-1.0-mangle.patch (Patch10)
  858. - add BuildPreReq: cups-devel
  859. - add Prereq: chkconfig mktemp psmisc (instead of each files)
  860. * Thu Jun 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl1
  861. - new upstream release
  862. * Thu May 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl0.beta1
  863. - 2.2.9-ja-1.0beta1
  864. - add BuildPreReq: readline-devel
  865. * Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl3
  866. - add ldconfig in %%post/%%postun script for libsmbclient
  867. * Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl2
  868. - add libsmbclient subpackage.
  869. * Thu Sep 11 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja.1.1-0vl1
  870. - new upstream release.
  871. * Sat Aug 09 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.8a.ja-1.0vl3
  872. - fix smb.conf (SAMBADOC's path)
  873. * Tue May 27 2003 Tomoya TAKA <taka@vinelinux.org> 2.2.8a.ja-1.0vl2
  874. - tentatively skip to build examples/VFS on alpha
  875. * Tue May 27 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja-1.0vl1
  876. - new upstream release.
  877. * Mon May 19 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.7b.ja-1.0vl2
  878. - fix smb.conf
  879. - fix smbadduser
  880. * Thu Apr 17 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.7b.ja-1.0vl1
  881. - new upstream version
  882. * Sun Mar 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl2
  883. - added smbinit-vine.patch
  884. -- added '-D' option in smbd and nmbd
  885. * Fri Mar 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl1
  886. - New upstream version
  887. -- security fix.
  888. * Wed Feb 26 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  889. - 2.2.7a.ja-1.0vl5
  890. - merged from SPEC for RH60 by samba-jp.
  891. * Mon Feb 17 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  892. - 2.2.7a.ja-1.0vl4.beta1
  893. - fix 'Requires:'.
  894. * Tue Jan 28 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  895. - 2.2.7a.ja-1.0vl3.alpha1
  896. - disable --with-tdbsam.
  897. * Sat Dec 28 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  898. - 2.2.7a.ja-1.0vl2.alpha1
  899. - modify %%post script for new password database.
  900. * Fri Dec 27 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  901. - 2.2.7a.ja-1.0vl1.alpha1
  902. * Tue Nov 19 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  903. - 2.2.6.ja-1.0vl1.alpha2
  904. - apply alpha2 patch.
  905. * Fri Nov 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  906. - 2.2.6.ja-1.0vl1.alpha1
  907. - remove swat from package 'samba'.
  908. * Thu Nov 14 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  909. - 2.2.6.ja-1.0vl0.alpha1
  910. - enable winbind modules.
  911. - change numbering rule.
  912. * Thu Oct 24 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  913. - 2.2.6_ja_0.alpha1-0vl1
  914. * Tue Jun 11 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  915. - 2.2.4_ja_0.alpha1.3-0vl1
  916. * Sun Mar 17 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  917. - 2.2.2_ja_1.1-0vl1
  918. - disable winbind modules (2.2.2 or earlier has critical bugs).
  919. - modify 'Requires:'.
  920. * Fri Mar 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  921. - 2.2.2_ja_1.1-0vl0
  922. - shift sources to 2.2.x.
  923. - add debugging mode for '%%files' section.
  924. - modify spec largely because of too many difference between 2.0.x and 2.2.x.
  925. - . exchange %%prep, %%build, %%install section with samba-jp's spec.
  926. - . create a package 'samba-swat'.
  927. - . move smbclient and nmblookup to samba-common.
  928. - . move testprns to package 'samba' because it's checking tool for
  929. - server on LOCALHOST.
  930. - . move '%%post' to '%%post swat'.
  931. - . disable '%%post common'.
  932. * Sun Dec 02 2001 Toru Sagami <sagami@vinelinux.org>
  933. - 2.0.10_ja_1.2
  934. * Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
  935. - 2.0.10_ja_1.1-0vl4
  936. - eliminate executable bit in %%doc to erase perl/sh requirement
  937. * Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org>
  938. - 2.0.10_ja_1.1-0vl3: s/$RPM_BUILD_ROOT/%%{buildroot}/
  939. - patch swat/ja/help/welcome.html to hide some missing matter
  940. - also remove docs/zh_{CN,TW} files in %%doc
  941. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl2
  942. - for VineSeed
  943. - deleted %%define _syssbindir and _localedir (defined in rpmmacros in rpm-3.0.6-0vl14)
  944. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl1
  945. - 2.0.10_ja_1.1
  946. - for 2.1.x update
  947. * Fri Aug 17 2001 <sagami@vinelinux.org>
  948. - 2.0.10_ja_1.0-0vl2
  949. - remove almost duplicated docs/{,ja/}{manpages,yodldocs} files in %%doc
  950. * Mon Jul 09 2001 <sagami@vinelinux.org>
  951. - 2.0.10_ja_1.0-0vl1: includes secrity fix
  952. (http://www.samba.org/samba/whatsnew/macroexploit.html)
  953. - remove using_samba, HowToUseSamba and docs/ja_JP.SJIS directory from %%doc
  954. * Thu May 31 2001 <sagami@vinelinux.org>
  955. - 2.0.9_ja_1.0-0vl1: added swat/ja/help/HowToUseSamba
  956. - added BuildPreReq = pam-devel for Vine 2.1.5+
  957. - fixed init script to match our current/old style
  958. - eliminate CVS related files from %%doc
  959. * Thu Apr 19 2001 <sagami@vinelinux.org>
  960. - 2.0.7_ja_2.2-0vl1
  961. * Thu Dec 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  962. - 2.0.7_ja_1.3-0vl2
  963. - rebuilt with readline2
  964. - use better macros (although not almost complete... needs comfirmation)
  965. * Tue Sep 19 2000 Jun Nishii <jun@vinelinux.org>
  966. - 2.0.7_ja_1.3-0vl1
  967. * Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  968. - 2.0.7_ja_1.2.1-0vl2
  969. - fixed missing Changelog.ja (was Chagelog.ja)
  970. * Tue Sep 12 2000 Jun Nishii <jun@vinelinux.org>
  971. - updated to 2.0.7-ja-1.2.1
  972. * Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  973. - updated to 2.0.7-ja-1.2
  974. * Tue Jul 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  975. - added some Japanese documents to %doc
  976. * Mon Jul 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  977. - updated to 2.0.7-ja-1.0
  978. * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  979. - updated to 2.0.7-ja-0.99
  980. * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  981. - added rpccilent
  982. - modified tcpdconf for stability.
  983. * Fri May 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  984. - first test release for Vine based on RH6.2 spec file.
  985. - activated swat in default for only localhost.
  986. * Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
  987. - fix trigger, again.
  988. * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
  989. - fix trigger.
  990. * Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
  991. - turn on quota support
  992. * Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
  993. - rebuild to fox dependencies
  994. - man pages are compressed
  995. * Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
  996. - munge post scripts slightly
  997. * Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
  998. - turn on mmap again. Wheee.
  999. - ship smbmount on alpha
  1000. * Mon Dec 6 1999 Bill Nottingham <notting@redhat.com>
  1001. - turn off mmap. ;)
  1002. * Wed Dec 1 1999 Bill Nottingham <notting@redhat.com>
  1003. - change /var/log/samba to 0700
  1004. - turn on mmap support
  1005. * Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
  1006. - update to 2.0.6
  1007. * Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
  1008. - add a %defattr for -common
  1009. * Tue Oct 5 1999 Bill Nottingham <notting@redhat.com>
  1010. - shift some files into -client
  1011. - remove /home/samba from package.
  1012. * Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
  1013. - initscript oopsie. killproc <name> -HUP, not other way around.
  1014. * Sat Sep 26 1999 Bill Nottingham <notting@redhat.com>
  1015. - script cleanups. Again.
  1016. * Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
  1017. - add a patch to fix dropped reconnection attempts
  1018. * Mon Sep 6 1999 Jeff Johnson <jbj@redhat.com>
  1019. - use cp rather than mv to preserve /etc/services perms (#4938 et al).
  1020. - use mktemp to generate /etc/tmp.XXXXXX file name.
  1021. - add prereqs on sed/mktemp/killall (need to move killall to /bin).
  1022. - fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
  1023. * Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
  1024. - sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
  1025. * Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
  1026. - fix typo in mount.smb
  1027. * Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
  1028. - add a %trigger to work around (sort of) broken scripts in
  1029. previous releases
  1030. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  1031. - initscript munging
  1032. * Mon Aug 9 1999 Bill Nottingham <notting@redhat.com>
  1033. - add domain parsing to mount.smb
  1034. * Fri Aug 6 1999 Bill Nottingham <notting@redhat.com>
  1035. - add a -common package, shuffle files around.
  1036. * Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
  1037. - add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
  1038. * Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
  1039. - update to 2.0.5
  1040. - fix mount.smb - smbmount options changed again.........
  1041. - fix postun. oops.
  1042. - update some stuff from the samba team's spec file.
  1043. * Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
  1044. - split off clients into separate package
  1045. - don't run samba by default
  1046. * Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
  1047. - fix one problem with mount.smb script
  1048. - fix smbpasswd on sparc with a really ugly kludge
  1049. * Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
  1050. - fixed logrotate script
  1051. * Tue May 25 1999 Bill Nottingham <notting@redhat.com>
  1052. - turn of 64-bit locking on 32-bit platforms
  1053. * Thu May 20 1999 Bill Nottingham <notting@redhat.com>
  1054. - so many releases, so little time
  1055. - explicitly uncomment 'printing = bsd' in sample config
  1056. * Tue May 18 1999 Bill Nottingham <notting@redhat.com>
  1057. - update to 2.0.4a
  1058. - fix mount.smb arg ordering
  1059. * Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
  1060. - go back to stop/start for restart (-HUP didn't work in testing)
  1061. * Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
  1062. - add a mount.smb to make smb mounting a little easier.
  1063. - smb filesystems apparently don't work on alpha. Oops.
  1064. * Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
  1065. - always create codepages
  1066. * Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
  1067. - logrotate changes
  1068. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  1069. - auto rebuild in the new build environment (release 3)
  1070. * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
  1071. - updated init script to use graceful restart (not stop/start)
  1072. * Tue Mar 9 1999 Bill Nottingham <notting@redhat.com>
  1073. - update to 2.0.3
  1074. * Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
  1075. - update to 2.0.2
  1076. * Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
  1077. - swat swat
  1078. * Tue Feb 9 1999 Bill Nottingham <notting@redhat.com>
  1079. - fix bash2 breakage in post script
  1080. * Fri Feb 5 1999 Bill Nottingham <notting@redhat.com>
  1081. - update to 2.0.0
  1082. * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
  1083. - make sure all binaries are stripped
  1084. * Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
  1085. - update to 1.9.18p10.
  1086. - fix %triggerpostun.
  1087. * Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
  1088. - updated postun triggerscript to check $0
  1089. - clear /etc/codepages from %preun instead of %postun
  1090. * Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
  1091. - made the %postun script a tad less agressive; no reason to remove
  1092. the logs or lock file (after all, if the lock file is still there,
  1093. samba is still running)
  1094. - the %postun and %preun should only exectute if this is the final
  1095. removal
  1096. - migrated %triggerpostun from Red Hat's samba package to work around
  1097. packaging problems in some Red Hat samba releases
  1098. * Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
  1099. - minor tidy up in preparation for release of 1.9.18p5
  1100. - added findsmb utility from SGI package
  1101. * Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
  1102. - Updated version and codepage info.
  1103. - Release to test name resolve order
  1104. * Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
  1105. - Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
  1106. - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
  1107. - Compounded make line
  1108. - Updated smb.init restart mechanism
  1109. - Use compound mkdir -p line instead of individual calls to mkdir
  1110. - Fixed smb.conf file path for log files
  1111. - Fixed smb.conf file path for incoming smb print spool directory
  1112. - Added a number of options to smb.conf file
  1113. - Added smbadduser command (missed from all previous RPMs) - Doooh!
  1114. - Added smbuser file and smb.conf file updates for username map