Re: OPENPKG BUILD stops working
I check the output from openpkg build -Ua. There it stops with: # curling index ftp://ftp.openpkg.org/release/2.2/UPD/00UPLOAD/00INDEX.rdf # using XML parser So I checked manual access to that last file that was DENIED. I can access manualy ftp://ftp.openpkg.org/release/2.2/UPD/ , but can´t see a directory named 00UPLOAD. Is my openpkg tool trying to access a wrong index, or is it realy missed or access denyied for anonimous user ? Thanks, Alex Citando Bill Campbell [EMAIL PROTECTED]: On Thu, Dec 23, 2004, [EMAIL PROTECTED] wrote: While I was trying to check my instalation for update needed with openpk where I got: [EMAIL PROTECTED] root]# openpkg build -Ua /tmp/bua.sh no element found at line 1, column 0, byte 0 at /opkg/lib/perl/vendor_perl/5.8.5/i686-linux/XML/Parser.pm line 187 Recently my openpkg was upgraded after issuing the same comand above. Could it be that the openpkg-2.2.2-2.2.2 introduced some error ? What else could be wrong causing that problem ? When I see this type of thing building off our local mirrors which is on our anonymous ftp site, the first thing I check is to see if manual anonymous ftp to the site works. Most often, the user limit has been exceeded so the request is being refused. 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/ ``No matter how much I may exaggerate it, it must have a certain amount of truth...Now rumor travels fast but it don't stay put as long as truth'' Will Rogers __ The OpenPKG Projectwww.openpkg.org User Communication List openpkg-users@openpkg.org This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List openpkg-users@openpkg.org
OPENPKG BUILD stops working
While I was trying to check my instalation for update needed with openpk where I got: [EMAIL PROTECTED] root]# openpkg build -Ua /tmp/bua.sh no element found at line 1, column 0, byte 0 at /opkg/lib/perl/vendor_perl/5.8.5/i686-linux/XML/Parser.pm line 187 Recently my openpkg was upgraded after issuing the same comand above. Could it be that the openpkg-2.2.2-2.2.2 introduced some error ? What else could be wrong causing that problem ? Thanks, Alex Citando OpenPKG [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OpenPKG Security AdvisoryThe OpenPKG Project http://www.openpkg.org/security.html http://www.openpkg.org [EMAIL PROTECTED] [EMAIL PROTECTED] OpenPKG-SA-2004.055 23-Dec-2004 Package: gettext Vulnerability: insecure temporary file generation OpenPKG Specific:no Affected Releases: Affected Packages: Corrected Packages: OpenPKG CURRENT = gettext-0.14.1-20041006 = gettext-0.14.1-20041217 OpenPKG 2.2 = gettext-0.14.1-2.2.0= gettext-0.14.1-2.2.1 OpenPKG 2.1 = gettext-0.14.1-2.1.0= gettext-0.14.1-2.1.1 Affected Releases: Dependent Packages: OpenPKG CURRENT aegis, apache, doodle, giftoxic, gimp, glib2, gpa, gqview, gtk2, heartbeat, indent, kcd, kde-base, kde-libs, kolab, libextractor, lyx, openjade, orbit, papyrus, perl-locale, php, php5, popt, smbc, subversion, xine-lib, xine-ui, yodl OpenPKG 2.2 aegis, apache, giftoxic, gimp, glib2, gqview, gtk2, indent, kolab, openjade, orbit, perl-locale, php, popt, yodl OpenPKG 2.1 aegis, apache, gimp, glib2, gqview, gtk2, indent, kolab, openjade, orbit, perl-locale, php, popt, yodl Description: Trustix security engineers discovered vulnerabilities [0] in the autopoint and gettextize scripts of GNU gettext [1]. The scripts in question insecurely generate temporary files which could allow a malicious user to overwrite another user's files via a symlink attack. Software only using GNU gettext's headers and libraries is not affected by this problem, however. The Common Vulnerabilities and Exposures (CVE) project assigned the identifier CAN-2004-0966 [2] to the problem. Please check whether you are affected by running prefix/bin/openpkg rpm -q gettext. If you have the gettext package installed and its version is affected (see above), we recommend that you immediately upgrade it (see Solution) and its dependent packages (see above) [3][4]. Solution: Select the updated source RPM appropriate for your OpenPKG release [5][6], fetch it from the OpenPKG FTP service [7][8] or a mirror location, verify its integrity [9], build a corresponding binary RPM from it [3] and update your OpenPKG installation by applying the binary RPM [4]. For the most recent release OpenPKG 2.2, perform the following operations to permanently fix the security problem (for other releases adjust accordingly). $ ftp ftp.openpkg.org ftp bin ftp cd release/2.2/UPD ftp get gettext-0.14.1-2.2.1.src.rpm ftp bye $ prefix/bin/openpkg rpm -v --checksig gettext-0.14.1-2.2.1.src.rpm $ prefix/bin/openpkg rpm --rebuild gettext-0.14.1-2.2.1.src.rpm $ su - # prefix/bin/openpkg rpm -Fvh prefix/RPM/PKG/gettext-0.14.1-2.2.1.*.rpm Additionally, we recommend rebuilding and reinstalling all dependent packages (see above) as well [3][4]. References: [0] http://www.trustix.org/errata/2004/0050 [1] http://www.gnu.org/software/gettext/ [2] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0966 [3] http://www.openpkg.org/tutorial.html#regular-source [4] http://www.openpkg.org/tutorial.html#regular-binary [5] ftp://ftp.openpkg.org/release/2.2/UPD/gettext-0.14.1-2.2.1.src.rpm [6] ftp://ftp.openpkg.org/release/2.1/UPD/gettext-0.14.1-2.1.1.src.rpm [7] ftp://ftp.openpkg.org/release/2.2/UPD/ [8] ftp://ftp.openpkg.org/release/2.1/UPD/ [9] http://www.openpkg.org/security.html#signature For security reasons, this advisory was digitally signed with the OpenPGP public key OpenPKG [EMAIL PROTECTED] (ID 63C4CB9F) of the OpenPKG project which you can retrieve from http://pgp.openpkg.org and hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/ for details on how to verify the integrity of this advisory. -BEGIN PGP SIGNATURE-
Re: OPENPKG BUILD stops working
What kind of I/O error ? I'm accessing ftp://ftp.openpkg.org/release/2.2/SRC/ with no traceball errors. I've a 1M link that haven't shown any errors for almos 2 years. I repeated the command several times in diferent hours and same error occurs. Can I make openpkg show me where he gets errors ? Thanks, Alex Citando Ralf S. Engelschall [EMAIL PROTECTED]: On Thu, Dec 23, 2004, [EMAIL PROTECTED] wrote: While I was trying to check my instalation for update needed with openpk where I got: [EMAIL PROTECTED] root]# openpkg build -Ua /tmp/bua.sh no element found at line 1, column 0, byte 0 at /opkg/lib/perl/vendor_perl/5.8.5/i686-linux/XML/Parser.pm line 187 Recently my openpkg was upgraded after issuing the same comand above. Could it be that the openpkg-2.2.2-2.2.2 introduced some error ? What else could be wrong causing that problem ? This is certainly some sort of I/O error. Usually there is no XML fed to the XML parser because it was not downloaded correctly. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org User Communication List openpkg-users@openpkg.org This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List openpkg-users@openpkg.org
Re: FreeRadius
NO, but I do not know that I needed them as it does not apears as a prerequisit. Will build it and try again. Thanks, Alex Citando Bill Campbell [EMAIL PROTECTED]: On Thu, Sep 02, 2004, Alexander Belck wrote: I can't say if I have the libltdl problem (I have it also in /usr/lib/), but didn't understand if this is a problem. Should I rebuild libtool ? After symlinking install-ginstall I could build freeradius, but when I tryed to install it I got lots of errors like: /opkg/RPM/TMP/rpm-tmp.73953: gcp: command not found /opkg/sbin/radiusd-conf: gchown: command not found This means that you don't have the OpenPKG coreutils installed. 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/ ``If the personal freedoms guaranteed by the Constitution inhibit the government's ability to govern the people, we should look to limit those guarantees.'' -President Bill Clinton, August 12, 1993 __ 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]
Re: FreeRadius
;-(( I'm locked to RH7.3 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] This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: FreeRadius
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 Thanks, Alex Citando Bill Campbell [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 I have a slightly different freeradius SRPMS that's based on the one I've been using for a couple of years now. It has a couple of options to support a private gdbm password file, and a hack to work with Nortel/Baynetworks Annex RACs that generate bogus header information. The other thing that's different is that I'm using daemontools to control freeradius, and I've written a radiusd-conf script that generates the appropriate /service structure. ftp://ftp.celestial.com/private/ftp.openpkg.org/release/2.1/SRC/freeradius-1.0.0-20040812.src.rpm 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 cats, for they are subtle and will piss on your computer.'' --Bruce Graham __ 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]
Re: FreeRadius
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]
Re: FreeRadius
Since Bill's version required lib-tool, I build it from Opkg-2.1. Than I give freeradius-1.0.0 from CURRENT an other try I think I it passes the previus point, but now it stops when linking radiusd. Can someone take a look to see if it is visible where things ar taken from wrong place and perhaps fix some PREFIX or LIB orther so that it can finish building ? when the /opkg/bin/cc command line adds option -lssl is it taken ssl from RH or from OPKG ? extracting global C symbols from `../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a' (cd .libs /opkg/bin/cc -c -fno-builtin -fno-rtti -fno-exceptions radiusdS.c) cc1: warning: command line option -fno-rtti is valid for C++/ObjC++ but not for C rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT /opkg/bin/cc .libs/radiusdS.o -O2 -pipe -I/opkg/include -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -DNDEBUG -I../include -DHOSTINFO=\\ -DRADIUSD_VERSION=\1.0.0\ -o radiusd radiusd.o files.o util.o acct.o nas.o log.o valuepair.o version.o proxy.o exec.o auth.o timestr.o conffile.o modules.o modcall.o session.o xlat.o threads.o smux.o radius_snmp.o client.o request_list.o mainconfig.o -Wl,--export-dynamic ../modules/rlm_acct_unique/.libs/rlm_acct_unique.a -lresolv ../modules/rlm_always/.libs/rlm_always.a -lresolv ../modules/rlm_attr_filter/.libs/rlm_attr_filter.a -lresolv ../modules/rlm_attr_rewrite/.libs/rlm_attr_rewrite.a -lresolv ../modules/rlm_chap/.libs/rlm_chap.a -lresolv ../modules/rlm_counter/.libs/rlm_counter.a -lresolv ../modules/rlm_detail/.libs/rlm_detail.a -lresolv ../modules/rlm_digest/.libs/rlm_digest.a -lresolv ../modules/rlm_eap/.libs/rlm_eap.a -L/opkg/RPM/TMP/freeradius-1.0.0/src/modules/rlm_eap/libeap /opkg/RPM/TMP/freeradius-1.0.0/src/modules/rlm_eap/libeap/.libs/libeap.a -lresolv ../modules/rlm_exec/.libs/rlm_exec.a -lresolv ../modules/rlm_expr/.libs/rlm_expr.a -lresolv ../modules/rlm_fastusers/.libs/rlm_fastusers.a -lresolv ../modules/rlm_files/.libs/rlm_files.a -lresolv ../modules/rlm_ippool/.libs/rlm_ippool.a -lresolv ../modules/rlm_ldap/.libs/rlm_ldap.a /usr/lib/libsasl.so -L/usr/kerberos/lib /usr/lib/libgdbm.so -lcrypt -lresolv -lresolv -L/opkg/lib /opkg/lib/libldap.a /opkg/lib/liblber.a -lresolv -lssl -lcrypto -lresolv ../modules/rlm_mschap/.libs/rlm_mschap.a -lresolv ../modules/rlm_ns_mta_md5/.libs/rlm_ns_mta_md5.a -lresolv ../modules/rlm_pam/.libs/rlm_pam.a -lpam -ldl -lresolv ../modules/rlm_pap/.libs/rlm_pap.a -lresolv ../modules/rlm_passwd/.libs/rlm_passwd.a -lresolv ../modules/rlm_preprocess/.libs/rlm_preprocess.a -lresolv ../modules/rlm_radutmp/.libs/rlm_radutmp.a -lresolv ../modules/rlm_realm/.libs/rlm_realm.a -lresolv ../modules/rlm_unix/.libs/rlm_unix.a -lcrypt -lresolv ../modules/rlm_x99_token/.libs/rlm_x99_token.a -lresolv ../modules/rlm_checkval/.libs/rlm_checkval.a -lresolv ../modules/rlm_eap/types/rlm_eap_md5/.libs/rlm_eap_md5.a -lresolv ../modules/rlm_eap/types/rlm_eap_leap/.libs/rlm_eap_leap.a -lresolv ../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a -lresolv ../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a -lresolv -L/opkg/RPM/TMP/freeradius-1.0.0/src/lib -lcrypt -lnsl -lresolv /opkg/RPM/TMP/freeradius-1.0.0/src/lib/.libs/libradius.a -lcrypt modules.o(.text+0xab): In function `detach_modules': : undefined reference to `lt_dlclose' modules.o(.text+0x28d): In function `find_module_instance': : : l o t s o f e r r o r s : This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Postfix
I found a reference in main.cf to a unexisting file. After correcting that I now got a 220 respons, but after entering the rcpt to: [EMAIL PROTECTED] the connection is aborted and I found in log: Aug 17 19:55:00 arara.spsul.net critical postfix/smtpd[3900]: fatal: net/mask pattern 200.232.113.0/23 has a non-null host portion; specify 200.232.112.0/23 if this is really what you want Aug 17 19:55:01 arara.spsul.net warning postfix/master[3713]: warning: process /opkg/libexec/postfix/smtpd pid 3900 exit status 1 Aug 17 19:55:01 arara.spsul.net warning postfix/master[3713]: warning: /opkg/libexec/postfix/smtpd: bad command startup -- throttling The 200.232.112.0/23 is a network address from a previus test instalation that is no longer valid, but I do not know where I left a reference to it. I checked all postfix configuration files and could not find any reference. Any clue where I could left this ? My postfix is configured to check against ldap, but it doesn't seams to start the connection. Thanks for any further help, Alex Citando Bill Campbell [EMAIL PROTECTED]: On Tue, Aug 17, 2004, Alexander Belck wrote: 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 Typically this results when you use the default main.cf file, and don't change the example.com references to point to a real host. You can look in the %{l_prefix}/var/postfix/log/postfix.log file for more detailled information. 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/ Government is actually the worst failure of civilized man. There has never been a really good one, and even those that are most tolerable are arbitrary, cruel, grasping and unintelligent. -- H. L. Mencken __ 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]
Re: Postfix
I found the wrong reference. Still some problems, but I'll try postfix chanell as I thing they aren't related to OpenPKG yet. Thanks, Alex Citando [EMAIL PROTECTED]: I found a reference in main.cf to a unexisting file. After correcting that I now got a 220 respons, but after entering the rcpt to: [EMAIL PROTECTED] the connection is aborted and I found in log: Aug 17 19:55:00 arara.spsul.net critical postfix/smtpd[3900]: fatal: net/mask pattern 200.232.113.0/23 has a non-null host portion; specify 200.232.112.0/23 if this is really what you want Aug 17 19:55:01 arara.spsul.net warning postfix/master[3713]: warning: process /opkg/libexec/postfix/smtpd pid 3900 exit status 1 Aug 17 19:55:01 arara.spsul.net warning postfix/master[3713]: warning: /opkg/libexec/postfix/smtpd: bad command startup -- throttling The 200.232.112.0/23 is a network address from a previus test instalation that is no longer valid, but I do not know where I left a reference to it. I checked all postfix configuration files and could not find any reference. Any clue where I could left this ? My postfix is configured to check against ldap, but it doesn't seams to start the connection. Thanks for any further help, Alex Citando Bill Campbell [EMAIL PROTECTED]: On Tue, Aug 17, 2004, Alexander Belck wrote: 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 Typically this results when you use the default main.cf file, and don't change the example.com references to point to a real host. You can look in the %{l_prefix}/var/postfix/log/postfix.log file for more detailled information. 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/ Government is actually the worst failure of civilized man. There has never been a really good one, and even those that are most tolerable are arbitrary, cruel, grasping and unintelligent. -- H. L. Mencken __ 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] This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: PHP setup
For now I found with google the php.ini-recommended at: http://cvs.best-off.org/cgi-bin/viewcvs.cgi/modules/mod_php4/php.ini-recommended Does someone have expirience to say if its good, or to restricted for general use ? Alex Citando Ralf S. Engelschall [EMAIL PROTECTED]: On Tue, Aug 10, 2004, Alexander Belck wrote: So far I was using the distros version php.ini (not good practice) Now with OpenPKG I need to setup PHP since /opkg/etc/php/php.ini is empty. Where should I start ? Is there a comented template ? I think Christoph Schug some time ago made a reasonable php.ini template, but I cannot find it in out CVS. I guess he has it still in floating around in his development environment. Christoph, have I smoked crack or do you really have such a template? If yes, can we put this into the php and apache packages? If no, does someone else want to contribute a reasonable small one? And does apaches mod_php use the same setings or is there an other php.ini file ? AFAIK no. php uses the expected prefix/etc/php/php.ini and apache prefix/etc/apache/php.ini. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ 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]
Re: FreeRadius
Whats needed to put freeradius under ftp.openpkg.org/release/2.1/SRC/PLUS/ ? So in future it will be esear to find it :-)) Thanks, Alex Citando Bill Campbell [EMAIL PROTECTED]: On Thu, Aug 05, 2004, Alexander Belck wrote: Where can I find this OpenPKG vers of FreeRadius ? ftp://ftp.celestial.com/ftp.openpkg.org/release/2.1/SRC/freeradius-0.9.3-20031119.src.rpm Can it easyly by upgradet to 1.0.0 and does it provide --with-ldap ? I don't think it would be a problem updating to 1.0.0. I haven't looked at the ldap support in detail. You may need to install another package that I've built that adds some rpm macros that came from Caldera's version of RPM, and that I tended to use a lot. It also tweaks the %{l_prefix}/etc/openpkg/rpmrc file prepending %{l_prefix}/etc/rpm/macros to macrofiles allowing local overrides to macros if necessary. ftp://ftp.celestial.com/ftp.openpkg.org/release/2.1/SRC/csrpmutils-0.90-20030119.src.rpm 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/ ``Never do your enemy a minor injury.'' - Machiavelli __ 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]
Re: Perl
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. 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]
Re: GCC problems
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 ? Thanks, Alex Citando Michael Schloh von Bennewitz [EMAIL PROTECTED]: On Wed, Aug 04, 2004, Alexander Belck wrote: 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: [...] Some links that you might like to study are: -- Note 'Solaris and HPUX users... -- http://www.openpkg.org/doc/handbook/openpkg.html#bstrap-sfware -- Info especially useful for linux users (Solaris is still unfinished) -- http://cvs.openpkg.org/rlog?f=openpkg-re/osprereq.txt http://cvs.openpkg.org/getfile/openpkg-re/osprereq.txt?v=1.21 -- If OpenPKG is not finding an existing compiler on the system -- http://www.openpkg.org/faq.html#overriding-cc Although the OpenPKG Handbook is out of date, the few requirements listed there are still valid. You definitely need a standards compliant C compiler to build most packages (apache for example). And I appologize that the Solaris part of the osprereq.txt document is unfinished, but I haven't studied yet the Jumpstart script graciously offered by David FETTER for Solaris 9 which should be of help. To immediately fix your problem you have two choices: 1 Reinstall the OpenPKG GCC package 2a Find a standards compliant C compiler on your system and; 2b Use the %l_cc macro on the command line (see URL above) Regards, Michael -- 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 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: openldap, sasl, apache chicken and egg problem (Was: Re: More problems with apache)
I agree with the discution in the mailing list, but what isn´t discused is the requirements of apache --with_php_ldap. I will have my credential in OpenLDAP and will uses sasl to allow postfix check authentications against the LDAP, so just for this I build OpenLDAP --without_sasl sasl --with_ldap But when I try to build apache with php_ldap (where I presume this module will allow php to access ldap records), it requires that OpenLDAP should be build with_sasl (as if necessarily to access openldap thru php it needs to authenticate the access using sasl) ?? Thanks, Alex Citando Thomas Lotterer [EMAIL PROTECTED]: On Wed, Jun 23, 2004, Alexander Belck wrote: Alex, I'm lazy. 2) openldap - sasl - apache chicken-and-egg problem Please browse or search the mailing list (i.e. MARC), this was discussed before. Hint: http://marc.theaimsgroup.com/?l=openpkg-usersm=107091431817004 -- [EMAIL PROTECTED], Cable Wireless __ 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]
Re: OpenPKG ver 2.0
YES! Can I install Kolab over OpenPKG 1.3 ? I got some answers from the list that I can mix some packages from the 1.3 and CURRENT branch, but I did not understand what Ralf mean with 'just use the bootstrap openpkg package and your particular other package from OpenPKG CURRENT'. Is this the openpkg utility from the openpkg-tool ? Thanks, Alex Cópia Thomas Lotterer [EMAIL PROTECTED]: On Tue, Jan 20, 2004, [EMAIL PROTECTED] wrote: I must search in previus OpenPKG emails. What I'm interested is a port from a KDE project (I gues) that within others should easyer smtp authentication. Kolab? -- [EMAIL PROTECTED], Cable Wireless __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
IMAP/POP server in OpenPKG 1.3
I don't know how efeciently search for avaible packages . I looked at the ftp from OpenPKG 1.3 and could only identify imapd. I installed it, but it is based on Cyrus, and I'm migrating from a WU-imapd. It would be much easyer for me if I could stay with a mailserver that easily migrats the existing mailbox repositories. Is WU-imap avaiable ? If so, how is the packages named ? Thanks, Alex __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: How to activate OpenPKG services
So far so good, but while does the rc command doesn't also use a rc?.d structure so that /opkg/etc/rc bind start will run the script linked to the currend runlevel /opkg/etc/rc?.d (not just rc.d) making it easy to control what starts with rc all start / stop ? seams to be a small hack to the rc script Thanks, Alex Cópia Michael Schloh von Bennewitz [EMAIL PROTECTED]: Hello Alex, On Tue, Jan 20, 2004, [EMAIL PROTECTED] wrote: I found in the doc that you use th rc script to manage things like that, but I could not understand how I set up a service to start at runlevel N and how do I check if a service is active (equivalent of: /etc/init.d/named status). The OpenPKG equivalent would be: # cd /opkg/etc # ./rc bind status OpenPKG: status: bind. bind_enable=yes bind_usable=yes bind_active=yes You type 'bind' and not 'named', because in /opkg/etc/rc.d/ there is a file called 'rc.bind' and not 'rc.named'. Do you follow that? Also, you can type 'status', 'start', 'stop', and so on. To learn which labels you can use, simply look at the file 'rc.bind' in this case. I saw that in my /etc/init.d now is the opkg script that starts 'all' OpenPKG, but how I specify what 'all' should be for this runlevel ? Remember that in OSs which use SVR4 init scripts (Solaris, Linux...) the files under /etc/rc?.d are the ones that count. So check out your /etc/rc3.d directory for example, and you will see a file 'S99opkg'. Unfortunately, the run command processor is not yet mature enough to handle multiple packages at once. That means that for more granular control of what packages are started you must use multiple calls (rc bind start; rc ntp status; rc apache restart...). It sounds like you want only certain packages to start automatically. To do this you have add lines 'sasl_enable=no', 'arpd_enable=no'... to your '/opkg/etc/rc.conf' file, causing these daemons to never react to rc commands. If you want both granular and conditional manipulation of your daemons controlled by each individual run level, then some serious hacking is needed. The 'rc.conf' file can be left alone in this case, but you'll have to modify the 'S99opkg' and 'K00opkg' scripts installed during bootstrap time. This last approach is not advisable however, because the init scripts are not preserved in bootstrap updates. Please use the 'rc.conf' variant instead, even if it means some manual work each time you change run levels. Regards, Michael -- [EMAIL PROTECTED] Development Team, Operations Northern Europe Cable Wireless Telecommunications Services GmbH __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: OpenPKG ver 2.0
I'm interested in a package that is only avaiable in CURRENT and I was hoping that it becomes stable sooner as earlier it was intended to Q4/2003 ;-( Thanks Alex Cópia Michael Schloh von Bennewitz [EMAIL PROTECTED]: On Tue, Jan 20, 2004, [EMAIL PROTECTED] wrote: I would like to know if someone have an idea when the CURRENT release will become the stable one ? Yes, that is the general idea. In most cases it is safe to immediately install (1.3) and then upgrade to the next release (2.0) when it becomes available. If you have a tricky situation then you might consider waiting the one or two months for 2.0 to arrive. 2.0's RPM database format is different as previous releases and things work slightly differently under the hood. http://www.openpkg.org/events.html http://www.openpkg.org/releng.html Regards, Michael -- [EMAIL PROTECTED] Development Team, Operations Northern Europe Cable Wireless Telecommunications Services GmbH __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
apache complains frood j2se
I was trying to build apache where I set several -Dwith_xxx, one beeing with_mod_java. It complains of j2se. Isn't this option suported ? Thanks, Alex __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: How to activate OpenPKG services
But with a small change to the rc script (it could check the existence of a valid runlevel rc?.d directory and only use it if found) all other scripts can be hold unchanged, eaven after package updates. Alex Cópia Bill Campbell [EMAIL PROTECTED]: On Tue, Jan 20, 2004, [EMAIL PROTECTED] wrote: So far so good, but while does the rc command doesn't also use a rc?.d structure so that /opkg/etc/rc bind start will run the script linked to the currend runlevel /opkg/etc/rc?.d (not just rc.d) making it easy to control what starts with rc all start / stop ? seams to be a small hack to the rc script The Linux systems (current SuSE and old Caldera) I have here all have a ``runlevel'' command that returns the current run level, and it would be trivial to use that within indivudual %{l_prefix}/rc.d/rc.$package scripts. It seems to me that this is only important for a very limited set of packages so it would be better to let the individual packages handle it where appropriate rather than hack the openpkg rc script to do it. 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/ Instead of giving money to found colleges to promote learning, why don't they pass a constitutional amendment prohibiting anybody from learning anything? If it works as good as the Prohibition one did, why, in five years we would have the smartest race of people on earth. -- The Best of Will Rogers __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: OpenPKG ver 2.0
I must search in previus OpenPKG emails. What I'm interested is a port from a KDE project (I gues) that within others should easyer smtp authentication. Cópia Michael Schloh von Bennewitz [EMAIL PROTECTED]: On Tue, Jan 20, 2004, [EMAIL PROTECTED] wrote: I'm interested in a package that is only avaiable in CURRENT and I was hoping that it becomes stable sooner as earlier it was intended to Q4/2003 ;-( I'm sorry to hear that. I just hope that this CURRENT package is even scheduled for release. As you see from http://www.openpkg.org/releng.html, there is a logic behind the OpenPKG category distribution system. Only CORE, BASE, and PLUS class packages are distributed in a release, as denoted by the 'RSP' label in the graph. That means that if the package you wish to install is not in any release distribution but you find it in CURRENT, it will be released in the next version only if it says 'Distribution: OpenPKG [BASE]' in the spec file (or use the 'rpm -q --qf...' methods as shown on the releng.html page. I hope this clears up some confusion and helps you avoid waiting for a package that never arrives. Remember that in most cases you can install a CURRENT package in a RELEASE instance. Regards, Michael -- [EMAIL PROTECTED] Development Team, Operations Northern Europe Cable Wireless Telecommunications Services GmbH __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Help to build courier-imap for OpenPKG
Cópia Michael Schloh von Bennewitz [EMAIL PROTECTED]: On Mon, Dec 15, 2003, [EMAIL PROTECTED] wrote: a) About the sysconfdir, I defined it in .spec relative to _prefix, that previosly I definet relative to l_prefix. Does the order of definitions in the .spec is taken in account ? When you build the courier-imap without OpenPKG, then how do you make it install its config files in your selected config file path (for example /tmp/test/)? Whatever your answer is to this question, do the same thing in the spec file. I never build courier-imap by executing directly configure. Previously I build it with rpm -bb just using the .spec acompaning the source. In the last rpm -bb log I checked that --syconfdir=/opkg/lib/courier-imap/etc where pased, so it may be in an other part of the .spec where I missed to prepend the %l_prefix b) objdump I've never used objdump and don't know his purpose. Here are the outputs, if they are meaningfull to you: [EMAIL PROTECTED] alexb]$ type objdump objdump is hashed (/opkg/bin/objdump) [EMAIL PROTECTED] alexb]$ objdump -i [...] [EMAIL PROTECTED] authlib]$ pwd /opkg/RPM/TMP/courier-imap-2.2.1/authlib [EMAIL PROTECTED] authlib]$ objdump -p authdaemon [...] Well this time the error message you wrote did not appear. That is strange and nonconsistent. My first guess is that while building your courier-imap package (rpm -bb), the system native objdump was used (maybe inside /usr/bin/objdump). Because you have the OpenPKG binutils package installed, your courier-imap was linked however with the OpenPKG ld. So try both '/usr/bin/objdump -i' and '/cw/bin/objdump' and compare the results. Same thing with '/usr/bin/objdump -p authdaemond' and '/cw/bin/objdump -p authdaemond'. Both {/usr/bin|/opkg/usr/bin}objdump -i/-p authdaemon seam to produce the same result yet, so I suspect the there should by a working path error while building the package, or something else ?? Regards, Michael -- [EMAIL PROTECTED] Development Team, Operations Northern Europe Cable Wireless Telecommunications Services GmbH __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Build ERROR for sasl
I tryed to build sasl using: openpkg build -Dwith_pam -Dwith_ldap -Dwith_mysql sasl | sh After it starts compiling I got sever errors starting with: lak.o(.text+0x134f): In function `lak_init': : undefined reference to `OpenSSL_add_all_digests' Then: make[2]: *** [saslauthd] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.45852 (%build) RPM build errors: Bad exit status from /opkg/RPM/TMP/rpm-tmp.45852 (%build) This instalation has following packages: [EMAIL PROTECTED] RPM]# rpm -qa | grep -v perl | sort binutils-2.14-1.3.0 cdk-4.9.10.20030418-1.3.0 db-4.1.25.1-1.3.0 expat-1.95.6-1.3.0 freetype-2.1.4-1.3.0 fsl-1.3.0-1.3.2 gcc-3.3-1.3.0 gd-2.0.15-1.3.0 jpeg-6b-1.3.0 make-3.80-1.3.0 mysql-4.0.14-1.3.2 ncurses-5.3.20030726-1.3.0 openldap-2.1.22-1.3.0 openpkg-1.3.1-1.3.1 openpkg-tool-1.3.0-1.3.0 openssh-3.6.1p2-1.3.2 openssl-0.9.7b-1.3.2 pam-1.3.1-1.3.1 png-1.2.5-1.3.0 readline-4.3-1.3.0 tiff-3.5.7-1.3.0 zlib-1.1.4-1.3.0 Does I miss something or is there some dependency missing ? __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Option description
I saw that postfix accept two build options that I don't know what exactly they provide. How could I get a description of the functionality build when providing the options: postfix::with_whoson = yes postfix::with_fdsetsize = yes __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
How to build apache
As I ever used the prebuild apache package from the distro I used, and extra apache modules where offen separate packages (like mysql, php, perl), I'm not shure how to proceed with OpenPKG. looking at rpm -qpi apache-1.3.28-1.3.2.src.rpm it seema to me that all modules have to be build just when building apache. Is that so, or can I later add functionalitys to apache just ading a new module ? It doesn't seams practic to have to rebuild the hole apache just to get a new module functionality. Thanks for any explanation __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
No courier-imap in OpenPKG
I just realised that there is no package for Courier-IMAP avaiable in OpenPKG-1.3. Can I just execute the courier-imap I build for my OpenPKG hosting distro and integrate with Postfix, LDAP, ... from OpenPKG ? Or do I need to reconfigur or eaven rebuild the Courier-IMAP server? From the build (.spec) I made previusly I have: Requires: /sbin/chkconfig fileutils textutils sh-utils sed BuildPreReq: textutils openssl-devel fileutils rpm = 4.0.2 sed perl gdbm-devel pam-devel fam-devel postgresql-devel openldap-devel mysql-devel openldap-servers So it seams to depend at least on perl, postgresql, openldap and mysql that I'm now building from the packages provided from OpenPKG. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: No courier-imap in OpenPKG
Let me try to ask in another way ;-( Today I have build courier-imap for RH7.3 based strictly on the source downlowded from the developer site. This source comes with a redy .spec What I don't know is what should be better for me to do: option a) (simpler) Just run the package I build for RH7.3. Here I whant to know if it is OK to run this executable that was compiled with RH7.3 versions of ldap, mysql, etc.. while now I'm pretending to use the OpenPKG versions of them. option b) Make some adjustments (tips are welcome) to adapt the .spec so that it integrates with OpenPKG needs an then rebuild courier as if it where an oficial OpenPKG package. Here I'm a litle woried with the complexity of adapting the .spec as I'm no rpm/gcc guru ;-( Cópia Michael Schloh von Bennewitz [EMAIL PROTECTED]: On Tue, Dec 09, 2003, [EMAIL PROTECTED] wrote: I just realised that there is no package for Courier-IMAP avaiable in OpenPKG-1.3. That's right. We just have the Cyrus IMAP server. It's very good. Can I just execute the courier-imap I build for my OpenPKG hosting distro and integrate with Postfix, LDAP, ... from OpenPKG ? That would be nice for you to make the Courier IMAP package. It would be a good addition to the project. It should make a good companion to the Postfix package, just like the Cyrus IMAP server. Or do I need to reconfigur or eaven rebuild the Courier-IMAP server? I don't know how to configure or build the Courier IMAP server. From the build (.spec) I made previusly I have: Requires: /sbin/chkconfig fileutils textutils sh-utils sed BuildPreReq: textutils openssl-devel fileutils rpm = 4.0.2 sed perl gdbm-devel pam-devel fam-devel postgresql-devel openldap-devel mysql-devel openldap-servers So it seams to depend at least on perl, postgresql, openldap and mysql that I'm now building from the packages provided from OpenPKG. If you have a spec file for Courier IMAP, then you probably took it from another RPM packaging system. That's an excellent start, and you can get many clues from that spec file. Regards, Michael -- [EMAIL PROTECTED] Development Team, Operations Northern Europe Cable Wireless Telecommunications Services GmbH __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: No courier-imap in OpenPKG
Hi Bill Your courier-imap seams to be build at 2003-11-24, but ver 1.5.3 seams preaty old compared to curently downloadable source at : http://www.courier-mta.org/download.php#imap Version:2.2.1 (27-Nov-2003). Do you have a different version sequence or why is this great diference ? PS: Do you have any contact to your mailserver ? My mailserver (200.211.5.6) is beeing blocked by nsrbldeny.ecsis.net, but realy I'm no spammer and so far I let other check I'm not an open relay. Unfortunetly I couldn't find why and how to get out of the blockhole list Cópia Bill Campbell [EMAIL PROTECTED]: On Tue, Dec 09, 2003, Michael Schloh von Bennewitz wrote: On Tue, Dec 09, 2003, [EMAIL PROTECTED] wrote: I just realised that there is no package for Courier-IMAP avaiable in OpenPKG-1.3. That's right. We just have the Cyrus IMAP server. It's very good. My problem with cyrus-imap is it uses its own private databases, and it's difficult to use with standard *ix tools. Can I just execute the courier-imap I build for my OpenPKG hosting distro and integrate with Postfix, LDAP, ... from OpenPKG ? That would be nice for you to make the Courier IMAP package. It would be a good addition to the project. It should make a good companion to the Postfix package, just like the Cyrus IMAP server. I have one we use here. My build includes whoson support that I added since I couldn't find other patches. ftp://ftp.celestial.com/private/ftp.openpkg.org/release/1.3/SRC/courier-imap-1.5.3-20031124.src.rpm The spec file is pretty messy, and uses some macros I've pulled over from Caldera's version of RPM. One particularly nasty bit is that it builds the program twice due to some dependencies in the Makefiles triggered by the whoson patches. I couldn't figure out a prettier way to deal with that. My spec file also violates OpenPKG standards by building multiple package to separate out the different database authentication methods. There's a package that adds these to OpenPKG as well: ftp://ftp.celestial.com/private/ftp.openpkg.org/release/1.3/SRC/csrpmutils-0.90-20030119.src.rpm ... If you have a spec file for Courier IMAP, then you probably took it from another RPM packaging system. That's an excellent start, and you can get many clues from that spec file. That's what I did, and the result is pretty ugly. On the other hand it does work (although it may well require installing with the --nodeps option since it turns up many dependencies on system supplied libraries). 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/ Government spending? I don't know what it's all about. I don't know any more about this thing than an economist does, and, God knows, he doesn't know much. -- Will Rogers __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: How to know about with-options?
Looking at the source of pureftpd and issuing ./configure --help I got: [EMAIL PROTECTED] pure-ftpd-1.1.0]# ./configure --help `configure' configures this package to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=shortdisplay options specific to this package --help=recursivedisplay the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print `checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for `--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIRfind the sources in DIR [configure dir or `..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, `make install' will install all the files in `/usr/local/bin', `/usr/local/lib' etc. You can specify an installation prefix other than `/usr/local' using `--prefix', for instance `--prefix=$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIRmodifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIRC header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] Program names: --program-prefix=PREFIXprepend PREFIX to installed program names --program-suffix=SUFFIXappend SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors --disable-largefile omit support for large files Optional Packages: --with-PACKAGE[=ARG]use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-dmalloc use dmalloc, as in http://www.dmalloc.com/dmalloc.tar.gz --without-standaloneDon't compile the standalone server code --without-inetd Don't support super-servers (like inetd) --without-capabilities Don't use Linux capabilities (default=detect) --without-shadowDon't use shadow passwords (default=detect) --without-usernames Use only numerical UIDs/GIDs --without-iplogging Never log remote IP addresses (privacy) --without-humor Disable humor (enabled by default) --without-longoptions Don't support long options (like --help) --without-ascii Don't support 7-bits (ASCII) transfers --without-bannerDon't display any initial banner --without-globbing Don't include globbing code --without-nonalnum Only allow basic alphanumeric characters in file names --without-sendfile Don't use zero-copy optimizations (for network FS) --with-minimal Build only a small minimal server --with-paranoidmsg Use paranoid, but not admin-friendly messages --with-sysquotasUse system (not virtual) quotas --with-altlog Support alternative log format (Apache-like) --with-puredb Support virtual (FTP-only) users --with-pam Enable PAM support (default=disabled) --with-cookie Support 'fortune' cookies (-F option) --with-throttling Support bandwidth throttling (disabled by default) --with-ratios Support for upload/download ratios --with-quotas Support .ftpquota files --with-ftpwho Support for pure-ftpwho and pure-ftpcount --with-largefileSupport for files 2 Gb (slower) --with-welcomemsg Support welcome.msg backward compatibility --with-uploadscript Allow running an external script after an
No -devel package in OpenPKG ?
When compiling a package that should support some facility I used to install first the -devel package. Let say, to have pam support for pureftpd I needed to have pam-devel installed first. Wher does OpenPKG get the pam-devel stuff from when compiling pureftpd --with_pam Alex __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Why most packages default to PAM=NO
I thought pam was a good authentication method used by lots of distros as standard. It seams to me that OpenPKG prefers to default there packages to not support PAM. Is there a known reason for that choice ? __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: LDAP and SASL (chicken and egg)
I thought that enabling sasl in OpenLDAP allows sasl auth mechanism (but not neccessarily agains ldap just because I build sasl with_ldap) and having sasl --with_ldap let other aplications (like postfix) authenticate against LDAP. Mainly I whant postix to be able to auth clients agains LDAP, so sasl --with_ldap seams to be necessary. In respect to OpenLDAP authentication, I'm not shure where it will be necessary. To allow querys/changes to the LDAP database I use client_host_addr for querys and self ACL for changes, so I guess I could leave OpenLDAP without_sasl Cópia Thomas Lotterer [EMAIL PROTECTED]: On Mon, Dec 08, 2003, [EMAIL PROTECTED] wrote: I whant to enable sasl in OpenLDAP, that required me to install sasl. This in turn have an option to enable LDAP, but if set, it requires OpenLDAP to be installed. How should I proceed ? Do I need to install OpenLDAP without sasl to be able to compile sasl --with_ldap, and then recompile OpenLDAP --with_sasl ? The two options are mutually exclusive. Building openldap with_sasl means that OpenLDAP can use SASL mechanisms for authentication. Building sasl with_ldap means that SASL can use (Open)LDAP as password backend store. It is not possible to authenticate to the backend store using a mechanism that pulls out the password from that backend store :-) -- [EMAIL PROTECTED], Cable Wireless __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
How to know about with-options ?
I know that some pakages could be build with some extra ption that I beleave could be passed to the rpm --rebuild package.src.rpm --with-XXX=my_option. How can I find out what avaiable option a specific package has ? Is ther some rpm option that list them from .spec ? And if I build a package whith a desired option (--with-ldap) when OpenPKG release an update would the openpkg tool be smart enouth to rebuild the new package with the same option ? Thanks Alex __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: OpenPKG gcc x kernel_gcc
Thanks Conrad! That was exacly my concenrs about gcc. I whant to use the server packages from OpenPKG that I will compile with OpenPKG version of gcc-3.3, but my glibc an kernel are still from RedHat 7.3 compiled with a gcc-2.9.x. Cópia Conrad Steenberg [EMAIL PROTECTED]: Hi Alex, Michael I think Alex's question is more about having a kernel compiled with a different gcc than the applications that are running on the system. If I understand correctly all the server applications will be from OpenPKG, and compiled with the OpenPKG gcc. If that's the case, the answer is that it shouldn't matter. However, Michael is right in another sense because the server applications do interact with the gcc-2.9x compiled C library. As a data point, I've been running 10+ servers with redhat-7.3 and OpenPKG 1.3 server applications (mainly apache) without problems for about 6 months with no problems. Except for those caused by my own stupidity of course ;-) Hope this helps... Conrad On Wed, 2003-12-03 at 02:01, Michael Schloh von Bennewitz wrote: On Tue, Dec 02, 2003, [EMAIL PROTECTED] wrote: What I whant to ask is if I should worry about compiling all my server stuff (apache, ldap, named, ...) with the new gcc-3.3 from OpenPKG as my kernel is still compiled with gcc-2.9x ? If your question is, 'I want to build the apache, ldap, bind, and other OpenPKG packages using the OpenPKG gcc package' Then the answer is 'Good'. But if your question is, 'I want to build external (not OpenPKG) software with the OpenPKG gcc' Then you're on your own. In almost all cases it's fine, but there is software (like the IRRToolSet and many others) which don't build easily with OpenPKG GCC. In the case of IRRToolSet, it has nonstandard constructs that only nonstandard (older 2.9X) GCC compilers can parse. Of course the ultimate answer is to try it out yourself. If there's something that you've been compiling with the Red Hat native GCC, then try building a test copy of the software with the OpenPKG GCC now. $ CC=/cw/bin/gcc \ CXX=/cw/bin/g++ \ ./configure --prefix=/tmp/test --myoptions=... $ CC=/cw/bin/gcc \ CXX=/cw/bin/g++ \ make -- Conrad Steenberg [EMAIL PROTECTED] __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
OpenPkg on RedHat 7.3
I whant to use OpenPkg on top of a RedHat 7.3 machine that I can't upgrade. I found that it isn't realy supported, but would like to know if someone have some expirience, or could better tell what problems I should expect. Does it matter that RG7.3 use gcc-2.9x and OpenPkg-1.3 uses gcc-3.3 ? __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: OpenPkg on RedHat 7.3
Cópia Bill Campbell [EMAIL PROTECTED]: On Tue, Dec 02, 2003, [EMAIL PROTECTED] wrote: I couldn't find openpkg-tool. Is it a provided as an OpenPkg package ? When you say to build gcc, you mean I should get gcc-3.3-1.3.0.src.rpm and do: /cw/bin/rpm --rebuild gcc-3.3-1.3.0.src.rpm Will I need to install all packages from source, or after building gcc I could use some pre-build packages ? And as I whant to have 2 installations of OpenPkg (one for real, and one for testing/implementing new packages) what matters for the --prefix is the real_directiry, and not the symlink I do to /cw ? I whant to use OpenPkg on top of a RedHat 7.3 machine that I can't upgrade. I found that it isn't realy supported, but would like to know if someone have some expirience, or could better tell what problems I should expect. Does it matter that RG7.3 use gcc-2.9x and OpenPkg-1.3 uses gcc-3.3 ? You should be able to do this. I've got OpenPKG 1.3 Release working on systems older than RH7.3 (e.g. Caldera OpenLinux 2.3). One of the first things you'll need to build with your current gcc is gcc. 1. Bootstrap openpkg. 2. Build and install openpkg-tool. 3. openpkg build gcc | sh 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 cats, for they are subtle and will piss on your computer.'' --Bruce Graham __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: OpenPkg on RedHat 7.3
Sorry for asking again, but I whent to Download area of release 1.3 source ( ftp://ftp.openpkg.org/release/1.3/SRC/ )and couldn't find nothing named openpkg-tools. Where do I get it ? Cópia Bill Campbell [EMAIL PROTECTED]: On Tue, Dec 02, 2003, [EMAIL PROTECTED] wrote: Cópia Bill Campbell [EMAIL PROTECTED]: On Tue, Dec 02, 2003, [EMAIL PROTECTED] wrote: I couldn't find openpkg-tool. Is it a provided as an OpenPkg package ? When you say to build gcc, you mean I should get gcc-3.3-1.3.0.src.rpm and do: /cw/bin/rpm --rebuild gcc-3.3-1.3.0.src.rpm If you install openpkg-tool then do ``openpkg build -K gcc'' it will figure out the current version and generate a script to rebuild it and all its prerequisites from the proper directories at ftp.openpkg.org. The ``-K'' option tells openpkg to keep prerequisite packages instead of removing them after the build is complete. Will I need to install all packages from source, or after building gcc I could use some pre-build packages ? I would try to build from source rather than using prebuilt packages, particularly since Red Hat has a reputation for library inconsistencies. And as I whant to have 2 installations of OpenPkg (one for real, and one for testing/implementing new packages) what matters for the --prefix is the real_directiry, and not the symlink I do to /cw ? The symlink won't be meaningful to OpenPKG as it will have the full path name in %{l_prefix} which is then hard-coded in many places (e.g. the perl spitshell headers). 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/ ``If the government can take a man's money without his consent, there is no limit to the additional tyranny it may practise upon him; for, with his money, it can hire soldiers to stand over him, keep him in subjection, plunder him at discretion, and kill him if he resists.'' Lysander Spooner, 1852 __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: OpenPkg on RedHat 7.3
That was my typo, but still no openpkg-tool on the ftp. All I found starting with 'o' is: openldap-2.1.22-1.3.0.src.rpm 2003 KB 02-08-2003 06:02:00 openpkg-1.3.0-1.3.0.src.rpm 11255 KB 02-08-2003 06:02:00 openpkg-1.3.0-1.3.0.src.sh17309 KB 25-08-2003 12:47:00 openssh-3.6.1p2-1.3.0.src.rpm 883 KB 02-08-2003 06:02:00 openssl-0.9.7b-1.3.0.src.rpm 2731 KB 02-08-2003 06:02:00 I do found openpkg-tool-20030919-20030919.src.rpm in the -current release, but don't know if I should/could use it, as it says that the current is potentialy unstable. Cópia Bill Campbell [EMAIL PROTECTED]: On Tue, Dec 02, 2003, [EMAIL PROTECTED] wrote: Sorry for asking again, but I whent to Download area of release 1.3 source ( ftp://ftp.openpkg.org/release/1.3/SRC/ )and couldn't find nothing named openpkg-tools. It's openpkg-tool (singular). Where do I get it ? Cópia Bill Campbell [EMAIL PROTECTED]: On Tue, Dec 02, 2003, [EMAIL PROTECTED] wrote: Cópia Bill Campbell [EMAIL PROTECTED]: On Tue, Dec 02, 2003, [EMAIL PROTECTED] wrote: I couldn't find openpkg-tool. Is it a provided as an OpenPkg package ? When you say to build gcc, you mean I should get gcc-3.3-1.3.0.src.rpm and do: /cw/bin/rpm --rebuild gcc-3.3-1.3.0.src.rpm If you install openpkg-tool then do ``openpkg build -K gcc'' it will figure out the current version and generate a script to rebuild it and all its prerequisites from the proper directories at ftp.openpkg.org. The ``-K'' option tells openpkg to keep prerequisite packages instead of removing them after the build is complete. Will I need to install all packages from source, or after building gcc I could use some pre-build packages ? I would try to build from source rather than using prebuilt packages, particularly since Red Hat has a reputation for library inconsistencies. And as I whant to have 2 installations of OpenPkg (one for real, and one for testing/implementing new packages) what matters for the --prefix is the real_directiry, and not the symlink I do to /cw ? The symlink won't be meaningful to OpenPKG as it will have the full path name in %{l_prefix} which is then hard-coded in many places (e.g. the perl spitshell headers). 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/ ``If the government can take a man's money without his consent, there is no limit to the additional tyranny it may practise upon him; for, with his money, it can hire soldiers to stand over him, keep him in subjection, plunder him at discretion, and kill him if he resists.'' Lysander Spooner, 1852 __ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED] __ The OpenPKG Project www.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/ ``Good luck to all you optimists out there who think Microsoft can deliver 35 million lines of quality code on which you can operate your business.'' -- John C. Dvorak __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]