rpms/samba/devel samba-3.2.0pre1-grouppwd.patch, NONE, 1.1 samba-3.2.0pre1-pipedir.patch, NONE, 1.1 .cvsignore, 1.44, 1.45 samba.log, 1.8, 1.9 samba.spec, 1.135, 1.136 sources, 1.48, 1.49 samba-3.0.0beta1-pipedir.patch, 1.1, NONE samba-3.0.23rc3-passwd.patch, 1.1, NONE
Simo Sorce (simo)
fedora-extras-commits at redhat.com
Mon Oct 8 21:13:48 UTC 2007
- Previous message (by thread): rpms/astromenace/devel astromenace-langvfs.patch, NONE, 1.1 astromenace.desktop, NONE, 1.1 astromenace.png, NONE, 1.1 astromenace.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/fluxbox/F-7 .cvsignore, 1.9, 1.10 fluxbox.spec, 1.23, 1.24 sources, 1.9, 1.10 fluxbox-startfluxbox.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: simo
Update of /cvs/pkgs/rpms/samba/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8633
Modified Files:
.cvsignore samba.log samba.spec sources
Added Files:
samba-3.2.0pre1-grouppwd.patch samba-3.2.0pre1-pipedir.patch
Removed Files:
samba-3.0.0beta1-pipedir.patch samba-3.0.23rc3-passwd.patch
Log Message:
* Wed Oct 8 2007 Simo Sorce <ssorce at redhat.com> 3.2.0-0.pre1.fc9
- New major relase, minor switched from 0 to 2
- License change, the code is now GPLv3+
- Numerous improvements and bugfixes included
- package libsmbsharemodes too
- remove smbldap-tools as they are already packaged separately in Fedora
- Fix bug 245506
samba-3.2.0pre1-grouppwd.patch:
--- NEW FILE samba-3.2.0pre1-grouppwd.patch ---
--- samba-3.2.0pre1/source/winbindd/winbindd_group.c.star 2007-10-03 17:40:31.000000000 -0400
+++ samba-3.2.0pre1/source/winbindd/winbindd_group.c 2007-10-03 17:40:46.000000000 -0400
@@ -189,7 +189,7 @@
/* Group name and password */
safe_strcpy(gr->gr_name, full_group_name, sizeof(gr->gr_name) - 1);
- safe_strcpy(gr->gr_passwd, "x", sizeof(gr->gr_passwd) - 1);
+ safe_strcpy(gr->gr_passwd, "*", sizeof(gr->gr_passwd) - 1);
return True;
}
samba-3.2.0pre1-pipedir.patch:
--- NEW FILE samba-3.2.0pre1-pipedir.patch ---
--- samba-3.2.0pre1/source/nsswitch/winbind_struct_protocol.h.pipedir 2007-10-03 15:32:23.000000000 -0400
+++ samba-3.2.0pre1/source/nsswitch/winbind_struct_protocol.h 2007-10-03 15:33:13.000000000 -0400
@@ -24,7 +24,7 @@
* is needed for launchd support -- jpeach.
*/
#ifndef WINBINDD_SOCKET_DIR
-#define WINBINDD_SOCKET_DIR "/tmp/.winbindd" /* Name of PF_UNIX dir */
+#define WINBINDD_SOCKET_DIR "/var/run/winbindd" /* Name of PF_UNIX dir */
#endif
/*
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/samba/devel/.cvsignore,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- .cvsignore 11 Sep 2007 15:00:39 -0000 1.44
+++ .cvsignore 8 Oct 2007 21:13:15 -0000 1.45
@@ -1 +1 @@
-samba-3.0.26a.tar.gz
+samba-3.2.0pre1.tar.gz
Index: samba.log
===================================================================
RCS file: /cvs/pkgs/rpms/samba/devel/samba.log,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- samba.log 22 Mar 2007 19:51:12 -0000 1.8
+++ samba.log 8 Oct 2007 21:13:15 -0000 1.9
@@ -1,5 +1,6 @@
-/var/log/samba/log.* {
+/var/log/samba/* {
notifempty
+ olddir /var/log/samba/old
missingok
sharedscripts
copytruncate
Index: samba.spec
===================================================================
RCS file: /cvs/pkgs/rpms/samba/devel/samba.spec,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -r1.135 -r1.136
--- samba.spec 2 Oct 2007 16:18:24 -0000 1.135
+++ samba.spec 8 Oct 2007 21:13:15 -0000 1.136
@@ -1,15 +1,15 @@
Summary: The Samba Suite of programs
Name: samba
Epoch: 0
-Version: 3.0.26a
-Release: 1%{?dist}
-License: GPLv2+ and LGPLv2+
+Version: 3.2.0
+Release: 0.pre1%{?dist}
+License: GPLv3+ and LGPLv3+
Group: System Environment/Daemons
URL: http://www.samba.org/
#TAG: change for non-pre
-#Source: http://www.samba.org/samba/ftp/rc/%{name}-%{version}rc3.tar.gz
-Source: http://www.samba.org/samba/ftp/samba/%{name}-%{version}.tar.gz
+Source: http://download.samba.org/samba/ftp/pre/%{name}-%{version}pre1.tar.gz
+#Source: http://www.samba.org/samba/ftp/samba/%{name}-%{version}.tar.gz
# Red Hat specific replacement-files
Source1: samba.log
@@ -32,11 +32,11 @@
# (none right now)
# generic patches
-Patch102: samba-3.0.0beta1-pipedir.patch
+Patch102: samba-3.2.0pre1-pipedir.patch
#Patch103: samba-3.0.23-logfiles.patch
Patch104: samba-3.0.0rc3-nmbd-netbiosname.patch
# The passwd part has been applied, but not the group part
-Patch107: samba-3.0.23rc3-passwd.patch
+Patch107: samba-3.2.0pre1-grouppwd.patch
#Patch108: samba-3.0.8-non-ascii-domain.patch
Patch110: samba-3.0.21pre1-smbspool.patch
Patch111: samba-3.0.13-smbclient.patch
@@ -133,8 +133,8 @@
%prep
# TAG: change for non-pre
-#%setup -q -n samba-3.0.25rc3
-%setup -q
+%setup -q -n samba-3.2.0pre1
+#%setup -q
# copy Red Hat specific scripts
mkdir packaging/Fedora
@@ -153,20 +153,21 @@
%patch102 -p1 -b .pipedir
#%patch103 -p1 -b .logfiles
%patch104 -p1 -b .nmbd-netbiosname
-%patch107 -p1 -b .passwd
+%patch107 -p1 -b .grouppwd
#%patch108 -p1 -b .non-ascii-domain
%patch110 -p1 -b .smbspool
%patch111 -p1 -b .smbclient
%patch200 -p0 -b .inotify
-# crap
-rm -f examples/VFS/.cvsignore
mv source/VERSION source/VERSION.orig
sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{release}\"/' < source/VERSION.orig > source/VERSION
cd source
script/mkversion.sh
cd ..
+#Remove smbldap-tools, they are already packaged separately in Fedora
+rm -fr examples/LDAP/smbldap-tools-*/
+
%build
cd source
@@ -185,6 +186,7 @@
--with-acl-support \
--with-automount \
--with-libsmbclient \
+ --with-libsmbsharemodes \
--with-mmap \
--with-pam \
--with-pam_smbpass \
@@ -192,6 +194,7 @@
--with-syslog \
--with-utmp \
--with-vfs \
+ --with-sendfile-support \
--without-smbwrapper \
--with-lockdir=/var/lib/samba \
--with-piddir=/var/run \
@@ -202,7 +205,10 @@
--with-configdir=%{_sysconfdir}/samba \
--with-pammodulesdir=%{_lib}/security \
--with-swatdir=%{_datadir}/swat \
- --with-shared-modules=idmap_ad,idmap_rid \
+ --with-shared-modules=idmap_ad,idmap_rid
+
+# --with-cluster-support \
+# --with-aio-support \
make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DLDAP_DEPRECATED" \
@@ -230,11 +236,12 @@
mkdir -p $RPM_BUILD_ROOT/%{_initrddir}
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/{pam.d,logrotate.d,security}
mkdir -p $RPM_BUILD_ROOT/%{_lib}/security
-mkdir -p $RPM_BUILD_ROOT/var/{log,spool}/samba
mkdir -p $RPM_BUILD_ROOT/var/lib/samba
mkdir -p $RPM_BUILD_ROOT/var/lib/samba/private
mkdir -p $RPM_BUILD_ROOT/var/lib/samba/winbindd_privileged
mkdir -p $RPM_BUILD_ROOT/var/lib/samba/scripts
+mkdir -p $RPM_BUILD_ROOT/var/log/samba/old
+mkdir -p $RPM_BUILD_ROOT/var/spool/samba
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/swat/using_samba
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/samba/codepages
mkdir -p $RPM_BUILD_ROOT/var/run/winbindd
@@ -283,16 +290,23 @@
install -m 755 source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
ln -sf /%{_lib}/libnss_wins.so.2 $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so
-# libsmbclient
-
-# make install puts libsmbclient.so in the wrong place on x86_64
-rm -f $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.a $RPM_BUILD_ROOT/usr/lib || true
+# libraries {
mkdir -p $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir}
+
+# make install puts libraries in the wrong place
+rm -f $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.a || true
+rm -f $RPM_BUILD_ROOT%{_libdir}/samba/libsmbsharemodes.so || true
+
install -m 755 source/bin/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
-/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/
+install -m 755 source/bin/libsmbsharemodes.so $RPM_BUILD_ROOT%{_libdir}/libsmbsharemodes.so.0
ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
+ln -s libsmbsharemodes.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbsharemodes.so
#install -m 644 source/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
-install -m 644 source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
+#install -m 644 source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
+
+/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/
+
+# }
# various libs we currently remove
# TODO: evaluate how to make them back by extracting the correct .h files
@@ -302,8 +316,6 @@
rm -f $RPM_BUILD_ROOT%{_libdir}/samba/libmsrpc.so
rm -f $RPM_BUILD_ROOT%{_includedir}/libmsrpc.h
-rm -f $RPM_BUILD_ROOT%{_libdir}/samba/libsmbsharemodes.so
-
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat
@@ -584,6 +596,11 @@
%{_bindir}/tdbbackup
%{_bindir}/tdbdump
%{_bindir}/tdbtool
+%{_bindir}/ldbadd
+%{_bindir}/ldbdel
+%{_bindir}/ldbedit
+%{_bindir}/ldbmodify
+%{_bindir}/ldbsearch
%{_sbindir}/winbindd
%{_libdir}/samba/idmap
%{_libdir}/samba/nss_info
@@ -600,6 +617,7 @@
#%dir %{_datadir}/samba/codepages
%dir %{_sysconfdir}/samba
%attr(0700,root,root) %dir /var/log/samba
+%attr(0700,root,root) %dir /var/log/samba/old
%{_initrddir}/winbind
%{_mandir}/man1/ntlm_auth.1*
%{_mandir}/man1/profiles.1*
@@ -633,14 +651,26 @@
%doc docs/htmldocs
%files -n libsmbclient
+%{_libdir}/libsmbclient.so
%{_libdir}/libsmbclient.so.0
+%{_libdir}/libsmbsharemodes.so
+%{_libdir}/libsmbsharemodes.so.0
%files -n libsmbclient-devel
-%{_libdir}/libsmbclient.so
%{_includedir}/libsmbclient.h
+%{_includedir}/smb_share_modes.h
+
#%{_includedir}/libmsrpc.h
%changelog
+* Wed Oct 8 2007 Simo Sorce <ssorce at redhat.com> 3.2.0-0.pre1.fc9
+- New major relase, minor switched from 0 to 2
+- License change, the code is now GPLv3+
+- Numerous improvements and bugfixes included
+- package libsmbsharemodes too
+- remove smbldap-tools as they are already packaged separately in Fedora
+- Fix bug 245506
+
* Tue Oct 2 2007 Simo Sorce <ssorce at redhat.com> 3.0.26a-1.fc8
- rebuild with AD DNS Update support
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/samba/devel/sources,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- sources 11 Sep 2007 15:00:39 -0000 1.48
+++ sources 8 Oct 2007 21:13:15 -0000 1.49
@@ -1 +1 @@
-6511ff23d9b1d4858744778bba543c5d samba-3.0.26a.tar.gz
+146baf1484d7d45fc397b7d5da01e9ec samba-3.2.0pre1.tar.gz
--- samba-3.0.0beta1-pipedir.patch DELETED ---
--- samba-3.0.23rc3-passwd.patch DELETED ---
- Previous message (by thread): rpms/astromenace/devel astromenace-langvfs.patch, NONE, 1.1 astromenace.desktop, NONE, 1.1 astromenace.png, NONE, 1.1 astromenace.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/fluxbox/F-7 .cvsignore, 1.9, 1.10 fluxbox.spec, 1.23, 1.24 sources, 1.9, 1.10 fluxbox-startfluxbox.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list