[csw-maintainers] (now about sudo)

Maciej (Matchek) Blizinski maciej at opencsw.org
Wed Feb 3 11:14:30 CET 2010


On Wed, Feb 3, 2010 at 9:58 AM, Dagobert Michelsen <dam at opencsw.org> wrote:
> Hi Maciej,
>
> Am 03.02.2010 um 10:53 schrieb Maciej (Matchek) Blizinski:
>> There's more work to be done in order for sudo_ldap to be a
>> high-quality solution.  The permission problem is one thing, but the
>> other is that there's no mechanism to switch the sudo versions; the
>> /opt/csw/bin/sudo path will always point at sudo.minimal (non-ldap
>> one).  I don't like the idea of our packages trying to cope with
>> custom modifications of any paths controlled by them.
>
> Ok, does that mean "alternatives" first? I know you packaged up
> Debians and looked at RedHats (?) but that was difficult to
> compile. What needs to be done to finish it?

Yes, alternatives need to go first.  The RedHat thing is hidden inside
the chkconfig package.  I've started writing the build description,
everything I've done is in the repo.

https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/chkconfig/trunk/Makefile

It needs to be patched to use /opt/csw/... paths, and there's a
compilation error as well:

source='alternatives.c' object='alternatives.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/bash ./depcomp \
        /opt/studio/SOS11/SUNWspro/bin/cc
-DLOCALEDIR=\"/opt/csw/share/locale\" -DRCDIR=\"/etc\"
-DINITDIR=\"/etc/init.d\" -DXINETDDIR=\"/etc/xinetd.d\" -DMAXLEVEL=3
-DMAXPRI=99 -DPRIREGEX=\"[SK][0-9][0-9]\"
-DALTLINKSDIR=\"/etc/alternatives\"
-DALTADMINDIR=\"/var/lib/alternatives\" -DSBINDIR=\"@SBINDIR@\"
-DHAVE_CONFIG_H -I. -I./intl -I.  -I/opt/csw/include -D_REENTRANT
-xO3 -xarch=v8 -c alternatives.c
"leveldb.c", line 153: syntax error before or at: :
"leveldb.c", line 242: cannot recover from previous errors
cc: acomp failed for leveldb.c
gmake[4]: *** [leveldb.o] Error 2
gmake[4]: *** Waiting for unfinished jobs....
"chkconfig.c", line 384: warning: implicit function declaration: alloca
"chkconfig.c", line 384: warning: improper pointer/integer combination: op "="
"chkconfig.c", line 566: warning: argument #3 is incompatible with prototype:
        prototype: pointer to pointer to const char :
"/opt/csw/include/popt.h", line 259
        argument : pointer to pointer to char
"chkconfig.c", line 636: warning: implicit function declaration: basename
"chkconfig.c", line 636: warning: improper pointer/integer combination: op "="
"chkconfig.c", line 644: warning: improper pointer/integer combination: op "="
gmake[4]: Leaving directory
`/home/maciej/src/opencsw/pkg/chkconfig/trunk/work/solaris8-sparc/build-isa-sparcv8/chkconfig-1.3.30c'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/home/maciej/src/opencsw/pkg/chkconfig/trunk/work/solaris8-sparc/build-isa-sparcv8/chkconfig-1.3.30c'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/home/maciej/src/opencsw/pkg/chkconfig/trunk/work/solaris8-sparc/build-isa-sparcv8/chkconfig-1.3.30c'
gmake[1]: *** [build-work/solaris8-sparc/build-isa-sparcv8/chkconfig-1.3.30c/Makefile]
Error 2
gmake[1]: Leaving directory `/home/maciej/src/opencsw/pkg/chkconfig/trunk'
gmake: *** [merge-isa-sparcv8] Error 2
gmake: Leaving directory `/home/maciej/src/opencsw/pkg/chkconfig/trunk'


More information about the maintainers mailing list