samba/debian
openKylinBot 9355400977 format patches 2022-05-14 02:51:19 +08:00
..
bin Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
patches format patches 2022-05-14 02:51:19 +08:00
po Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
source Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
tests Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
upstream Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
NEWS Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
README.Debian Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
README.source Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
README.source.md Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
TODO Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
addshare.py Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
autodeps.py Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
changelog Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
clean Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
control Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
copyright Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.NEWS Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.README.hurd Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.README.kfreebsd Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.dirs Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.docs Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.example.enable.nfs.sh Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.example.nfs-common Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.example.nfs-kernel-server Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.example.services Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.example.sysctl-nfs-static-ports.conf Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.examples Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.lintian-overrides Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.logrotate Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.maintscript Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.postinst Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
ctdb.postrm Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
dirs Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
gbp.conf Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
gdbcommands Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
gitlabracadabra.yml Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libnss-winbind.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libnss-winbind.lintian-overrides Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libpam-winbind.examples Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libpam-winbind.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libpam-winbind.lintian-overrides Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libpam-winbind.postinst Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libpam-winbind.prerm Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
library-equivalents Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libsamba-heimdal.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libsmbclient-dev.examples Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libsmbclient-dev.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libsmbclient.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libsmbclient.lintian-overrides Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libsmbclient.symbols Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libwbclient-dev.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libwbclient0.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
libwbclient0.symbols Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
make_shlibs Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
merge_shlibs.pl Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
mksmbpasswd.8 Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
mksmbpasswd.awk Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
not-installed Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
panic-action Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
python3-samba.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
python3-samba.lintian-overrides Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
registry-tools.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
rules Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
salsa-ci.yml Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common-bin.dirs Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common-bin.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common-bin.postinst Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common.bug-presubj Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common.bug-script Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common.config Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common.dhcp Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common.dirs Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common.docs Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common.examples Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common.postinst Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common.postrm Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common.samba.pam Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-common.templates Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-dev.examples Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-dev.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-dsdb-modules.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-libs.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-libs.lintian-overrides Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-libs.preinst Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-testsuite.examples Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-testsuite.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-vfs-modules.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba-vfs-modules.lintian-overrides Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.cron.daily Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.dirs Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.examples Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.links Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.lintian-overrides Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.logrotate Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.maintscript Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.manpages Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.nmbd.init Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.postinst Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.postrm Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.samba-ad-dc.init Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.smbd.init Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
samba.ufw.profile Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
setoption.py Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
smb.conf Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
smbclient.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
smbclient.links Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
smbclient.lintian-overrides Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
source_samba.py Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
update-apparmor-samba-profile Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
watch Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
winbind.default Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
winbind.init Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
winbind.install Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
winbind.links Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
winbind.lintian-overrides Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
winbind.logrotate Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
winbind.maintscript Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
winbind.pam-config Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
winbind.postinst Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00
winbind.postrm Import Debian changes 2:4.11.6+dfsg-ok1 2022-05-14 02:50:40 +08:00

README.source.md

The packaging is kept in https://salsa.debian.org/samba-team/samba.

The version in unstable is on the master branch, with the corresponding upstream version in the upstream_4.11 branch (with pristine-tar information in the pristine-tar branch).

It should be possible to build the package by just running gbp buildpackage.

Building

The first time:

sudo apt install git-buildpackage pristine-tar cowbuilder
DIST=sid ARCH=amd64 git-pbuilder create
git clone https://salsa.debian.org/samba-team/samba.git

Each time:

cd samba
git checkout master
gbp pull --track-missing
gbp buildpackage --git-pbuilder --git-dist=sid --git-arch=amd64

Merging minor upstream releases

Importing a new upstream version can be done like this:

# set target version
upstream_version=4.11.1
# go to git repo
cd $GIT_DIR
# Import upstream
git remote add upstream https://git.samba.org/samba.git
git fetch upstream
# go to the Debian branch
git checkout master
# sync all required branches
gbp pull --track-missing
# Import latest version
gbp import-orig --uscan \
  -u "${upstream_version}+dfsg" \
  --upstream-vcs-tag "samba-${upstream_version}" \
  --merge-mode merge
# all done :)

Please note that there are some files that are not dfsg-free and they need to be filtered. The settings in the gpb.conf configuration file should take care of that.

Merging major upstream releases

With a new major version, more work is needed.

After gbp pull:

major_version="$(echo $upstream_version | sed 's/.[^.]\+$//')"
# Edit gbp.conf's upstream-branch
editor debian/gbp.conf
# Edit debian/watch's major version
editor debian/watch
# Edit this file's major version
editor debian/README.source
# Commit
git commit -m"Update d/gbp.conf, d/watch and d/README.source for ${major_version}" debian/gbp.conf debian/watch debian/README.source.md
# Create the new upstream branch
git branch "upstream_${major_version}" samba-${upstream_version}
# Import latest version
gbp import-orig --uscan \
  -u "${upstream_version}+dfsg" \
  --upstream-vcs-tag "samba-${upstream_version}" \
  --merge-mode=replace

Then several steps are needed:

  • Apply all patches:

      git am $(cat debian/patches/series | sed s@^@debian/patches/@)
      # then update or drop patches as needed
    
  • Bump talloc, tdb, tevent and ldb Build-Depends in debian/control, from lib/*/wscript

      grep ^VERSION lib/{talloc,tdb,tevent,ldb}/wscript
      editor debian/control
    
  • Check if other Build-Depends need to be bumped

      git diff origin/master.."samba-${upstream_version}" \
      buildtools/wafsamba/samba_third_party.py