Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: smbldap-tools

smbldap-tools (0.9.9-1ubuntu3) yakkety; urgency=medium * debian/patches/0023_add_pod_smbldap-config.patch: Fix typo in backport (LP: #997172). -- Nishanth Aravamudan <nish.aravamudan@canonical.com> Wed, 07 Sep 2016 14:03:06 -0700 smbldap-tools (0.9.9-1ubuntu2) yakkety; urgency=medium * debian/patches/0022_read_smbldap-config.patch: Install smbldap- config command. Closes: #697225, LP: #997172. * debian/patches/0023_add_pod_smbldap-config.patch: Add POD to smbldap- config.pl. -- Nishanth Aravamudan <nish.aravamudan@canonical.com> Tue, 17 May 2016 15:59:40 -0700 smbldap-tools (0.9.9-1ubuntu1) raring; urgency=low * Merge from Debian unstable (LP: #1054130). Remaining changes: - Apply patch from rdratlos to resolve being unable to join a Windows 7 or Windows 2008 machine to a Samba domain due to the use of cached nss credentials. - 0020_original_doc_html_index.patch: Add index html file. -- Logan Rosen <logatronico@gmail.com> Thu, 06 Dec 2012 23:27:14 -0500

Modifications :
  1. Download patch smbldap-useradd.pl

    --- 0.9.9-1/smbldap-useradd.pl 2012-08-07 08:14:47.000000000 +0000 +++ 0.9.9-1ubuntu3/smbldap-useradd.pl 2016-09-29 20:12:59.000000000 +0000 @@ -402,6 +402,9 @@ if ( defined( $Options{'w'} ) } $ldap_master->unbind; + # Flush nscd cache to be aligned with the LDAP directory change + system "[ -x /usr/sbin/nscd ] && /usr/sbin/nscd -i passwd 2>/dev/null"; + system "[ -x /usr/sbin/nscd ] && /usr/sbin/nscd -i group 2>/dev/null"; exit 0; }
  2. Download patch debian/control

    --- 0.9.9-1/debian/control 2012-07-09 14:16:11.000000000 +0000 +++ 0.9.9-1ubuntu3/debian/control 2016-09-07 21:03:06.000000000 +0000 @@ -1,7 +1,8 @@ Source: smbldap-tools Section: admin Priority: extra -Maintainer: Sergio Talens-Oliag <sto@debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Sergio Talens-Oliag <sto@debian.org> Build-Depends: debhelper (>= 7.0.50~), quilt Build-Depends-Indep: perl Standards-Version: 3.9.3.0
  3. Download patch debian/patches/0020_original_doc_html_index.patch
  4. Download patch debian/patches/0021_smbldap-useradd_flush_nscd_cache.patch

    --- 0.9.9-1/debian/patches/0021_smbldap-useradd_flush_nscd_cache.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0.9.9-1ubuntu3/debian/patches/0021_smbldap-useradd_flush_nscd_cache.patch 2016-09-07 21:03:06.000000000 +0000 @@ -0,0 +1,19 @@ +Description: Force an nss flush to fix failure to join a Windows 7 or Windows 2008 machine to Samba domain +Forwarded: no +Author: rdratlos +Origin: rdratlos, https://bugs.launchpad.net/ubuntu/+source/smbldap-tools/+bug/814898/+attachment/2226951/+files/smbldap-useradd_flush_nscd_cache.patch +Reviewed-By: Daniel T Chen <crimsun@ubuntu.com> +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/smbldap-tools/+bug/814898 +Last-Update: 2011-08-01 +--- a/smbldap-useradd.pl ++++ b/smbldap-useradd.pl +@@ -402,6 +402,9 @@ + } + + $ldap_master->unbind; ++ # Flush nscd cache to be aligned with the LDAP directory change ++ system "[ -x /usr/sbin/nscd ] && /usr/sbin/nscd -i passwd 2>/dev/null"; ++ system "[ -x /usr/sbin/nscd ] && /usr/sbin/nscd -i group 2>/dev/null"; + exit 0; + } +
  5. Download patch .pc/applied-patches

    --- 0.9.9-1/.pc/applied-patches 2016-09-29 20:12:59.626113352 +0000 +++ 0.9.9-1ubuntu3/.pc/applied-patches 2016-09-29 20:12:59.886120550 +0000 @@ -1 +1,5 @@ 0001_debian_nobody.patch +0020_original_doc_html_index.patch +0021_smbldap-useradd_flush_nscd_cache.patch +0022_read_smbldap-config.patch +0023_add_pod_smbldap-config.patch
  6. Download patch .pc/0021_smbldap-useradd_flush_nscd_cache.patch/smbldap-useradd.pl
  7. Download patch smbldap-config.pl

    --- 0.9.9-1/smbldap-config.pl 2012-03-05 08:59:44.000000000 +0000 +++ 0.9.9-1ubuntu3/smbldap-config.pl 2016-09-29 20:12:59.000000000 +0000 @@ -557,3 +557,21 @@ print " $smbldap_bind_conf done.\n"; $mode=0600; chmod $mode,"$smbldap_bind_conf","$smbldap_bind_conf.old"; +__END__ + +=head1 NAME + +smbldap-config - Configure the smbldap-tools + +=head1 SYNOPSIS + +smbldap-config + +=head1 DESCRIPTION + +An interactive script to configure the smbldap-tools to work with your +existing LDAP server(s). Before running it, you should ensure that your +samba controller is up and running, and that the domain SID is defined +(you can check it by running 'net getlocalsid'). + +=cut
  8. Download patch doc/html/index.html
  9. Download patch debian/patches/series

    --- 0.9.9-1/debian/patches/series 2012-07-09 14:14:21.000000000 +0000 +++ 0.9.9-1ubuntu3/debian/patches/series 2016-09-07 21:03:06.000000000 +0000 @@ -1 +1,5 @@ 0001_debian_nobody.patch +0020_original_doc_html_index.patch +0021_smbldap-useradd_flush_nscd_cache.patch +0022_read_smbldap-config.patch +0023_add_pod_smbldap-config.patch
  10. Download patch .pc/0023_add_pod_smbldap-config.patch/smbldap-config.pl
  11. Download patch debian/patches/0022_read_smbldap-config.patch

    --- 0.9.9-1/debian/patches/0022_read_smbldap-config.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0.9.9-1ubuntu3/debian/patches/0022_read_smbldap-config.patch 2016-09-07 21:03:06.000000000 +0000 @@ -0,0 +1,29 @@ +Description: Install smbldap-config command +Author: Nishanth Aravamudan <nish.aravamudan@canonical.com> +Bug-Ubuntu: https://bugs.launchpad.net/bugs/997172 +Origin: upstream, http://svn.gna.org/viewcvs/smbldap-tools/trunk/Makefile.in?r1=155&r2=156& +Bug-Debian: https://bugs.debian.org/697225 + +Index: gitwd/Makefile.in +=================================================================== +--- gitwd.orig/Makefile.in ++++ gitwd/Makefile.in +@@ -17,7 +17,6 @@ BUILD_TARGETS= \ + $(BUILD_PERL_MOD_TARGETS) \ + $(BUILD_PERL_CMD_TARGETS) \ + $(BUILD_PERL_MAN_TARGETS) \ +- smbldap-config.cmd \ + smbldap-upgrade-0.9.6.cmd \ + doc/smb.conf.example \ + doc/smb.smbldap.conf.example \ +@@ -43,7 +42,9 @@ PERL_CMD_SOURCES= \ + smbldap-userinfo.pl \ + smbldap-userlist.pl \ + smbldap-usermod.pl \ +- smbldap-usershow.pl ++ smbldap-usershow.pl \ ++ smbldap-config.pl \ ++ # + + PERL_MAN_SECTION= 8 +
  12. Download patch debian/patches/0023_add_pod_smbldap-config.patch

    --- 0.9.9-1/debian/patches/0023_add_pod_smbldap-config.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0.9.9-1ubuntu3/debian/patches/0023_add_pod_smbldap-config.patch 2016-09-07 21:03:06.000000000 +0000 @@ -0,0 +1,31 @@ +Description: Add POD to smbldap-config.pl + Build fails otherwise. +Author: Nishanth Aravamudan <nish.aravamudan@canonical.com> +Origin: upstream, http://svn.gna.org/viewcvs/smbldap-tools?view=revision&revision=172 +Origin: upstream, http://svn.gna.org/viewcvs/smbldap-tools?view=revision&revision=173 +Bug: https://gna.org/support/?3013 + +--- a/smbldap-config.pl ++++ b/smbldap-config.pl +@@ -557,3 +557,21 @@ + $mode=0600; + chmod $mode,"$smbldap_bind_conf","$smbldap_bind_conf.old"; + ++__END__ ++ ++=head1 NAME ++ ++smbldap-config - Configure the smbldap-tools ++ ++=head1 SYNOPSIS ++ ++smbldap-config ++ ++=head1 DESCRIPTION ++ ++An interactive script to configure the smbldap-tools to work with your ++existing LDAP server(s). Before running it, you should ensure that your ++samba controller is up and running, and that the domain SID is defined ++(you can check it by running 'net getlocalsid'). ++ ++=cut
  13. Download patch .pc/0022_read_smbldap-config.patch/Makefile.in

    --- 0.9.9-1/.pc/0022_read_smbldap-config.patch/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ 0.9.9-1ubuntu3/.pc/0022_read_smbldap-config.patch/Makefile.in 2012-03-05 08:59:44.000000000 +0000 @@ -0,0 +1,131 @@ +# $Id: Makefile.in 122 2011-10-13 10:15:30Z mm1 $ + +SOURCE_DIR= . +SOURCE_BUILD= $(SOURCE_DIR)/build + +## ====================================================================== + +RELEASE= 1 +DESTARCH= smbldap-tools-$(PACKAGE_VERSION) + +# where to build the rpm +TOPDIR= $$HOME/redhat +GPG_PATH= $$HOME/.gnupg +RPMBUILD_COMMAND= rpmbuild -ba --sign + +BUILD_TARGETS= \ + $(BUILD_PERL_MOD_TARGETS) \ + $(BUILD_PERL_CMD_TARGETS) \ + $(BUILD_PERL_MAN_TARGETS) \ + smbldap-config.cmd \ + smbldap-upgrade-0.9.6.cmd \ + doc/smb.conf.example \ + doc/smb.smbldap.conf.example \ + # + +INSTALL_DIR= $(PERL_LIBDIR) +INSTALL_FILES= $(BUILD_PERL_MOD_TARGETS) +INSTALL_CMD_DIR= $(sbindir) +INSTALL_CMDS= $(BUILD_PERL_CMD_TARGETS) + +PERL_MOD_SOURCES= smbldap_tools.pl + +PERL_CMD_SOURCES= \ + smbldap-groupadd.pl \ + smbldap-groupdel.pl \ + smbldap-grouplist.pl \ + smbldap-groupmod.pl \ + smbldap-groupshow.pl \ + smbldap-passwd.pl \ + smbldap-populate.pl \ + smbldap-useradd.pl \ + smbldap-userdel.pl \ + smbldap-userinfo.pl \ + smbldap-userlist.pl \ + smbldap-usermod.pl \ + smbldap-usershow.pl + +PERL_MAN_SECTION= 8 + +BUILD_PERL_MOD_TARGETS= $(PERL_MOD_SOURCES:.pl=.pm) +BUILD_PERL_CMD_TARGETS= $(PERL_CMD_SOURCES:.pl=.cmd) +BUILD_PERL_MAN_TARGETS= $(BUILD_PERL_CMD_TARGETS:.cmd=.$(PERL_MAN_SECTION)) + +## ====================================================================== + +include $(SOURCE_BUILD)/Makefile.common +include $(SOURCE_BUILD)/Makefile.top + +## ====================================================================== + +.SUFFIXES: .cmd .$(PERL_MAN_SECTION) + +.cmd.$(PERL_MAN_SECTION): + @echo "Building $@ from $< ..." + @$(POD2MAN_COMMAND) --section=$(PERL_MAN_SECTION) $< >$@.tmp + @mv $@.tmp $@ + +## ====================================================================== + +all: build + +build:: + +install:: install-files install-cmds + +## ====================================================================== + + +build_dir: + @echo '%_topdir $(TOPDIR)' > $(HOME)/.rpmmacros + @echo '%_signature gpg' >> $(HOME)/.rpmmacros + @echo '%_gpg_name Jerome Tournier <jtournier@gmail.com>' >> $(HOME)/.rpmmacros + @echo '%_gpg_path $(GPG_PATH)' >> $(HOME)/.rpmmacros + @mkdir -p $(TOPDIR)/BUILD + @mkdir -p $(TOPDIR)/RPMS/i386 + @mkdir -p $(TOPDIR)/SOURCES + @mkdir -p $(TOPDIR)/SPECS + @mkdir -p $(TOPDIR)/SRPMS + +rpm: dist build_dir + @cp -f $(DESTARCH).tgz $(TOPDIR)/SOURCES/ + @cp -f smbldap-tools.spec $(TOPDIR)/SPECS/ + @perl -i -pe's@^\%define version(.*)@\%define version $(VERSION)@' $(TOPDIR)/SPECS/smbldap-tools.spec + @perl -i -pe's@^\%define release(.*)@\%define release $(RELEASE)@' $(TOPDIR)/SPECS/smbldap-tools.spec + @perl -i -pe's@^Source0(.*)@Source0: smbldap-tools-$(VERSION).tgz@' $(TOPDIR)/SPECS/smbldap-tools.spec + @cd $(TOPDIR)/SPECS/ && $(RPMBUILD_COMMAND) smbldap-tools.spec + @echo "Signing packages smbldap-tools-$(VERSION)-$(RELEASE).noarch.rpm" + @cd $(TOPDIR)/RPMS/noarch && gpg --detach smbldap-tools-$(VERSION)-$(RELEASE).noarch.rpm + @echo "Signing packages smbldap-tools-$(VERSION)-$(RELEASE).src.rpm" + @cd $(TOPDIR)/SRPMS/ && gpg --detach smbldap-tools-$(VERSION)-$(RELEASE).src.rpm + @echo "Signing packages smbldap-tools-$(VERSION).tgz" + @cd $(TOPDIR)/SOURCES/ && gpg --detach smbldap-tools-$(VERSION).tgz + @echo "Arch: $(DESTARCH).tgz" + + +home_devel: rpm + @mkdir -p iallanis/{docs/{smbldap-tools,samba-ldap-howto},old,development_release} + @cp -f iallanis/development_release/ChangeLog "/tmp/ChangeLog-homedevel-`date`" + @cp -f ChangeLog iallanis/development_release/ + @cp $(TOPDIR)/SOURCES/smbldap-tools-$(VERSION){.tgz,.tgz.sig} iallanis/development_release/ + @cp $(TOPDIR)/RPMS/noarch/smbldap-tools-$(VERSION)-$(RELEASE).noarch{.rpm,.rpm.sig} iallanis/development_release/ + @cp $(TOPDIR)/SRPMS/smbldap-tools-$(VERSION)-$(RELEASE).src{.rpm,.rpm.sig} iallanis/development_release/ + @rsync -avz --delete --delete-excluded --exclude .svn -e "ssh -p 443" iallanis/ 192.168.10.1:/home/www/html/smbldap-tools + +home: rpm + @cp -f iallanis/ChangeLog "/tmp/ChangeLog-home-`date`" + @cp -f ChangeLog iallanis/ + @cp doc/smbldap-tools/smbldap-tools.html iallanis/docs/smbldap-tools/index.html + @cp doc/samba-ldap-howto/smbldap-howto.html iallanis/docs/samba-ldap-howto/index.html + @cp $(TOPDIR)/SOURCES/smbldap-tools-$(VERSION){.tgz,.tgz.sig} iallanis/ + @cp $(TOPDIR)/RPMS/noarch/smbldap-tools-$(VERSION)-$(RELEASE).noarch{.rpm,.rpm.sig} iallanis/ + @cp $(TOPDIR)/SRPMS/smbldap-tools-$(VERSION)-$(RELEASE).src{.rpm,.rpm.sig} iallanis/ + rsync -avz --delete --delete-excluded --exclude .svn -e "ssh -p 443" iallanis/ 192.168.10.1:/home/www/html/smbldap-tools + +gna: + @cp -f ChangeLog GNA/packages/ + @cp $(TOPDIR)/SOURCES/smbldap-tools-$(VERSION){.tgz,.tgz.sig} GNA/packages/ + @cp $(TOPDIR)/RPMS/noarch/smbldap-tools-$(VERSION)-$(RELEASE).noarch{.rpm,.rpm.sig} GNA/packages/ + @cp $(TOPDIR)/SRPMS/smbldap-tools-$(VERSION)-$(RELEASE).src{.rpm,.rpm.sig} GNA/packages/ + rsync -avz -e ssh --delete --delete-excluded --exclude .svn GNA/ download.gna.org:/upload/smbldap-tools/ +
  14. Download patch Makefile.in

    --- 0.9.9-1/Makefile.in 2012-03-05 08:59:44.000000000 +0000 +++ 0.9.9-1ubuntu3/Makefile.in 2016-09-29 20:12:59.000000000 +0000 @@ -17,7 +17,6 @@ BUILD_TARGETS= \ $(BUILD_PERL_MOD_TARGETS) \ $(BUILD_PERL_CMD_TARGETS) \ $(BUILD_PERL_MAN_TARGETS) \ - smbldap-config.cmd \ smbldap-upgrade-0.9.6.cmd \ doc/smb.conf.example \ doc/smb.smbldap.conf.example \ @@ -43,7 +42,9 @@ PERL_CMD_SOURCES= \ smbldap-userinfo.pl \ smbldap-userlist.pl \ smbldap-usermod.pl \ - smbldap-usershow.pl + smbldap-usershow.pl \ + smbldap-config.pl \ + # PERL_MAN_SECTION= 8
  1. smbldap-tools