Upgrade questions
I'm planing to upgrade to release 2.2 since last week. The questions that come up while preparing my first openpkg live server to be upgradet don't receaved any coments/answers. Did they reached the list ? The subject where: Re: Upgrade procedure I've setup chroot env and preparing to test upgrade I issued: openpkg build -za new.sh looking to new.sh I found some ATTENCION I don't understand # ATTENTION: mysql-4.0.20-2.1.0 is in LIMBO # ATTENTION: openldap-2.2.14-2.1.0 is in LIMBO # ATTENTION: openssl-0.9.7d-2.1.0 is in LIMBO # ATTENTION: perl-5.8.4-2.1.0 is in LIMBO # ATTENTION: perl-ldap-5.8.4-2.1.0 is in LIMBO # ATTENTION: perl-mail-5.8.4-2.1.0 is in LIMBO # ATTENTION: perl-sys-5.8.4-2.1.0 is in LIMBO # ATTENTION: perl-time-5.8.4-2.1.0 is in LIMBO # ATTENTION: postgresql-7.4.3-2.1.0 is in LIMBO What does this LIMBO means ? Should I worry about ? = BIND-9.3.0-2.2.0 with_dlz=yes I was trying to upgrade my bind-9.x-2.1 to release 2.2. It previously was build with_dlz=yes option. Now in release 2.2 it fails compiling just at the beginning because of patching failure. Executing(%prep): env -i /opkg/lib/openpkg/bash --norc --noprofile --posix -e /opkg/RPM/TMP/rpm-tmp.90028 patching file bin/Makefile.in patching file bin/dlzbdb/Makefile.in patching file bin/dlzbdb/dlzbdb.c patching file bin/named/Makefile.in Hunk #1 FAILED at 31. Hunk #2 FAILED at 65. Hunk #3 succeeded at 95 with fuzz 2 (offset 4 lines). 2 out of 3 hunks FAILED -- saving rejects to file bin/named/Makefile.in.rej Non-root build does not install I´ve somehow the idea the packages should be compiled with non-root privileges. I created .openpk/build wher I put -P sudo in. This worked fine except for 2 packages I was upgrading. The db-4.2.52.2-2.2.0 and libxslt-1.1.11-2.2.0 compiled with non-root privileges aparently, generating binary .rpm, but when I try to install them I got: sudo /opkg/bin/openpkg rpm --force -Uvh /opkg/RPM/PKG/db-4.2.52.2-2.2.0.ix86-rhl7.3-opk.rpm error: unpacking of archive failed on file /opkg/bin/db_verify;4179a8af: cpio: MD5 sum mismatch exit 1 sudo /opkg/bin/openpkg rpm --force -Uvh /opkg/RPM/PKG/libxslt-1.1.11-2.2.0.ix86-rhl7.3-opk.rpm error: unpacking of archive failed on file /opkg/bin/xsltproc;4179b559: cpio: read failed - Inappropriate ioctl for device exit 1 Both packages compiled with the same command issued by root, generated a binary that instaled with no complains. Any idea why that happens ? PS. When compiling I was in an chroot environment on my production server. == Thanks for any hint Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Upgrade questions
Thanks for your answer. Could you explain a bit more thise because I did not understand correctly what happend. 1st) I do not understand the meaning of the word LIMBO, don't know if its important 2nd) How could I have a circular dependency ? I do NOT use rpm --force I build all packages from source with something like: openpkg build [--define...] [package ...] build.sh [less build.sh] /* I'm curiouse whats going on :-)) */ sh build.sh 3) I take the risk and rebuild all packages to rel-2.2 in chroot copy exept for some problems compiling (other issues from prev mail) I have no ATTENTION when runing openpkg build -Ua Thanks, Alex Citando Michael van Elst [EMAIL PROTECTED]: On Wed, Oct 27, 2004 at 04:35:28PM -0300, Alexander Belck wrote: looking to new.sh I found some ATTENCION I don't understand # ATTENTION: mysql-4.0.20-2.1.0 is in LIMBO # ATTENTION: openldap-2.2.14-2.1.0 is in LIMBO # ATTENTION: openssl-0.9.7d-2.1.0 is in LIMBO # ATTENTION: perl-5.8.4-2.1.0 is in LIMBO # ATTENTION: perl-ldap-5.8.4-2.1.0 is in LIMBO # ATTENTION: perl-mail-5.8.4-2.1.0 is in LIMBO # ATTENTION: perl-sys-5.8.4-2.1.0 is in LIMBO # ATTENTION: perl-time-5.8.4-2.1.0 is in LIMBO # ATTENTION: postgresql-7.4.3-2.1.0 is in LIMBO What does this LIMBO means ? While the build tool computes dependencies for a target it marks the target as in LIMBO because any reference to it is undefined until the target has been installed or updated. If you see that message then you have a circular dependency. Should I worry about ? Maybe. Circular dependencies should be avoided because there is no deterministic path for resolving them. The result might be broken too if you link with an old library that gets updated later. Greetings, -- Michael van Elst Internet: [EMAIL PROTECTED] A potential Snark may lurk in every tree. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Non-root build does not install
I´ve somehow the idea the packages should be compiled with non-root privileges. I created .openpk/build wher I put -P sudo in. This worked fine except for 2 packages I was upgrading. The db-4.2.52.2-2.2.0 and libxslt-1.1.11-2.2.0 compiled with non-root privileges aparently, generating binary .rpm, but when I try to install them I got: sudo /opkg/bin/openpkg rpm --force -Uvh /opkg/RPM/PKG/db-4.2.52.2-2.2.0.ix86-rhl7.3-opk.rpm error: unpacking of archive failed on file /opkg/bin/db_verify;4179a8af: cpio: MD5 sum mismatch exit 1 sudo /opkg/bin/openpkg rpm --force -Uvh /opkg/RPM/PKG/libxslt-1.1.11-2.2.0.ix86-rhl7.3-opk.rpm error: unpacking of archive failed on file /opkg/bin/xsltproc;4179b559: cpio: read failed - Inappropriate ioctl for device exit 1 Both packages compiled with the same command issued by root, generated a binary that instaled with no complains. Any idea why that happens ? Alex PS. When compiling I was in an chroot environment on my production server. -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Upgrade procedure
I've setup chroot env and preparing to test upgrade I issued: openpkg build -za new.sh looking to new.sh I found some ATTENCION I don't understand # ATTENTION: mysql-4.0.20-2.1.0 is in LIMBO # ATTENTION: openldap-2.2.14-2.1.0 is in LIMBO # ATTENTION: openssl-0.9.7d-2.1.0 is in LIMBO # ATTENTION: perl-5.8.4-2.1.0 is in LIMBO # ATTENTION: perl-ldap-5.8.4-2.1.0 is in LIMBO # ATTENTION: perl-mail-5.8.4-2.1.0 is in LIMBO # ATTENTION: perl-sys-5.8.4-2.1.0 is in LIMBO # ATTENTION: perl-time-5.8.4-2.1.0 is in LIMBO # ATTENTION: postgresql-7.4.3-2.1.0 is in LIMBO What does this LIMBO means ? Should I worry about ? Thanks, Alex Citando Ralf S. Engelschall [EMAIL PROTECTED]: On Thu, Oct 21, 2004, [EMAIL PROTECTED] wrote: Could you give me some help how to prepare a chroot environment apropriate to build a separate instance of OpenPkg-2.2 with same packages and --with options to upgrade my prodution running at /opkg ? I guess I should: a) mkdir /chrootOS b) cd /chrootOS c) mkdir /proc /root /home /tmp d) cd /; cp -axv /bin /dev /etc /lib /sbin /usr /var /opkg /chrootOS/ e) chroot /chrootOS f) proceed with upgrade of chrootOS/opkg to ver 2.2 Yes. Just step (d) is usually OS dependent. For instance, under FreeBSD /dev is a virtual FS you do not have to copy, etc. Just consult one of the dozend how-to documents on the net on how to create a clean and correct chroot(2) environment for a particular OS. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
SpamAssassin final
I'd like to know if it is possible to update to the final 3.0.0 version, as I need a future corrected in this version. Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Updating rpm should preserve /opkg/etc/rc.d/rc.server
Today I updated apache following security advise. It happens that the instalation overides rc.apache that should be treated as a configuration file, since there ara options that could be set previously (and in this specific case, I needed to implement the graceful action). In general form I think that the rpm install script should at least rename the old version to .rpmsave or make the new a .rpmnew if files differ and display a warning. Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: SpamAssassin final
To prepare my waries :-)) How do I upgrade a production instalation of OpenPKG from ver 2.1 to 2.2. Today I have allmost all (just miss freeradius-1.0.0_with-ldap and courier) OpenPKG I need from ver 2.1 build at my host and running from an instalation at /opkg. How should I proceed to get the new 2.2 release with all the same build option running ? Is it possible to have it at the same /opkg root without an spare Host with same underlaying OS (and same hardware??) to build the new pakages ? Temporarly, is it possible to instruct `openpkg build package` to get the lates package from CURRENT Release ? Thanks, Alex Citando Ralf S. Engelschall [EMAIL PROTECTED]: On Fri, Oct 15, 2004, Alexander Belck wrote: I'd like to know if it is possible to update to the final 3.0.0 version, as I need a future corrected in this version. Well, in OpenPKG 2.1 there cannot be 3.0.0 because at the time of OpenPKG 2.1 there existed only a 3.0.0pre2 and by policy we do not perform any vendor version upgrades within a release. But either use OpenPKG CURRENT today (which already has Spamassassin 3.0.0 final) or wait until next week after OpenPKG 2.2 is available (which then also contains Spamassassin 3.0.0). Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Updating rpm should preserve /opkg/etc/rc.d/rc.server
Two questions 1) specificaly for apache I need the action graceful. Particulary I would prefer the way other distros handle apache using apachectl, that in some cases make extra check to avoid killing apache at all when reloading with a new miss-configuret apache.conf But at least could be the graceful action added to the standart rc.apache ? 2) My lake of knowlege. How should I use rc.conf ? I'm not used with that kind of startup, I guess its similar to debian ?? All I found is that all the rc.xxx files from OpenPKG have a %config section that could change the way a server starts. Should I repead the configuration settings I whant to change from rc.xxx in rc.conf with my setting ? Thanks, Alex Citando Ralf S. Engelschall [EMAIL PROTECTED]: On Fri, Oct 15, 2004, Alexander Belck wrote: Today I updated apache following security advise. It happens that the instalation overides rc.apache that should be treated as a configuration file, since there ara options that could be set previously (and in this specific case, I needed to implement the graceful action). No, rc.xxx are *not* configuration files! If you want to change some of its settings write them to rc.conf, please. In general form I think that the rpm install script should at least rename the old version to .rpmsave or make the new a .rpmnew if files differ and display a warning. .rpmsave are only created for config files. rc.xxx are not config files, hence no .rpmsave files. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: FreeRadius
As Bill's freeradius-1.0.0 is the closest ver I got to build, could someone tell me if I can just make a symlink from install to ginstall ? I searched google for ginstall and got only old (1999/2000) references to that and in one it told that ginstall has been renamed to install. Any other advice to get freeradius build will be apreciated. Thanks, Alex Citando [EMAIL PROTECTED]: Now I rebuild with: openpkg rpm --rebuild -D with_gdbm_passwd=no freeradius-1.0.0-20040812.src.rpm Executing(%install): env -i /opkg/lib/openpkg/bash --norc --noprofile --posix -e /opkg/RPM/TMP/rpm-tmp.9186 + cd /opkg/RPM/TMP + cd freeradius-1.0.0 + DESTDIR=/opkg/RPM/TMP/freeradius-1.0.0-root + export DESTDIR + GZIP=-v9nf + export GZIP + perl -e '$_=$ENV{DESTDIR}./; exit (!m:/tmp/\w\S+/:i || m:/\.\./:)' + rm -rf /opkg/RPM/TMP/freeradius-1.0.0-root + mkdir -p /opkg/RPM/TMP/freeradius-1.0.0-root + ginstall -d /opkg/RPM/TMP/freeradius-1.0.0-root/etc/logrotate.d /opkg/RPM/TMP/freeradius-1.0.0-root/etc/pam.d /opkg/RPM/TMP/freeradius-1.0.0-root/etc/rc.d/init.d /opkg/RPM/TMP/rpm-tmp.9186: line 39: ginstall: command not found error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.9186 (%install) RPM build errors: Bad exit status from /opkg/RPM/TMP/rpm-tmp.9186 (%install) Should I have ginstall ?? Citando Bill Campbell [EMAIL PROTECTED]: On Wed, Sep 01, 2004, [EMAIL PROTECTED] wrote: I tryed to rebuild Bill's version and got: Installing freeradius-1.0.0-20040812.src.rpm error: File /opkg/RPM/SRC/freeradius/%{Name}-%{Version}-CSYS.patch: No such file or directory If you install this, it provides some additional Macros that I've been using from the old Caldera version of RPM. ftp://ftp.celestial.com/private/ftp.openpkg.org/release/2.1/SRC/csrpmutils-0.90-20030119.src.rpm Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Systems, Inc. UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Memoirs -- Bill Clinton is getting $12 million for his memoirs, and his wife Hillary got $8 million for hers. That's $20 million for memories from two people who for eight years repeatedly testified they couldn't remember anything. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Rebuild script
Can openpkg tool genaret a script that would rebuild all packages with same options on an other platform. To clarify my english. I have worked to get several functions work together using OpenPKG build from source on my old RH7.3. If I got a new server wher I could install CL10 or FC3 and would build all OpenPKG in the same manner, could openpkg (or other tool) write a script for me, that would download all necessary src.rpms and build them with the same options I have done on RH7.3 ? Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
FreeRadius
I'm trying to install freeradius. I got freeradius-1.0.0-20040810.src.rpm from current, then: openpkg rpm --rebuild freeradius-1.0.0-20040810.src.rpm : : ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_mac.o)(.text+0x71): In function `x99_mac': : undefined reference to `DES_cbc_encrypt' ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0x3c4): In function `x99_pw_valid':: undefined reference to `MD4' ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0x5ea): In function `x99_pw_valid':: undefined reference to `MD4' ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0xde6): In function `x99_pw_valid':: undefined reference to `MD5' collect2: ld returned 1 exit status rm -f .libs/radiusdS.o gmake[4]: *** [radiusd] Error 1 gmake[3]: *** [common] Error 1 gmake[2]: *** [all] Error 2 gmake[1]: *** [common] Error 1 make: *** [all] Error 2 error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.85465 (%build) Why is this happining ? I'm used to build packages with: openpkg build package But this only works for release packages. How should I proceed with a packages of current ? Am I missing somthing ? Do I need to download/build somthing from current to mix release-21 and current packages ? Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: FreeRadius
I was checking my system trying to find out whats wrong. I realy don't understand exactly where things come from, but perhaps this information can help you to help me :-)) I search for references of DES_cbc_encrypt, where I found: a) In /opkg/include/openssl/des.h is a definition of a function with that name b) From RH7.3 I also have a des.h under /usr/include/openssl/des.h that do not have that function defined. Could it be that building freeradius it uses the wrong ver of des.h ? I do not know if it should be using the headers from OPKG or RH, but I guess it should be from OPKG as my servers are all from OPKG and if they need I guess they use OPKG version of openssl. Thanks for any tip that could bring me further. Alex Citando Ralf S. Engelschall [EMAIL PROTECTED]: On Wed, Sep 01, 2004, Alexander Belck wrote: I'm trying to install freeradius. I got freeradius-1.0.0-20040810.src.rpm from current, then: openpkg rpm --rebuild freeradius-1.0.0-20040810.src.rpm : ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_mac.o)(.text+0x71): In function `x99_mac': : undefined reference to `DES_cbc_encrypt' ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0x3c4): In function `x99_pw_valid':: undefined reference to `MD4' ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0x5ea): In function `x99_pw_valid':: undefined reference to `MD4' ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0xde6): In function `x99_pw_valid':: undefined reference to `MD5' collect2: ld returned 1 exit status rm -f .libs/radiusdS.o gmake[4]: *** [radiusd] Error 1 gmake[3]: *** [common] Error 1 gmake[2]: *** [all] Error 2 gmake[1]: *** [common] Error 1 make: *** [all] Error 2 error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.85465 (%build) Why is this happining ? I'm used to build packages with: openpkg build package But this only works for release packages. How should I proceed with a packages of current ? Am I missing somthing ? Do I need to download/build somthing from current to mix release-21 and current packages ? Well, the package is brand-new in OpenPKG-CURRENT and still not well tested. But it at least builds fine for me under FreeBSD 4. Under what OS are you trying to build this? Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: FreeRadius
But shouldn't openpkg use libs/headers from openpkg version ? Why does it seams to be mixing the underlaying OS-stuff with the OPKG ones ? From RH7.3 I have openssl-0.9.6b-35.7 and from OPKG2.1 I have openssl-0.9.7d-2.1.0 It seams to me that when building it takes the headers from OpenPKG (thus refering to DES_cbc_encrypt), but when linking it use the lib from RH7.3 where it could not find this function. Can I be interpreting this write ? Any sugestion how to fix it ? Thanks, Alex Citando Michael van Elst [EMAIL PROTECTED]: On Wed, Sep 01, 2004 at 02:59:22PM -0300, Alexander Belck wrote: Could it be that building freeradius it uses the wrong ver of des.h ? It is either using the wrong des.h or the wrong crypto library. The names of the crypto API changed between openssl 0.9.6 and 0.9.7. -- Michael van Elst Internet: [EMAIL PROTECTED] A potential Snark may lurk in every tree. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
OpenPKG servic status
When I run: openpkg rc openldap status I Got: openldap_usable=unknown As I understand the rc.openldap script, there is nothing changing the usability status in the script. So is it intended to by change by hand because this service doesn't provide a eficient way to tell if it is usable or should ther be something like openldap_usable=`slapd -t /dev/null echo Yes || echo No` Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Postfix
I compiled,configured and started OpenPKG postfix with aparently no errors, but I Can't get positive connection nor any error. When I : telnet localhost smtp I got: [EMAIL PROTECTED] log]# telnet localhost smtp Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. but no, 220 myhost ESMTP response Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Apache and graceful
I'm using a project that whants to issue a apache graceful command. In RH apache seams to be started/stoped/reloaded with apachectl comand In OpenPKG rc.apache this actions seams to me be done by sending specific kill signals to apache. Can I still use apachectl graceful ? Is there a better o equivalent way to dio this in OpenPKG ver of Apache ? Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
OpenPKG perl and CPAN
I'm realy anewby with perl. The install instruction of the project I whant to run I'm asked to update perl with CPAN. The sequence I should do was: perl -MCPAN -eshell CPAN install MD5 CPAN install Bundle::CPAN While trying to do this with OpenPKG version of perl I got a recursive error: : : Writing /opkg/lib/perl/5.8.4/i686-linux/auto/Cwd/.packlist Appending installation info to /opkg/lib/perl/5.8.4/i686-linux/perllocal.pod /opkg/bin/make install -- OK Recursive dependency detected: Cwd = K/KW/KWILLIAMS/Cwd-2.20.tar.gz = File::Spec = K/KW/KWILLIAMS/File-Spec-0.88.tar.gz = Cwd. Cannot continue. Is this a perl::CPAN error or does I configured thanthing wrong in the 'perl -MCPAN -eshell` configuration that leads to this error ? At one step it asked for prefix I'm unshure how to set (used defaulte). Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Confused with static apache X IfModule
Again, I was using distros configuration files without knowing exactly whats going on ;-( Now I'm trying to get apache to run, and got to some problems. The testpage refers to DocumentRoot that links to: /manual/mod/core.html#documentroot Under the /manual/mod/ I found the Language versions of core.html, but my browser gots a Not Found for core.html So I checked for Language negotiation and found in apache.base: IfModule mod_mime.c TypesConfig /opkg/etc/apache/mime.types AddType application/x-tar .tgz AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddLanguage da .dk AddLanguage nl .nl : : /IfModule IfModule mod_negotiation.c LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw /IfModule My missunderstanding In OpenPKG every thing is static and for apache I used --with_module to staticaly compile a module in (So I thought), but I couldn't find any compiling option for mod_mime or mod_negotiation eaven they should be there as I found reference to them in opk version of apache.base. Where am I thinking wrong ? Or what am I missing ? Why doesn't apache returned some of the core.html.LANGUAGE file to me ? Thanks, Alex -- ATIX Tecnologia e Com Ltda/manual/mod/core.html#documentroot Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
duplicated log
OpenPKG apache.base directs to do changes in apache.conf and overaid default settings. I tryed to change the default access.log and error.log destination including: CustomLog /isp/var/log/apache/access.log common env=!ignore_global_access ErrorLog /isp/var/log/apache/error.log but know I got access.log written twice (one at the directory I told in apache.conf and one in default /opkg/var/apache/log directory) and error.log still in default directory What is wrong ? -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Perl
I thought that being able to use the most up to date version of perl should avoid bug or security problems corrected in newer versions (while correct scripts should further run as the language syntax and standarts should not change). Yes, but it can also break existing scripts that depend on older versions of perl. You're far better off to leave the original perl alone, letting existing scripts use the version they expect. New things like ISPman can be built under the OpenPKG system where they will use the most current versions built in a consistent environment (not of of Red Hat's strong suits :-). So how should I make ISPman use the OpenPKG perl ? ISPman has about 100 perl scripts, constantly updating over cvs, and all start with: #!/usr/bin/perl Can you suggest me what to do ? Also, Ralf Engelschall replied to my environment saying thats OK just to run a OpenPKG binary giving the full path, so coult I just use #!/opkg/bin/perl ? I realy don't understant what is all done by /opkg/etc/rc --eval all env. I see that the PATH, LD_LIBRARY_PATH, MANPATH and INFOPATH are prepend with /opkg_paths, but don't know if other things are changed. Thanks again, Alex-- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
FreeRadius
Is there any plan to include FreeRadius in OpenPKG ? It has manny new features, I guess its the only Open Source handling wireless 802.1x authentication and also supports many external authentications like LDAP, MySQL, PgSQL, ... Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: FreeRadius
Where can I find this OpenPKG vers of FreeRadius ? Can it easyly by upgradet to 1.0.0 and does it provide --with-ldap ? Thanks, Alex Citando Bill Campbell [EMAIL PROTECTED]: On Thu, Aug 05, 2004, Alexander Belck wrote: Is there any plan to include FreeRadius in OpenPKG ? It has manny new features, I guess its the only Open Source handling wireless 802.1x authentication and also supports many external authentications like LDAP, MySQL, PgSQL, ... I've built freeradius-0.9.3 under OpenPKG, but haven't had any particular reason to update it as it's been Just Working(tm). The version I've done has been hacked to use a gdbm hash for password lookups from a private file to allow it to do *nix style authentication independent of the underlying system's password files. I've also modified it to work with Annex 8000 RACs that have a broken checksum, and no easy way to get fixed software from Nortel. These changes are selectable using normal package options, with_annex_md5_kludge and with_gdbm_passwd (although I haven't tested builds with these turned off). Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Democracy, n.: A government of the masses. Authority derived through mass meeting or any other form of direct expression. Results in mobocracy. Attitude toward property is communistic... negating property rights. Attitude toward law is that the will of the majority shall regulate, whether it is based upon deliberation or governed by passion, prejudice, and impulse, without restraint or regard to consequences. Result is demagogism, license, agitation, discontent, anarchy. -- U. S. Army Training Manual No. 2000-25 (1928-1932), since withdrawn. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
OpenPKG bind in chroot ?
I used to install bind in chroot mode running with a bind exclusive user. 1st) Is OpenPKG ver of bind chroot enabled (-t chrootdir) ? 2nd) opkg_bind uses opkg[-r] user. Does I gain more security using an distinct user and chrooting opkg_bind ? 3rd) What does option with_dlz enables ? Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Perl
I don´t understand your point (or expirience). For me, perl is just a interpretated programing languagues that is developed independent of RH, Suse,Conectiva... I whant to run ISPman, that use LDAP to hold ISP data and perl to mantain that information. This project doesn´t presume that perl comes from distr A, B or C (and I think that noone should do a propram in any language presuming that the interpreter/compiler has been bundled by A, B or C). I thought that being able to use the most up to date version of perl should avoid bug or security problems corrected in newer versions (while correct scripts should further run as the language syntax and standarts should not change). If I understand right you worries that some tasks of RH7.3 depends specificaly on his perl distribution and changing /usr/bin/perl could render to problems. Eaven I could not think where this can happen (I thought also I could upgrade perl from the developers site independent if RH upgrades), presuming this problems can happen with som script from RH, could I at least make the scripts from ISPman use OpenPKG perl ? If this sounds resonable could you point me out how to change the execution of the main ISPman script (that invokes all other) to corretly prepare the environment for OpenPKG ? Thanks, Alex Citando Bill Campbell [EMAIL PROTECTED]: On Thu, Aug 05, 2004, [EMAIL PROTECTED] wrote: I'm using linux too (but relative old RH 7.3) and I thought using OpenPKG wersions of softwares would give me a longer updated live. If my thinking is correct, I would like to use OpenPKG version of perl and not the RH73 one. That's probably a Bad Idea(tm) as RH 7.3 may well have things that depend on their particular version of perl and its associated modules. One of the major advantages of OpenPKG is that the OpenPKG instance(s) are independent of the vendor's underlying packaging system and other installed software. I have systems running OpenPKG Release 2.0 under Caldera eDesktop 2.4 which is about the same vintage as RH 7.3 with good results. Leave the RH stuff alone, and use OpenPKG for everthing else. Typically I set systems up so that root logins don't have the OpenPKG environment set by default to avoid problems with the vendor's maintenance scripts and updates. I have to manually execute a command that invokes the OpenPKG eval when logged in as root. This is less of a problem since OpenPKG Release 2.0 removed ``rpm'' from the PATH, but there are still potential problems if one has the OpenPKG executables in the PATH before the default system directories. Could I write a small script that I name /usr/bin/perl with something like: #/bin/sh if [ OPKG-ENV_NOT_SET ]; then /opkg/etc/rc --eval all env fi /opkg/bin/perl $* Also I don't know how to check if OPKG_ENV_NOT_SET. Should grabing opkg in $PATH be enouth ? Thanks, Alex Citando Bill Campbell [EMAIL PROTECTED]: On Thu, Aug 05, 2004, Alexander Belck wrote: Some perl scripts use #!/usr/bin/perl Could I just symlink ln -s /opkg/bin/perl /usr/bin/ ? I've done this with links to /usr/local/bin/perl with reasonable success. Most of the systems we use already have /usr/bin/perl (e.g. they're Linux). If the perl script is executed by a user that DO NOT have previosly run /opkg/etc/rc --evall all env This depends on whether the perl scripts make system() calls that depend on the PATH that's set (and spelling --eval correctly :-). Most of the scripts I write check to see if the OpenPKG environment has been set, and if it hasn't, they set it explicitly. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ When only cops have guns, it's called a ``police state''. -- Claire Wolfe, 101 Things To Do Until The Revolution __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup
GCC problems
A few days ago I removed gcc from the underlying OS. Today I tryed to rebuild apache in openpkg-2.1 and got following error: ./configure:Error: Building of 'patch' tool failed: - patch/rename.c patch/util.c patch/util.h patch/version.c patch/version.h creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. make: *** No targets specified and no makefile found. Stop. - Hint: Either try to build 'patch' under etc/patch/ Hint: manually and re-run this 'configure' script Hint: or provide us the path to your vendor 'patch' Hint: program via the --with-patch=FILE option (but Hint: expect perhaps failures when applying patches!) + exit 1 error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.66317 (%build) [EMAIL PROTECTED] PKG]# openpkg rpm -q gcc gcc-3.4.1-2.1.0 Does openpkg-gcc needs the underlaying OS-gcc ? Or is ther some error in the apdated apache ? What should I check ? Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: GCC problems
Looking for crt1.o (found in config.log from m4 --rebuild) I notice that it realy was missing. Comparing with other RedHat instalation I found that this comes from glibc-devel, that I also de-installed ;-( So, after reinstalling glibc-devel I could rebuild m4 and my conclusion is that I need to mantain glibc-devel from the underlaying OS (RedHat-7.3 for me). Will try apachae now, so far its compiling :-)). Thanks, Alex Citando Michael Schloh von Bennewitz [EMAIL PROTECTED]: On Wed, Aug 04, 2004, [EMAIL PROTECTED] wrote: I don't understand why I need 2 compilers. If I have gcc in openpkg (to compile it the 1st time I used the RH gcc), isn't this gcc used for further compilations ? You don't need two compilers, and OpenPKG will indeed use the GCC in the OpenPKG instance. Please see my other email which should clarify. -- Michael Schloh von Bennewitz [EMAIL PROTECTED] Development Team, Operations Northern Europe Cable Wireless Telecommunications Services Tel +49-89-92699-227, Fax +49-89-92699-808 -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Courier IMAP
Is there any chance to have courier-imap for openpkg ? The developers source comes with a .spec. I tryed to convert it to a openpkg-1.3.spec last year with no success due my poor understanding of all the options in a .spec file. I would realy prefer a imap mailserver with mailbox comatible recipients that I'm used to work with and lots of utilits to manage them. Fiel afraid to migrate to cyrus (eaven it seams that lots of people use/like it) and have to convert (don't know how) my existing mailboxes from +- 50 domains. Thanks again, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Courier IMAP
Citando Michael Schloh von Bennewitz [EMAIL PROTECTED]: On Wed, Aug 04, 2004, Alexander Belck wrote: Is there any chance to have courier-imap for openpkg ? Bill CAMPBELL graciously offered you the Courier IMAP package before, and you'll even find a OpenPKG 2.1 version if you look around a little. Yes, but at that time it allready was a bit outdated and I couldn't reuse/convert his .spec to a recent version of courier.src I searched under ftp://ftp.openpkg.org/release/2.1/SRC/[PLUS] and couldn't identify a package for courier. Is it renamed ? Is there an other place to search ? I believe that the reason before that we didn't integrate this version is that it didn't meet all the OpenPKG package standards. I'll check to see if this is still the case. I don't remember issues about this, but I hope if there where problems that they could be resolved yet. I tryed to convert it to a openpkg-1.3.spec last year with no success due my poor understanding of all the options in a .spec file. If you really want it integrated into the OpenPKG package repository, then consider beginning with Bill's package (which just might need very few changes). I realy couldn't do it before. His .spec was realy smaler than the one provided by courier and I couldn't decide what could be taken out of the developers .spec ;-( I would realy prefer a imap mailserver with mailbox comatible recipients that I'm used to work with and lots of utilits to manage them. Fiel afraid to migrate to cyrus (eaven it seams that lots of people use/like it) and have to convert (don't know how) my existing mailboxes from +- 50 domains. Good reason to stick with courier, although I can't speak from experience as to which brand more efficient is. -- Michael Schloh von Bennewitz [EMAIL PROTECTED] Development Team, Operations Northern Europe Cable Wireless Telecommunications Services Tel +49-89-92699-227, Fax +49-89-92699-808 -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Courier IMAP
What is lint-*.pl ? Is it a tool to automate a convertion of developers .spec to OpenPKG convention .spec ? If there is a way to convert the developer .spec to a OpenPKG .spec without real understanding of all concepts and options of a .spec file I could try again to convert the .spec Thanks Alex Citando Michael Schloh von Bennewitz [EMAIL PROTECTED]: On Wed, Aug 04, 2004, Alexander Belck wrote: Citando Michael Schloh von Bennewitz [EMAIL PROTECTED]: Bill CAMPBELL graciously offered you the Courier IMAP package before, and you'll even find a OpenPKG 2.1 version if you look around a little. Yes, but at that time it allready was a bit outdated and I couldn't reuse/convert his .spec to a recent version of courier.src I searched under ftp://ftp.openpkg.org/release/2.1/SRC/[PLUS] and couldn't identify a package for courier. Is it renamed ? Is there an other place to search ? There is no courier IMAP at all on the OpenPKG FTP server, so no that is not what I meant. I was referring to Bill's server, although I don't know just how public he wishes it to be. I believe that the reason before that we didn't integrate this version is that it didn't meet all the OpenPKG package standards. I'll check to see if this is still the case. I don't remember issues about this, but I hope if there where problems that they could be resolved yet. After looking at his .spec file again, I see that the 2.1 courier IMAP package heavily diverges from OpenPKG packaging standards. Although these standards are not yet well documented, the following can give an eager packager an early start. 1 Install the openpkg-tools package 2a Examine what you get (pay attention to lint-*.pl programs) 2b [EMAIL PROTECTED] /opkg/bin/openpkg rpm -ql openpkg-tools 3 Do something with it Just what to do with it? Maybe something like: [EMAIL PROTECTED] OPENPKG_PREFIX=/opkg OPENPKG_TOOLS_CMDPROG=/opkg/bin/openpkg \ /opkg/bin/perl -I/opkg/lib/openpkg-tools/ \ /opkg/libexec/openpkg-tools/cmd/lint-spec.pl \ %_sourcedir/nmap/nmap.spec There is an easier way to do this, and it will be developed, tested, and documented in the near future. We are developing a contributor environment. I tryed to convert it to a openpkg-1.3.spec last year with no success due my poor understanding of all the options in a .spec file. If you really want it integrated into the OpenPKG package repository, then consider beginning with Bill's package (which just might need very few changes). I realy couldn't do it before. His .spec was realy smaler than the one provided by courier and I couldn't decide what could be taken out of the developers .spec ;-( A typical OpenPKG .spec is one or two hundred lines long with the longest at about four hundred lines. Just judging from the courier-imap.spec at almost six hundred lines indicates to me that it's a hefty package, probably hard to meet OpenPKG standards. -- Michael Schloh von Bennewitz [EMAIL PROTECTED] Development Team, Operations Northern Europe Cable Wireless Telecommunications Services Tel +49-89-92699-227, Fax +49-89-92699-808 -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Apache and PEAR
I'm still confused in using apache --with_php and having php installed. I whant to be able to install HORDE in sites handled by APACHE. HORDE needs PHP PEAR. In openpkg-2.0 I could compile apache --with_php_pear, but not simultaneosly php --with_pear. Now, in openpkg-2.1 apache does not accept --with_php_pear, but I can install simultaneosly to apcahe, php compiled --with_pear. Will the apache php module be able to use the PEAR compiled thru PHP ? (Off-topic, but perhaps somebody can explain it to me). Why do I need to versions for aparently the same code 1-apache_mod_php, the other is php itself. Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
[leaf-user] Need advice to shoose solution
I need to connect several smal health offices to the center office in a secure conection over the Internet. I intend to use uBering as the firewall on each unit, but do not know what to shoose to securely conect them. There is stunel, pptp, IPSec, OpenVPN At the center office is a squid-proxy, the mail server and the database of the administration software. I think that only the access to the administration stuff must realy be secured, as web and e-mail travels anyway over the unsecure internet. I realy dont't know how to decide between them. Any guideline would be apreciated. Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: Whoson patch not applaying on postfix
It still not apply correctly to me. From command: /opkg/bin/openpkg rpm --define 'with_fdsetsize yes' --define 'with_ldap yes' --define 'with_mysql yes' --define 'with_sasl yes' --define 'with_ssl yes' --define 'with_whoson yes' --rebuild ftp://ftp.openpkg.org/release/2.1/UPD/postfix-2.1.4-2.1.1.src.rpm I got: patching file src/util/sdbm.h + echo 'Patch #0 (postfix.patch):' Patch #0 (postfix.patch): + /opkg/lib/openpkg/patch -p0 -s -b + cd pflogsumm-1.1.0 + /opkg/lib/openpkg/patch -p0 patching file pflogsumm.pl + echo 'Patch #2 (postfix-2.1.4-whoson.patch):' Patch #2 (postfix-2.1.4-whoson.patch): + /opkg/lib/openpkg/patch -p0 -s -b 3 out of 3 hunks FAILED -- saving rejects to file src/util/Makefile.in.rej error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.3 (%prep) RPM build errors: Bad exit status from /opkg/RPM/TMP/rpm-tmp.3 (%prep) And src/util/Makefile.in.rej contains: *** *** 28,34 vstream_popen.c vstring.c vstring_vstream.c watchdog.c writable.c \ write_buf.c write_wait.c auto_clnt.c attr_clnt.c attr_scan_plain.c \ attr_print_plain.c sane_connect.c neuter.c name_code.c \ - uppercase.c OBJS = alldig.o argv.o argv_split.o attr_print0.o attr_print64.o \ attr_scan0.o attr_scan64.o base64_code.o basename.o binhash.o \ chroot_uid.o clean_env.o close_on_exec.o concatenate.o ctable.o \ --- 28,34 vstream_popen.c vstring.c vstring_vstream.c watchdog.c writable.c \ write_buf.c write_wait.c auto_clnt.c attr_clnt.c attr_scan_plain.c \ attr_print_plain.c sane_connect.c neuter.c name_code.c \ + uppercase.c dict_whoson.c OBJS = alldig.o argv.o argv_split.o attr_print0.o attr_print64.o \ attr_scan0.o attr_scan64.o base64_code.o basename.o binhash.o \ chroot_uid.o clean_env.o close_on_exec.o concatenate.o ctable.o \ *** *** 58,64 vstream_popen.o vstring.o vstring_vstream.o watchdog.o writable.o \ write_buf.o write_wait.o auto_clnt.o attr_clnt.o attr_scan_plain.o \ attr_print_plain.o sane_connect.o $(STRCASE) neuter.o name_code.o \ - uppercase.o HDRS = argv.h attr.h base64_code.h binhash.h chroot_uid.h clean_env.h \ connect.h ctable.h dict.h dict_db.h dict_dbm.h dict_env.h \ dict_cidr.h dict_ht.h dict_ni.h dict_nis.h \ --- 58,64 vstream_popen.o vstring.o vstring_vstream.o watchdog.o writable.o \ write_buf.o write_wait.o auto_clnt.o attr_clnt.o attr_scan_plain.o \ attr_print_plain.o sane_connect.o $(STRCASE) neuter.o name_code.o \ + uppercase.o dict_whoson.o HDRS = argv.h attr.h base64_code.h binhash.h chroot_uid.h clean_env.h \ connect.h ctable.h dict.h dict_db.h dict_dbm.h dict_env.h \ dict_cidr.h dict_ht.h dict_ni.h dict_nis.h \ *** *** 77,83 split_at.h stat_as.h stringops.h sys_defs.h timed_connect.h \ timed_wait.h trigger.h username.h valid_hostname.h vbuf.h \ vbuf_print.h vstream.h vstring.h vstring_vstream.h watchdog.h \ - auto_clnt.h attr_clnt.h sane_connect.h name_code.h TESTSRC = fifo_open.c fifo_rdwr_bug.c fifo_rdonly_bug.c select_bug.c \ stream_test.c dup2_pass_on_exec.c DEFS = -I. -D$(SYSTYPE) --- 77,83 split_at.h stat_as.h stringops.h sys_defs.h timed_connect.h \ timed_wait.h trigger.h username.h valid_hostname.h vbuf.h \ vbuf_print.h vstream.h vstring.h vstring_vstream.h watchdog.h \ + auto_clnt.h attr_clnt.h sane_connect.h name_code.h dict_whoson.h TESTSRC = fifo_open.c fifo_rdwr_bug.c fifo_rdonly_bug.c select_bug.c \ stream_test.c dup2_pass_on_exec.c DEFS = -I. -D$(SYSTYPE) Citando Thomas Lotterer [EMAIL PROTECTED]: On Sun, Jul 25, 2004, Bill Campbell wrote: On Sun, Jul 25, 2004, Alexander Belck wrote: When compiling postfix with[_whoson yes ... patch does not apply] I posted a replacement patch for this yesterday or the day before. I think there's a new version of postfix in the CURRENT tree that fixes this. Yes, Ralf took Bill's patch and not only created a CURRENT package but did a MFC [1], too, resulting in a UPD package [2]. [1] http://cvs.openpkg.org/chngview?cn=18269 [2] ftp://ftp.openpkg.org/release/2.1/UPD/postfix-2.1.4-2.1.1.src.rpm -- [EMAIL PROTECTED], Cable Wireless __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Whoson patch not applaying on postfix
When compiling postfix with: /opkg/bin/openpkg rpm --define 'with_fdsetsize yes' --define 'with_ldap yes' --define 'with_mysql yes' --define 'with_sasl yes' --define 'with_ssl yes' --define 'with_whoson yes' --rebuild ftp://ftp.openpkg.org/release/2.1/SRC/postfix-2.1.4-2.1.0.src.rpm || exit $? I got: patching file pflogsumm.pl + echo 'Patch #2 (postfix-2.0.0.2-whoson.patch):' Patch #2 (postfix-2.0.0.2-whoson.patch): + /opkg/lib/openpkg/patch -p0 -s -b 3 out of 3 hunks FAILED -- saving rejects to file src/util/Makefile.in.rej 2 out of 2 hunks FAILED -- saving rejects to file src/util/dict_open.c.rej error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.3254 (%prep) RPM build errors: Bad exit status from /opkg/RPM/TMP/rpm-tmp.3254 (%prep) Any idea whats wrong ? Is this the right patch (postfix-2.0.0.2-whoson.patch) refered in the src.rpm ? Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: openpkg build -Ua question
I allready needed to reenter twice the openpkg build -Ua upgrad.sh after execution exited with error from previos upgrad.sh version. Each time I generate a new upgrad.sh script, the sequence is altered. Could it be that openpkg is unable to decide the apropriate order to upgrade all packages from an instalation ? Thanks again, Alex Citando Michael van Elst [EMAIL PROTECTED]: On Fri, Jul 23, 2004 at 05:55:22PM -0300, Alexander Belck wrote: Is this constant use of --force normal ? The build tool will always use --force if it updates a package. This asks rpm to do two things: - to ignore if the package or a more recent version is already installed, the build tool already takes care of this issue and may make different decisisions. - to overwrite files that may belong to different packages. Here it is the OpenPKG developers who need to be careful that this is safe, usually by ensuring that there are no such file conflicts between packages. My poor expirience with rpm got to unstable rpm instalations when using --force. The second point can lead to instabilities if the packages aren't created carefully, but avoiding --force doesn't solve the problem of broken packages :) Greetings, -- Michael van Elst Internet: [EMAIL PROTECTED] A potential Snark may lurk in every tree. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Ever rebuilding openpkg-2.1.0
After I build all packages (except postfix that doesn't compile), but shurly twice the openpkg-2.1.0, if I run openpkg build -Ua it always whants to rebuild openpkg-2.1.0. Why is this happining ? openpkg-2.1.0 is already installed Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: static apache + mem question
Citando Michael van Elst [EMAIL PROTECTED]: On Thu, Jun 24, 2004 at 07:29:30PM -0300, Alexander Belck wrote: There is realy a huge difference in size. The modular apche is about 300K, while the one I build in OpenPkg is about 6M. Normaly I see several instances of apache running (about 10 as setup in httpd.conf). I was wundering if using OpenPkg static version of apache will consume about 60M of my ram, or will it be smart enouth to share the common code and consume juste a bit more than 1 copy of apache ? It will share the common code but it won't share the data which also grows with the number of modules. How can I avaliate the amount of memory efectivly used ? I think that frequenly apache processes are just waiting for a connection and will hope that in this situation the data reserved for all modules are relativly small. They should only grow when some module is realy being used by an webapplication and released again when the site/page is leaved. I'm afraid that OpenPkg static aproch isn't a good aproach for an (eaven small) ISP, where several instances of apache with lots of possible modules will be needed. Two observations: If your modular apache is about 300K then it doesn't load or use all the modules. So why build them into the static binary ? I just looked at the size of /usr/sbin/httpd, I do not know how to check the efective memmory used when running, where the necessary modules will be loaded and obviosly much more ram will be used from the system. Most modules are enabled, and also most time they are not used, but they are avaible if someone whants to use them. As an ISP I could not say that I support PHP, but do not offer lots of functions availble thru PHP. Building apache with all modules is a bad idea anyway. Most things served will be static pages, but the process serving static pages has to carry the weight of all the modules. You should think about a more flexible approach and use several apache instances together, each tailored for a specific purpose. With OpenPKG you can do this easily by creating several OpenPKG instances. I agree that most pages will be static. But administrate lots of sites and change them to diferent apache instances if/when some cliente tryes to use a new functionality in his sites is, for me, unhandable. To be able to compeet with hosting services offerd at prices as low as $3/month I need to transfer all possible administration to the client. Thats why I'm trying to use ISPMAN and for his requirments it seams apropriate to use OpenPKG as the softwares are mostly uptodate, and on a normal distribution I offen got problems to get the apropriate pre-requisits for the servers with authentication and ldap requirements ISPMAN needs. N.B. Yes, this approach wastes disk space, but it helps a lot maintaining such an installation which is more important even for a small ISP. Disk space I'm not warried about. But RAM is more expensive and sometimes dificult to expand. I whant to think that with static apache the response should be better as all code is already loaded when some webapplications request there use (in modular apache I think that the code will be loade just when the webapplication trys to use it). I just need to know how this will impact my memmory needs. Greetings, -- Michael van Elst Internet: [EMAIL PROTECTED] A potential Snark may lurk in every tree. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Apache + PHP + PEAR
As I'm unable to build apache --with=mod_php_pear I was wondering if I could do something similar as done with modular apache. In my previus instalations, I installed apache, then I downloaded a updated version of PEAR from HORDE (since I couldn't upgrade enouth the pear package from the distro) where I could use pear's setup utility to download and install other new functions. To make this work from apache I just needed to add in httpd.conf for the HORDE site php_value include_path '/usr/share/php:/usr/share/php/pear:.' QUESTION: Should it work if I just build OpenPkg --with=mod_php and than download HORDEs PEAR into /opkg/lib/php/pear and add a php_value include_path '/opkg/include/php:/opkg/lib/php/pear:.' thanks, Alex This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: static apache + mem question
Citando Michael van Elst [EMAIL PROTECTED]: On Fri, Jun 25, 2004 at 08:51:45AM -0300, Alexander Belck wrote: As an ISP you should not run a single Apache with mod_php for more than one customer. PHP safe mode is a myth :-) Do I need a hole new OpenPkg instalation with a diferent opkg_root to have distingt apache builds (one with_mod_php, one without) and processes ? How many client connections can a single apache process handle (simultaneos browsing of one site) ? I thoght that multiple apache processes could be activated if the number of request require it and shuted down if to many are idle. About security problems with php, are they just there for acessing sites where php is enabled, or only to the persons with write publishing access to the sites tree directory (that will mean that the ISP client has bad intensions to exploit the php security flaus, not any unknown guy at the web) ? Greetings, -- Michael van Elst Internet: [EMAIL PROTECTED] A potential Snark may lurk in every tree. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Apache + HORDE
I run the test script from horde over the apache I build with OpenPkg and it complains of modules that I could not find in the apache.spec. Is there some diferent name or can I install aditional php_modules ? Horde_complains: # MCAL Support: No # Mcrypt Support: No PEAR *** That I expected, as I could not compile apache with=mod_php_pear * PEAR - No * Check your PHP include_path setting to make sure it has the PEAR library directory. * Recent PEAR - No * Mail - No * Log - No * DB - No * Net_Socket - No * Date - No * HTML_Common/HTML_Select - No Valid XHTML 1.0! This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Apache + HORDE
I can't understand why your rpm -qi apache doesn't refer to mod_php_pear. I build php with_pear support and apache with the modules except pear and horde test page still complains for the absence of PEAR. I saw that your apche has an php_mcrypt option, so I added it to my apache.spec that compiled without complaining, but horde still does not recognize mcrypt support Alex Citando Bill Campbell [EMAIL PROTECTED]: On Fri, Jun 25, 2004, Alexander Belck wrote: I run the test script from horde over the apache I build with OpenPkg and it complains of modules that I could not find in the apache.spec. Is there some diferent name or can I install aditional php_modules ? I've built horde and imp SRPMS for OpenPkg Release 2.0 with the apache from current. I can make these available if people are interested. First off, you need to build the current version of php with pear support. Next you need to build current apache with appropriate modules. I've attached ``openpkg rpm -i apache'' output from one of our machines. Finally, you need to do a ``pear install Log'' on the installed system as that module isn't in the php with_pear module (I haven't taken the time to figure out php and pear enough to build OpenPKG rpms to add pear modules). At that point you should be ready to configure mysql, horde, and imp. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Systems, Inc. UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Memoirs -- Bill Clinton is getting $12 million for his memoirs, and his wife Hillary got $8 million for hers. That's $20 million for memories from two people who for eight years repeatedly testified they couldn't remember anything. -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
apache mod_php_pear X php
Why does a static build of apache with_mod_php_pear conflicts with the static build of php in OpenPkg 2.0 ? I supose this is resolved in some way in the current branch, as Bill Campbell was able to install php with_pear and apache in a way to satisfy HORDEs requirement of pear. Should this be downgraded to 2.0 breanch ? Thanks, Alex This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: static apache + mem question
From my running httpd using top I got: PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 9169 nobody14 0 14504 9,9M 7936 S 1,7 8,2 0:14 httpd 8773 nobody 9 0 14164 9976 6004 S 0,0 8,1 0:11 httpd 9155 nobody 9 0 13992 9828 9220 S 0,0 7,9 0:10 httpd What does this means ? Is the size in Kb, so that my biggest httpd process is using 14Mb ? What means RSS (it seams confusing to me since the first says 9,9M and the second only 9976 about 1000 times smaler) Thanks, Alex Citando Michael van Elst [EMAIL PROTECTED]: On Fri, Jun 25, 2004 at 08:51:45AM -0300, Alexander Belck wrote: Hi, How can I avaliate the amount of memory efectivly used ? I think that frequenly apache processes are just waiting for a connection and will hope that in this situation the data reserved for all modules are relativly small. They should only grow when some module is realy being used by an webapplication and released again when the site/page is leaved. The memory is allocated once it is used and stays there until the apache process ends. You can configure the number of queries a single apache process should answer before it terminates. By default that is a few ten thousand requests. If your modular apache is about 300K then it doesn't load or use all the modules. So why build them into the static binary ? I just looked at the size of /usr/sbin/httpd, I do not know how to check the efective memmory used when running, where the necessary modules will be loaded and obviosly much more ram will be used from the system. This however is the important number. Check with 'ps' or 'top'. Most modules are enabled, and also most time they are not used, but they are avaible if someone whants to use them. As an ISP I could not say that I support PHP, but do not offer lots of functions availble thru PHP. As an ISP you should not run a single Apache with mod_php for more than one customer. PHP safe mode is a myth :-) Greetings, -- Michael van Elst Internet: [EMAIL PROTECTED] A potential Snark may lurk in every tree. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Apache and PHP
As I thought I need to enable all php options from apache and it gots a to long line to type, I changed the options in apache.spec. Runing openpkg rpm -qip apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm it shows: apache::with_suexec = yes apache::with_suexec_caller = opkg-n apache::with_suexec_userdir = public_html apache::with_suphp = yes apache::with_suphp_caller = opkg-n apache::with_suphp_phpcgi = /opkg/cgi/php apache::with_mod_ssl = yes apache::with_mod_perl = yes apache::with_mod_php = yes apache::with_mod_dav = yes apache::with_mod_layout = yes apache::with_mod_macro = yes apache::with_mod_auth_ldap = yes apache::with_mod_auth_mysql = yes apache::with_mod_auth_pam = yes apache::with_mod_gzip = yes apache::with_mod_fastcgi = yes apache::with_mod_throttle = yes apache::with_mod_access_referer = yes apache::with_mod_roaming = no apache::with_mod_relocate = no apache::with_mod_security = no apache::with_mod_dosevasive = no apache::with_mod_php_calendar = yes apache::with_mod_php_mysql = yes apache::with_mod_php_pgsql = yes apache::with_mod_php_gd = yes apache::with_mod_php_bdb = yes apache::with_mod_php_debug = yes apache::with_mod_php_pdflib = yes apache::with_mod_php_zlib = yes apache::with_mod_php_bzip2 = yes apache::with_mod_php_ssl = yes apache::with_mod_php_openldap = no apache::with_mod_php_openldapsasl = yes apache::with_mod_php_mm = yes apache::with_mod_php_pcre = yes apache::with_mod_php_ftp = yes apache::with_mod_php_java = no apache::with_mod_php_oci7 = no apache::with_mod_php_oci8 = no apache::with_mod_php_freetype = yes apache::with_mod_php_gettext = yes apache::with_mod_php_imap = yes apache::with_mod_php_xml = yes apache::with_mod_php_dom = yes apache::with_mod_php_bc = yes apache::with_mod_php_transsid = yes apache::with_mod_php_curl = yes apache::with_mod_php_mhash = yes apache::with_mod_php_wddx = yes apache::with_mod_php_gdbm = yes apache::with_mod_php_versioning = yes apache::with_mod_php_snmp = yes apache::with_mod_php_odbc = yes apache::with_mod_php_mbregex = yes apache::with_mod_php_mbstring = yes apache::with_mod_php_pear = yes apache::with_mod_php_exif = yes apache::with_mod_php_iconv = yes apache::with_mod_php_sendmail = yes apache::with_gdbm_ndbm = yes apache::with_shared_core = no apache::with_shared_chain = no apache::with_debug = no apache = 1.3.29-2.0.3 I hope this helps you to help me ;-( Alex Citando Thomas Lotterer [EMAIL PROTECTED]: On Wed, Jun 23, 2004, Alexander Belck wrote: Alex, To build apache with php it requires php, so I build and installed php first. only the with_suphp requires the php package. Even mod_php uses the php that is embedded into the apache package and does not require the php package. openpkg rpm -Uhv /opkg/RPM/PKG/apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm Preparing...### [100%] file /opkg/bin/php from install of apache-1.3.29-2.0.3 conflicts with file from package php-4.3.4-2.0.0 What am I doing wrong ? I tried to reproduce the problem but failed. Building apache-1.3.29-2.0.3 with_suphp, with_mod_php or both does not produce a $PREFIX/bin/php file. Which options are you using? Please send me the full command line. -- [EMAIL PROTECTED], Cable Wireless __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Apache and PHP
Finaly I know how to reproduce the conflict between apache and php reporting: /opkg/RPM/PKG/apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm Preparing...### [100%] file /opkg/bin/php from install of apache-1.3.29-2.0.3 conflicts with file from package php-4.3.4-2.0.0 This come up after building apache --with=mod_php_pear I realy don't know how to proceed. I need to (at least) be able to install HORDE, so I presum I need the php_modules allowing database access (mysql, pgsql), imap access, , and specificaly I know that HORDE checks for some modules of pear (So far I know, pear is growing fast and have his own module instalation process). I realy don't know witch pear_modules are build when compiling apache --with=mod_php_pear and if I will be able to install new modules from pear when they become avaible/needed. For now I just whant to be able to have an apache+php capable tu run HORDE. Thanks, Alex Citando Alexander Belck [EMAIL PROTECTED] As I thought I need to enable all php options from apache and it gots a to long line to type, I changed the options in apache.spec. Runing openpkg rpm -qip apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm it shows: apache::with_suexec = yes apache::with_suexec_caller = opkg-n apache::with_suexec_userdir = public_html apache::with_suphp = yes apache::with_suphp_caller = opkg-n apache::with_suphp_phpcgi = /opkg/cgi/php apache::with_mod_ssl = yes apache::with_mod_perl = yes apache::with_mod_php = yes apache::with_mod_dav = yes apache::with_mod_layout = yes apache::with_mod_macro = yes apache::with_mod_auth_ldap = yes apache::with_mod_auth_mysql = yes apache::with_mod_auth_pam = yes apache::with_mod_gzip = yes apache::with_mod_fastcgi = yes apache::with_mod_throttle = yes apache::with_mod_access_referer = yes apache::with_mod_roaming = no apache::with_mod_relocate = no apache::with_mod_security = no apache::with_mod_dosevasive = no apache::with_mod_php_calendar = yes apache::with_mod_php_mysql = yes apache::with_mod_php_pgsql = yes apache::with_mod_php_gd = yes apache::with_mod_php_bdb = yes apache::with_mod_php_debug = yes apache::with_mod_php_pdflib = yes apache::with_mod_php_zlib = yes apache::with_mod_php_bzip2 = yes apache::with_mod_php_ssl = yes apache::with_mod_php_openldap = no apache::with_mod_php_openldapsasl = yes apache::with_mod_php_mm = yes apache::with_mod_php_pcre = yes apache::with_mod_php_ftp = yes apache::with_mod_php_java = no apache::with_mod_php_oci7 = no apache::with_mod_php_oci8 = no apache::with_mod_php_freetype = yes apache::with_mod_php_gettext = yes apache::with_mod_php_imap = yes apache::with_mod_php_xml = yes apache::with_mod_php_dom = yes apache::with_mod_php_bc = yes apache::with_mod_php_transsid = yes apache::with_mod_php_curl = yes apache::with_mod_php_mhash = yes apache::with_mod_php_wddx = yes apache::with_mod_php_gdbm = yes apache::with_mod_php_versioning = yes apache::with_mod_php_snmp = yes apache::with_mod_php_odbc = yes apache::with_mod_php_mbregex = yes apache::with_mod_php_mbstring = yes apache::with_mod_php_pear = yes apache::with_mod_php_exif = yes apache::with_mod_php_iconv = yes apache::with_mod_php_sendmail = yes apache::with_gdbm_ndbm = yes apache::with_shared_core = no apache::with_shared_chain = no apache::with_debug = no apache = 1.3.29-2.0.3 I hope this helps you to help me ;-( Alex Citando Thomas Lotterer [EMAIL PROTECTED]: On Wed, Jun 23, 2004, Alexander Belck wrote: Alex, To build apache with php it requires php, so I build and installed php first. only the with_suphp requires the php package. Even mod_php uses the php that is embedded into the apache package and does not require the php package. openpkg rpm -Uhv /opkg/RPM/PKG/apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm Preparing...### [100%] file /opkg/bin/php from install of apache-1.3.29-2.0.3 conflicts with file from package php-4.3.4-2.0.0 What am I doing wrong ? I tried to reproduce the problem but failed. Building apache-1.3.29-2.0.3 with_suphp, with_mod_php or both does not produce a $PREFIX/bin/php file. Which options are you using? Please send me the full command line. -- [EMAIL PROTECTED], Cable Wireless __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900
static apache + mem question
Now that I'm geting near to have apache build, I did some comparision with previus instalations (using distros modular apache). There is realy a huge difference in size. The modular apche is about 300K, while the one I build in OpenPkg is about 6M. Normaly I see several instances of apache running (about 10 as setup in httpd.conf). I was wundering if using OpenPkg static version of apache will consume about 60M of my ram, or will it be smart enouth to share the common code and consume juste a bit more than 1 copy of apache ? I'm afraid that OpenPkg static aproch isn't a good aproach for an (eaven small) ISP, where several instances of apache with lots of possible modules will be needed. I apreciate any comments. Thanks, Alex This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Package dependency missing ?
I looked at the link, but couldn't figure out what I need to install as RH7.3 isn't installed. From Fedora it seams to need XFree86-* packages (that I thought to be servers), and I have already the following XFree86 packeges installed: Xaw3d-1.5-12 XFree86-4.2.1-13.73.23 XFree86-xfs-4.2.1-13.73.23 xdelta-1.1.3-5 xinetd-2.3.11-1.7x XFree86-libs-4.2.1-13.73.23 XFree86-base-fonts-4.2.1-13.73.23 XFree86-font-utils-4.2.1-13.73.23 Can you give me further direction what I should install ? Do I need -devel packeges too ? I'm still confiused about which part of X is the client and wich is the server Thanks, Alex Citando Thomas Lotterer [EMAIL PROTECTED]: On Tue, Jun 22, 2004, Alexander Belck wrote: Re Alex! Due to build perl-* I tryed to build x11 with openpkg build x11 | sh where I got a lot of errors starting with: ** ERROR: SOME X11 INFORMATION COULD NOT BE DETERMINED!! [...] ** Unfortunately, some information is missing here. [...] Currently OpenPKG does not have it's own X11 libraries, neither client nor server. Therefore the OpenPKG x11 package searches the OS for X11 client libraries and tells other packages requiring that information where to find it. What should I do ? What have I missed ? You need to install the X11 client libraries provided by your OS vendor. Our release engineering maintains a list of Operating System Prerequisites which logs what we installed in both a human readable format and a machine generated package list. Find it at http://cvs.openpkg.org/getfile/openpkg-re/osprereq.txt -- [EMAIL PROTECTED], Cable Wireless __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Apache questions
I'm trying to build apache for a small ISP. Previosly I relayed on distribution pre-build/choosen modules (seams to be preety all) and have no complains of clients. With OpenPkg I must choose by my one, where I am afraid to let something out that someone could be using. I tried to build with common options plus nearly all php options, where apache requires j2se. But who provides j2se ? Can someone help me to select apropriate apache options ? Also most distros now come with apache-2.x.y. Why does OpenPkg doesn't provide an new release of apache ? Can I have php, postfix, perl, etc... from OpenPkg and still use apache from the underlaying OS ? Thanks, Alex This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
More problems with apache
1) php-imap requires imap but I whant to use cyrus (as courier isn't avaible in OpenPkg) As I pretend to use horde, that access an imap-server using php, I think I need php-imap, but I do not pretend to use Whashingtons imap implementation. Is this just a compile prerequisit ? 2) openldap - sasl - apache chicken-and-egg problem As I pretend to use ISPman, that administrats most ISP stuff in LDAP, I need all athentications agains ldap. So sasl needs the ldap module to allow servers authenticat (finaly) to ldap using sasl. I also whant that apache be able to authenticate to ldap, but OpenPkg requires openldap::with_sasl. I can not build openldap with_sasl as I need to build sasl with_ldap ?? Thanks, Alex This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
More from apache
To overcome sasl x openldap I removed php_ldap and at least it trys to build apache, but I got the following Warning: !!*** APXS was not found, so mod_suphp will not be built! ***!! at the end apache was build and a rpm -qip apache-...rpm includes: apache::with_suphp = yes Does I miss some prerequisit again ? Is mod_suphp build eaven with the above messages ? Thanks, Alex This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Apache and PHP
To build apache with php it requires php, so I build and installed php first. After compiling apache, when I try to install it I got: openpkg rpm -Uhv /opkg/RPM/PKG/apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm Preparing...### [100%] file /opkg/bin/php from install of apache-1.3.29-2.0.3 conflicts with file from package php-4.3.4-2.0.0 What am I doing wrong ? Sorry so many questions about apache, but I've never compiled it and realy got this huges number of questions while trying ;-( Thanks again Alex This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: What happens to openpkg-tools in 2.0 ?
I couldn't find the openpkg-tools source in any of the 2.0 ftp directories. I do found a package in the CURRENT branche with this name. Should I use this one ? Is it intencionaly not in the 2.0 branch ? I'm not upgrading, I'm installing 2.0 from scratch, so how should I proceed if the sources for 2.0 do not provide the openpkg-tools. Is there an other sugested way to get the packages and all there dependencies for building ? Thanks, Alex Citando Thomas Lotterer [EMAIL PROTECTED]: On Mon, Jun 21, 2004, Alexander Belck wrote: To build the packages I used openpkg-tools in ver 1.3 that could check dependencies and build them first if needed. OpenPKG 1.x had openpkg-tool and OpenPKG CURRENT (to be used for 2.0, too) has openpkg-tools (note the 's'). Find more details searching http://cvs.openpkg.org/openpkg-re/upgrade.txt for openpkg-tool. I just updated that document to reflect the change from openpkg-tool to openpkg-tools where appropriate. See http://cvs.openpkg.org/chngview?cn=17592. -- [EMAIL PROTECTED], Cable Wireless __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
RH7.3 and OpenPKG 2.0
Should I expect any known problem using OpenPKG over RH-7.3 ? I have a lot done to build a HA cluster between two RH-7.3 and whant use the servers like OpenLdap, Apache, Postfix from OpenPkg-2.0. So far I build tha basic openpkg-2.0.3 rom source, openpkg-tools and gcc with no problems, but whant to know what kind of problems I should expect going on with this configuration. Thanks, Alex This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Howto build with_option
What is the sintax for `openpkg build foo` and have it use something like: -define with_zlib yes or if possible a short way like -D with_zlib Is it possible to get the same options used when upgrading a package ? How ? thanks, Alex This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Package dependency missing ?
Due to build perl-* I tryed to build x11 with openpkg build x11 | sh where I got a lot of errors starting with: ** ERROR: SOME X11 INFORMATION COULD NOT BE DETERMINED!! ** ERROR: SOME X11 INFORMATION COULD NOT BE DETERMINED!! ** ** We found out: **X11 Binary Directory: **X11 Include Directory: **X11 Library Directory: ** ** Unfortunately, some information is missing here. ** ** ERROR: SOME X11 INFORMATION COULD NOT BE DETERMINED!! ** ERROR: SOME X11 INFORMATION COULD NOT BE DETERMINED!! + exit 1 error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.36899 (%install) What should I do ? What have I missed ? Thanks, Alex This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]