On Mon, Feb 12, 2007, Olivier Kaloudoff wrote: >Hello ! > > > i'm trying to figure out what's the relation between the cvs spec >files and the .src.rpm files in the ftp repository for a given release, >say, E1.0 . > > today i'm trying to install apache-1.3.37, but it does not seem >to include neither php nor any modules. Looking in the apache/ directory >below RPM/SRC, i can see that the spec file builts php and many useful >modules such as suphp, so i don't understand the relation. > > when are the .src.rpm build ? are they re-build each time the >spec file changes (does not seem to be the case). So they are build once >per release, and if we need something bleeding edge, we can use the >RPM/SRC dir, right ? > > is there a way to fetch automatically dependencies from inside >the spec file ? tried openpkg man .. but i just know the "build" command >at this time, and openpkg man openpkg does not refer to any other command, >except lsync, but it does not seem to be what i need. > > is there some kind of "fetch" command, or is apt suited for this >task of fetching the sources before build ?
This is what the ``openpkg build packagename'' command does. It's part of the openpkg-tools package. You can create a file, $HOME/.openpkg/build, with options for the build as well as definitions for individual package options. I'm attaching the .openpkg/build file for the system I'm using for this e-mail. Some options may be non-standard as have done some tweaking on a few packages to meet our local needs (e.g. adding with_shared to python to support with_python for the postgresql package). Our system is a hybrid of OpenPKG Release 2.5 and CURRENT with some local packages. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``the purpose of government is to reign in the rights of the people'' -Bill Clinton during an interview on MTV in 1993
# OpenPKG default parameters for ``openpkg build'' # | -r /e/openpkg/SRC # | -f /e/openpkg/SRC/00INDEX.rdf.bz2 -f ftp://ftp.celestial.com/private/ftp.openpkg.org/release/2.5/SRC/00INDEX.rdf.bz2 -r ftp://ftp.celestial.com/private/ftp.openpkg.org/release/2.5/SRC -B -p amd64-suse10-csr -P sudo ## -N sudo #-E postfix ## -E whoson ## -E djbdns #-E cvs #-E unixodbc #-E uucp ## -E openssh ## -E tripwire -E tcpwrappers -E aspell -E myodbc # -E php -D amavisd::with_milter=no -D apache::with_debug=no -D apache::with_gdbm_ndbm=yes -D apache::with_mod_access_referer=no -D apache::with_mod_auth_ldap=no -D apache::with_mod_auth_mysql=yes -D apache::with_mod_auth_pam=no -D apache::with_mod_auth_radius=no -D apache::with_mod_dav=yes -D apache::with_mod_define=no -D apache::with_mod_evasive=no -D apache::with_mod_fastcgi=no -D apache::with_mod_gzip=yes -D apache::with_mod_layout=no -D apache::with_mod_macro=no -D apache::with_mod_owa=no -D apache::with_mod_perl=yes -D apache::with_mod_php=yes -D apache::with_mod_php_bc=no -D apache::with_mod_php_bdb=yes -D apache::with_mod_php_bzip2=yes -D apache::with_mod_php_calendar=no -D apache::with_mod_php_crack=no -D apache::with_mod_php_curl=yes -D apache::with_mod_php_debug=no -D apache::with_mod_php_dom=yes -D apache::with_mod_php_exif=no -D apache::with_mod_php_freetype=no -D apache::with_mod_php_ftp=yes -D apache::with_mod_php_gd=yes -D apache::with_mod_php_gdbm=yes -D apache::with_mod_php_gettext=yes -D apache::with_mod_php_hardened=no -D apache::with_mod_php_iconv=yes -D apache::with_mod_php_imap=yes -D apache::with_mod_php_mbregex=no -D apache::with_mod_php_mbstring=yes -D apache::with_mod_php_mcrypt=no -D apache::with_mod_php_mhash=yes -D apache::with_mod_php_mm=no -D apache::with_mod_php_mssql=no -D apache::with_mod_php_mysql=yes -D apache::with_mod_php_oci8=no -D apache::with_mod_php_odbc=no -D apache::with_mod_php_openldap=yes -D apache::with_mod_php_openldapsasl=no -D apache::with_mod_php_pcre=yes -D apache::with_mod_php_pgsql=yes -D apache::with_mod_php_sendmail=no -D apache::with_mod_php_snmp=no -D apache::with_mod_php_sqlite=no -D apache::with_mod_php_ssl=yes -D apache::with_mod_php_t1lib=no -D apache::with_mod_php_versioning=no -D apache::with_mod_php_wddx=no -D apache::with_mod_php_xml=yes -D apache::with_mod_php_xslt=no -D apache::with_mod_php_zlib=yes -D apache::with_mod_relocate=no -D apache::with_mod_roaming=no -D apache::with_mod_security=no -D apache::with_mod_ssl=yes -D apache::with_mod_throttle=no -D apache::with_shared_chain=no -D apache::with_shared_core=no -D apache::with_suexec=yes -D apache::with_suexec_caller=csoft -D apache::with_suexec_userdir=public_html -D apache::with_suphp=no -D apache::with_suphp_caller=csoft -D apache::with_suphp_phpcgi=/csrel23/cgi/php -D bind::with_dlz=no -D bind::with_dlz_bdb=no -D bind::with_dlz_filesystem=no -D bind::with_dlz_mysql=no -D bind::with_dlz_odbc=no -D bind::with_dlz_postgres=no -D bind::with_dlz_stub=no -D apache::with_suphp_ugid_check=yes -D apache::with_suphp_ugid_mode=paranoid -D cairo::with_pdf=yes -D cairo::with_png=yes -D cairo::with_ps=yes -D cairo::with_x11=yes -D coreutils::with_legacy=yes -D courier-authlib::with_fsl=yes -D courier-authlib::with_ldap=no -D courier-authlib::with_mysql=no -D courier-authlib::with_pam=yes -D courier-authlib::with_pgsql=no -D courier-imap::strip_domain=yes -D courier-imap::with_ldap=no -D courier-imap::with_mysql=no -D courier-imap::with_pam=no -D courier-imap::with_pgsql=no -D courier-imap::with_whoson=yes -D cssysvlp::with_hpnpf=no -D curl::with_idn=no -D curl::with_ssl=yes -D curl::with_zlib=yes -D cvs::with_fsl=yes -D cvs::with_rootcommit=yes -D cvs::with_rse=yes -D cvs::with_rse_cvsuser=cvs -D db::with_compat=yes -D db::with_cxx=yes -D db::with_shared=yes -D dhcpd::with_fsl=yes -D egroupware::with_contrib=no -D file::with_perl=no -D freeradius::with_annex_md5_kludge=yes -D freeradius::with_gdbm_passwd=yes -D freetds::with_odbc=no -D freetds::with_shared=no -D fsl::with_fsl_debuglogcode=yes -D gcc::with_binutils=yes -D gcc::with_cxx=yes -D gcc::with_fortran=no -D gcc::with_gcc=no -D gcc::with_java=no -D gcc::with_objc=no -D gcc::with_optimize=yes -D gcc::with_profile=no -D gcc::with_shared=yes -D gcc::with_threads=yes -D gd::with_xpm=no -D gdbm::with_ndbm=yes -D gdbm::with_nofsync=no -D ghostscript::with_a4=yes -D ghostscript::with_x11=yes -D giflib::with_tools=yes -D glib2::with_threads=yes -D glib::with_threads=yes -D hylafax::dir_html=/csrel23/share/apache/htdocs/hylafax -D hylafax::with_htmldoc=yes -D hylafax::with_page_size=North%20American%20Letter -D imagemagick::with_perl=no -D imagemagick::with_x11=yes -D imap::with_daemons=no -D imap::with_mbxdef=no -D imap::with_pam=no -D imap::with_ssl=yes -D mailman::with_spamassassin=yes -D mesa::with_demos=no -D mutt::with_comp=no -D mutt::with_initials=no -D mutt::with_ncurses=no -D mutt::with_nntp=no -D mutt::with_quote=no -D mutt::with_sidebar=no -D mysql::with_bdb=yes -D mysql::with_embedded=no -D mysql::with_innodb=no -D mysql::with_ndb=no -D mysql::with_server=yes -D mysql::with_shared=yes -D mysql::with_ssl=no -D ntp::with_crypto=yes -D ntp::with_fsl=yes -D ntp::with_local=yes -D ntp::with_sntp=yes -D openldap::with_crypt=yes -D openldap::with_fsl=yes -D openldap::with_horde=yes -D openldap::with_odbc=no -D openldap::with_perl=no -D openldap::with_sasl=no -D openldap::with_shared=yes -D openldap::with_slurpd=no -D openldap::with_wrap=yes -D openpkg-tools::with_bf=no -D openssh::with_alias=no -D openssh::with_chroot=no -D openssh::with_connect=no -D openssh::with_fsl=yes -D openssh::with_hpn=no -D openssh::with_ldap=no -D openssh::with_libedit=no -D openssh::with_pam=no -D openssh::with_sftplogging=yes -D openssh::with_skey=no -D openssh::with_trysetpath=yes -D openssh::with_watchdog=yes -D openssh::with_wrap=yes -D openssh::with_x11=yes -D openssl::with_idea=no -D openssl::with_pic=no -D openssl::with_threads=no -D openssl::with_zlib=no -D pcre::with_utf8=no -D perl-dbi::with_dbd_mysql=yes -D perl-dbi::with_dbd_odbc=no -D perl-dbi::with_dbd_oracle=no -D perl-dbi::with_dbd_pgsql=yes -D perl-dbi::with_dbd_sqlite=no -D perl-dbi::with_dbd_sybase=no -D perl-gtk::with_gtk1=yes -D perl-gtk::with_gtk2=yes -D perl-net::with_curl=no -D perl-net::with_pcap=no -D perl-xml::with_libgdome=no -D perl-xml::with_libxml=yes -D perl-xml::with_libxslt=yes -D perl::with_shared=yes -D php::with_bc=no -D php::with_bdb=yes -D php::with_bzip2=yes -D php::with_calendar=yes -D php::with_curl=yes -D php::with_debug=no -D php::with_dom=yes -D php::with_exif=no -D php::with_fastcgi=no -D php::with_freetype=no -D php::with_ftp=yes -D php::with_gd=yes -D php::with_gdbm=yes -D php::with_gettext=yes -D php::with_hardened=no -D php::with_iconv=yes -D php::with_imap=yes -D php::with_mbregex=no -D php::with_mbstring=yes -D php::with_mcrypt=no -D php::with_mhash=yes -D php::with_mm=yes -D php::with_mysql=yes -D php::with_oci8=no -D php::with_odbc=no -D php::with_openldap=yes -D php::with_openldapsasl=no -D php::with_pcre=yes -D php::with_pear=yes -D php::with_pgsql=yes -D php::with_sendmail=yes -D php::with_snmp=no -D php::with_sqlite=no -D php::with_ssl=yes -D php::with_versioning=no -D php::with_wddx=no -D php::with_xml=yes -D php::with_xslt=no -D php::with_zlib=yes -D postfix::with_fdsetsize=no -D postfix::with_fsl=yes -D postfix::with_ldap=yes -D postfix::with_mysql=yes -D postfix::with_pgsql=no -D postfix::with_sasl=yes -D postfix::with_ssl=yes -D postfix::with_whoson=yes -D postgresql::with_compat=no -D postgresql::with_cxx=yes -D postgresql::with_odbc=no -D postgresql::with_perl=no -D postgresql::with_pgcluster=no -D postgresql::with_python=yes -D postgresql::with_server=yes -D postgresql::with_slony1=no -D postgresql::with_tcl=no -D procmail::with_fsl=yes -D proftpd::with_ifsession=no -D proftpd::with_ldap=no -D proftpd::with_mysql=no -D proftpd::with_pam=no -D proftpd::with_pgsql=no -D proftpd::with_wrap=yes -D pth::with_optimize=no -D pth::with_pthread=yes -D python::with_bzip2=yes -D python::with_curses=yes -D python::with_db=yes -D python::with_dbm=yes -D python::with_locale=yes -D python::with_readline=yes -D python::with_shared=yes -D python::with_ssl=yes -D python::with_tkinter=yes -D python::with_xml=yes -D qt::with_mysql=no -D qt::with_pgsql=no -D qt::with_threads=yes -D qt::with_tools=no -D rsync::with_chmod=no -D rsync::with_lastmatch=yes -D rsync::with_timelimit=no -D samba::with_acl=no -D samba::with_ads=no -D samba::with_ldap=no -D samba::with_pam=no -D samba::with_swat=yes -D sasl::with_fsl=yes -D sasl::with_gss=no -D sasl::with_ldap=no -D sasl::with_login=no -D sasl::with_mysql=no -D sasl::with_ntlm=no -D sasl::with_otp=no -D sasl::with_pam=no -D sasl::with_pgsql=no -D sasl::with_sasldb=no -D sasl::with_sqlite=no -D shtool::with_shtoolize=yes -D smail::with_sendmail=no -D snmp::with_fsl=yes -D snmp::with_mib_host=yes -D snmp::with_mib_smux=yes -D snmp::with_mib_tables=yes -D snmp::with_perl=yes -D spamassassin::with_fsl=yes -D sqlite::with_assert=no -D sqlite::with_readline=no -D sqlite::with_utf8=no -D sqlite::with_v2=yes -D squid::with_fsl=yes -D squid::with_ntlm=no -D squid::with_snmp=no -D squid::with_ssl=no -D stunnel::with_fsl=yes -D stunnel::with_wrap=yes -D sudo::with_fsl=yes -D sudo::with_pam=no -D tcl::with_x11=yes -D tetex::with_x11=yes -D tiff::with_cxx=no -D usermin::with_atrica=yes -D usermin::with_xp_style=yes -D webmin::with_atrica=yes -D webmin::with_xp_style=yes -D whoson::with_fsl=yes -D whoson::with_perl=yes