[Pkg-samba-maint] filtering on dh_listpackages in d/rules

Michael Tokarev mjt at tls.msk.ru
Tue Apr 5 17:07:43 BST 2022


05.04.2022 19:00, Mathieu Parent wrote:
...
>> ifeq ($(DEB_VENDOR) $(DEB_HOST_ARCH), Ubuntu i386)
>>           BUILD_PACKAGES += \
>>                   -Nctdb \
>>                   -Nlibpam-winbind \
>>                   -Nsamba \
>>                   -Nsamba-testsuite
>> endif
..
> Debian derivatives sometimes ship only a subset of packages. This is
> the case for Ubuntu i386.

Yes, this part is obvious.  I don't see a reason to ship, say,
samba-vfs-modules or samba-dsdb-modules in samba is not being
shipped, though.  Should we remove these too, maybe some others?

Or maybe this time, it's finally okay to ship all this stuff
on ubuntu too.

> Maybe the code can be improved as you said.

Yeah. I changed it to be more apparent. It is a fun case really.
I was initially surprised how it _ever_ works, but later realized
it must be quite common trap if dh didn't implement something of
this sort.

Thanks!

/mjt



More information about the Pkg-samba-maint mailing list