12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351 |
- %define samba_version 4.2.1
- %define doc_version 4.1.8-1
- %define api_version 4.0
- %define libwbc_sover 0.12
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- %global with_libsmbclient 1
- %global with_libwbclient 1
- %global with_pam_smbpass 1
- %global with_internal_talloc 0
- %global with_internal_tevent 0
- %global with_internal_tdb 0
- %global with_internal_ntdb 1
- %global with_internal_ldb 0
- %global with_mitkrb5 0
- %global with_dc 1
- %global libwbc_alternatives_suffix %nil
- %if 0%{?__isa_bits} == 64
- %global libwbc_alternatives_suffix -64
- %endif
- %define samba_release 1
- %define samba_source source3
- %global __perl_requires %{SOURCE999}
- %global __perllib_requires %{SOURCE999}
- %global __perllib_provides %{SOURCE999}
- Summary: The Samba Suite of programs
- Summary(ja): Samba スイート
- Name: samba
- Version: %{samba_version}
- Release: %{samba_release}%{?_dist_release}
- License: GPLv3+
- Group: System Environment/Daemons
- URL: http://www.samba.org/
- %define samba_includedir %{_includedir}/samba-%{api_version}
- Source: http://www.samba.org/samba/ftp/samba-%{version}.tar.gz
- # Vine specific replacement-files
- Source1: samba.log
- Source2: samba-ja-docs-%{doc_version}.tar.gz
- Source5: pam_winbind.conf
- Source6: samba.pamd
- Source100: nmb.init
- Source101: smb.init
- Source102: winbind.init
- Source200: samba4.init
- Source201: named.conf.dlz
- Source999: perl-requires.sh
- Requires: /sbin/chkconfig /bin/mktemp /usr/bin/killall
- Requires: fileutils sed /etc/init.d
- Requires: logrotate
- Requires: libaio
- Requires: %{name}-common = %{samba_version}-%{release}
- Requires: %{name}-libs = %{samba_version}-%{release}
- Requires(pre): %{name}-common = %{samba_version}-%{release}
- Conflicts: samba < %{version}
- Provides: samba = %{version}
- BuildRoot: %{_tmppath}/%{name}-%{samba_version}-%{release}-root
- Requires(post): /sbin/chkconfig, /sbin/service
- Requires(preun): /sbin/chkconfig, /sbin/service
- BuildRequires: avahi-devel
- BuildRequires: ctdb-devel
- BuildRequires: cups-devel
- BuildRequires: cyrus-sasl-devel
- BuildRequires: docbook-style-xsl
- BuildRequires: docbook-utils
- BuildRequires: e2fsprogs-devel
- BuildRequires: coreutils
- BuildRequires: gdb
- BuildRequires: gettext
- BuildRequires: gnutls-devel
- BuildRequires: keyutils-libs-devel
- BuildRequires: krb5-devel
- BuildRequires: krb5-workstation
- BuildRequires: ldb-tools
- BuildRequires: libacl-devel
- BuildRequires: libaio-devel
- BuildRequires: libattr-devel
- BuildRequires: libblkid-devel
- BuildRequires: libbsd-devel
- BuildRequires: libcap-devel
- BuildRequires: libidn-devel
- BuildRequires: libldb-devel
- BuildRequires: libpcap-devel
- BuildRequires: libtevent-devel
- BuildRequires: libuuid-devel
- BuildRequires: libxml2-devel
- BuildRequires: libxslt
- BuildRequires: ncurses-devel
- BuildRequires: net-tools
- BuildRequires: openldap-devel
- BuildRequires: pam-devel
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(Parse::Yapp)
- BuildRequires: pkgconfig
- BuildRequires: popt-devel
- BuildRequires: pyldb-devel
- BuildRequires: pytalloc-devel
- BuildRequires: python-devel
- BuildRequires: python-tdb
- BuildRequires: python-tevent
- BuildRequires: readline-devel
- BuildRequires: sqlite-devel
- BuildRequires: zlib-devel
- #BuildRequires: libuuid-devel
- BuildConflicts: compat32-zlib-devel.32bit
- BuildConflicts: compat32-libuuid.32bit
- BuildConflicts: compat32-libuuid-devel.32bit
- # Working around perl dependency problem from docs
- #define __perl_requires %{SOURCE999}
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: tomop
- %description
- Samba is the standard Windows interoperability suite of programs
- for Linux and Unix.
- %description -l ja
- SambaはLinux・UNIX用の、Windowsとの標準的な相互運用性ソフトウェア群です。
- ## --------------------------------------------------------------------
- %package client
- Summary: Samba client programs
- Summary(ja): Samba クライアントプログラム
- Group: Applications/System
- Requires: samba-common = %{samba_version}-%{release}
- Obsoletes: smbfs
- Conflicts: %{name}-client < %{samba_version}
- Provides: samba-client = %{samba_version}
- %description client
- The samba-client package provides some SMB/CIFS clients to complement
- the built-in SMB/CIFS filesystem in Linux. These clients allow access
- of SMB/CIFS shares and printing to SMB/CIFS printers.
- %description client -l ja
- samba-client は Linux カーネルがサポートしている SMB ファイルシステム
- 機能を操作する SMB クライアントを提供します。
- これらは SMB 共有のアクセスと SMB プリンタへの印刷を実現します。
- ## --------------------------------------------------------------------
- %package libs
- Summary: Samba libraries
- Summary(ja): Samba ライブラリ
- Group: System Environment/Libraries
- %if %with_libwbclient
- Requires: libwbclient
- %endif
- %description libs
- The samba4-libs package contains the libraries needed by programs that
- link against the SMB, RPC and other protocols provided by the Samba suite.
- ## --------------------------------------------------------------------
- %package python
- Summary: Samba Python libraries
- Summary(ja): Python 向け Samba ライブラリ
- Group: System Environment/Libraries
- Requires: %{name}-libs = %{samba_version}
- %description python
- The samba4-python package contains the Python libraries needed by programs
- that use SMB, RPC and other Samba provided protocols in Python programs.
- ## --------------------------------------------------------------------
- %package devel
- Summary: Developer tools for Samba libraries
- Summary(ja): Samba ライブラリの開発用ファイル
- Group: Development/Libraries
- Requires: %{name}-libs = %{samba_version}-%{release}
- Conflicts: samba-devel < %{samba_version}
- Provides: samba-devel = %{samba_version}
- %description devel
- The samba4-devel package contains the header files for the libraries
- needed to develop programs that link against the SMB, RPC and other
- libraries in the Samba suite.
- ## --------------------------------------------------------------------
- %package pidl
- Summary: Perl IDL compiler
- Group: Development/Tools
- Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
- %description pidl
- The samba4-pidl package contains the Perl IDL compiler used by Samba
- and Wireshark to parse IDL and similar protocols
- ## --------------------------------------------------------------------
- %package common
- Summary: Files used by both Samba servers and clients
- Summary(ja): Samba サーバーとクライアントの両方に使用されるファイル
- Group: System Environment/Libraries
- Conflicts: samba-common < %{samba_version}
- Provides: samba-common = %{samba_version}-%{release}
- Requires: %{name}-libs = %{samba_version}-%{release}
- Requires: pam
- Requires(pre): /usr/sbin/groupadd
- Requires(post): /sbin/chkconfig, /sbin/service, coreutils, acl
- Requires(preun): /sbin/chkconfig, /sbin/service
- Obsoletes: samba-swat < 4.1.0
- %description common
- Samba-common provides files necessary for both the server and client
- packages of Samba.
- %description common -l ja
- samba-common は Samba のサーバーとクライアントの両方のパッケージで
- 使用される共通のファイルを提供します。
- ## --------------------------------------------------------------------
- %package test
- Summary: Testing tools for Samba servers and clients
- Group: Applications/System
- %description test
- samba4-test provides testing tools for both the server and client
- packages of Samba.
- ## --------------------------------------------------------------------
- %package winbind
- Summary: Samba winbind
- Group: System Environment/Daemons
- Conflicts: samba-winbind < %{samba_version}
- Provides: samba-winbind = %{samba_version}
- Requires: samba-common = %{samba_version}-%{release}
- Requires(pre): /usr/sbin/groupadd
- Requires(post): /sbin/chkconfig, /sbin/service, coreutils
- Requires(preun): /sbin/chkconfig, /sbin/service
- %description winbind
- The samba-winbind package provides the winbind daemon, a NSS library, a PAM
- module and some client tools. Winbind enables Linux to be a full member in
- Windows domains and to use Windows user and group accounts on Linux.
- ## --------------------------------------------------------------------
- %package winbind-krb5-locator
- Summary: Samba winbind krb5 locator
- Group: Applications/System
- Requires: %{name}-winbind-clients = %{samba_version}-%{release}
- Conflicts: samba-winbind-krb5-locator < %{samba_version}
- Provides: samba-winbind-krb5-locator = %{samba_version}-%{release}
- %description winbind-krb5-locator
- The winbind krb5 locator is a plugin for the system kerberos library
- to allow the local kerberos library to use the same KDC as samba and
- winbind use
- ## --------------------------------------------------------------------
- %package winbind-clients
- Summary: Samba winbind clients
- Group: Applications/System
- Conflicts: samba-winbind-clients < %{samba_version}
- Provides: samba-winbind-clients = %{samba_version}
- %description winbind-clients
- The %{name}-winbind-clients package provides the NSS library and a PAM
- module necessary to communicate to the Winbind Daemon
- ## --------------------------------------------------------------------
- %package -n libsmbclient
- Summary: The SMB client library
- Summary(ja): SMB クライアントライブラリ
- Group: System Environment/Libraries
- Requires: %{name}-common = %{samba_version}
- Conflicts: libsmbclient < %{samba_version}
- Provides: libsmbclient = %{samba_version}
- %description -n libsmbclient
- The libsmbclient contains the SMB client library from the Samba suite.
- %description -n libsmbclient -l ja
- libsmbclient は Samba クライアントの機能を提供するライブラリを
- 提供します。
- ## --------------------------------------------------------------------
- %package -n libsmbclient-devel
- Summary: Developer tools for the SMB client library
- Summary(ja): SMB クライアントライブラリ開発用ファイル
- Group: Development/Libraries
- Requires: libsmbclient = %{samba_version}
- Conflicts: libsmbclient-devel < %{samba_version}
- Provides: libsmbclient-devel = %{samba_version}
- %description -n libsmbclient-devel
- The libsmbclient-devel package contains the header files and libraries
- needed to develop programs that link against the SMB client library
- in the Samba suite.
- %description -n libsmbclient-devel -l ja
- libsmbclient-devel は Samba クライアントの機能を提供するライブラリを
- 使ったアプリケーションを開発するためのファイルを提供します。
- ## --------------------------------------------------------------------
- %if %with_libwbclient
- %package -n libwbclient
- Summary: The winbind client library
- Summary(ja): Winbind クライアントライブラリ
- Group: System Environment/Libraries
- %description -n libwbclient
- The libwbclient package contains the winbind client library from
- the Samba suite.
- ## --------------------------------------------------------------------
- %package -n libwbclient-devel
- Summary: Developer tools for the winbind library
- Summary(ja): Winbind ライブラリの開発用ファイル
- Group: Development/Libraries
- Requires: libwbclient = %{samba_version}-%{release}
- %description -n libwbclient-devel
- The libwbclient-devel package provides developer tools for the wbclient
- library.
- %endif # with_libwbclient
- ## --------------------------------------------------------------------
- %package dc
- Summary: Samba AD Domain Controller
- Group: Applications/System
- Requires: %{name} = %{samba_version}-%{release}
- Requires: %{name}-winbind = %{samba_version}-%{release}
- Requires: %{name}-client = %{samba_version}-%{release}
- Requires: %{name}-python = %{samba_version}-%{release}
- Requires(post): /sbin/chkconfig, /sbin/service, acl
- %description dc
- The %{name}-dc package provides AD Domain Controller functionality
- ## --------------------------------------------------------------------
- %package dc-libs
- Summary: Samba AD Domain Controller Libraries
- Summary(ja): Samba AD ドメインコントローラ ライブラリ
- Group: System Environment/Libraries
- Requires: %{name}-libs = %{samba_version}
- %description dc-libs
- The samba-dc-libs package contains the libraries needed by the DC to
- link against the SMB, RPC and other protocols.
- ## --------------------------------------------------------------------
- %if %build_compat32
- %package -n compat32-samba-libs
- Summary: Samba libraries
- Summary(ja): Samba ライブラリ
- Group: System Environment/Libraries
- %if %with_libwbclient
- Requires: libwbclient
- %endif
- %description -n compat32-samba-libs
- The samba4-libs package contains the libraries needed by programs that
- link against the SMB, RPC and other protocols provided by the Samba suite.
- ## --------------------------------------------------------------------
- %package -n compat32-libsmbclient
- Summary: The SMB client library
- Summary(ja): SMB クライアントライブラリ
- Group: System Environment/Libraries
- Requires: samba-common = %{samba_version}-%{release}
- %description -n compat32-libsmbclient
- The libsmbclient contains the SMB client library from the Samba suite.
- %description -n compat32-libsmbclient -l ja
- libsmbclient は Samba クライアントの機能を提供するライブラリを
- 提供します。
- ## --------------------------------------------------------------------
- %package -n compat32-libwbclient
- Summary: The winbind client library
- Summary(ja): Winbind クライアントライブラリ
- Group: System Environment/Libraries
- Requires: samba-common = %{samba_version}-%{release}
- Requires(pre): /usr/sbin/groupadd
- Requires(post): /sbin/chkconfig, /sbin/service, coreutils
- Requires(preun): /sbin/chkconfig, /sbin/service
- %description -n compat32-libwbclient
- The libwbclient package contains the winbind client library from
- the Samba suite.
- %endif
- ## ====================================================================
- %prep
- %setup -q -n samba-%{samba_version}
- mkdir -p docs-ja
- pushd docs-ja
- tar zxf %{SOURCE2}
- popd
- ## ====================================================================
- %build
- %global _talloc_lib ,!talloc,!pytalloc,!pytalloc-util
- %global _tevent_lib ,!tevent,!pytevent
- %global _tdb_lib ,!tdb,!pytdb
- %global _ldb_lib ,!ldb,!pyldb
- %global _samba4_libraries heimdal,!zlib,!ctdb,!popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}%{_ldb_lib}
- %global _samba4_idmap_modules idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2
- %global _samba4_pdb_modules pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4
- %global _samba4_auth_modules auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4
- %global _samba4_modules %{_samba4_idmap_modules},%{_samba4_pdb_modules},%{_samba4_auth_modules}
- %global _libsmbclient %nil
- %global _libwbclient %nil
- %if ! %with_libsmbclient
- %global _libsmbclient smbclient,
- %endif
- %if ! %with_libwbclient
- %global _libwbclient wbclient,
- %endif
- %global _samba4_private_libraries %{_libsmbclient}%{_libwbclient}
- sed \
- -e 's|@PROG_CMD@|%{_sbindir}\/samba|g' \
- -e 's|@SAMBA_PID@|%{_var}\/run\/samba/samba\.pid|g' \
- %{SOURCE200} > samba4.init
- make distclean
- ##export PATH=$PATH:$PWD/buildtools/bin
- LDFLAGS="-Wl,-z,relro,-z,now" \
- %configure \
- --enable-fhs \
- --enable-gnutls \
- --bundled-libraries=%{_samba4_libraries} \
- --with-shared-modules=%{_samba4_modules} \
- --with-pam \
- --with-pam_smbpass \
- --without-fam \
- --disable-rpath-install \
- --with-cachedir=/var/lib/samba \
- --with-configdir=%{_sysconfdir}/samba \
- --with-lockdir=/var/lib/samba \
- --with-logfilebase=/var/log/samba \
- --with-modulesdir=%{_libdir}/samba \
- --with-pammodulesdir=%{_lib}/security \
- --with-piddir=/var/run/samba \
- --with-privatedir=/var/lib/samba/private \
- --with-sockets-dir=/var/run/samba
- # --bundled-libraries=NONE \
- # --with-system-mitkrb5 \
- # --with-cluster-support \
- # try and build the manpages
- #./release-scripts/build-manpages-nogit
- make %{?_smp_mflags}
- # Remove some permission bits to avoid to many dependencies
- find examples docs-xml -type f | xargs -r chmod -x
- ## ====================================================================
- %install
- rm -rf %{buildroot}
- make %{?_smp_mflags} install DESTDIR=%{buildroot}
- # Create the target build directory hierarchy
- mkdir -p %{buildroot}%{samba_includedir}
- mkdir -p %{buildroot}%{_initrddir}
- mkdir -p %{buildroot}%{_sysconfdir}/{pam.d,samba,logrotate.d}
- mkdir -p %{buildroot}%{_sysconfdir}/{samba,security,sysconfig}
- mkdir -p %{buildroot}%{_sysconfdir}/xinetd.d
- mkdir -p %{buildroot}/%{_libdir}/krb5/plugins/libkrb5
- install -d -m 0755 %{buildroot}/usr/{sbin,bin}
- install -d -m 0755 %{buildroot}%{_libdir}/security
- install -d -m 0755 %{buildroot}/var/lib/samba
- install -d -m 0755 %{buildroot}/var/lib/samba/private
- install -d -m 0755 %{buildroot}/var/lib/samba/winbindd_privileged
- install -d -m 0755 %{buildroot}/var/lib/samba/scripts
- install -d -m 0755 %{buildroot}/var/lib/samba/sysvol
- install -d -m 0755 %{buildroot}/var/log/samba/old
- install -d -m 0755 %{buildroot}/var/run/samba
- install -d -m 0755 %{buildroot}/var/run/winbindd
- install -d -m 0755 %{buildroot}/var/spool/samba
- install -d -m 0755 %{buildroot}/%{_libdir}/samba
- install -d -m 0755 %{buildroot}/%{_libdir}/pkgconfig
- # initscripts
- install -m755 %{SOURCE100} %{buildroot}%{_initrddir}/nmb
- install -m755 %{SOURCE101} %{buildroot}%{_initrddir}/smb
- install -m755 %{SOURCE102} %{buildroot}%{_initrddir}/winbind
- install -m755 samba4.init %{buildroot}%{_initrddir}/samba
- # pam
- install -m644 %{SOURCE6} %{buildroot}%{_sysconfdir}/pam.d/samba
- # Move libwbclient.so* into private directory, it cannot be just libdir/samba
- # because samba uses rpath with this directory.
- install -d -m 0755 %{buildroot}/%{_libdir}/samba/wbclient
- mv %{buildroot}/%{_libdir}/libwbclient.so* %{buildroot}/%{_libdir}/samba/wbclient
- # Install other stuff
- install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/samba
- install -m644 packaging/RHEL/setup/smb.conf %{buildroot}%{_sysconfdir}/samba/smb.conf
- install -d -m 0755 %{buildroot}%{_sysconfdir}/security
- install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf
- echo 127.0.0.1 localhost > %{buildroot}%{_sysconfdir}/samba/lmhosts
- # openLDAP database schema
- install -d -m 0755 %{buildroot}%{_sysconfdir}/openldap/schema
- install -m644 examples/LDAP/samba.schema %{buildroot}%{_sysconfdir}/openldap/schema/samba.schema
- install -m 0744 packaging/printing/smbprint %{buildroot}%{_bindir}/smbprint
- #install -d -m 0755 %{buildroot}%{_prefix}/lib/tmpfiles.d/
- #install -m644 packaging/systemd/samba.conf.tmp %{buildroot}%{_prefix}/lib/tmpfiles.d/samba.conf
- # create /var/run/samba too.
- #echo "d /var/run/samba 755 root root" >> %{buildroot}%{_prefix}/lib/tmpfiles.d/samba.conf
- #echo "d /var/run/ctdb 755 root root" >> %{buildroot}%{_tmpfilesdir}/ctdb.conf
- install -d -m 0755 %{buildroot}%{_sysconfdir}/sysconfig
- install -m 0644 packaging/RHEL/setup/samba.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/samba
- #install -m 0644 ctdb/config/ctdb.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/ctdb
- #install -m 0644 %{SOURCE201} packaging/README.downgrade
- # winbind krb5 locator
- install -d -m 0755 %{buildroot}%{_libdir}/krb5/plugins/libkrb5
- touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
- # This makes the right links, as rpmlint requires that
- # the ldconfig-created links be recorded in the RPM.
- /sbin/ldconfig -N -n %{buildroot}%{_libdir}
- rm -rf docs-ja
- mkdir -p docs-ja
- pushd docs-ja
- tar zxf %{SOURCE2}
- popd
- find docs-ja/docs-xml/output/manpages/ -type f| while read f; do
- c=`echo -n $f | sed -e 's,^.*\.,,'`
- gzip -9 $f
- mkdir -p %{buildroot}%{_mandir}/ja/man$c
- cp -f $f.gz %{buildroot}%{_mandir}/ja/man$c/
- done
- ## ====================================================================
- %clean
- rm -rf %{buildroot}
- %pre
- if [ "$1" -eq "2" ]; then
- PREV=`/usr/sbin/smbd -V 2>/dev/null | sed -e 's/^Version \([0-9]*\)\..*$/\1/'`
- if [ "x$PREV" == "x3" ]; then
- /sbin/service smb stop >/dev/null 2>&1 || :
- /sbin/service nmb stop >/dev/null 2>&1 || :
- cp -af %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.samba3
- cp -af /var/lib/samba /var/lib/samba3
- echo "Samba is upgraded from version 3.x to 4.x and daemons are stopped."
- echo "Please check and update configurations."
- echo
- echo "The old files are copied:"
- echo " /etc/samba/smb.conf -> /etc/samba/smb.conf.samba3"
- echo " /var/lib/samba -> /var/lib/samba3"
- echo
- fi
- fi
- ## ====================================================================
- %post
- if [ $1 -eq 1 ]; then # Install
- # chkconfig
- /sbin/chkconfig --add smb
- /sbin/chkconfig --add nmb
- fi
- if [ $1 -ge 2 ]; then # Upgrade
- /sbin/service smb condrestart >/dev/null 2>&1 || :
- /sbin/service nmb condrestart >/dev/null 2>&1 || :
- fi
- exit 0
- ## --------------------------------------------------------------------
- %preun
- if [ $1 = 0 ] ; then
- /sbin/service smb stop >/dev/null 2>&1 || :
- /sbin/service nmb stop >/dev/null 2>&1 || :
- /sbin/service samba stop >/dev/null 2>&1 || :
- /sbin/chkconfig --del smb
- /sbin/chkconfig --del nmb
- /sbin/chkconfig --del samba
- # rm -rf /var/log/samba/* /var/lib/samba/*
- fi
- exit 0
- ## --------------------------------------------------------------------
- %pre winbind
- /usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || :
- ## --------------------------------------------------------------------
- %post winbind
- /sbin/chkconfig --add winbind
- if [ "$1" -ge "1" ]; then
- /sbin/service winbind condrestart >/dev/null 2>&1 || :
- fi
- ## --------------------------------------------------------------------
- %post dc
- if [ $1 -eq 1 ]; then # Install
- # modify named.conf.dlz for DLZ configuration if version 9.9.0 or later
- if [ -f /usr/sbin/named ]; then
- bind_minor_ver=$(named -v | sed -e "s|^BIND \([.0-9]*\)|\1|" | cut -d "." -f 2)
- if [ $bind_minor_ver -gt 8 ]; then
- cat %{_datadir}/samba/setup/named.conf.dlz \
- | sed -e "s|\(database.*dlz_bind9.so\)|# \1|" > %{_datadir}/samba/setup/named.conf.dlz9
- cat %{_datadir}/samba/setup/named.conf.dlz9 > %{_datadir}/samba/setup/named.conf.dlz
- rm %{_datadir}/samba/setup/named.conf.dlz9
- fi
- fi
- /sbin/chkconfig --add samba
- # rename original smb.conf for provisioning
- if [ -f /etc/samba/smb.conf ]; then
- mv -f %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.old
- fi
- fi
- setfacl -m u:named:rwx /var/lib/samba/private >/dev/null 2>/dev/null || :
- if [ -d /var/lib/samba/private/tls ]; then
- chmod 0700 /var/lib/samba/private/tls
- fi
- if [ -f /var/lib/samba/private/tls/key.pem ]; then
- chmod 0600 /var/lib/samba/private/tls/key.pem
- fi
- if [ $1 -ge 2 ]; then # Upgrade
- if [ -f /var/run/samba/samba.pid ]; then
- /sbin/service samba restart >/dev/null 2>&1 || :
- fi
- fi
- ## --------------------------------------------------------------------
- %post common
- /sbin/ldconfig
- setfacl -m u:named:rwx /var/lib/samba/private >/dev/null 2>/dev/null || :
- ## --------------------------------------------------------------------
- %preun winbind
- if [ $1 = 0 ] ; then
- /sbin/service winbind stop >/dev/null 2>&1 || :
- /sbin/chkconfig --del winbind
- fi
- exit 0
- ## --------------------------------------------------------------------
- %postun common
- /sbin/ldconfig
- ## --------------------------------------------------------------------
- %post libs
- /sbin/ldconfig
- ## --------------------------------------------------------------------
- %postun libs
- /sbin/ldconfig
- ## --------------------------------------------------------------------
- %post -n libsmbclient
- /sbin/ldconfig
- ## --------------------------------------------------------------------
- %postun -n libsmbclient
- /sbin/ldconfig
- ## --------------------------------------------------------------------
- %posttrans -n libwbclient
- # It has to be posttrans here to make sure all files of a previous version
- # without alternatives support are removed
- %{_sbindir}/update-alternatives --install %{_libdir}/libwbclient.so.%{libwbc_sover} \
- libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover} 10
- /sbin/ldconfig
- ## --------------------------------------------------------------------
- %preun -n libwbclient
- %{_sbindir}/update-alternatives --remove libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover}
- /sbin/ldconfig
- ## --------------------------------------------------------------------
- %posttrans -n libwbclient-devel
- %{_sbindir}/update-alternatives --install %{_libdir}/libwbclient.so \
- libwbclient.so%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so 10
- ## --------------------------------------------------------------------
- %preun -n libwbclient-devel
- # alternatives checks if the file which should be removed is a link or not, but
- # not if it points to the /etc/alternatives directory or to some other place.
- # When downgrading to a version where alternatives is not used and
- # libwbclient.so is a link and not a file it will be removed. The following
- # check removes the alternatives files manually if that is the case.
- if [ "`readlink %{_libdir}/libwbclient.so`" == "libwbclient.so.%{libwbc_sover}" ]; then
- /bin/rm -f /etc/alternatives/libwbclient.so%{libwbc_alternatives_suffix} /var/lib/alternatives/libwbclient.so%{libwbc_alternatives_suffix} 2> /dev/null
- else
- %{_sbindir}/update-alternatives --remove libwbclient.so%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so
- fi
- %if %build_compat32
- ## --------------------------------------------------------------------
- %post -n compat32-libsmbclient
- /sbin/ldconfig
- ## --------------------------------------------------------------------
- %postun -n compat32-libsmbclient
- /sbin/ldconfig
- ## --------------------------------------------------------------------
- %posttrans -n compat32-libwbclient
- # It has to be posttrans here to make sure all files of a previous version
- # without alternatives support are removed
- %{_sbindir}/update-alternatives --install %{_libdir}/libwbclient.so.%{libwbc_sover} \
- libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover} 10
- /sbin/ldconfig
- ## --------------------------------------------------------------------
- %preun -n compat32-libwbclient
- %{_sbindir}/update-alternatives --remove libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover}
- /sbin/ldconfig
- %endif
- %files
- %defattr(-,root,root,-)
- %doc COPYING PFIF.txt README README.Coding README.contributing Roadmap VERSION WHATSNEW.txt
- %doc docs-ja/docs-xml/output/htmldocs
- %{_bindir}/smbstatus
- %{_bindir}/eventlogadm
- %{_sbindir}/nmbd
- %{_sbindir}/smbd
- %{_libdir}/samba/auth
- %{_libdir}/samba/vfs
- %config(noreplace) %{_sysconfdir}/logrotate.d/samba
- %config(noreplace) %{_sysconfdir}/pam.d/samba
- %{_sysconfdir}/openldap/schema/samba.schema
- %attr(0700,root,root) %dir /var/log/samba
- %attr(0700,root,root) %dir /var/log/samba/old
- %attr(1777,root,root) %dir /var/spool/samba
- %{_initrddir}/nmb
- %{_initrddir}/smb
- %{_mandir}/man1/smbstatus.1*
- %{_mandir}/man7/samba.7*
- %{_mandir}/man8/eventlogadm.8*
- %{_mandir}/man8/nmbd.8*
- %{_mandir}/man8/smbd.8*
- %{_mandir}/man8/vfs_acl_tdb.8*
- %{_mandir}/man8/vfs_acl_xattr.8*
- %{_mandir}/man8/vfs_aio_fork.8*
- %{_mandir}/man8/vfs_aio_linux.8*
- %{_mandir}/man8/vfs_aio_pthread.8*
- %{_mandir}/man8/vfs_audit.8*
- %{_mandir}/man8/vfs_btrfs.8*
- %{_mandir}/man8/vfs_cacheprime.8*
- %{_mandir}/man8/vfs_cap.8*
- %{_mandir}/man8/vfs_catia.8*
- %{_mandir}/man8/vfs_ceph.8*
- %{_mandir}/man8/vfs_commit.8*
- %{_mandir}/man8/vfs_crossrename.8*
- %{_mandir}/man8/vfs_default_quota.8*
- %{_mandir}/man8/vfs_dirsort.8*
- %{_mandir}/man8/vfs_extd_audit.8*
- %{_mandir}/man8/vfs_fake_perms.8*
- %{_mandir}/man8/vfs_fileid.8*
- %{_mandir}/man8/vfs_fruit.8*
- %{_mandir}/man8/vfs_full_audit.8*
- %{_mandir}/man8/vfs_glusterfs.8*
- %{_mandir}/man8/vfs_gpfs.8*
- %{_mandir}/man8/vfs_linux_xfs_sgid.8*
- %{_mandir}/man8/vfs_media_harmony.8*
- %{_mandir}/man8/vfs_netatalk.8*
- %{_mandir}/man8/vfs_notify_fam.8*
- %{_mandir}/man8/vfs_prealloc.8*
- %{_mandir}/man8/vfs_preopen.8*
- %{_mandir}/man8/vfs_readahead.8*
- %{_mandir}/man8/vfs_readonly.8*
- %{_mandir}/man8/vfs_recycle.8*
- %{_mandir}/man8/vfs_scannedonly.8*
- %{_mandir}/man8/vfs_shadow_copy.8*
- %{_mandir}/man8/vfs_shadow_copy2.8*
- %{_mandir}/man8/vfs_smb_traffic_analyzer.8*
- %{_mandir}/man8/vfs_snapper.8*
- %{_mandir}/man8/vfs_streams_depot.8*
- %{_mandir}/man8/vfs_streams_xattr.8*
- %{_mandir}/man8/vfs_syncops.8*
- %{_mandir}/man8/vfs_time_audit.8*
- %{_mandir}/man8/vfs_tsmsm.8*
- %{_mandir}/man8/vfs_worm.8*
- %{_mandir}/man8/vfs_xattr_tdb.8*
- # ja manuals
- %{_mandir}/ja/man1/smbstatus.1*
- %{_mandir}/ja/man7/samba.7*
- %{_mandir}/ja/man8/eventlogadm.8*
- %{_mandir}/ja/man8/nmbd.8*
- %{_mandir}/ja/man8/smbd.8*
- %{_mandir}/ja/man8/vfs_acl_tdb.8*
- %{_mandir}/ja/man8/vfs_acl_xattr.8*
- %{_mandir}/ja/man8/vfs_aio_fork.8*
- %{_mandir}/ja/man8/vfs_aio_linux.8*
- %{_mandir}/ja/man8/vfs_aio_pthread.8*
- %{_mandir}/ja/man8/vfs_audit.8*
- %{_mandir}/ja/man8/vfs_btrfs.8*
- %{_mandir}/ja/man8/vfs_cacheprime.8*
- %{_mandir}/ja/man8/vfs_cap.8*
- %{_mandir}/ja/man8/vfs_catia.8*
- %{_mandir}/ja/man8/vfs_commit.8*
- %{_mandir}/ja/man8/vfs_crossrename.8*
- %{_mandir}/ja/man8/vfs_default_quota.8*
- %{_mandir}/ja/man8/vfs_dirsort.8*
- %{_mandir}/ja/man8/vfs_extd_audit.8*
- %{_mandir}/ja/man8/vfs_fake_perms.8*
- %{_mandir}/ja/man8/vfs_fileid.8*
- %{_mandir}/ja/man8/vfs_full_audit.8*
- %{_mandir}/ja/man8/vfs_gpfs.8*
- %{_mandir}/ja/man8/vfs_linux_xfs_sgid.8*
- %{_mandir}/ja/man8/vfs_media_harmony.8*
- %{_mandir}/ja/man8/vfs_netatalk.8*
- %{_mandir}/ja/man8/vfs_notify_fam.8*
- %{_mandir}/ja/man8/vfs_prealloc.8*
- %{_mandir}/ja/man8/vfs_preopen.8*
- %{_mandir}/ja/man8/vfs_readahead.8*
- %{_mandir}/ja/man8/vfs_readonly.8*
- %{_mandir}/ja/man8/vfs_recycle.8*
- %{_mandir}/ja/man8/vfs_scannedonly.8*
- %{_mandir}/ja/man8/vfs_shadow_copy.8*
- %{_mandir}/ja/man8/vfs_shadow_copy2.8*
- %{_mandir}/ja/man8/vfs_smb_traffic_analyzer.8*
- %{_mandir}/ja/man8/vfs_streams_depot.8*
- %{_mandir}/ja/man8/vfs_streams_xattr.8*
- %{_mandir}/ja/man8/vfs_syncops.8*
- %{_mandir}/ja/man8/vfs_time_audit.8*
- %{_mandir}/ja/man8/vfs_tsmsm.8*
- %{_mandir}/ja/man8/vfs_xattr_tdb.8*
- %{_mandir}/ja/man8/vfs_zfsacl.8*
- ## --------------------------------------------------------------------
- %files libs
- %defattr(-,root,root)
- %{_libdir}/libdcerpc-binding.so.*
- %{_libdir}/libdcerpc.so.*
- %{_libdir}/libgensec.so.*
- %{_libdir}/libndr-krb5pac.so.*
- %{_libdir}/libndr-nbt.so.*
- %{_libdir}/libndr-standard.so.*
- %{_libdir}/libndr.so.*
- %{_libdir}/libnetapi.so.*
- %{_libdir}/libregistry.so.*
- %{_libdir}/libsamba-credentials.so.*
- %{_libdir}/libsamba-hostconfig.so.*
- %{_libdir}/libsamba-passdb.so.*
- %{_libdir}/libsamba-util.so.*
- %{_libdir}/libsamdb.so.*
- %{_libdir}/libsmbclient-raw.so.*
- %{_libdir}/libsmbconf.so.*
- %{_libdir}/libsmbldap.so.*
- %{_libdir}/libtevent-util.so.*
- # libraries needed by the public libraries
- %dir %{_libdir}/samba
- %{_libdir}/samba/libCHARSET3-samba4.so
- %{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
- %{_libdir}/samba/libMESSAGING-samba4.so
- %{_libdir}/samba/libaddns-samba4.so
- %{_libdir}/samba/libads-samba4.so
- %{_libdir}/samba/libasn1-samba4.so.*
- %{_libdir}/samba/libasn1util-samba4.so
- %{_libdir}/samba/libauth-sam-reply-samba4.so
- %{_libdir}/samba/libauth-samba4.so
- %{_libdir}/samba/libauth-unix-token-samba4.so
- %{_libdir}/samba/libauth4-samba4.so
- %{_libdir}/samba/libauthkrb5-samba4.so
- %{_libdir}/samba/libccan-samba4.so
- %{_libdir}/samba/libcli-cldap-samba4.so
- %{_libdir}/samba/libcli-ldap-common-samba4.so
- %{_libdir}/samba/libcli-ldap-samba4.so
- %{_libdir}/samba/libcli-nbt-samba4.so
- %{_libdir}/samba/libcli-smb-common-samba4.so
- %{_libdir}/samba/libcli-spoolss-samba4.so
- %{_libdir}/samba/libcliauth-samba4.so
- %{_libdir}/samba/libcluster-samba4.so
- %{_libdir}/samba/libcmdline-credentials-samba4.so
- %{_libdir}/samba/libdb-glue-samba4.so
- %{_libdir}/samba/libdbwrap-samba4.so
- %{_libdir}/samba/libdcerpc-samba-samba4.so
- %{_libdir}/samba/libdcerpc-samba4.so
- %{_libdir}/samba/libdfs-server-ad-samba4.so
- %{_libdir}/samba/libdsdb-module-samba4.so
- %{_libdir}/samba/liberrors-samba4.so
- %{_libdir}/samba/libevents-samba4.so
- %{_libdir}/samba/libflag-mapping-samba4.so
- %{_libdir}/samba/libgpo-samba4.so
- %{_libdir}/samba/libgse-samba4.so
- %{_libdir}/samba/libgssapi-samba4.so.*
- %{_libdir}/samba/libhcrypto-samba4.so.*
- %{_libdir}/samba/libhdb-samba4.so.*
- %{_libdir}/samba/libheimbase-samba4.so.*
- %{_libdir}/samba/libhttp-samba4.so
- %{_libdir}/samba/libhx509-samba4.so.*
- %{_libdir}/samba/libinterfaces-samba4.so
- %{_libdir}/samba/libkrb5-samba4.so.*
- %{_libdir}/samba/libkrb5samba-samba4.so
- %{_libdir}/samba/libldbsamba-samba4.so
- %{_libdir}/samba/liblibcli-lsa3-samba4.so
- %{_libdir}/samba/liblibcli-netlogon3-samba4.so
- %{_libdir}/samba/liblibsmb-samba4.so
- %{_libdir}/samba/libmsrpc3-samba4.so
- %{_libdir}/samba/libnon-posix-acls-samba4.so
- %{_libdir}/samba/libndr-samba-samba4.so
- %{_libdir}/samba/libndr-samba4.so
- %{_libdir}/samba/libnet-keytab-samba4.so
- %{_libdir}/samba/libnetif-samba4.so
- %{_libdir}/samba/libnpa-tstream-samba4.so
- %{_libdir}/samba/libnss-info-samba4.so
- %{_libdir}/samba/libntdb.so.*
- %{_libdir}/samba/libntvfs-samba4.so
- %{_libdir}/samba/libposix-eadb-samba4.so
- %{_libdir}/samba/libprinting-migrate-samba4.so
- %{_libdir}/samba/libprocess-model-samba4.so
- %{_libdir}/samba/libreplace-samba4.so
- %{_libdir}/samba/libroken-samba4.so.*
- %{_libdir}/samba/libsamba-cluster-support-samba4.so
- %{_libdir}/samba/libsamba-debug-samba4.so
- %{_libdir}/samba/libsamba-modules-samba4.so
- %{_libdir}/samba/libsamba-security-samba4.so
- %{_libdir}/samba/libsamba-sockets-samba4.so
- %{_libdir}/samba/libsamba3-util-samba4.so
- %{_libdir}/samba/libsamdb-common-samba4.so
- %{_libdir}/samba/libsecrets3-samba4.so
- %{_libdir}/samba/libserver-role-samba4.so
- %{_libdir}/samba/libservice-samba4.so
- %{_libdir}/samba/libshares-samba4.so
- %{_libdir}/samba/libsmb-transport-samba4.so
- %{_libdir}/samba/libsmbd-base-samba4.so
- %{_libdir}/samba/libsmbd-conn-samba4.so
- %{_libdir}/samba/libsmbd-shim-samba4.so
- %{_libdir}/samba/libsmbldaphelper-samba4.so
- %{_libdir}/samba/libsmbpasswdparser-samba4.so
- %{_libdir}/samba/libsmbregistry-samba4.so
- %{_libdir}/samba/libsocket-blocking-samba4.so
- %{_libdir}/samba/libtdb-compat-samba4.so
- %{_libdir}/samba/libtdb-wrap-samba4.so
- %{_libdir}/samba/libtrusts-util-samba4.so
- %{_libdir}/samba/libutil-cmdline-samba4.so
- %{_libdir}/samba/libutil-ntdb-samba4.so
- %{_libdir}/samba/libutil-reg-samba4.so
- %{_libdir}/samba/libutil-setid-samba4.so
- %{_libdir}/samba/libutil-tdb-samba4.so
- %{_libdir}/samba/libwind-samba4.so.*
- %{_libdir}/samba/libxattr-tdb-samba4.so
- %if ! %with_libsmbclient
- %{_libdir}/libsmbclient.so.*
- %{_libdir}/libsmbsharemodes.so.*
- %{_mandir}/man7/libsmbclient.7.gz
- # ja manual
- %{_mandir}/ja/man7/libsmbclient.7.gz
- %endif # ! with_libsmbclient
- %if ! %with_libwbclient
- %{_libdir}/libwbclient.so.*
- %{_libdir}/samba/libwinbind-client.so
- %endif # ! with_libwbclient
- ## --------------------------------------------------------------------
- %files common
- %defattr(-,root,root)
- #%{_libdir}/samba/charset ???
- #%{_sysconfdir}/tmpfiles.d/samba.conf
- %{_bindir}/net
- %{_bindir}/pdbedit
- %{_bindir}/profiles
- %{_bindir}/smbcontrol
- %{_bindir}/testparm
- %{_datadir}/samba/codepages
- %dir /var/run/samba
- %dir /var/run/winbindd
- %dir /var/lib/samba
- %attr(700,root,root) %dir /var/lib/samba/private
- %attr(755,root,root) %dir %{_sysconfdir}/samba
- %config(noreplace) %{_sysconfdir}/samba/smb.conf
- %config(noreplace) %{_sysconfdir}/samba/lmhosts
- %config(noreplace) %{_sysconfdir}/sysconfig/samba
- %{_mandir}/man1/profiles.1.gz
- %{_mandir}/man1/smbcontrol.1.gz
- %{_mandir}/man1/testparm.1.gz
- %{_mandir}/man5/lmhosts.5.gz
- %{_mandir}/man5/smb.conf.5.gz
- %{_mandir}/man8/net.8.gz
- %{_mandir}/man8/pdbedit.8.gz
- # ja manuals
- %{_mandir}/ja/man1/profiles.1.gz
- %{_mandir}/ja/man1/smbcontrol.1.gz
- %{_mandir}/ja/man1/testparm.1.gz
- %{_mandir}/ja/man5/lmhosts.5.gz
- %{_mandir}/ja/man5/smb.conf.5.gz
- %{_mandir}/ja/man8/net.8.gz
- %{_mandir}/ja/man8/pdbedit.8.gz
- # common libraries
- %{_libdir}/samba/libpopt-samba3-samba4.so
- %{_libdir}/samba/pdb
- %if %with_pam_smbpass
- /%{_lib}/security/pam_smbpass.so
- %endif
- ## --------------------------------------------------------------------
- %files dc-libs
- %defattr(-,root,root)
- # dc
- %{_libdir}/libdcerpc-atsvc.so.*
- %{_libdir}/libdcerpc-samr.so.*
- %{_libdir}/libdcerpc-server.so.*
- %{_libdir}/libsamba-policy.so.*
- %{_libdir}/samba/libHDB-SAMBA4-samba4.so
- %{_libdir}/samba/libdnsserver-common-samba4.so
- %{_libdir}/samba/libsamba-net-samba4.so
- %{_libdir}/samba/libsamba-python-samba4.so
- %{_libdir}/samba/libservice-samba4.so
- ## --------------------------------------------------------------------
- %files dc
- %defattr(-,root,root)
- %{_bindir}/samba-tool
- %{_sbindir}/samba
- %{_sbindir}/samba_kcc
- %{_sbindir}/samba_dnsupdate
- %{_sbindir}/samba_spnupdate
- %{_sbindir}/samba_upgradedns
- %{_initrddir}/samba
- %{_libdir}/mit_samba.so
- %{_libdir}/samba/auth/samba4.so
- %{_libdir}/samba/bind9/dlz_bind9.so
- %{_libdir}/samba/bind9/dlz_bind9_9.so
- %{_libdir}/samba/bind9/dlz_bind9_10.so
- %{_libdir}/samba/gensec
- %{_libdir}/samba/libheimntlm-samba4.so.*
- %{_libdir}/samba/libkdc-samba4.so.*
- %{_libdir}/samba/libpac-samba4.so
- %{_libdir}/samba/ldb/acl.so
- %{_libdir}/samba/ldb/aclread.so
- %{_libdir}/samba/ldb/anr.so
- %{_libdir}/samba/ldb/descriptor.so
- %{_libdir}/samba/ldb/dirsync.so
- %{_libdir}/samba/ldb/extended_dn_in.so
- %{_libdir}/samba/ldb/extended_dn_out.so
- %{_libdir}/samba/ldb/extended_dn_store.so
- %{_libdir}/samba/ldb/ildap.so
- %{_libdir}/samba/ldb/instancetype.so
- %{_libdir}/samba/ldb/lazy_commit.so
- %{_libdir}/samba/ldb/ldbsamba_extensions.so
- %{_libdir}/samba/ldb/linked_attributes.so
- %{_libdir}/samba/ldb/local_password.so
- %{_libdir}/samba/ldb/new_partition.so
- %{_libdir}/samba/ldb/objectclass.so
- %{_libdir}/samba/ldb/objectclass_attrs.so
- %{_libdir}/samba/ldb/objectguid.so
- %{_libdir}/samba/ldb/operational.so
- %{_libdir}/samba/ldb/partition.so
- %{_libdir}/samba/ldb/password_hash.so
- %{_libdir}/samba/ldb/ranged_results.so
- %{_libdir}/samba/ldb/repl_meta_data.so
- %{_libdir}/samba/ldb/resolve_oids.so
- %{_libdir}/samba/ldb/rootdse.so
- %{_libdir}/samba/ldb/samba3sam.so
- %{_libdir}/samba/ldb/samba3sid.so
- %{_libdir}/samba/ldb/samba_dsdb.so
- %{_libdir}/samba/ldb/samba_secrets.so
- %{_libdir}/samba/ldb/samldb.so
- %{_libdir}/samba/ldb/schema_data.so
- %{_libdir}/samba/ldb/schema_load.so
- %{_libdir}/samba/ldb/secrets_tdb_sync.so
- %{_libdir}/samba/ldb/show_deleted.so
- %{_libdir}/samba/ldb/simple_dn.so
- %{_libdir}/samba/ldb/simple_ldap_map.so
- %{_libdir}/samba/ldb/subtree_delete.so
- %{_libdir}/samba/ldb/subtree_rename.so
- %{_libdir}/samba/ldb/update_keytab.so
- %{_libdir}/samba/ldb/wins_ldb.so
- %{_libdir}/samba/process_model
- %{_libdir}/samba/service
- %dir /var/lib/samba/sysvol
- %{_datadir}/samba/setup
- %{_mandir}/man8/samba.8*
- %{_mandir}/man8/samba-tool.8*
- # ja manuals
- %{_mandir}/ja/man8/samba.8*
- %{_mandir}/ja/man8/samba-tool.8*
- ## --------------------------------------------------------------------
- %files winbind
- %defattr(-,root,root)
- #%{_bindir}/wbinfo3
- %{_libdir}/samba/idmap
- %{_libdir}/samba/nss_info
- %{_libdir}/samba/libnss-info-samba4.so
- %{_libdir}/samba/libidmap-samba4.so
- %{_sbindir}/winbindd
- %attr(750,root,wbpriv) %dir /var/lib/samba/winbindd_privileged
- %config(noreplace) %{_sysconfdir}/security/pam_winbind.conf
- %{_mandir}/man5/pam_winbind.conf.5*
- %{_mandir}/man8/winbindd.8*
- %{_mandir}/man8/idmap_*.8*
- #%{_datadir}/locale/*/LC_MESSAGES/pam_winbind.mo
- %{_initrddir}/winbind
- # ja manuals
- %{_mandir}/ja/man5/pam_winbind.conf.5*
- %{_mandir}/ja/man8/winbindd.8*
- %{_mandir}/ja/man8/idmap_*.8*
- ## --------------------------------------------------------------------
- %files winbind-krb5-locator
- %defattr(-,root,root)
- %ghost %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
- %{_libdir}/winbind_krb5_locator.so
- %{_mandir}/man7/winbind_krb5_locator.7*
- # ja manual
- %{_mandir}/ja/man7/winbind_krb5_locator.7*
- ## --------------------------------------------------------------------
- %files winbind-clients
- %defattr(-,root,root)
- %{_bindir}/ntlm_auth
- #%{_bindir}/ntlm_auth3
- %{_bindir}/wbinfo
- %{_libdir}/libnss_winbind.so*
- %{_libdir}/libnss_wins.so*
- #/%{smb_lib}/libnss_winbind.so.2
- #/%{smb_lib}/libnss_wins.so.2
- /%{_lib}/security/pam_winbind.so
- %{_mandir}/man1/ntlm_auth.1.gz
- %{_mandir}/man1/wbinfo.1.gz
- %{_mandir}/man8/pam_winbind.8.gz
- # ja manuals
- %{_mandir}/ja/man1/ntlm_auth.1.gz
- %{_mandir}/ja/man1/wbinfo.1.gz
- %{_mandir}/ja/man8/pam_winbind.8.gz
- ## --------------------------------------------------------------------
- %files client
- %defattr(-,root,root)
- %{_bindir}/cifsdd
- %{_bindir}/dbwrap_tool
- #%{_bindir}/debug2html
- #%{_bindir}/log2pcap
- %{_bindir}/nmblookup
- %{_bindir}/oLschema2ldif
- %{_bindir}/regdiff
- %{_bindir}/regpatch
- %{_bindir}/regshell
- %{_bindir}/regtree
- %{_bindir}/rpcclient
- %{_bindir}/samba-regedit
- %{_bindir}/sharesec
- %{_bindir}/smbcacls
- %{_bindir}/smbclient
- %{_bindir}/smbcquotas
- #%{_bindir}/smbfilter
- %{_bindir}/smbget
- #%{_bindir}/findsmg
- #%{_bindir}/smbtar
- #%{_bindir}/smbiconv
- %{_bindir}/smbpasswd
- %{_bindir}/smbprint
- %{_bindir}/smbspool
- %{_bindir}/smbta-util
- %{_bindir}/smbtar
- %{_bindir}/smbtree
- #%{_bindir}/split_tokens
- #%exclude %{_libdir}/samba/libldb-cmdline.so
- %{_mandir}/man1/dbwrap_tool.1.gz
- %{_mandir}/man1/findsmb.1.gz
- %{_mandir}/man1/log2pcap.1.gz
- %{_mandir}/man1/nmblookup.1.gz
- %{_mandir}/man1/oLschema2ldif.1.gz
- %{_mandir}/man1/regdiff.1.gz
- %{_mandir}/man1/regpatch.1.gz
- %{_mandir}/man1/regshell.1.gz
- %{_mandir}/man1/regtree.1.gz
- %{_mandir}/man1/rpcclient.1.gz
- %{_mandir}/man1/sharesec.1.gz
- %{_mandir}/man1/smbcacls.1.gz
- %{_mandir}/man1/smbclient.1.gz
- %{_mandir}/man1/smbcquotas.1.gz
- %{_mandir}/man1/smbget.1.gz
- %{_mandir}/man1/smbtar.1.gz
- %{_mandir}/man1/smbtree.1.gz
- %{_mandir}/man5/smbgetrc.5.gz
- %{_mandir}/man5/smbpasswd.5.gz
- %{_mandir}/man8/samba-regedit.8.gz
- %{_mandir}/man8/smbpasswd.8.gz
- %{_mandir}/man8/smbspool.8.gz
- %{_mandir}/man8/smbta-util.8.gz
- #ja manuals
- %{_mandir}/ja/man1/dbwrap_tool.1.gz
- %{_mandir}/ja/man1/findsmb.1.gz
- %{_mandir}/ja/man1/log2pcap.1.gz
- %{_mandir}/ja/man1/nmblookup.1.gz
- %{_mandir}/ja/man1/rpcclient.1.gz
- %{_mandir}/ja/man1/sharesec.1.gz
- %{_mandir}/ja/man1/smbcacls.1.gz
- %{_mandir}/ja/man1/smbclient.1.gz
- %{_mandir}/ja/man1/smbcquotas.1.gz
- %{_mandir}/ja/man1/smbget.1.gz
- %{_mandir}/ja/man1/smbtar.1.gz
- %{_mandir}/ja/man1/smbtree.1.gz
- %{_mandir}/ja/man5/smbgetrc.5.gz
- %{_mandir}/ja/man5/smbpasswd.5.gz
- %{_mandir}/ja/man8/samba-regedit.8.gz
- %{_mandir}/ja/man8/smbpasswd.8.gz
- %{_mandir}/ja/man8/smbspool.8.gz
- %{_mandir}/ja/man8/smbta-util.8.gz
- %if %{with_internal_ntdb}
- %{_bindir}/ntdbbackup
- %{_bindir}/ntdbdump
- %{_bindir}/ntdbrestore
- %{_bindir}/ntdbtool
- %{_mandir}/man3/ntdb.3.gz
- %{_mandir}/man8/ntdbbackup.8.gz
- %{_mandir}/man8/ntdbdump.8.gz
- %{_mandir}/man8/ntdbrestore.8.gz
- %{_mandir}/man8/ntdbtool.8.gz
- %%endif
- ## --------------------------------------------------------------------
- %files test
- %defattr(-,root,root)
- %{_bindir}/gentest
- %{_bindir}/locktest
- %{_bindir}/masktest
- %{_bindir}/ndrdump
- %{_bindir}/smbtorture
- %{_mandir}/man1/gentest.1*
- %{_mandir}/man1/locktest.1*
- %{_mandir}/man1/masktest.1*
- %{_mandir}/man1/ndrdump.1*
- %{_mandir}/man1/smbtorture.1*
- %{_mandir}/man1/vfstest.1*
- %{_libdir}/libtorture.so.*
- %{_libdir}/samba/libsubunit-samba4.so
- %{_libdir}/samba/libdlz-bind9-for-torture-samba4.so
- %{_includedir}/samba-4.0/torture.h
- %{_libdir}/libtorture.so
- %{_libdir}/pkgconfig/torture.pc
- # ja manual
- %{_mandir}/ja/man1/vfstest.1*
- ## --------------------------------------------------------------------
- %files devel
- %defattr(-,root,root)
- %{_includedir}/samba-4.0/charset.h
- %{_includedir}/samba-4.0/core/doserr.h
- %{_includedir}/samba-4.0/core/error.h
- %{_includedir}/samba-4.0/core/hresult.h
- %{_includedir}/samba-4.0/core/ntstatus.h
- %{_includedir}/samba-4.0/core/werror.h
- %{_includedir}/samba-4.0/credentials.h
- %{_includedir}/samba-4.0/dcerpc.h
- %{_includedir}/samba-4.0/dlinklist.h
- %{_includedir}/samba-4.0/domain_credentials.h
- %{_includedir}/samba-4.0/gen_ndr/atsvc.h
- %{_includedir}/samba-4.0/gen_ndr/auth.h
- %{_includedir}/samba-4.0/gen_ndr/dcerpc.h
- %{_includedir}/samba-4.0/gen_ndr/epmapper.h
- %{_includedir}/samba-4.0/gen_ndr/krb5pac.h
- %{_includedir}/samba-4.0/gen_ndr/lsa.h
- %{_includedir}/samba-4.0/gen_ndr/mgmt.h
- %{_includedir}/samba-4.0/gen_ndr/misc.h
- %{_includedir}/samba-4.0/gen_ndr/nbt.h
- %{_includedir}/samba-4.0/gen_ndr/drsblobs.h
- %{_includedir}/samba-4.0/gen_ndr/drsuapi.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc_c.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper_c.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt_c.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h
- %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h
- %{_includedir}/samba-4.0/gen_ndr/netlogon.h
- %{_includedir}/samba-4.0/gen_ndr/samr.h
- %{_includedir}/samba-4.0/gen_ndr/security.h
- %{_includedir}/samba-4.0/gen_ndr/server_id.h
- %{_includedir}/samba-4.0/gen_ndr/svcctl.h
- %{_includedir}/samba-4.0/gensec.h
- %{_includedir}/samba-4.0/ldap-util.h
- %{_includedir}/samba-4.0/ldap_errors.h
- %{_includedir}/samba-4.0/ldap_message.h
- %{_includedir}/samba-4.0/ldap_ndr.h
- %{_includedir}/samba-4.0/ldb_wrap.h
- %{_includedir}/samba-4.0/lookup_sid.h
- %{_includedir}/samba-4.0/machine_sid.h
- %{_includedir}/samba-4.0/ndr.h
- %dir %{_includedir}/samba-4.0/ndr
- %{_includedir}/samba-4.0/ndr/ndr_dcerpc.h
- %{_includedir}/samba-4.0/ndr/ndr_drsblobs.h
- %{_includedir}/samba-4.0/ndr/ndr_drsuapi.h
- %{_includedir}/samba-4.0/ndr/ndr_svcctl.h
- %{_includedir}/samba-4.0/ndr/ndr_nbt.h
- %{_includedir}/samba-4.0/netapi.h
- %{_includedir}/samba-4.0/param.h
- %{_includedir}/samba-4.0/passdb.h
- %{_includedir}/samba-4.0/policy.h
- %{_includedir}/samba-4.0/read_smb.h
- %{_includedir}/samba-4.0/registry.h
- %{_includedir}/samba-4.0/roles.h
- %{_includedir}/samba-4.0/rpc_common.h
- %{_includedir}/samba-4.0/samba/session.h
- %{_includedir}/samba-4.0/samba/version.h
- %{_includedir}/samba-4.0/share.h
- %{_includedir}/samba-4.0/smb2.h
- %{_includedir}/samba-4.0/smb2_constants.h
- %{_includedir}/samba-4.0/smb2_create_blob.h
- %{_includedir}/samba-4.0/smb2_lease.h
- %{_includedir}/samba-4.0/smb2_lease_struct.h
- %{_includedir}/samba-4.0/smb2_signing.h
- %{_includedir}/samba-4.0/smb_cli.h
- %{_includedir}/samba-4.0/smb_cliraw.h
- %{_includedir}/samba-4.0/smb_common.h
- %{_includedir}/samba-4.0/smb_composite.h
- %{_includedir}/samba-4.0/smbconf.h
- %{_includedir}/samba-4.0/smb_constants.h
- %{_includedir}/samba-4.0/smb_ldap.h
- %{_includedir}/samba-4.0/smbldap.h
- %{_includedir}/samba-4.0/smb_raw.h
- %{_includedir}/samba-4.0/smb_raw_interfaces.h
- %{_includedir}/samba-4.0/smb_raw_signing.h
- %{_includedir}/samba-4.0/smb_raw_trans2.h
- %{_includedir}/samba-4.0/smb_request.h
- %{_includedir}/samba-4.0/smb_seal.h
- %{_includedir}/samba-4.0/smb_signing.h
- %{_includedir}/samba-4.0/smb_unix_ext.h
- %{_includedir}/samba-4.0/smb_util.h
- %{_includedir}/samba-4.0/tdr.h
- %{_includedir}/samba-4.0/tsocket.h
- %{_includedir}/samba-4.0/tsocket_internal.h
- %{_includedir}/samba-4.0/tstream_smbXcli_np.h
- %{_includedir}/samba-4.0/samba_util.h
- %dir %{_includedir}/samba-4.0/util
- %{_includedir}/samba-4.0/util/attr.h
- %{_includedir}/samba-4.0/util/blocking.h
- %{_includedir}/samba-4.0/util/byteorder.h
- %{_includedir}/samba-4.0/util/data_blob.h
- %{_includedir}/samba-4.0/util/debug.h
- %{_includedir}/samba-4.0/util/fault.h
- %{_includedir}/samba-4.0/util/idtree.h
- %{_includedir}/samba-4.0/util/idtree_random.h
- %{_includedir}/samba-4.0/util/memory.h
- %{_includedir}/samba-4.0/util/safe_string.h
- %{_includedir}/samba-4.0/util/signal.h
- %{_includedir}/samba-4.0/util/string_wrappers.h
- %{_includedir}/samba-4.0/util/substitute.h
- %{_includedir}/samba-4.0/util/talloc_stack.h
- %{_includedir}/samba-4.0/util/tevent_ntstatus.h
- %{_includedir}/samba-4.0/util/tevent_unix.h
- %{_includedir}/samba-4.0/util/tevent_werror.h
- %{_includedir}/samba-4.0/util/time.h
- %{_includedir}/samba-4.0/util/xfile.h
- %{_includedir}/samba-4.0/util_ldb.h
- %{_libdir}/libdcerpc-atsvc.so
- %{_libdir}/libdcerpc-binding.so
- %{_libdir}/libdcerpc-samr.so
- %{_libdir}/libdcerpc.so
- %{_libdir}/libgensec.so
- %{_libdir}/libndr-krb5pac.so
- %{_libdir}/libndr-nbt.so
- %{_libdir}/libndr-standard.so
- %{_libdir}/libndr.so
- %{_libdir}/libnetapi.so
- %{_libdir}/libregistry.so
- %{_libdir}/libsamba-credentials.so
- %{_libdir}/libsamba-hostconfig.so
- %{_libdir}/libsamba-passdb.so
- %{_libdir}/libsamba-policy.so
- %{_libdir}/libsamba-util.so
- %{_libdir}/libsamdb.so
- %{_libdir}/libsmbclient-raw.so
- %{_libdir}/libsmbconf.so
- %{_libdir}/libsmbldap.so
- %{_libdir}/libtevent-util.so
- %{_libdir}/libtorture.so
- %{_libdir}/pkgconfig/dcerpc.pc
- %{_libdir}/pkgconfig/dcerpc_atsvc.pc
- %{_libdir}/pkgconfig/dcerpc_samr.pc
- %{_libdir}/pkgconfig/gensec.pc
- %{_libdir}/pkgconfig/ndr.pc
- %{_libdir}/pkgconfig/ndr_krb5pac.pc
- %{_libdir}/pkgconfig/ndr_nbt.pc
- %{_libdir}/pkgconfig/ndr_standard.pc
- %{_libdir}/pkgconfig/netapi.pc
- %{_libdir}/pkgconfig/registry.pc
- %{_libdir}/pkgconfig/samba-credentials.pc
- %{_libdir}/pkgconfig/samba-hostconfig.pc
- %{_libdir}/pkgconfig/samba-policy.pc
- %{_libdir}/pkgconfig/samba-util.pc
- %{_libdir}/pkgconfig/samdb.pc
- %{_libdir}/pkgconfig/smbclient-raw.pc
- %{_includedir}/samba-4.0/dcerpc_server.h
- %{_libdir}/libdcerpc-server.so
- %{_libdir}/pkgconfig/dcerpc_server.pc
- ## --------------------------------------------------------------------
- %files python
- %defattr(-,root,root,-)
- %{python_sitearch}/*
- #%exclude %{python_sitearch}/_ldb.so
- #%exclude %{python_sitearch}/_tevent.so
- ## --------------------------------------------------------------------
- %files pidl
- %defattr(-,root,root,-)
- %{perl_vendorlib}/Parse/*
- %{_mandir}/man1/pidl.1.gz
- %{_mandir}/man3/Parse::Pidl::Wireshark::NDR.3pm.gz
- %{_mandir}/man3/Parse::Pidl::Wireshark::Conformance.3pm.gz
- %{_mandir}/man3/Parse::Pidl::Dump.3pm.gz
- %{_mandir}/man3/Parse::Pidl::NDR.3pm.gz
- %{_mandir}/man3/Parse::Pidl::Util.3pm.gz
- %attr(755,root,root) %{_bindir}/pidl
- ## --------------------------------------------------------------------
- %if %with_libsmbclient
- %files -n libsmbclient
- %defattr(-,root,root)
- %{_libdir}/libsmbclient.so.*
- %{_mandir}/man7/libsmbclient.7*
- # ja manual
- %{_mandir}/ja/man7/libsmbclient.7*
- ## --------------------------------------------------------------------
- %files -n libsmbclient-devel
- %defattr(-,root,root)
- %{_includedir}/samba-4.0/libsmbclient.h
- %{_libdir}/libsmbclient.so
- %{_libdir}/pkgconfig/smbclient.pc
- #%{_mandir}/man7/libsmbclient.7*
- %endif # with_libsmbclient
- ## --------------------------------------------------------------------
- %if %with_libwbclient
- %files -n libwbclient
- %defattr(-,root,root)
- %{_libdir}/samba/libwinbind-client-samba4.so
- %{_libdir}/samba/wbclient/libwbclient.so.*
- ## --------------------------------------------------------------------
- %files -n libwbclient-devel
- %defattr(-,root,root)
- %{_includedir}/samba-4.0/wbclient.h
- %{_libdir}/samba/wbclient/libwbclient.so
- %{_libdir}/pkgconfig/wbclient.pc
- %endif # with_libwbclient
- %if %build_compat32
- ## --------------------------------------------------------------------
- %files -n compat32-samba-libs
- %defattr(-,root,root)
- %{_libdir}/libdcerpc-binding.so.*
- %{_libdir}/libdcerpc.so.*
- %{_libdir}/libgensec.so.*
- %{_libdir}/libndr-krb5pac.so.*
- %{_libdir}/libndr-nbt.so.*
- %{_libdir}/libndr-standard.so.*
- %{_libdir}/libndr.so.*
- %{_libdir}/libnetapi.so.*
- %{_libdir}/libregistry.so.*
- %{_libdir}/libsamba-credentials.so.*
- %{_libdir}/libsamba-hostconfig.so.*
- %{_libdir}/libsamba-passdb.so.*
- %{_libdir}/libsamba-util.so.*
- %{_libdir}/libsamdb.so.*
- %{_libdir}/libsmbclient-raw.so.*
- %{_libdir}/libsmbconf.so.*
- %{_libdir}/libsmbldap.so.*
- %{_libdir}/libtevent-util.so.*
- # libraries needed by the public libraries
- %dir %{_libdir}/samba
- %{_libdir}/samba/libCHARSET3-samba4.so
- %{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
- %{_libdir}/samba/libMESSAGING-samba4.so
- %{_libdir}/samba/libaddns-samba4.so
- %{_libdir}/samba/libads-samba4.so
- %{_libdir}/samba/libasn1-samba4.so.*
- %{_libdir}/samba/libasn1util-samba4.so
- %{_libdir}/samba/libauth-sam-reply-samba4.so
- %{_libdir}/samba/libauth-samba4.so
- %{_libdir}/samba/libauth-unix-token-samba4.so
- %{_libdir}/samba/libauth4-samba4.so
- %{_libdir}/samba/libauthkrb5-samba4.so
- %{_libdir}/samba/libccan-samba4.so
- %{_libdir}/samba/libcli-cldap-samba4.so
- %{_libdir}/samba/libcli-ldap-common-samba4.so
- %{_libdir}/samba/libcli-ldap-samba4.so
- %{_libdir}/samba/libcli-nbt-samba4.so
- %{_libdir}/samba/libcli-smb-common-samba4.so
- %{_libdir}/samba/libcli-spoolss-samba4.so
- %{_libdir}/samba/libcliauth-samba4.so
- %{_libdir}/samba/libcluster-samba4.so
- %{_libdir}/samba/libcmdline-credentials-samba4.so
- %{_libdir}/samba/libdb-glue-samba4.so
- %{_libdir}/samba/libdbwrap-samba4.so
- %{_libdir}/samba/libdcerpc-samba-samba4.so
- %{_libdir}/samba/libdcerpc-samba4.so
- %{_libdir}/samba/libdfs-server-ad-samba4.so
- %{_libdir}/samba/libdsdb-module-samba4.so
- %{_libdir}/samba/liberrors-samba4.so
- %{_libdir}/samba/libevents-samba4.so
- %{_libdir}/samba/libflag-mapping-samba4.so
- %{_libdir}/samba/libgpo-samba4.so
- %{_libdir}/samba/libgse-samba4.so
- %{_libdir}/samba/libgssapi-samba4.so.*
- %{_libdir}/samba/libhcrypto-samba4.so.*
- %{_libdir}/samba/libhdb-samba4.so.*
- %{_libdir}/samba/libheimbase-samba4.so.*
- %{_libdir}/samba/libhttp-samba4.so
- %{_libdir}/samba/libhx509-samba4.so.*
- %{_libdir}/samba/libinterfaces-samba4.so
- %{_libdir}/samba/libkrb5-samba4.so.*
- %{_libdir}/samba/libkrb5samba-samba4.so
- %{_libdir}/samba/libldbsamba-samba4.so
- %{_libdir}/samba/liblibcli-lsa3-samba4.so
- %{_libdir}/samba/liblibcli-netlogon3-samba4.so
- %{_libdir}/samba/liblibsmb-samba4.so
- %{_libdir}/samba/libmsrpc3-samba4.so
- %{_libdir}/samba/libnon-posix-acls-samba4.so
- %{_libdir}/samba/libndr-samba-samba4.so
- %{_libdir}/samba/libndr-samba4.so
- %{_libdir}/samba/libnet-keytab-samba4.so
- %{_libdir}/samba/libnetif-samba4.so
- %{_libdir}/samba/libnpa-tstream-samba4.so
- %{_libdir}/samba/libnss-info-samba4.so
- %{_libdir}/samba/libntdb.so.*
- %{_libdir}/samba/libntvfs-samba4.so
- %{_libdir}/samba/libpopt-samba3-samba4.so
- %{_libdir}/samba/libposix-eadb-samba4.so
- %{_libdir}/samba/libprinting-migrate-samba4.so
- %{_libdir}/samba/libprocess-model-samba4.so
- %{_libdir}/samba/libreplace-samba4.so
- %{_libdir}/samba/libroken-samba4.so.*
- %{_libdir}/samba/libsamba-cluster-support-samba4.so
- %{_libdir}/samba/libsamba-debug-samba4.so
- %{_libdir}/samba/libsamba-modules-samba4.so
- %{_libdir}/samba/libsamba-security-samba4.so
- %{_libdir}/samba/libsamba-sockets-samba4.so
- %{_libdir}/samba/libsamba3-util-samba4.so
- %{_libdir}/samba/libsamdb-common-samba4.so
- %{_libdir}/samba/libsecrets3-samba4.so
- %{_libdir}/samba/libserver-role-samba4.so
- %{_libdir}/samba/libservice-samba4.so
- %{_libdir}/samba/libshares-samba4.so
- %{_libdir}/samba/libsmb-transport-samba4.so
- %{_libdir}/samba/libsmbd-base-samba4.so
- %{_libdir}/samba/libsmbd-conn-samba4.so
- %{_libdir}/samba/libsmbd-shim-samba4.so
- %{_libdir}/samba/libsmbldaphelper-samba4.so
- %{_libdir}/samba/libsmbpasswdparser-samba4.so
- %{_libdir}/samba/libsmbregistry-samba4.so
- %{_libdir}/samba/libsocket-blocking-samba4.so
- %{_libdir}/samba/libtdb-compat-samba4.so
- %{_libdir}/samba/libtdb-wrap-samba4.so
- %{_libdir}/samba/libtrusts-util-samba4.so
- %{_libdir}/samba/libutil-cmdline-samba4.so
- %{_libdir}/samba/libutil-ntdb-samba4.so
- %{_libdir}/samba/libutil-reg-samba4.so
- %{_libdir}/samba/libutil-setid-samba4.so
- %{_libdir}/samba/libutil-tdb-samba4.so
- %{_libdir}/samba/libwind-samba4.so.*
- %{_libdir}/samba/libxattr-tdb-samba4.so
- ## --------------------------------------------------------------------
- %files -n compat32-libwbclient
- %defattr(755,root,root)
- %{_libdir}/samba/libwinbind-client-samba4.so
- %{_libdir}/samba/wbclient/libwbclient.so.*
- ## --------------------------------------------------------------------
- %files -n compat32-libsmbclient
- %defattr(755,root,root)
- %{_libdir}/libsmbclient.so.*
- %endif
- %changelog
- * Fri Apr 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.1-1
- - new upstream release.
- * Thu Apr 16 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.0-2
- - added subpackage compat32-samba-libs and samba-dc-libs.
- - fixed %%files.
- * Sat Mar 7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.0-1
- - new upstream release.
- * Tue Feb 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.17-1
- - new upstream release.
- * Sun Jan 25 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.16-1
- - new upstream release.
- * Mon Jan 12 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.15-1
- - new upstream release.
- * Wed Dec 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.14-1
- - new upstream release.
- - re-enabled samba-ja-docs.
- * Tue Dec 2 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.1.11-3
- - fixed Group typo involved by previous release
- * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.1.11-2
- - moved common, libs, python, liibsmbclient and libwbclient packages to System Environment/Libraries Group
- * Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.11-1
- - new upstream release.
- * Wed Mar 12 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.6-1
- - new upstream release.
- - removed samba-ja-docs (docs-ja for 4.1.x has not released yet).
- * Mon Dec 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.3-1
- - new upstream release.
- * Thu Nov 28 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.2-1
- - new upstream release.
- - removed a sub package "samba-swat" (removed in upstream).
- - %%post was made to fix the permission of TLS key (CVE-2013-4476).
- * Wed Oct 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.10-1
- - new upstream release.
- * Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.9-1
- - new upstream release.
- * Tue Mar 26 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.4-1
- - new upstream release.
- - fixed dependency.
- - added documents from samba-docs-ja-4.0.0-1.
- * Mon Mar 04 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-2
- - fixed directory to place private data.
- * Sun Mar 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-1
- - new upstream release.
- - fixed dates of %%changelog.
- * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.0-1
- - new upstream release.
- * Wed May 02 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.15-1
- - new upstream release. (to fix CVE-2012-2111)
- - added charset options to smb.conf.
- * Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.14-1
- - new upstream release. (to fix CVE-2012-1182)
- * Tue Aug 09 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.11-1
- - new upstream release. (to fix BTS:1189)
- * Sat Jul 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.10-1
- - new upstream release. (to fix CVE-2011-2522 and CVE-2011-2694)
- * Mon Jul 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-3
- - updated Source6.
- * Fri Mar 25 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-2
- - fix smb.conf(5).
- * Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-1
- - new upstream release.
- - updated patches.
- - added subpackages 'winbind-krb5-locator' and 'winbind-client'.
- - dropped tdb and talloc subpackages became independent packages.
- - dropped {,u}mount.cifs were included in cifs-utils.
- * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.3.10-13
- - rebuilt with rpm-4.8.1 for pkg-config
- - changed spec file name as vine style
- - dropt script lines in %%build that no work
- * Sun Feb 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.3.10-12
- - add patch1000 for fix CVE-2010-0547 (cifs.mount)
- * Sat Jan 30 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-11
- - new upstream release.
- * Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-10
- - added 'Packager' tag.
- * Sun Oct 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-9
- - new upstream release.
- - added '--disable-fam' option.
- - added 'compat32-*' subpackages.
- - added 'libuuid-devel' to 'BuildRequires:'.
- * Thu Jul 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.7-7
- - new upstream release.
- * Thu Jun 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.6-6
- - new upstream release.
- * Thu Jun 4 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-5
- - increased release number for libtalloc/libtdb.
- * Tue Jun 2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-2
- - fixed dependency.
- - fixed modulepath.
- * Fri May 29 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-1
- - new upstream release.
- * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 3.2.5-4
- - rebuilt with openldap-2.4.11
- * Sat Jan 17 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 3.2.5-3
- - samba-doc: changed Group to Applications/Documentation
- - samba-winbind-devel: changed Group to Development/Libraries
- - libsmbclient: changed Group to System Environment/Libraries
- - libsmbclient-devel: changed Group to Development/Libraries
- - libtalloc: changed Group to System Environment/Libraries
- - libtalloc-devel: changed Group to Development/Libraries
- - libtdb: fixed summary
- changed Group to System Environment/Libraries
- - libtdb-devel: changed Group to Development/Libraries
- * Thu Dec 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-2
- - new upstream release
- * Sat Nov 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-1
- - new upstream release
- - drop jp patch
- - use UTF-8 as default charset
- - rename samba-libsmbclient to libsmbclient
- * Fri Apr 11 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 3.0.28a-1
- - new upstream release.
- - remove gamin-devel from BuildRequires: (no longer needed).
- * Sat Sep 15 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.0.24-0vl4
- - BuildRequires: gamin-devel (see [wishes:0127])
- * Wed May 16 2007 KAZUKI SHIMURA <ksh753@gmail.com> 3.0.24-0vl3
- - [SECURITY FIX] add security patches (#50-52)
- - CVE-2007-2444: local SID/Name translation bug (user privilege elevation)
- - CVE-2007-2446: multiple heap overflows allow remote code execution
- - CVE-2007-2447: remote command injection vulnerability
- * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl2
- - apply upstream patches (#0-5)
- - fix an issues with servers set to "security = share" and Vista clients
- that send NTLMv2 responses
- - fixe several point-n-print bugs with Vista clients
- - fix failure when using the Vista backup utility
- - fix expansion of the %a smb.conf variable for Vista clients
- - fix MS-DFS referrals with Windows Vista clients
- - fix for Vista failing to delete directories on a Samba share
- - display service start/stop messages ([VineSeed:13299])
- * Wed Feb 14 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl1
- - [SECURITY FIX] new upstream release
- - CVE-2007-0452: potential denial of service bug in smbd
- - CVE-2007-0453: buffer overrun in NSS host lookup winbind library on Solaris
- - CVE-2007-0454: format string bug in afsacl.so vfs plugin
- * Thu Dec 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23d-0vl1
- - new upstream release
- * Sat Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl3
- - disable swat (via inetd) by default
- - fix code for editing %%{_sysconfdir}/inetd.conf
- * Sun Sep 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl2
- - fix dependencies:
- - move PreReq: mktemp, psmisc, fileutils, sed, gawk, grep to -swat
- - drop PreReq: gawk from -client
- - drop PreReq: inetd from -swat
- - drop Requires: tcp_wrappers from -swat (is needed by inetd)
- - fix %%post etc...
- - drop code for editing /etc/services: no more needed
- - move code for editing %%{_sysconfdir}/{hosts.*,inetd.conf}
- from %%triggerin swat -- inetd to %%post swat
- - check if %%{_sysconfdir}/inetd.conf exist before updating at %%postun
- * Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl1
- - new upstream release
- * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.0.23b-0vl2
- - rebuilt with openldap-2.3.27-0vl1
- * Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23b-0vl1
- - new upstream release
- * Fri Jul 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23a-0vl1
- - new upstream release
- * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23-0vl1
- - [SECURITY] new upstream release
- - Memory exhaustion DoS against smbd (CVE-2006-3403)
- - update patches
- - buildroot.patch (#100)
- - logfiles.patch (#103)
- - smb.conf.patch (#106)
- - update filter-requires-samba.sh (source999)
- - get rid of bogus dependency on perl(Unicode::MapUTF8)
- * Fri Jun 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.22-0vl1
- - new upstream release
- - renumber patches
- - 000- for upstream patches
- - 050- for security patches
- - 100- for generic patches
- - update logfiles.patch (#103)
- - drop warning.patch (#104)
- - not apply hex.patch (#105)
- - add smb.conf.patch (#106)
- - drop samba.log (source1), smb.conf (source2)
- - use samba.pamd.stack instead of samba.pamd
- - define macro: pkgingdir
- - add files:
- - samba-client
- - %%{_bindir}/{smbget,eventlogadm}
- - samba-common:
- - %%{_bindir}/tdbtool
- - separate development files to samba-libsmbclient-devel
- - change groups
- * Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl5
- - remove unneeded dependencies
- - update filter-requires-samba.sh (source999)
- - overwrite __find_requires instead of __perl_requires
- * Tue Mar 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl4
- - rebuild with readline-5.1
- * Sat Aug 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl3
- - separate doc package with %%docpkg
- - use %%htmlview instead of %%browser
- * Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl2
- - add %%config(noreplace) against %%{_sysconfdir}/xinetd.d/swat
- * Fri Jul 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl1
- - new upstream release
- - install %%{_sysconfdir}/xinetd.d/swat
- - update filter-requires-samba.sh
- - add swat.desktop.in instead of swat.desktop
- - switch browser by %%browser
- - drop i18n patches
- - update logfiles.patch (#3)
- - add warning.patch (#4)
- * Sun Jul 10 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl2
- - fix samba.log
- - thanks, K. Moriyama [VinePlus:02606]
- - remove docs/manpages from %%doc
- * Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl1
- - new upstream release
- - update struplower_m_i18n.patch (#102)
- - drop obsolete patch (#10)
- * Fri Dec 17 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl2
- - [SECURITY FIX] fix possible remote code execution (CAN-2004-1154)
- - add samba-3.0.9-CAN-2004-1154.patch (#10)
- - update patch (#102)
- * Fri Nov 26 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl1
- - new upstream release
- - drop obsolete patches (#10,11,110)
- - update patches (#3,102)
- * Sun Nov 21 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl6
- - [SECURITY FIX] fix smbd buffer overrun (CAN-2004-0882)
- - add samba-3.0.7-CAN-2004-0882.patch (patch11)
- - update Source URL
- * Tue Nov 09 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl5
- - [SECURITY FIX] fix smbd remote DoS vulnerability (CAN-2004-0930)
- - add samba-3.0.7-CAN-2004-0930.patch (patch10)
- * Fri Oct 15 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl4
- - update samba.log, {smb,winbind}.init
- - use *.log as logfile name instead of log.* (patch3)
- * Wed Oct 06 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl3
- - change directories from %%{_localstatedir}/lock/samba
- - LOCKDIR: %%{_localstatedir}/cache/samba
- - PIDDIR: %%{_localstatedir}/run
- - restart {smb,winbind} at postun (upgrade)
- - samba-common
- - convert smbpasswd at triggerpostun -- samba < 3.0.7
- - add convert_smbpasswd
- - add PreReq: gawk
- * Sat Sep 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl2
- - add docs_ja (source101) from 3.0.5-16ml
- * Wed Sep 22 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl1
- - new upstream release (shift to 3.0 series)
- - refer to 3.0.6-3 (Fedora Core), 3.0.5-16ml (MIRACLE)
- - drop obsolete paches, configure options
- - update buildroot.patch
- - add I18N patches (#101-)
- - update smb.conf
- - add URL
- - use more macros
- - change LIBDIR from %%{_sysconfdir}/samba to %%{_libdir}/samba
- - move %%{_localstatedir}/log/samba, smbpasswd to samba-common
- - move smbspool, smbcacls, rpcclient to samba-client
- - update descriptions
- * Wed Sep 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl1
- - new upstream release
- * Wed Sep 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl0.beta1
- - 2.2.11-ja-1.0beta1
- - drop patch10
- - add BuildPreReq: openssl-devel
- - swat
- - add PreReq/Requires: inetd
- - add swat.desktop
- * Sun Jul 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl3
- - fix changelog
- * Sat Jul 24 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl2
- - [SECURITY FIX] fix buffer overflow (CAN-2004-0686)
- - add samba-2.2.9-ja-1.0-mangle.patch (Patch10)
- - add BuildPreReq: cups-devel
- - add Prereq: chkconfig mktemp psmisc (instead of each files)
- * Thu Jun 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl1
- - new upstream release
- * Thu May 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl0.beta1
- - 2.2.9-ja-1.0beta1
- - add BuildPreReq: readline-devel
- * Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl3
- - add ldconfig in %%post/%%postun script for libsmbclient
- * Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl2
- - add libsmbclient subpackage.
- * Thu Sep 11 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja.1.1-0vl1
- - new upstream release.
- * Sat Aug 09 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.8a.ja-1.0vl3
- - fix smb.conf (SAMBADOC's path)
- * Tue May 27 2003 Tomoya TAKA <taka@vinelinux.org> 2.2.8a.ja-1.0vl2
- - tentatively skip to build examples/VFS on alpha
- * Tue May 27 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja-1.0vl1
- - new upstream release.
- * Mon May 19 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.7b.ja-1.0vl2
- - fix smb.conf
- - fix smbadduser
- * Thu Apr 17 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.7b.ja-1.0vl1
- - new upstream version
- * Sun Mar 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl2
- - added smbinit-vine.patch
- -- added '-D' option in smbd and nmbd
- * Thu Mar 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl1
- - New upstream version
- -- security fix.
- * Wed Feb 26 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
- - 2.2.7a.ja-1.0vl5
- - merged from SPEC for RH60 by samba-jp.
- * Mon Feb 17 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
- - 2.2.7a.ja-1.0vl4.beta1
- - fix 'Requires:'.
- * Tue Jan 28 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
- - 2.2.7a.ja-1.0vl3.alpha1
- - disable --with-tdbsam.
- * Sat Dec 28 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
- - 2.2.7a.ja-1.0vl2.alpha1
- - modify %%post script for new password database.
- * Fri Dec 27 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
- - 2.2.7a.ja-1.0vl1.alpha1
- * Tue Nov 19 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
- - 2.2.6.ja-1.0vl1.alpha2
- - apply alpha2 patch.
- * Fri Nov 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
- - 2.2.6.ja-1.0vl1.alpha1
- - remove swat from package 'samba'.
- * Thu Nov 14 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
- - 2.2.6.ja-1.0vl0.alpha1
- - enable winbind modules.
- - change numbering rule.
- * Thu Oct 24 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
- - 2.2.6_ja_0.alpha1-0vl1
- * Tue Jun 11 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
- - 2.2.4_ja_0.alpha1.3-0vl1
- * Sun Mar 17 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
- - 2.2.2_ja_1.1-0vl1
- - disable winbind modules (2.2.2 or earlier has critical bugs).
- - modify 'Requires:'.
- * Fri Mar 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
- - 2.2.2_ja_1.1-0vl0
- - shift sources to 2.2.x.
- - add debugging mode for '%%files' section.
- - modify spec largely because of too many difference between 2.0.x and 2.2.x.
- - . exchange %%prep, %%build, %%install section with samba-jp's spec.
- - . create a package 'samba-swat'.
- - . move smbclient and nmblookup to samba-common.
- - . move testprns to package 'samba' because it's checking tool for
- - server on LOCALHOST.
- - . move '%%post' to '%%post swat'.
- - . disable '%%post common'.
- * Sun Dec 02 2001 Toru Sagami <sagami@vinelinux.org>
- - 2.0.10_ja_1.2
- * Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
- - 2.0.10_ja_1.1-0vl4
- - eliminate executable bit in %%doc to erase perl/sh requirement
- * Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org>
- - 2.0.10_ja_1.1-0vl3: s/$RPM_BUILD_ROOT/%%{buildroot}/
- - patch swat/ja/help/welcome.html to hide some missing matter
- - also remove docs/zh_{CN,TW} files in %%doc
- * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl2
- - for VineSeed
- - deleted %%define _syssbindir and _localedir (defined in rpmmacros in rpm-3.0.6-0vl14)
- * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl1
- - 2.0.10_ja_1.1
- - for 2.1.x update
- * Fri Aug 17 2001 <sagami@vinelinux.org>
- - 2.0.10_ja_1.0-0vl2
- - remove almost duplicated docs/{,ja/}{manpages,yodldocs} files in %%doc
- * Mon Jul 09 2001 <sagami@vinelinux.org>
- - 2.0.10_ja_1.0-0vl1: includes secrity fix
- (http://www.samba.org/samba/whatsnew/macroexploit.html)
- - remove using_samba, HowToUseSamba and docs/ja_JP.SJIS directory from %%doc
- * Thu May 31 2001 <sagami@vinelinux.org>
- - 2.0.9_ja_1.0-0vl1: added swat/ja/help/HowToUseSamba
- - added BuildPreReq = pam-devel for Vine 2.1.5+
- - fixed init script to match our current/old style
- - eliminate CVS related files from %%doc
- * Thu Apr 19 2001 <sagami@vinelinux.org>
- - 2.0.7_ja_2.2-0vl1
- * Thu Dec 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
- - 2.0.7_ja_1.3-0vl2
- - rebuilt with readline2
- - use better macros (although not almost complete... needs comfirmation)
- * Tue Sep 19 2000 Jun Nishii <jun@vinelinux.org>
- - 2.0.7_ja_1.3-0vl1
- * Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
- - 2.0.7_ja_1.2.1-0vl2
- - fixed missing Changelog.ja (was Chagelog.ja)
- * Tue Sep 12 2000 Jun Nishii <jun@vinelinux.org>
- - updated to 2.0.7-ja-1.2.1
- * Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
- - updated to 2.0.7-ja-1.2
- * Tue Jul 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
- - added some Japanese documents to %doc
- * Mon Jul 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
- - updated to 2.0.7-ja-1.0
- * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
- - updated to 2.0.7-ja-0.99
- * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
- - added rpccilent
- - modified tcpdconf for stability.
- * Fri May 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
- - first test release for Vine based on RH6.2 spec file.
- - activated swat in default for only localhost.
- * Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
- - fix trigger, again.
- * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
- - fix trigger.
- * Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
- - turn on quota support
- * Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
- - rebuild to fox dependencies
- - man pages are compressed
- * Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
- - munge post scripts slightly
- * Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
- - turn on mmap again. Wheee.
- - ship smbmount on alpha
- * Mon Dec 6 1999 Bill Nottingham <notting@redhat.com>
- - turn off mmap. ;)
- * Wed Dec 1 1999 Bill Nottingham <notting@redhat.com>
- - change /var/log/samba to 0700
- - turn on mmap support
- * Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
- - update to 2.0.6
- * Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
- - add a %defattr for -common
- * Tue Oct 5 1999 Bill Nottingham <notting@redhat.com>
- - shift some files into -client
- - remove /home/samba from package.
- * Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
- - initscript oopsie. killproc <name> -HUP, not other way around.
- * Sun Sep 26 1999 Bill Nottingham <notting@redhat.com>
- - script cleanups. Again.
- * Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
- - add a patch to fix dropped reconnection attempts
- * Mon Sep 6 1999 Jeff Johnson <jbj@redhat.com>
- - 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 <notting@redhat.com>
- - sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
- * Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
- - fix typo in mount.smb
- * Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
- - add a %trigger to work around (sort of) broken scripts in
- previous releases
- * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
- - initscript munging
- * Mon Aug 9 1999 Bill Nottingham <notting@redhat.com>
- - add domain parsing to mount.smb
- * Fri Aug 6 1999 Bill Nottingham <notting@redhat.com>
- - add a -common package, shuffle files around.
- * Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
- - add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
- * Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
- - 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 <notting@redhat.com>
- - split off clients into separate package
- - don't run samba by default
- * Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
- - fix one problem with mount.smb script
- - fix smbpasswd on sparc with a really ugly kludge
- * Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
- - fixed logrotate script
- * Tue May 25 1999 Bill Nottingham <notting@redhat.com>
- - turn of 64-bit locking on 32-bit platforms
- * Thu May 20 1999 Bill Nottingham <notting@redhat.com>
- - so many releases, so little time
- - explicitly uncomment 'printing = bsd' in sample config
- * Tue May 18 1999 Bill Nottingham <notting@redhat.com>
- - update to 2.0.4a
- - fix mount.smb arg ordering
- * Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
- - go back to stop/start for restart (-HUP didn't work in testing)
- * Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
- - 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 <notting@redhat.com>
- - always create codepages
- * Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
- - logrotate changes
- * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- - auto rebuild in the new build environment (release 3)
- * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
- - updated init script to use graceful restart (not stop/start)
- * Tue Mar 9 1999 Bill Nottingham <notting@redhat.com>
- - update to 2.0.3
- * Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
- - update to 2.0.2
- * Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
- - swat swat
- * Tue Feb 9 1999 Bill Nottingham <notting@redhat.com>
- - fix bash2 breakage in post script
- * Fri Feb 5 1999 Bill Nottingham <notting@redhat.com>
- - update to 2.0.0
- * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
- - make sure all binaries are stripped
- * Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
- - update to 1.9.18p10.
- - fix %triggerpostun.
- * Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
- - updated postun triggerscript to check $0
- - clear /etc/codepages from %preun instead of %postun
- * Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
- - 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 <jht@samba.anu.edu.au>
- - minor tidy up in preparation for release of 1.9.18p5
- - added findsmb utility from SGI package
- * Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
- - Updated version and codepage info.
- - Release to test name resolve order
- * Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
- - Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
- - 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
|