[Pkg-shadow-devel] Re: Test needed on The Hurd (was [Pkg-shadow-commits] r840 - trunk/debian)

Nicolas François nicolas.francois at centraliens.net
Tue Feb 7 20:03:17 UTC 2006


On Tue, Feb 07, 2006 at 07:25:49PM +0000, Christian Perrier wrote:
> Author: bubulle
> Date: 2006-02-07 19:25:47 +0000 (Tue, 07 Feb 2006)
> New Revision: 840
> 
> Modified:
>    trunk/debian/changelog
>    trunk/debian/control
>    trunk/debian/rules
> Log:
> Build with SE Linux support

[...]

> Modified: trunk/debian/rules
> ===================================================================
> --- trunk/debian/rules	2006-02-07 18:07:04 UTC (rev 839)
> +++ trunk/debian/rules	2006-02-07 19:25:47 UTC (rev 840)
> @@ -23,7 +23,7 @@
>  DEB_AUTO_UPDATE_AUTOMAKE = 1.7
>  
>  # Adds extra options when calling the configure script:
> -DEB_CONFIGURE_EXTRA_FLAGS := --disable-shared --without-libcrack --mandir=/usr/share/man --with-libpam --enable-shadowgrp --enable-man --without-selinux
> +DEB_CONFIGURE_EXTRA_FLAGS := --disable-shared --without-libcrack --mandir=/usr/share/man --with-libpam --enable-shadowgrp --enable-man
>  ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
>    DEB_CONFIGURE_EXTRA_FLAGS += --host=$(DEB_HOST_GNU_TYPE)
>  endif

I've just tested (pbuilder + testsuite) a similar solution.
And it looks OK (my pbuilder has a libselinux1-dev 1.26-1, no libsepol)
It also build on a system with libselinux1-dev 1.28-2 and libsepol1-dev
1.10-1).


Alexander, can you try to build on The Hurd.
I don't know if configure will detect automatically that SE Linux is not
available of if we need to add something like:
ifneq ($(DEB_HOST_ARCH_OS),linux)
  DEB_CONFIGURE_EXTRA_FLAGS += --without-selinux
endif

If you can't, we may also ask Aurélien Jarno (hurd+kfreebsd) or Michael
Banck.

Kind Regards,
-- 
Nekral



More information about the Pkg-shadow-devel mailing list