Re: rhl-beta - samba-3.0.0beta1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



shrek-m@xxxxxx schrieb:

./configure; make; su; make install
--> a little bit confused ;-)


./configure prefix=/usr sysconfdir=/etc/samba libdir=/etc/samba ...


--with-lockdir=DIR
--with-piddir=DIR
...

comes a little bit closer.
from where can i get all the options,vars, ... that redhat uses?


i got it.

# rpm -ivh /erratas/erratas9/updates.redhat.com/9/en/os/SRPMS/samba-2.2.7a-8.9.0.src.rpm
1:samba ########################################### [100%]



# vi /usr/src/redhat/SPECS/samba.spec


%configure \
       --libdir=%{_sysconfdir}/samba \
       --with-fhs \
       --with-privatedir=%{_sysconfdir}/samba \
       --with-lockdir=/var/cache/samba \
       --with-swatdir=%{_datadir}/swat \
       --with-codepagedir=%{_datadir}/samba/codepages \
       --with-automount \
       --with-smbmount \
       --with-pam \
       --with-mmap \
       --with-quotas \
       --without-smbwrapper \
       --with-libsmbclient \
       --with-utmp \
       --with-piddir=/var/run/samba \
       --with-acl-support \
       --with-vfs \
       --with-pam_smbpass \
       --with-msdfs


vs.



# vi /home/comp/samba-3.0.0beta1/packaging/RedHat/samba.spec


CFLAGS="$RPM_OPT_FLAGS $EXTRA" ./configure \
       --prefix=%{prefix} \
       --localstatedir=/var \
       --with-configdir=/etc/samba \
       --with-privatedir=/etc/samba \
       --with-fhs \
       --with-quotas \
       --with-smbmount \
       --with-pam \
       --with-pam_smbpass \
       --with-syslog \
       --with-utmp \
       --with-sambabook=%{prefix}/share/swat/using_samba \
       --with-swatdir=%{prefix}/share/swat \
       --with-libsmbclient

--
shrek-m




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux