[Cooker] snort is crippled...

2003-01-28 Thread Oden Eriksson
Hi.

I just remembered there's missing crucial stuff in the snort package. This is 
very important, please get this right for 9.1

Fix attached.

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com
--- snort.spec	2002-11-26 12:21:56.0 +0100
+++ snort.spec.oden	2003-01-29 08:49:34.0 +0100
@@ -12,7 +12,7 @@
 Summary: An intrusion detection system
 Name: snort
 Version: %{snort_version}
-Release: 4mdk
+Release: 5mdk
 License: GPL
 Group: Networking/Other
 Source0: http://www.snort.org/releases/%{name}-%{snort_version}.tar.bz2
@@ -326,7 +326,12 @@
 mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
 
-#remove the contrib archive files
+# remove some of the contrib archive files
+gunzip snort_archdb-90a.tar.gz
+gunzip snortdb-extra.gz
+bzip2 snort_archdb-90a.tar
+bzip2 snortdb-extra
+
 rm -rf contrib/*.gz
 cp contrib/README doc/README.contrib
 
@@ -408,6 +413,10 @@
 if [ -L %{_sbindir}/%{name} ]; then ln -sf %{_sbindir}/%{name}-bloat %{_sbindir}/%{name}; fi
 
 %changelog
+* Wed Jan 29 2003 Oden Eriksson [EMAIL PROTECTED] 1.9.0-5mdk
+- repack some of the contrib/*.gz stuff as it's crucial and needed for 
+  applications like acid, etc. (why cripple snort???)
+
 * Tue Nov 26 2002 Gwenole Beauchesne [EMAIL PROTECTED] 1.9.0-4mdk
 - Patch1: Make it lib64-aware, do regenerate configure script
 - Fix %%doc, try to make it a little more -bi --short-circuit'able



[Cooker] bincimap

2003-01-27 Thread Oden Eriksson
Hi.

I just inserted bincimap into contribs. Please test ASAP.

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] Re: latest bincimap

2003-01-27 Thread Oden Eriksson
Buchan Milne writes: 

Oden Eriksson wrote:

Hi list. 

I've used courier-imap since 0.20 or something but since I found this new(?) 
imap server a while back it got me curious. Now. I'm a contributer and 
packager for Mandrake Linux, and I know for a fact we are looking for a 
uw-imap drop-in replacement. courier-imap has been in contribs for a while 
now but haven't made it into the maintree, I guess because it's so strange... 


What's strange about courier? I have one production server running UW,
which convinced me never to use it in production again, so my other
servers run courier. 

The big issue is migrating mail which is in mbox files. That's why my
first prodcution mail server *still* runs UW. And unfortunately that
affects all current Maildir server. Would be nice if there were a
mbox2maildir migration IMAP server ;-).

http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=mbox2maildirbtnG=Goo 
gle+Search 

http://freshmeat.net/projects/imapmigration 

Also, the KDE kolab project uses cyrus ... so do we want 4 IMAP servers
in the distro?


Then we won't see either kolab or cyrus-imap in mandrake because of the 
cyrus-imap license? 

I have made Mandrake packages out of bincimap and checkpassword-pam that I 
just was about to insert into the contribs, but then it strucked me..., I 
forgot all about the SSL part... How does this work? It's not documented as 
far as I could see. Until I have sorted this out the packages live here: 
http://d-srv.com/Cooker/ 


What is the license of checkpassword (being a DJB-soft, is it under a
DJB-ware license)?


No, GPL. 


--
Kindest regards // Oden Eriksson 



Re: [Cooker] Re: latest bincimap

2003-01-27 Thread Oden Eriksson
måndagen den 27 januari 2003 12.48 skrev Buchan Milne:
 Oden Eriksson wrote:
  Buchan Milne writes:
  Oden Eriksson wrote:
  Hi list.
  I've used courier-imap since 0.20 or something but since I found this
  new(?) imap server a while back it got me curious. Now. I'm a
  contributer and packager for Mandrake Linux, and I know for a fact we
  are looking for a uw-imap drop-in replacement. courier-imap has been
  in contribs for a while now but haven't made it into the maintree, I
  guess because it's so strange...
 
  What's strange about courier? I have one production server running UW,
  which convinced me never to use it in production again, so my other
  servers run courier.
  The big issue is migrating mail which is in mbox files. That's why my
  first prodcution mail server *still* runs UW. And unfortunately that
  affects all current Maildir server. Would be nice if there were a
  mbox2maildir migration IMAP server ;-).
 
  http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=mbox2maildirbtnG=
 Goo gle+Search
  http://freshmeat.net/projects/imapmigration

 Sure, there is also imapcopy
 (http://www.jplanglois.com/products/imapcp/) and mb2md
 (http://batleth.sapienti-sat.org/projects/mb2md/), but one can't just
 dump uw while people have mail servers running it ...

Yes I see, this needs to be done methodical and carefully. Are there many 
users? Downtime is unaceptable?

 I must still get around to testing these, and then migrate ...

 And we don't like disturbing the users too much, mail server upgrade is
 dependant on our recently completed file server migration ... the kind
 of thigns you don't want to do simultaneously!

He he he, no it would be to much to keep track of.

  Also, the KDE kolab project uses cyrus ... so do we want 4 IMAP servers
  in the distro?
 
  Then we won't see either kolab or cyrus-imap in mandrake because of the
  cyrus-imap license?

 According to FM it's OSI-approved, and from reading it, it seems almost
 identical (except for paragraph 4 which seems to reiterate 1 and 2 but
 for some distribution besides source or binary?) to the modified
 GPL-compatible BSD:

 http://asg.web.cmu.edu/cyrus/imapd/license.html

 Of course Mandrake uses the GPL-incompatibly-licensed postfix (IBM
 public license) as default MTA ;-)

I don't know about the license model, but I vaugly recall a discussion on this 
list some time ago that it would not make it.

Well..., back on topic. I would like people to test this new server and report 
to me their experience. It's very promising. I will test it in production 
myself this week.

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: [Contrib-Rpm] chkrootkit-0.38-2mdk

2003-01-27 Thread Oden Eriksson
måndagen den 27 januari 2003 22.54 skrev Todd Lyons:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Oden Eriksson wrote on Mon, Jan 27, 2003 at 02:47:29AM +0100 :
   The following packages have bad signatures:
   /home/Mandrake/contrib/RPMS/chkrootkit-0.38-2mdk.i586.rpm
   I hope this is just a bad signature. Can someone enlighten me? This is
   one package that must be trusted to be useful.
 
  I have my key at: http://d-srv.com/Cooker/
  Still to this day I can't really figure out why Mandrake seems to lack my
  key... (?)

 Vincent will correct me if I'm wrong, but there are only three keys that
 are used to officially sign packages in Main.  Those three keys get
 installed automatically into root's keyring when the gnupg package is
 installed.  If a developer happens to also package some Contrib rpm, the
 sig will be good.  If a community contributor packages the Contrib rpm,
 then the end user who's installing it must go and manually retrieve
 (just once) the packager's public key.

So I guess resigning my packages while the upload procedure is running with 
one of this 3 keys is out of the question then?

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] hddtemp, far out!

2003-01-26 Thread Oden Eriksson
söndagen den 26 januari 2003 17.19 skrev Lonnie Borntreger:
 On Sun, 2003-01-26 at 10:16, Tom Brinkman wrote:
  On Saturday January 25 2003 05:58 pm, Oden Eriksson wrote:
   Here's my WS at home:
  
   hddtemp /dev/hda
   /dev/hda: IC35L060AVER07-0: 56°C
   (It's an AMD machine, would't you have guessed?)
 
  /dev/hda: Maxtor 6Y080L0: 61°C
   tom# hddtemp /dev/hdb
  /dev/hdb: MAXTOR 6L040J2: 39°C
 
 (also an AMD machine ;)

 Running Cooker on a dual AMD:
 - hddtemp /dev/hd[ab]
 /dev/hda: MAXTOR 4K060H3: 17 C
 /dev/hdb: MAXTOR 4K080H4: 16 C

Huh?

A Kryotech chassie? Or do you have it outdoors? ;)

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: [Contrib-Rpm] amanda-2.4.3-1mdk

2003-01-26 Thread Oden Eriksson
söndagen den 26 januari 2003 19.08 skrev Brian J. Murrell:
 On Sun, Jan 26, 2003 at 09:01:40AM +0100, Oden Eriksson wrote:
  [Contrib-RPM]
 
  --=-=-=
  Name: amanda   Relocations: (not
  relocateable) Version : 2.4.3 Vendor:
  MandrakeSoft Release : 1mdk  Build Date: Sun
  Jan 26 06:08:09 2003

 ...

  * Sun Jan 26 2003 Oden Eriksson [EMAIL PROTECTED] 2.4.3-1mdk
 
  - 2.4.3
  - bzip all sources
  - use P0 from RH
  - remove installed files
  - add installed files
  - fix no-prereq-on rpm-helper
  - built without gdbm (use flatfile db)
  - misc spec file fixes

 It would be nice if the changelog reflected the lack of the append
 patch that was in previous releases.  This is something somebody
 should be able to determine by looking at the changelog prior to
 upgrading their installation.

Oops, I forgot to mention that in the changelog

  --=-=-=
  W: amanda patch-not-applied Patch1: amanda-2.4.2p2-append-patch.bz2

 ...

  @@ -105,50 +100,58 @@
   %prep
   %setup -q
   %patch0 -p1 -b .bug18322
  -%patch1 -p1 -b .append
  +
  +# re-apply this one when the patch is updated,
  +# there's too many rejects as is.
  +#%patch1 -p1 -b .append

 Does this version apply any cleaner?

 http://www-internal.alphanet.ch/archives/local/alphanet/divers/patches/aman
da/PATCHES/2/amanda-2.4.2p2-cril-append-patch.gz

No, 12 rejects with pretty huge and complex chunks. To manually apply this 
would require many hours of work, and I think the result would be 
questionable. There's always a possibility to roll back to the previous 
packages? Yesterday I checked which packages was not rebuilt against latest 
requires and buildrequires, and I picked the most usefull ones to rebuild and 
optionally update the software versions. I could keep my hands off, but I 
only wanted to help out.

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: [Contrib-Rpm] amanda-2.4.3-1mdk

2003-01-26 Thread Oden Eriksson
söndagen den 26 januari 2003 19.58 skrev Buchan Milne:
  No, 12 rejects with pretty huge and complex chunks. To manually apply
  this would require many hours of work, and I think the result would be
  questionable. There's always a possibility to roll back to the previous
  packages? Yesterday I checked which packages was not rebuilt against
  latest requires and buildrequires, and I picked the most usefull ones to
  rebuild and optionally update the software versions. I could keep my
  hands off, but I only wanted to help out.

 It was still on my to-do list, but we just migrated our main file server
 and it's 110GB of data from to a new server, and was not prepared to mess
 with new versions of amanda while we had only one current on-disk copy of
 the data, on a single 120GB IDE disk. Migration finished last week, so I
 will take a look at amanda again and try and track down a newer version of
 the patch.

Cool. Sorry if I caused any problems.

 Then again, I also want to take a look at Bacula, which has these features
 natively and a native windows agent.

Looks good, gotta try it when I get some spare time.

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: [Contrib-Rpm] chkrootkit-0.38-2mdk

2003-01-26 Thread Oden Eriksson
måndagen den 27 januari 2003 02.23 skrev Salane:
 The following packages have bad signatures:
 /home/Mandrake/contrib/RPMS/chkrootkit-0.38-2mdk.i586.rpm

 I hope this is just a bad signature. Can someone enlighten me? This is one
 package that must be trusted to be useful.

I have my key at: http://d-srv.com/Cooker/

Still to this day I can't really figure out why Mandrake seems to lack my 
key... (?)

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] New troels/rsync alternative

2003-01-26 Thread Oden Eriksson
söndagen den 26 januari 2003 23.14 skrev David Walser:
 I just finished a Perl script for updating a Mandrake
 mirror.  It renames RPMs so it can rsync between
 package versions, and it supports download rate
 limiting and some other options.

 It was designed to be more flexible and easier to
 setup than troels.  It's configured with some
 variables at the top of the script.

 It can be found at
 http://luigiwalser.homeip.net:8080/~david/cooksync.pl

 Any comments/suggestions welcome.

Cool David!

Will try it when I have some time to experiment.

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] latest bincimap

2003-01-26 Thread Oden Eriksson
Hi list.

I've used courier-imap since 0.20 or something but since I found this new(?) 
imap server a while back it got me curious. Now. I'm a contributer and 
packager for Mandrake Linux, and I know for a fact we are looking for a 
uw-imap drop-in replacement. courier-imap has been in contribs for a while 
now but haven't made it into the maintree, I guess because it's so strange...

I have made Mandrake packages out of bincimap and checkpassword-pam that I 
just was about to insert into the contribs, but then it strucked me..., I 
forgot all about the SSL part... How does this work? It's not documented as 
far as I could see. Until I have sorted this out the packages live here: 
http://d-srv.com/Cooker/

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] hddtemp, far out!

2003-01-25 Thread Oden Eriksson
Hi.

Thanks for the hddtemp contribs Ben/Vincent, this one was really cool!

Here's d-srv.com:

hddtemp /dev/hd[aceg]
/dev/hda: ST340810A: 41°C
/dev/hdc: ST340810A: 41°C
/dev/hde: ST340810A: 25°C
/dev/hdg: ST340810A: 27°C

hde and hdg (md0) has 2x80mm fans blowing on them, damn nice ;)

lm_sensors ouput for my CPUs

CPU0 Temp:  +24.2°C  (limit =  +60°C, hysteresis =  +55°C)
CPU1 Temp:  +23.5°C  (limit =  +60°C, hysteresis =  +55°C)

Very nice!

Here's my WS at home:

hddtemp /dev/hda
/dev/hda: IC35L060AVER07-0: 56°C

(It's an AMD machine, would't you have guessed?)

I wonder why this software don't merge with hdparm?

Chears.
-- 

Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] [Bug 999] [acid] error occurs selecting un/selecting categories

2003-01-24 Thread Oden Eriksson
torsdagen den 23 januari 2003 21.08 skrev [Bug 999]:
 https://qa.mandrakesoft.com/show_bug.cgi?id=999

 [EMAIL PROTECTED] changed:

What|Removed |Added
 ---
- Status|UNCONFIRMED |ASSIGNED
  Ever Confirmed||1



 --- Additional Comments From [EMAIL PROTECTED]  2003-01-23
 21:08 --- please try acid-0.9.6b23-1mdk



 --- You are receiving this mail because: ---
 You are on the CC list for the bug, or are watching someone who is.



 --- Reminder: ---
 assigned_to: [EMAIL PROTECTED]
 description:
 When selecting/unselecting categories in Advanced install the following
 error occurs:

   an error occured
   Can't call nethod 'flag_base'on an undefined value

MandrakeSoft do not support any of the stuff in the contribs repository, 
so..., unless I'm payed I won't either. Either remove me from bugzilla or 
remove my packages. I really do too much unpaid work for MandrakeSoft as it 
is...

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] 87 modules for apache2 :)

2003-01-22 Thread Oden Eriksson
onsdagen den 22 januari 2003 08.33 skrev Yves Duret:
 Oden Eriksson wrote:
  tisdagen den 21 januari 2003 22.47 skrev Buchan Milne:
 In terms of general packages, or are you wanting a voting system just for
 apache2 modules??
 
  For apache2 modules. I don't care much about non server stuff...

 if the guy want to set up a server with apache, he, of course, have a
 net connexion, thus he will be able to download all the modules he needs
 thx urpmi without pb.
 thus i will say only the main packages (mod_perl,php,ssl..) to keep some
 free space for more desktop related stuff (where people prefer to have
 everything on a cdrom because they do not have a net connection).
 wdyt ?

Actually all current extra apache2 modules and all extra php extensions 
inluding dep libs from contribs is under 10MB. Frozenbubble alone is about 
7MB. OpenOffice alone is about 160MB?.

I can live without for example Frozenbubble :-)

But then I realized this _is_ a desktop distro. Maybe every server application 
should be left out to make room for more desktop applications, then we maybe 
could even squeeze in one or two extra games in there ;)

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] 89 modules for apache2 :)

2003-01-22 Thread Oden Eriksson
Hi.

I just added mod_spam_die into contribs, use it now, it's quite a funny one...

Check my status page here: http://d-srv.com/modules_for_apache2.html

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] Re: [Contrib-Rpm] apache2-2.0.44-1mdk

2003-01-21 Thread Oden Eriksson
tisdagen den 21 januari 2003 08.46 skrev Oden Eriksson:
 [Contrib-RPM]

 --=-=-=
 Name: apache2  Relocations: (not relocateable)
 Version : 2.0.44Vendor: MandrakeSoft
 Release : 1mdk  Build Date: Tue Jan 21 00:20:58

Hi, 

It would be kind of cool if someone with a reasonable fresh cooker install 
could forcly update apache2 now. Apache 2 should be binary compatible = 
2.0.42. Please do this and tell me if apache 2.0.44 with the third party 
modules built against apache 2.0.43 works ok. Thank you.

Here's the announcement:

http://marc.theaimsgroup.com/?l=apache-httpd-announcem=104313442901017w=2

Also, I have no idea what the plans are for openldap (and sasl). If OpenLDAP 
and Cyrus SASL (v2.x) would be built against db4, apache2 would only require 
db4 and not both db3 and db4.

Chears
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] php-imap

2003-01-21 Thread Oden Eriksson
Hi. 

(jmdault) 

Could this be changed please? 

From: 

%define rlibs pam libopenssl0.9.7
%define blibs imap-devel = 2001a pam-devel = 0.75 libopenssl0.9.7-devel 

To: 

%define rlibs pam libopenssl0
%define blibs imap-devel = 2001a pam-devel = 0.75 openssl-devel 

Thanks. 

Also, imap itself should be rebuilt against latest openssl... 

Chears.
--
Kindest regards // Oden Eriksson 



[Cooker] Re: php-imap

2003-01-21 Thread Oden Eriksson
Oden Eriksson writes: 

Hi.  

(jmdault)  

Could this be changed please?  

From:  

%define rlibs pam libopenssl0.9.7
%define blibs imap-devel = 2001a pam-devel = 0.75 libopenssl0.9.7-devel  

To:  

%define rlibs pam libopenssl0
%define blibs imap-devel = 2001a pam-devel = 0.75 openssl-devel 

Hmmm, it appears this goes for php-ldap too... 



--
Kindest regards // Oden Eriksson 



[Cooker] 87 modules for apache2 :)

2003-01-21 Thread Oden Eriksson
Hi.

I just added mod_fortress and mod_auth_remote to my list. Check it out at:

http://d-srv.com/modules_for_apache2.html

Testers needed.

I wonder if we should have some sort of voting system to decide what to put in 
main/on the 9.1 cdroms?

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] 88 modules for apache2 :)

2003-01-21 Thread Oden Eriksson
Hi.

I just added mod_auth_shadow into the contrib repository, have fun!

http://d-srv.com/modules_for_apache2.html

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] 87 modules for apache2 :)

2003-01-21 Thread Oden Eriksson
tisdagen den 21 januari 2003 22.47 skrev Buchan Milne:
 On Tue, 21 Jan 2003, Oden Eriksson wrote:
  I just added mod_fortress and mod_auth_remote to my list. Check it out
  at:
 
  http://d-srv.com/modules_for_apache2.html
 
  Testers needed.
 
  I wonder if we should have some sort of voting system to decide what to
  put in main/on the 9.1 cdroms?

 In terms of general packages, or are you wanting a voting system just for
 apache2 modules??

For apache2 modules. I don't care much about non server stuff...

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [qmailadmin] New 1.0.8 devel version available

2003-01-21 Thread Oden Eriksson
tisdagen den 21 januari 2003 21.03 skrev Ken Jones:
 The latest devel version is available: 1.0.8

Cool!


 Please report any problems to the mailing list so we can
 clean up this release for a 1.1 production version.

Here's my latests swedish translation file for v1.0.8

Svenskar bör korrekturläsa denna och/eller ge synpunkter.

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com
000 iso-8859-1
001 Huvudmeny
002 E-postkonto
003 Lägg till e-postrobot:
004 E-postrobotnamn:
005 Skicka kopia till:
006 Subjekt:
007 Lägg till eftersändningskonto:
008 Eftersändningsadress:
009 Lokalt namn:
010 eftersändningsadress ska formateras banvändarnamn@domän.com/B.  brLokalt 
namn ska formateras: be-postkonto/B brb Ex, /b breftersändningsadress: 
[EMAIL PROTECTED] Lokalt namn: pelle brDetta skickar e-post till 
pelle@domän.com vidare till [EMAIL PROTECTED]
011 Lägg till moderator.
012 Lägg till moderator till e-postlista.
013 E-postadress:
014 Lägg till medlem till e-postlista
015 Lägg till e-postlista
016 Namn på e-postlista:
017 Ägarens e-postadress:
018 Arkiverat.
019 Ej arkiverat.
020 Blockerat arkiv. Endast moderatorer äger rätt att använda arkivet.
021 Arkivet är öppet för alla, eller enbart medlemmar beroende på skyddsinställning.
022 Ej summerat. Ställ inte in summerad lista.
023 Prefix. Subjektet föregås av listans namn.
024 Inget prefix.
025 Skyddat arkiv. Okända avsändare accepteras ej.
026 Ej skyddat arkiv. Alla avsändare accepteras.
027 Medlemskap kräver ej konfirmation.
028 Medlemskap kräver konfirmation i form av e-postsvar.
029 Indexerad för webarkiv.
030 Ej indexerad för webarkiv.
031 Avslut på medlemskap kräver ej konfirmation.
032 Avslut på medlemskap kräver konfirmation i form av e-postsvar.
033 Medlemslista. Administratörer kan erhålla medlemslista och kontrollera loggen via 
e-post.
034 Medlemslistan kan ej erhållas.
035 Meddelanden är modererade.
036 Meddelanden är ej modererade.
037 Meddelanden från andra än moderatorerna accepteras ej. Denna inställning är 
lämplig för en modererad lista.
038 Andra accepteras ej. Meddelanden skickas vidare till moderatorn. Denna inställning 
är lämplig för en modererad lista.
039 Svara på administrativa anrop och tillåt hämta arkiv via e-post.
040 Tillåt summerad lista, administrativa anrop via e-post och tillåt administratören 
att hämta arkiv.
041 Tillåt administratören att redigera konfigurationsfiler via administrativa anrop.
042 Tillåt ej administratören att redigera konfigurationsfiler via administrativa 
anrop.
043 Förfrågningsadressen är tillåten.
044 Förfrågningsadressen är ej tillåten.
045 Tillåt administrativa anrop via e-post.
046 Tillåt ej administrativa anrop via e-post.
047 Medlemmarnas meddelanden är modererade.
048 Medlemmarnas meddelanden är ej modererade.
049 Sidfot
050 Ingen sidfot
051 Endast medlemmar
052 Inga restriktioner för avsändaradressen.
053 SQL stöd
054 Gäst
055 Port
056 Användarnamn
057 Lösenord
058 Databas
059 Tabell
060 Lägg till
061 E-postkonto
062 Fånga allt konto:
063 Kommentar
064 Ändra br Användarnamn
065 Radera brKonto
066 Fånga allt brkonto
067 Skapa E-postkonto
068 Aliaskonto
069 Alias
070 E-postkonto
071 Ändra
072 Radera
073 Lägg till nytt alias
074 Eftersändningskonto
075 Eftersänd
076 Lägg till nytt eftersändningskonto
077 Mailrobot
078 Mailrobot
079 Lägg till e-postrobot
080 e-postlistor
081 Lista
082 Kunde inte öppna .qmail-default
083 Lägg tillbrmedlem
084 Raderabrmedlem
085 Visabrmedlemmar
086 Lägg tillbrmoderator
087 Raderabrmoderator
088 Visabrmoderatorer
089 Lägg till e-postlista
090 Lägg till e-postkonto
091 Lösenord (verifiera):
092 Namn
093 Listnamn
094 Anslut användare
095 Gör kontot medlem i följande e-postlistor
096 Radera alias
097 Verifiera radera
098 Radera e-postrobot
099 SQL inställningar
100 Radera eftersändning
101 Radera e-postlista
102 Radera användare
103 eftersändningsadress
104 Ja, skicka vidare till:
105 Ändra e-postrobot
106 Namn
107 Innehåll
108 Lägg till e-postadress
109 Ändra användare
110 Nytt lösenord
111 Ändra kontouppgifter
112 Huvudkonto
113 Domännamn
114 Login
115 Omdirigeringar för användare
116 Nuvarande omdirigeringar
117 Lägg till/Byt ut eftersändningsadress
118 Radera omdirigering
119 lades till
120 kunde inte läggas till
121 Alias
122 Eftersändningar
123 Visa omdirigering
124 Snabblänkar
125 Nytt e-postkonto
126 Nytt alias
127 Ny eftersändning
128 Ny e-postrobot
129 Ny e-postlista
130 Fånga allt konto: Studsa
131 Inga fler att visa, återvänd till föregående sida
132 Standard
133 Index:
134 Set catchall email bounced 
135 Föregående sida
136 Ladda om sidan
137 Nästa sida
138 Skriv in lösenord
139 lösenordet ändrat
140 kunde inte byta lösenord
141 kontot raderat
142 Ingen behörighet
143 fel katalogbehörighet
144 fel filbehörighet
145 Ogiltig användare, internt fel
146 Kan inte skicka vidare
147 Skicka vidare nu
148 Ogiltig e-postadress
149 Kan ej radera sista inmatningen
150 filfel
151 Raden raderad
152 Lade till eftersändning
153 Användare finns ej
154 Lade till alias
155

Re: [Cooker] php-snmp calls to undefined functions

2003-01-20 Thread Oden Eriksson
måndagen den 20 januari 2003 16.17 skrev Brandon Long:
 calls to php-snmp functions give following output

 Fatal error: Call to undefined function: snmpset() in
 /var/www/html/wiretest.php on line 12

Ahh..., never mind, try this built module instead:

http://d-srv.com/Cooker/RPMS/php-snmp-4.3.0-4mdk.i586.rpm

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: [CHRPM] cyrus-sasl-2.1.10-2mdk

2003-01-20 Thread Oden Eriksson
måndagen den 20 januari 2003 22.56 skrev Brian J. Murrell:
 On Mon, Jan 20, 2003 at 07:46:07PM +0100, Florin wrote:
  --=-=-=
  Name: cyrus-sasl   Relocations: (not
  relocateable) Version : 2.1.10Vendor:
  MandrakeSoft Release : 2mdk  Build Date: Mon
  Jan 20 18:54:47 2003

 Is this the start of the move to sasl v2?  I hope so.  On my Cooker
 system, I show the current dependencies on sasl v1 as being:

 $ rpm -q --whatrequires libsasl7
 cyrus-sasl-1.5.27-6mdk
 nss_ldap-202-1.1mdk
 pam_ldap-156-1.1mdk

Not to mention the proposed move to db4. If sasl and openldap would be 
compiled against db4, apache2 would not have to require both db3 and db4.

Ohh..., I just realized..., db4 is in contribs, what a drag, then it's a no 
go... (!)


-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] gmp-4.1.1-1mdk

2003-01-19 Thread Oden Eriksson
Hi.

gmp-4.1.1-1mdk needs to be rebuilt against newest glibc.

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] Re: [CHRPM] libuser-0.51-6mdk

2003-01-19 Thread Oden Eriksson
söndagen den 19 januari 2003 18.00 skrev Stefan van der Eijk:

  %changelog
 +* Sun Jan 19 2003 Stefan van der Eijk [EMAIL PROTECTED] 0.51-6mdk
 +- Undo BuildRequires: db3-devel -- db4-devel (db4 is in contrib)

Why not rebuild all stuff against db4 and move db4 to main? There's not _that_ 
many packages.

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] 83 modules for apache2 :)

2003-01-19 Thread Oden Eriksson
söndagen den 19 januari 2003 18.31 skrev Oliver Lemke:
 On Sun, 2003-01-19 at 17:13, Jean-Michel Dault wrote:
  The mirrors haven't synced yet.
 
  You need libphp430_common = 6mdk

 Newer version has the same problem:

 [olemke@defiant:olemke] rpm -q libphp_common430
 libphp_common430-430-7mdk

 [olemke@defiant:olemke] sudo /etc/init.d/httpd start
 Password:
 Starting httpd2: Syntax error on line 3 of
 /etc/httpd/conf.d/70_mod_php.conf: Cannot load
 /etc/httpd/2.0/extramodules/mod_php4.so into server:
 /etc/httpd/2.0/extramodules/mod_php4.so: undefined symbol:
 tokenizer_module_entry [FAILED]

As I said in another mail, my fault for trusting the automatic buildhost 
requires and buildrequires up-to-date woodoo magic mechanism.

Fixed in a couple of hours.

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] 85 modules for apache2 :)

2003-01-19 Thread Oden Eriksson
Hi.

I just added apache2-mod_mya-2.0.43_3.0.1-1mdk into contribs, so now there's 
85 modules.

http://d-srv.com/modules_for_apache2.html

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] 83 modules for apache2 :)

2003-01-18 Thread Oden Eriksson
Hi.

I just added apache2-mod_variety-2.0.43_0.1.0-1mdk.i586.rpm into contribs, 
so now there's 83 modules.

http://d-srv.com/modules_for_apache2.html

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] today's php build (extensions)

2003-01-18 Thread Oden Eriksson
http://d-srv.com/php/phpinfo-20030118.html
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] 84 modules for apache2 :)

2003-01-18 Thread Oden Eriksson
Hi.

I just added apache2-mod_dav_repos-2.0.43_0.8.0-1mdk (Catacomb) into 
contribs, so now there's 84 modules.

http://d-srv.com/modules_for_apache2.html

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] php

2003-01-17 Thread Oden Eriksson
Hi.

Please apply these patches and rebuild the php core.

Thanks.

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com


php-4.3.0-credits.patch.bz2
Description: BZip2 compressed data


php-4.3.0-apache2.patch.bz2
Description: BZip2 compressed data


php-4.3.0-db4.patch.bz2
Description: BZip2 compressed data


php-4.3.0-no_egg.patch.bz2
Description: BZip2 compressed data
--- php.spec	2003-01-08 05:24:58.0 +0100
+++ php.spec.oden	2003-01-17 16:06:25.0 +0100
@@ -1,8 +1,32 @@
+# OE: conditional switches
+#
+#(ie. use with rpm --rebuild):
+#
+#	--with debug	Compile with debugging code
+# 
+#  enable build with debugging code: will _not_ strip away any debugging code,
+#  will _add_ -g3 to CFLAGS, will _add_ --enable-maintainer-mode to 
+#  configure.
+
+%define build_debug 0
+
+# commandline overrides:
+# rpm -ba|--rebuild --with 'xxx'
+%{?_with_debug: %{expand: %%define build_debug 1}}
+
+%if %{build_debug}
+# disable build root strip policy
+%define __spec_install_post %{_libdir}/rpm/brp-compress || :
+
+# This gives extra debuggin and huge binaries
+%{expand:%%define optflags %{optflags} %([ ! $DEBUG ]  echo '-g3')}
+%endif
+
 %define phpdir	%{_libdir}/php
 %define	peardir	%{_datadir}/pear
 %define libversion 430
 %define phpversion 4.3.0
-%define phprelease 1mdk
+%define phprelease 2mdk
 
 #The external_modules definition has been put in the %%build section
 #to clean things a bit
@@ -23,18 +47,26 @@
 Patch3:		php-4.3.0-info.patch.bz2
 Patch4:		php-4.3.0-64bit.patch.bz2
 Patch6:		php-4.3.0-fix-pear.patch.bz2
+
+# OE: here's my patches
+# note P7 and P8 don't changes the php core
+Patch7:		php-4.3.0-db4.patch.bz2
+Patch8:		php-4.3.0-apache2.patch.bz2
+
+Patch9:		php-4.3.0-credits.patch.bz2
+Patch10:	php-4.3.0-no_egg.patch.bz2
+
+# OE: here's jmdaults patch, it's great!
+Patch11:	php-4.3.0-scandir.patch.bz2
+
 # Stolen from PLD
 Patch14:	php-4.3.0-mail.patch.bz2
 Patch15:	php-4.3.0-mcal-shared-lib.patch.bz2
 Patch16:	php-4.3.0-msession-shared-lib.patch.bz2
-BuildRequires:	bison
-BuildRequires:	byacc
-BuildRequires:	pam-devel
-BuildRequires:	flex
-BuildRequires:	libopenssl0-devel
-BuildRequires:	zlib-devel
-BuildRequires:	glibc-devel
-BuildRequires:	gettext-devel
+
+BuildRequires:	bison byacc pam-devel flex openssl-devel zlib-devel
+BuildRequires:	glibc-devel gettext-devel
+#BuildRequires:	autoconf2.5
 BuildRoot:	%{_tmppath}/%{name}-%{version}
 Provides: 	ADVXpackage
 
@@ -45,6 +77,12 @@
 systems, so writing a database-enabled script with PHP is fairly simple.  The
 most common use of PHP coding is probably as a replacement for CGI scripts.
 
+You can build %{name} with some conditional build swithes;
+
+(ie. use with rpm --rebuild):
+--with debug   Compile with debugging code
+
+
 %package cli
 Group:		Development/Other
 Summary:	Command-line interface to PHP
@@ -90,24 +128,6 @@
 If you need apache module support, you also need to install the mod_php
 package.
 
-
-#%package pear
-#Group:		Development/Other
-#Summary:	PEAR-related files from PHP
-#URL:		http://pear.php.net
-#Requires:	php-xmlrpc = %{version}
-#Requires:	php
-#
-#%description pear
-#PEAR is short for PHP Extension and Application Repository and is pronounced
-#just like the fruit. The purpose of PEAR is to provide:
-#
-#* A structured library of open-sourced code for PHP users
-#* A system for code distribution and package maintenance
-#* A standard style for code written in PHP
-#* The PHP Foundation Classes (PFC)
-#* The PHP Extension Code Library (PECL)
-
 %package -n libphp_common%{libversion}
 Version: 	%{libversion}
 Group:		Development/Other
@@ -132,6 +152,8 @@
 Obsoletes:	php-zlib
 Provides:	php-zlib
 Obsoletes:	php-gettext
+Obsoletes:	php-common
+Provides:	php-common
 Provides:	php-gettext
 Provides: 	ADVXpackage
 
@@ -160,7 +182,6 @@
 SELF-CONTAINED-EXTENSIONS.
 
 %prep
-[ %{buildroot} != / ]  rm -rf %{buildroot}
 
 %setup -q 
 %patch0 -p1
@@ -169,6 +190,11 @@
 %patch3 -p1
 %patch4 -p1
 %patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
 
 # Stolen from PLD
 %patch14 -p1
@@ -194,6 +220,12 @@
 rm -f php-devel/extensions/skeleton/EXPERIMENTAL
 rm -f php-devel/extensions/ncurses/EXPERIMENTAL
 
+# don't ship MS Windows source
+rm -rf php-devel/extensions/com
+rm -rf php-devel/extensions/dotnet
+rm -rf php-devel/extensions/printer
+rm -rf php-devel/extensions/w32api
+
 cp -dpR sapi/* php-devel/sapi/ 
 rm -f php-devel/sapi/thttpd/stub.c
 rm -f php-devel/sapi/cgi/php.sym
@@ -205,16 +237,15 @@
 cat  php-devel/buildext EOF
 #!/bin/bash
 gcc -fPIC -shared %{optflags} \\
--I. \\
--I/usr/include/php \\
--I/usr/include/php/Zend \\
--I/usr/include/php/TSRM \\
--I/usr/include/php/main \\
+-I. \`%{_bindir}/php-config --includes\` \\
 -I/usr/include/freetype \\
+-I/usr/include/openssl \\
 -I/usr/include/\$1 \\
 \$4 \$2 -o \$1.so \$3 -lc
 EOF
 
+chmod 755 php-devel/buildext
+
 cat  php-devel/PHP_BUILD EOF
 %%global phpdir	%{phpdir}
 %%global peardir	%{peardir

[Cooker] libevent-0.6 build error

2003-01-16 Thread Oden Eriksson
Hi.

(I have a massive rebuild ahead...)

Trying to build libevent v0.6, but are getting:

make  all-recursive
make[1]: Entering directory `/home/oden/RPM/BUILD/libevent-0.6'
Making all in .
make[2]: Entering directory `/home/oden/RPM/BUILD/libevent-0.6'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Icompat-O2 
-fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -fPIC -c event.c
In file included from event.c:37:
compat/sys/time.h:49: redefinition of `struct timeval'
compat/sys/time.h:57: redefinition of `struct timespec'
make[2]: *** [event.o] Error 1
make[2]: Leaving directory `/home/oden/RPM/BUILD/libevent-0.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/oden/RPM/BUILD/libevent-0.6'
make: *** [all-recursive-am] Error 2

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: [CHRPM] qt3-3.1.1-4mdk

2003-01-16 Thread Oden Eriksson
torsdagen den 16 januari 2003 17.53 skrev Guillaume Rousse:
 Le Jeudi 16 Janvier 2003 17:47, Laurent MONTEL a écrit :
  --=-=-=
 
  * Thu Jan 16 2003 Laurent MONTEL [EMAIL PROTECTED] 3.1.1-4mdk
 
  - Use %mklibname make happy gb²
  - Spit again qt to make happy gb²

 I beg you meant split, not spit here :-)

Ha ha ha ha ha !!!

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] postgresql-7.3.1-?mdk

2003-01-16 Thread Oden Eriksson
Hi.

Do you think it would be possible to bring back libpq++ into the postgresql 
package, or should it be a new package?

http://gborg.postgresql.org/project/libpqpp/projdisplay.php
ftp://gborg.postgresql.org/pub/libpqpp/stable/libpq++-4.0.tar.gz

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] Thoughts about updates

2003-01-15 Thread Oden Eriksson
Hi.

Would it be possible to run updates via rsync?

Suppose it would work like this:

1. Check against a online list what's new.
2. Decide What to fetch.
3. Test which mirror is the fastest.
4. Prompt for original packages from CDROM, or make a rpm package on the fly 
from installed rpm package if possible.
5. Fetch package via rsync.
6. rpm -Uvh the_new_package.rpm

This will save time and bandwidth. I think it's a great idea, what do you 
think?

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Thoughts about updates

2003-01-15 Thread Oden Eriksson
onsdagen den 15 januari 2003 11.42 skrev Thomas Backlund:
 From: Oden Eriksson [EMAIL PROTECTED]

  Hi.
 
  Would it be possible to run updates via rsync?

 urpmi already supports rsync...

But does it work as I proposed?

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] linuxconf-1.29r3-1mdk

2003-01-15 Thread Oden Eriksson
onsdagen den 15 januari 2003 13.38 skrev Daouda LO:
 Oden Eriksson [EMAIL PROTECTED] writes:
  Hi.
 
  Here's some fixes to get linuxconf-1.29r3-1mdk going.

 Awesome!
 But, i wonder how you succeed in building it without the quota patch (
 linuxconf use mem_dqblk which is protected by a #ifdef __KERNEL__)
 We have to use sys/quota.h instead of linux/quota.h

Ahh, I did this rediffing, building and testing on ML9.0+. Didn't know about 
the quota issue which is for cooker+?.

 Thank you for your great work. I do appreciate.

You're welcome.

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Thoughts about updates

2003-01-15 Thread Oden Eriksson
onsdagen den 15 januari 2003 12.49 skrev Thomas Backlund:
 From: Oden Eriksson [EMAIL PROTECTED]

   Hi.
  
   Would it be possible to run updates via rsync?
 
  urpmi already supports rsync...
 
 But does it work as I proposed?

 IMHO it takes care of steps 1, 2, 5,6...

 Step 3. I think is somewhat har to do perfect...
 - I mean, if you make it connect to every nown 'update' site
to get response times, you may end up with a site that has good response
time, but poor bandwidth..., not to mention the time it uses to try
 them...

Maybe download a test package a couple of times from each mirror and make an 
average, repeat this for all(?) mirrors. This should be done once, but also 
as an option to re-validate.

 Step 4. Gives you a few options...
 - it would need a package renaming function, somewhat like the
troels script without the 'english-only' feature

Yes.

 Then it could:
- take the package from CD, rename it to the same as the
   update and rsync it ...
   ( this calls for serious CD switching 'rumba' )

Yes.

- take the package from files copied to hd, rename it to the
   same as the update and rsync it ...
   ( this is the fastest, but uses a lot of hd space )

Yes.

- rebuild the rpm from installed rpm, rename it to the
   same as the update and rsync it ...
   ( this takes time depending on the system speed,
  and may end up using CD:s if  a some  updates need additional
  packages installed and updated )

Yes.


 So IMHO, atleast in theory it could be done ...

 Thomas

Yes, this is what I had in mind, but with less words ;)

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Thoughts about updates

2003-01-15 Thread Oden Eriksson
onsdagen den 15 januari 2003 14.35 skrev Thomas Backlund:
 From: Oden Eriksson [EMAIL PROTECTED]

  onsdagen den 15 januari 2003 12.49 skrev Thomas Backlund:
   From: Oden Eriksson [EMAIL PROTECTED]
 
  Maybe download a test package a couple of times from each mirror and make

 an

  average, repeat this for all(?) mirrors. This should be done once, but

 also

  as an option to re-validate.

 Thisn is the problem... Some times for examle sunet and sunsite are 'slow'
 due to
 heavy workload, if you happend to do the test then, they will get a low
 rating...

 So how will you know when to re-validate ?
  ( of course when you know the mirrors, it's easy, but for an average user,
 it could be a pain in ...)

anacron, when local load average are low (when you're asleep), on demand, 
etc.? This will enable you to make a baseline when each mirror is not so 
congested, and use that mirror when you want do rsync. He he..., I don't 
know..., let's skip 3.) for now and focus on the other issues :)

Some perl hacker could probably make this work, maybe even Troels himself? If 
I knew how to code I would have started yesterday with this.
-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Thoughts about updates

2003-01-15 Thread Oden Eriksson
onsdagen den 15 januari 2003 16.49 skrev Ron Stodden:
 Oden Eriksson wrote:
  Some perl hacker could probably make this work, maybe even Troels
  himself? If I knew how to code I would have started yesterday with this.

 No perl? Then try something good, like gprolog?

What's that?

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] apache2-2.0.43-7mdk

2003-01-15 Thread Oden Eriksson
Hi.

I added a small patch to apache2 as seen in the spec file patch + the patch 
and here: http://d-srv.com/9.0/httpd-2.0.43-mod_autoindex-color.patch.png

I think it's pretty harmless, I'm using apache2-2.0.43-7mdk at d-srv.com with 
this patch. I didn't want to apply this on the cooker package since you could 
achieve the same with: HeaderName /may_common_header.html, but I like this 
patch though. What do you think?

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com
--- apache2.spec	2003-01-08 23:25:00.0 +0100
+++ apache2.spec.oden	2003-01-15 14:51:00.0 +0100
@@ -29,7 +29,7 @@
 
 %define real_version	2.0.43
 %define ap_version	%{real_version}
-%define ap_release	6mdk
+%define ap_release	7mdk
 %define sourcename	httpd-%{real_version}
 
 #New ADVX macros
@@ -68,6 +68,8 @@
 # ftp://ftp.rexursive.com/pub/apache/counting_io_flush-2.0.43.patch.gz
 Patch5:			counting_io_flush-2.0.43.patch.bz2
 
+Patch6:			httpd-2.0.43-mod_autoindex-color.patch.bz2
+
 BuildRequires:		ADVX-build
 BuildRequires:		perl = 0:5.600 libgdbm2-devel %{dbver}-devel byacc glibc-devel libtool
 BuildRequires:		openssl-devel libexpat0-devel zlib-devel
@@ -316,6 +318,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 #Fix apxs
 %{__perl} -pi -e 's|\@exp_installbuilddir\@|%{ap_installbuilddir}|;' support/apxs.in
@@ -1059,6 +1062,10 @@
 %doc README.ADVX
 
 %changelog
+* Wed Jan 15 2003 Oden Eriksson [EMAIL PROTECTED] 2.0.43-7mdk
+- rebuilt against openssl-0.9.7
+- added P6 (check httpd2-VANILLA.conf)
+
 * Wed Jan 08 2003 Jean-Michel Dault [EMAIL PROTECTED] 2.0.43-6mdk
 - Rebuilt with db4 
 



httpd-2.0.43-mod_autoindex-color.patch.bz2
Description: BZip2 compressed data


[Cooker] rrdtool-1.0.40-2mdk

2003-01-15 Thread Oden Eriksson
Hi.

I fixed the rrdtool package, patches applied to this mail.

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com


rrdtool-1.0.40-annoyance_be_gone.patch.bz2
Description: BZip2 compressed data
--- rrdtool.spec	2003-01-14 16:18:00.0 +0100
+++ rrdtool.spec.oden	2003-01-15 21:03:00.0 +0100
@@ -1,26 +1,38 @@
+# OE: we have to use at least rversion becasue of 
+# new PHP_BUILD policies
+%define rname rrdtool
+%define rversion 1.0.40
+%define release 2mdk
+
 %define major 0
-%define libname lib%name%major
+%define libname lib%{rname}%{major}
+
+%define phpsource   %{_prefix}/src/php-devel
+%{expand:%(cat /usr/src/php-devel/PHP_BUILD||(echo -e error: failed build dependencies:\nphp-devel = 430 (4.3.0) is needed by this package. /dev/stderr;kill -2 $PPID))}
 
-%{expand:%%define php_version %(php -v 2/dev/null)}
-%define phpdir %{_libdir}/php 
-%define phpsource /usr/src/php-devel
-
-Name: 		rrdtool
-Summary: 	RRDtool - round robin database
-Version: 	1.0.40
-Release: 	1mdk
+%define realname RRDtool
+%define modname %{rname}
+%define dirname %{modname}
+%define soname %{modname}.so
+%define inifile 61_%{modname}.ini
+
+Name: 		%{rname}
+Summary: 	%{realname} - round robin database
+Version:	%{rversion}
+Release: 	%{release}
 License: 	GPL
 Group: 		Networking/Other
-Source: 	http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/pub/%{name}-%{version}.tar.bz2
-Patch:		rrdtool.doc.patch.bz2
+Source: 	http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/pub/%{rname}-%{rversion}.tar.bz2
+Patch0:		rrdtool.doc.patch.bz2
 Patch1:		rrdtool-1.0.38-zlib-libpng.patch.bz2
-Buildroot: 	%{_tmppath}rrdtool-root
+Patch2:		rrdtool-1.0.40-annoyance_be_gone.patch.bz2
 Url: 		http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/
 Requires: 	libpng = 1.0.3, zlib = 1.1.3
 BuildRequires: 	libpng-devel = 1.0.3, perl-devel libgd-devel, zlib-devel
-Prereq:		php-common = %{php_version}
-Requires:	php-common = %{php_version}
-BuildRequires:  php-devel = %{php_version}
+Requires:	libphp_common%{libversion}
+Requires:	php%{libversion}
+BuildRequires:  php%{libversion}-devel
+Buildroot: 	%{_tmppath}/%{rname}-%{rversion}-root
 
 %description
 RRD is the Acronym for Round Robin Database. RRD is a system to store and 
@@ -31,47 +43,52 @@
 scripts (from shell or Perl) or via frontends that poll network devices and 
 put a friendly user interface on it.
 
-%package -n %libname
-
-Summary: RRDtool - round robin database static libraries and headers
-Group: System/Libraries
+%package -n %{libname}
+Summary:	%{realname} - round robin database static libraries and headers
+Version:	%{rversion}
+Group:		System/Libraries
 
-%description -n %libname
+%description -n %{libname}
 RRD is the Acronym for Round Robin Database. RRD is a system to store and
 display time-series data (i.e. network bandwidth, machine-room temperature,
 server load average). This package allow you to use directly this library
 
+%package -n %{libname}-devel
+Summary:	%{realname} - round robin database static libraries and headers
+Version:	%{rversion}
+Group:		Development/Other
+Requires:	%{libname} = %{version}
+Requires:	libgd-devel
+Provides:	librrdtool-devel
+Obsoletes:	rrdtool-devel
+Provides:	rrdtool-devel
 
-%package -n %libname-devel
-Summary: RRDtool - round robin database static libraries and headers
-Group: Development/Other
-Requires: %libname = %version
-Requires: libgd-devel
-Provides: librrdtool-devel
-Obsoletes: rrdtool-devel
-Provides: rrdtool-devel
-
-%description -n %libname-devel
+%description -n %{libname}-devel
 RRD is the Acronym for Round Robin Database. RRD is a system to store and
 display time-series data (i.e. network bandwidth, machine-room temperature,
 server load average). This package allow you to use directly this library.
 
-%package -n php-rrdtool
-Summary: A RRDTool exstension for PHP4
-Version: %{version}
-Release: %{release}
-Group: System/Servers
-Requires: %libname = %version
-Obsoletes: php-rrdtool
-Provides: php-rrdtool
-
-%description -n php-rrdtool
-A RRDTool exstension for PHP4
+%package -n php-%{modname}
+Summary:	The %{realname} module for PHP
+Version:	%{rversion}
+Group:		System/Servers
+Requires:	%{libname} = %{version}
+Requires:	libphp_common%{libversion}
+Requires:	php%{libversion}
+Provides: 	ADVXpackage
+
+%description -n php-%{modname}
+The %{rname} package is a dynamic shared object (DSO) that adds
+%{realname} support to PHP. 
+PHP is an HTML-embedded scripting language. 
+If you need %{realname} support for PHP applications, 
+you will need to install this package in addition to the php package.
 
 %prep
 %setup -q
 %patch0 -p1 -b .doc
 %patch1 -p1 -b .systemlibs
+%patch2 -p1
 
 %build
 #CFLAGS=$RPM_OPT_FLAGS LIBS=-lm -lz -lpng
@@ -86,81 +103,94 @@
 
 # build the php-rrdtool php extension addon
 pushd contrib/php4
-%{phpsource}/buildext rrdtool rrdtool.c -L../../src/.libs -I../../src -lrrd -DHAVE_RRDTOOL -DCOMPILE_DL_RRDTOOL
+%{phpsource}/buildext %{modname} %{modname}.c \
+-L../../src

[Cooker] openldap-2.0.27-2mdk

2003-01-14 Thread Oden Eriksson
Hi.

Attached is a fix for openldap-2.0.27, currently the wrong syntax is added to 
the syslog config file, the fields has to separated with tab and not with 
space.

(optionally rebuild it against db4 ;))

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com
--- openldap.spec	2002-11-04 19:43:00.0 +0100
+++ openldap.spec.oden	2003-01-14 12:37:34.0 +0100
@@ -1,6 +1,6 @@
 %define name	openldap
 %define version	2.0.27
-%define release	1mdk
+%define release	2mdk
 
 %define major 		2
 %define migtools_ver 	40
@@ -85,7 +85,7 @@
 %endif
 BuildRequires:	openssl-devel, perl, autoconf
 #BuildRequires: libgdbm1-devel
-BuildRequires: 	db3-devel, libunixODBC2-devel, libltdl-devel, unixODBC-devel
+BuildRequires: 	libdb4.0-devel libunixODBC2-devel libltdl-devel unixODBC-devel
 BuildRequires:  ncurses-devel = 5.0, tcp_wrappers-devel
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
 Requires: 	libldap%{major}, shadow-utils, setup = 2.2.0-6mdk
@@ -442,7 +442,7 @@
 
 	if [ ${cntlog} -le 9 ];then
 		echo # added by %{name}-%{version} rpm $(date)  %{_sysconfdir}/syslog.conf
-		echo local${cntlog}.*   /var/log/ldap/ldap.log  %{_sysconfdir}/syslog.conf
+		echo -e local${cntlog}.*\t\t\t\t\t\t\t-/var/log/ldap/ldap.log  %{_sysconfdir}/syslog.conf
 
 		# reset syslog daemon
 		if [ -f /var/lock/subsys/syslog ]; then
@@ -482,7 +482,7 @@
 # talk about gdbm to ldif conversion here instead of the initscript
 if ls /var/lib/ldap/*.gdbm  /dev/null 21 || :  ; then
   echo To convert a gdbm DB to a ldif file, you can use the utility
-  echo %{_sbindir}/slapcat-gdbm (actually openldap uses Berkeley DB 3.x)...
+  echo %{_sbindir}/slapcat-gdbm (actually openldap uses Berkeley DB 4.x)...
 fi
 
 pushd %{_sysconfdir}/openldap/  /dev/null
@@ -630,8 +630,11 @@
 %{_libdir}/openldap/back_passwd*.so.*
 %{_libdir}/openldap/back_passwd*.so
 
-
 %changelog
+* Tue Jan 14 2003 Oden Eriksson [EMAIL PROTECTED] 2.0.27-2mdk
+- fix added syslog entry
+- built against db4
+
 * Mon Nov  4 2002 Vincent Danen [EMAIL PROTECTED] 2.0.27-1mdk
 - 2.0.27
 - start slurpd as user ldap, not root (re: bgmilne)



Re: [Cooker] postfix, chroot jail, /etc/* updates

2003-01-14 Thread Oden Eriksson
tisdagen den 14 januari 2003 14.17 skrev Buchan Milne:
 Martin Fahrendorf wrote:
  Am Dienstag, 14. Januar 2003 09:30 schrieb Brice Figureau:
 On Tue, 2003-01-14 at 08:33, Yves Duret wrote:
 BTW, how many are interressed of postfix 2.0.1 rpms ?
 
 At least me.
 
 Brice
 
  Me too,

 + at least 44 MandrakeClub members ...

 Actually, the original requester wanted
 postfix2+spamassassin+amavisd-new+clamav+cyrus-imapd

 (of course we have clamav and spamassassin in contrib AFIAK).

 Will take a look at amavisd-new soon.

 Buchan

(apache2 related ;))

This one would be pretty cool to run against clamd:

http://www.willbe6.org/security/mod_vscan/

But..., someone needs to add code for that ;)

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] php/openssl problem

2003-01-14 Thread Oden Eriksson
tisdagen den 14 januari 2003 16.02 skrev Pascal Terjan:
 /usr/bin/php: relocation error: /usr/lib/libphp_common.so.430: undefined
 symbol: OpenSSL_add_all_algorithms

Take it easy, there's a lot of stuff that needs to be rebuilt. the easiest way 
to figure out is to try and remove libopenssl0. I estimate this will take 
several days ;)

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] php/openssl problem

2003-01-14 Thread Oden Eriksson
tisdagen den 14 januari 2003 16.51 skrev Pascal Terjan:
 Oden Eriksson wrote:
  tisdagen den 14 januari 2003 16.02 skrev Pascal Terjan:
 /usr/bin/php: relocation error: /usr/lib/libphp_common.so.430: undefined
 symbol: OpenSSL_add_all_algorithms
 
  Take it easy, there's a lot of stuff that needs to be rebuilt. the
  easiest way to figure out is to try and remove libopenssl0. I estimate
  this will take several days ;)

 Yep but I was near to have a php-gtk package rebuilding and now it fails
 because part of the files are generated using php which currently fails :/

Send me your changes and I fix the rest, I have everything crucial rebuilt 
against latest openssl since at least 2 weeks (on ML9.0).

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: [CHRPM] openssl-0.9.7-2mdk

2003-01-14 Thread Oden Eriksson
tisdagen den 14 januari 2003 18.21 skrev Jean-Michel Dault:
 Shouldn't libopenssl0.9.7 obsolete libopenssl0?

 Right now I can't install this version on the cluster, it complains
 about conflicting files.

I noticed a similar behaviour when I tried to upgrade Imagick built from 
cooker. I guess as far as rpm knows libopenssl0.9.7 and libopenssl0 is two 
totally different packages if not told otherwise...

BTW (regarding php). I just remembered, there seems to some mysterious stuff 
with php-recode. You will only notice this if you have the newest php core + 
all extensions installed, and tries to rebuild the php core. I get a segfault 
in %install. Somehow /etc/php is considered in %install (!). Uninstalling 
php-recode solves the %install segfault!! What the f*ck is going 
on here? Will your (jmdault's) scan-dir patch solve this?

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] linuxconf-1.29r3-1mdk

2003-01-14 Thread Oden Eriksson
Hi.

Here's some fixes to get linuxconf-1.29r3-1mdk going.

have fun!

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com


linuxconf-1.29r3-fix-paths.patch.bz2
Description: BZip2 compressed data


linuxconf-mdksuffix.patch.bz2
Description: BZip2 compressed data


linuxconf-1.29r3-askrunlevel-interactive.patch.bz2
Description: BZip2 compressed data


linuxconf-1.29r3-draknet.patch.bz2
Description: BZip2 compressed data


linuxconf.spec.patch.bz2
Description: BZip2 compressed data


[Cooker] grip-3.0.5

2003-01-14 Thread Oden Eriksson
http://www.nostatic.org/grip/grip-3.0.5.tar.gz
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] readline fix

2003-01-13 Thread Oden Eriksson
Hi.

Could someone please fix this?

http://bugs.php.net/bug.php?id=21153

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Aladdin license?

2003-01-13 Thread Oden Eriksson
måndagen den 13 januari 2003 08.24 skrev Guillaume Rousse:
 Le Lundi 13 Janvier 2003 03:41, Oden Eriksson a écrit :
  Yes please do, I have packed both cpdf and pdflib, it's at
  http://d-srv.com/9.0/ along with many other stuff...
 
  Do we have any PLF people listening here? Tell me when it's adopted so I
  can take it off site.

 Done, i'll upload them after my course.

Let me know when it's at the PLF site(s).

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: My apache2 + php-4.3.0 adventures...

2003-01-13 Thread Oden Eriksson
måndagen den 13 januari 2003 03.54 skrev Oden Eriksson:
 fredagen den 10 januari 2003 20.12 skrev Jean-Michel Dault:
  Le ven 10/01/2003 à 02:02, Oden Eriksson a écrit :
   Note the funny loading order in additional .ini files parsed from the
   rpm based php setup vs. the php built from source setup. Wierd stuff!!!
 
  Yes, I don't know why it's doing that.. I guess it depends on the
  filesystems file table. It's just scanning the directory, but not
  sorting it...

 Very wierd..., I will try some tricks and file a bug report to the php
 folks.

Done: http://bugs.php.net/bug.php?id=21625


-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Aladdin license?

2003-01-13 Thread Oden Eriksson
tisdagen den 14 januari 2003 00.22 skrev Guillaume Rousse:
 Le Lundi 13 Janvier 2003 23:59, Oden Eriksson a écrit :
  Let me know when it's at the PLF site(s).

 They are on primary mirror since midday (see
 http://lists.zarb.org/pipermail/plf-announce/2003-January/000558.html and
 http://lists.zarb.org/pipermail/plf-announce/2003-January/000557.html).

 I think mirroring should be done during the night.

Cool!.

Please add this one too: 
http://d-srv.com/9.0/SRPMS/php-cpdf-4.3.0-1mdk.src.rpm


-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] X10?

2003-01-13 Thread Oden Eriksson
Hi.

Any X10 users here?

Any takers for this one: http://wish.sourceforge.net/

?

http://telia.dl.sourceforge.net/sourceforge/wish/wish-1.4.0.tar.gz

(thinking about getting some X10 gadgets ;))

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] php (build progress directory)

2003-01-13 Thread Oden Eriksson
Hi.

I made a simple script that I intend to run each time I make some changes to 
apache2 and/or php. The script simply downloads my local phpinfo.php page, 
does some magic with it and uploads it to: http://d-srv.com/php/

One guy reported problems connecting to http://d-srv.com/, is he the only one 
that experiences this? (I suspect some wierd transparent proxy or 
something...) Appearently http://www.d-srv.com/ worked better for him, but 
then I have to fix the static htmls links everywhere...

Currently there's this one there: http://d-srv.com/php/phpinfo-20030114.html
(or http://www.deserve-it.com/php/phpinfo-20030114.html)

Note the Apache 2.0 section this time (fix included in P8). Also note I have 
almost every apache2 module and php extension installed ;)

Everthing is built on Mandrake Linux 9.0 though...

P7 adds db4 support to the dba extension.
P8 fixes these bugs for apache2filter:

* http://bugs.php.net/bug.php?id=21045
* http://bugs.php.net/bug.php?id=17098

I haven't tried jmdaults patch (http://bugs.php.net/bug.php?id=21625) yet, 
that's probably why I have problems with the php-apc extension...

Well..., it's pretty obvious what changes I made to the php.spec file.

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com


php-4.3.0-db4.patch.bz2
Description: BZip2 compressed data


php-4.3.0-apache2.patch.bz2
Description: BZip2 compressed data
--- php.spec	2003-01-08 05:24:00.0 +0100
+++ php.spec.oden	2003-01-13 21:12:17.0 +0100
@@ -1,8 +1,32 @@
+# OE: conditional switches
+#
+#(ie. use with rpm --rebuild):
+#
+#	--with debug	Compile with debugging code
+# 
+#  enable build with debugging code: will _not_ strip away any debugging code,
+#  will _add_ -g3 to CFLAGS, will _add_ --enable-maintainer-mode to 
+#  configure.
+
+%define build_debug 0
+
+# commandline overrides:
+# rpm -ba|--rebuild --with 'xxx'
+%{?_with_debug: %{expand: %%define build_debug 1}}
+
+%if %{build_debug}
+# disable build root strip policy
+%define __spec_install_post %{_libdir}/rpm/brp-compress || :
+
+# This gives extra debuggin and huge binaries
+%{expand:%%define optflags %{optflags} %([ ! $DEBUG ]  echo '-g3')}
+%endif
+
 %define phpdir	%{_libdir}/php
 %define	peardir	%{_datadir}/pear
 %define libversion 430
 %define phpversion 4.3.0
-%define phprelease 1mdk
+%define phprelease 5mdk
 
 #The external_modules definition has been put in the %%build section
 #to clean things a bit
@@ -23,6 +47,8 @@
 Patch3:		php-4.3.0-info.patch.bz2
 Patch4:		php-4.3.0-64bit.patch.bz2
 Patch6:		php-4.3.0-fix-pear.patch.bz2
+Patch7:		php-4.3.0-db4.patch.bz2
+Patch8:		php-4.3.0-apache2.patch.bz2
 # Stolen from PLD
 Patch14:	php-4.3.0-mail.patch.bz2
 Patch15:	php-4.3.0-mcal-shared-lib.patch.bz2
@@ -35,6 +61,7 @@
 BuildRequires:	zlib-devel
 BuildRequires:	glibc-devel
 BuildRequires:	gettext-devel
+#BuildRequires:	autoconf2.5
 BuildRoot:	%{_tmppath}/%{name}-%{version}
 Provides: 	ADVXpackage
 
@@ -45,6 +72,12 @@
 systems, so writing a database-enabled script with PHP is fairly simple.  The
 most common use of PHP coding is probably as a replacement for CGI scripts.
 
+You can build %{name} with some conditional build swithes;
+
+(ie. use with rpm --rebuild):
+--with debug   Compile with debugging code
+
+
 %package cli
 Group:		Development/Other
 Summary:	Command-line interface to PHP
@@ -160,7 +193,6 @@
 SELF-CONTAINED-EXTENSIONS.
 
 %prep
-[ %{buildroot} != / ]  rm -rf %{buildroot}
 
 %setup -q 
 %patch0 -p1
@@ -169,6 +201,8 @@
 %patch3 -p1
 %patch4 -p1
 %patch6 -p1
+%patch7 -p1
+%patch8 -p1
 
 # Stolen from PLD
 %patch14 -p1
@@ -194,6 +228,12 @@
 rm -f php-devel/extensions/skeleton/EXPERIMENTAL
 rm -f php-devel/extensions/ncurses/EXPERIMENTAL
 
+# don't ship MS Windows source
+rm -rf php-devel/extensions/com
+rm -rf php-devel/extensions/dotnet
+rm -rf php-devel/extensions/printer
+rm -rf php-devel/extensions/w32api
+
 cp -dpR sapi/* php-devel/sapi/ 
 rm -f php-devel/sapi/thttpd/stub.c
 rm -f php-devel/sapi/cgi/php.sym
@@ -205,16 +245,15 @@
 cat  php-devel/buildext EOF
 #!/bin/bash
 gcc -fPIC -shared %{optflags} \\
--I. \\
--I/usr/include/php \\
--I/usr/include/php/Zend \\
--I/usr/include/php/TSRM \\
--I/usr/include/php/main \\
+-I. \`%{_bindir}/php-config --includes\` \\
 -I/usr/include/freetype \\
+-I/usr/include/openssl \\
 -I/usr/include/\$1 \\
 \$4 \$2 -o \$1.so \$3 -lc
 EOF
 
+chmod 755 php-devel/buildext
+
 cat  php-devel/PHP_BUILD EOF
 %%global phpdir	%{phpdir}
 %%global peardir	%{peardir}
@@ -223,9 +262,12 @@
 %%global phprelease	%{phprelease}
 EOF
 
-chmod 755 php-devel/buildext
-
 %build
+
+# OE: we should run buildconf if applied patches changes the configure stuff...
+# but currently I'm just too lazy to fix P1 ;)
+#./buildconf
+
 %serverbuild
 
 #For eventual compatibility with RedHat
@@ -241,7 +283,7 @@
 #
 # Yes I know..., some of these names are mandrake specific.
 # JMD: put mysql, pgsql

#21151 [Com]: zlib and pcre as external modules don't work

2003-01-13 Thread oden . eriksson
 ID:   21151
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Dynamic loading
 Operating System: Mandrake 9.0
 PHP Version:  4.3.0RC4
 New Comment:

Jean-Michel

Yes I am ;)

But if these extensions can't be built as a loadable dso, you shouldn't
be able to use =shared. This is really extreme stuff and I doubt
people would use this configure line.


Previous Comments:


[2003-01-07 10:27:49] [EMAIL PROTECTED]

Confirmed same issue on Solaris 8 for version 4.3.0.  I do agree that
zlib is not that large and can be compiled into php (hit after reading
that suggestion!) but still the option is there and does not work...



[2003-01-03 02:26:36] [EMAIL PROTECTED]

Oden, you're a modularization maniac ;-)

Some extensions, like ftp, session, zlib and pcre should really remain
in the PHP core, since:
1) they don't need extra libraries (try to install an RPM without
libz.so ;-)
2) they are really small and don't add extra weigth to PHP
3) users need them and will complain if they're not installed by
default (trust me on this one!)

Jean-Michel



[2002-12-23 02:53:24] [EMAIL PROTECTED]

Too many modules rely on zlib and pcre, the best thing would be to
disallow them to be compiled as shared module. For now: just don't do
it :)

Derick



[2002-12-22 19:18:39] [EMAIL PROTECTED]

Hi.

zlib and pcre won't build as external modules. Here's my configure
line:


./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--datadir=/usr/share \
--sysconfdir=/etc \
--libdir=/usr/lib \
--includedir=/usr/include \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-apxs2=/usr/sbin/apxs \
--enable-force-cgi-redirect \
--enable-discard-path \
--enable-debug \
--with-layout=GNU \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/httpd/conf.d \
--with-pear=/usr/lib/php \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--enable-magic-quotes \
--disable-rpath \
--with-openssl=shared,/usr --with-zlib=shared,/usr
--with-zlib-dir=/usr \
--enable-bcmath=shared \
--with-bz2=shared,/usr \
--enable-calendar=shared \
--without-cpdflib \
--with-jpeg-dir=/usr \
--with-tiff-dir=/usr \
--without-crack \
--with-ctype=shared \
--with-curl=shared,/usr \
--without-cyrus \
--without-db \
--enable-dba=shared,/usr \
--with-gdbm=shared,/usr \
--without-ndbm \
--without-db2 \
--without-db3 \
--with-db4=shared,/usr \
--without-dbm \
--with-cdb=shared,/usr \
--with-flatfile=shared \
--enable-dbase=shared \
--enable-dbx=shared,/usr \
--enable-dio=shared,/usr \
--with-dom=shared,/usr --with-zlib-dir=/usr
--with-dom-xslt=shared,/usr --with-dom-exslt=shared,/usr \
--enable-exif=shared \
--without-fbsql \
--without-fdftk \
--enable-filepro=shared \
--without-fribidi \
--enable-ftp=shared \
--with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-xpm-dir=/usr/X11R6/lib/ \
--with-ttf=/usr \
--with-freetype-dir=/usr \
--with-t1lib=/usr \
--enable-gd-native-ttf \
--with-gettext=shared,/usr \
--with-gmp=shared,/usr \
--without-hwapi \
--without-hyperwave \
--without-iconv \
--with-imap=shared,/usr \
--without-kerberos \
--with-imap-ssl=shared,/usr \
--without-informix \
--without-ingres \
--without-interbase \
--without-ircg \
--with-ircg-config=/dev/null \
--without-java \
--with-ldap=shared,/usr \
--enable-mbstring=shared \
--enable-mbregex=shared \
--without-mcal \
--with-mcrypt=shared,/usr \
--without-mcve \
--with-mhash=shared,/usr \
--enable-mime-magic=shared \
--with-ming=shared,/usr \
--with-mnogosearch=shared,/usr \
--without-msession \
--without-msql \
--without-mssql \
--with-mysql=shared,/usr
--with-mysql-sock=/var/lib/mysql/mysql.sock --with-zlib-dir=/usr \
--with-ncurses=shared,/usr \
--without-oci8 \
--without-adabas \
--without-sapdb \
--without-solid \
--without-ibm-db2 \
--without-empress \
--without-empress-bcs \
--without-birdstep \
--without-custom-odbc \
--without-iodbc \
--without-esoob \
--with-unixODBC=shared,/usr \
--without-openlink \
--without-dbmaker \
--without-oracle \
--enable-overload=shared \
--without-ovrimos \
--disable-pcntl \

#21153 [Com]: readline won't be built as an external module

2003-01-13 Thread oden . eriksson
 ID:   21153
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Readline related
 Operating System: Mandrake 9.0
 PHP Version:  4.3.0RC4
 New Comment:

No, it's because ncurses stuff isn't present in readline for Mandrake.
I found the error and sent a patch a while back to the cooker list, it
went ignored (that's not unusual).

Well, here's the fix anyway:

http://www.mandrake.com/en/archives/cooker/2002-12/msg01367.php

Chears.


Previous Comments:


[2003-01-12 16:00:37] [EMAIL PROTECTED]

This looks to be related to readline includes in /usr/include and the
actualy libraries being installed in /lib so they are available for
applications such as bash during boot up when /usr may not be
available.



[2003-01-07 12:57:20] [EMAIL PROTECTED]

It does not work with:
cd ext/readline;phpize;aclocal
./configure --with-readline
[--SNIP--]
checking for libedit readline replacement... yes, shared
checking for readline support... yes, shared
checking for tgetent in -lncurses... yes
checking for readline in -lreadline... no
configure: error: readline library not found

The problem is it checks for tgetent in -lncurses, but it doesn't add
the lib 
in the $LIBS variable.

I have the GNU readline library, version 4.3

I managed to get it work, but then, it also insists on checking *both*
readline and libedit.

So I installed libedit, and the same problem with the -lncurses
appeared.

Seems to me someone should check the config.m4



[2002-12-22 19:29:40] [EMAIL PROTECTED]

Hi.

(sorry, this one was accidently also filed as #21152, I forgot to
change the summary...)

readline won't build as a external module. Here's my configure line
that don't work:

./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--datadir=/usr/share \
--sysconfdir=/etc \
--libdir=/usr/lib \
--includedir=/usr/include \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-apxs2=/usr/sbin/apxs \
--enable-force-cgi-redirect \
--enable-discard-path \
--enable-debug \
--with-layout=GNU \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/httpd/conf.d \
--with-pear=/usr/lib/php \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--enable-magic-quotes \
--disable-rpath \
--with-openssl=shared,/usr --with-zlib=shared,/usr
--with-zlib-dir=/usr \
--enable-bcmath=shared \
--with-bz2=shared,/usr \
--enable-calendar=shared \
--without-cpdflib \
--with-jpeg-dir=/usr \
--with-tiff-dir=/usr \
--without-crack \
--with-ctype=shared \
--with-curl=shared,/usr \
--without-cyrus \
--without-db \
--enable-dba=shared,/usr \
--with-gdbm=shared,/usr \
--without-ndbm \
--without-db2 \
--without-db3 \
--with-db4=shared,/usr \
--without-dbm \
--with-cdb=shared,/usr \
--with-flatfile=shared \
--enable-dbase=shared \
--enable-dbx=shared,/usr \
--enable-dio=shared,/usr \
--with-dom=shared,/usr --with-zlib-dir=/usr
--with-dom-xslt=shared,/usr --with-dom-exslt=shared,/usr \
--enable-exif=shared \
--without-fbsql \
--without-fdftk \
--enable-filepro=shared \
--without-fribidi \
--enable-ftp=shared \
--with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-xpm-dir=/usr/X11R6/lib/ \
--with-ttf=/usr \
--with-freetype-dir=/usr \
--with-t1lib=/usr \
--enable-gd-native-ttf \
--with-gettext=shared,/usr \
--with-gmp=shared,/usr \
--without-hwapi \
--without-hyperwave \
--without-iconv \
--with-imap=shared,/usr \
--without-kerberos \
--with-imap-ssl=shared,/usr \
--without-informix \
--without-ingres \
--without-interbase \
--without-ircg \
--with-ircg-config=/dev/null \
--without-java \
--with-ldap=shared,/usr \
--enable-mbstring=shared \
--enable-mbregex=shared \
--without-mcal \
--with-mcrypt=shared,/usr \
--without-mcve \
--with-mhash=shared,/usr \
--enable-mime-magic=shared \
--with-ming=shared,/usr \
--with-mnogosearch=shared,/usr \
--without-msession \
--without-msql \
--without-mssql \
--with-mysql=shared,/usr
--with-mysql-sock=/var/lib/mysql/mysql.sock --with-zlib-dir=/usr \
--with-ncurses=shared,/usr \
--without-oci8 \
--without-adabas \
--without-sapdb \
--without-solid \
--without-ibm-db2 \
--without-empress \
--without-empress-bcs \
--without-birdstep \
--without-custom-odbc \

#21625 [NEW]: --with-config-file-scan-dir

2003-01-13 Thread oden . eriksson
From: [EMAIL PROTECTED]
Operating system: Mandrake Linux 9.0/Cooker
PHP version:  4.3.0
PHP Bug Type: PHP options/info functions
Bug description:  --with-config-file-scan-dir

Hi.

This --with-config-file-scan-dir=/etc/php is wierd. When compiled as in
Mandrake Linux 9.0/Cooker the included files from /etc/php/ is randomly
listed when viewed in phpinfo(). Here's an example:

This phpinfo.html file was generated from a build from source:
http://d-srv.com/Cooker/PRE/phpinfo.html

This phpinfo.html file was generated from a RPM build as in/for Mandrake
Linux 9.0/Cooker: http://d-srv.com/Cooker/phpinfo.html

Also I noticed that php scans recursivly in this /etc/php/ directory which
is not very nice (or maybe it's per design?).

Chears.
-- 
Edit bug report at http://bugs.php.net/?id=21625edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21625r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=21625r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=21625r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21625r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=21625r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=21625r=support
Expected behavior:  http://bugs.php.net/fix.php?id=21625r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=21625r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=21625r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=21625r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21625r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=21625r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=21625r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=21625r=gnused




[Cooker] php-4.3.0-4mdk

2003-01-12 Thread Oden Eriksson
Hi.

I have tampered some more with php. If for some reason a installed module is 
faulty, we get the error below in %install. The fix plus some other fixes are 
applied to this mail. I have rebuilt all php stuff on my ML9.0 WS at home and 
it seems to work ok (except php-recode?), the packages can be found here: 
http://d-srv.com/9.0/

Also please do try this funny script (with php-cpdf): 
http://d-srv.com/9.0/pdf_clock.php

Here's my current phpinfo.html page: http://d-srv.com/9.0/phpinfo.html

The error:

Installing PHP SAPI module
Installing shared extensions: 
/home/root/RPM/temp/php-4.3.0/usr/lib/php/extensions/
Installing PEAR environment:  
/home/root/RPM/temp/php-4.3.0/usr/share/pear/
Failed to find local cache entry
Failed to find local cache entry
Failed to find local cache entry
Failed to find local cache entry
Failed to find local cache entry
Failed to find local cache entry
Failed to find local cache entry
Failed to find local cache entry
Failed to find local cache entry
Failed to find local cache entry
Failed to find local cache entry
[PEAR] Archive_Tar- installed: 0.9
[PEAR] Console_Getopt - installed: 1.0
Failed to find local cache entry
[PEAR] PEAR   - installed: 1.0b3
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
error: Bad exit status from /home/root/RPM/temp/rpm-tmp.80297 (%install)

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com
--- php.spec	2003-01-12 19:29:00.0 +0100
+++ php.spec.oden	2003-01-12 22:23:33.0 +0100
@@ -1,8 +1,32 @@
+# OE: conditional switches
+#
+#(ie. use with rpm --rebuild):
+#
+#	--with debug	Compile with debugging code
+# 
+#  enable build with debugging code: will _not_ strip away any debugging code,
+#  will _add_ -g3 to CFLAGS, will _add_ --enable-maintainer-mode to 
+#  configure.
+
+%define build_debug 0
+
+# commandline overrides:
+# rpm -ba|--rebuild --with 'xxx'
+%{?_with_debug: %{expand: %%define build_debug 1}}
+
+%if %{build_debug}
+# disable build root strip policy
+%define __spec_install_post %{_libdir}/rpm/brp-compress || :
+
+# This gives extra debuggin and huge binaries
+%{expand:%%define optflags %{optflags} %([ ! $DEBUG ]  echo '-g3')}
+%endif
+
 %define phpdir	%{_libdir}/php
 %define	peardir	%{_datadir}/pear
 %define libversion 430
 %define phpversion 4.3.0
-%define phprelease 3mdk
+%define phprelease 4mdk
 
 #The external_modules definition has been put in the %%build section
 #to clean things a bit
@@ -47,6 +71,12 @@
 systems, so writing a database-enabled script with PHP is fairly simple.  The
 most common use of PHP coding is probably as a replacement for CGI scripts.
 
+You can build %{name} with some conditional build swithes;
+
+(ie. use with rpm --rebuild):
+--with debug   Compile with debugging code
+
+
 %package cli
 Group:		Development/Other
 Summary:	Command-line interface to PHP
@@ -162,7 +192,6 @@
 SELF-CONTAINED-EXTENSIONS.
 
 %prep
-[ %{buildroot} != / ]  rm -rf %{buildroot}
 
 %setup -q 
 %patch0 -p1
@@ -197,6 +226,12 @@
 rm -f php-devel/extensions/skeleton/EXPERIMENTAL
 rm -f php-devel/extensions/ncurses/EXPERIMENTAL
 
+# don't ship MS Windows source
+rm -rf php-devel/extensions/com
+rm -rf php-devel/extensions/dotnet
+rm -rf php-devel/extensions/printer
+rm -rf php-devel/extensions/w32api
+
 cp -dpR sapi/* php-devel/sapi/ 
 rm -f php-devel/sapi/thttpd/stub.c
 rm -f php-devel/sapi/cgi/php.sym
@@ -208,16 +243,15 @@
 cat  php-devel/buildext EOF
 #!/bin/bash
 gcc -fPIC -shared %{optflags} \\
--I. \\
--I/usr/include/php \\
--I/usr/include/php/Zend \\
--I/usr/include/php/TSRM \\
--I/usr/include/php/main \\
+-I. \`%{_bindir}/php-config --includes\` \\
 -I/usr/include/freetype \\
+-I/usr/include/openssl \\
 -I/usr/include/\$1 \\
 \$4 \$2 -o \$1.so \$3 -lc
 EOF
 
+chmod 755 php-devel/buildext
+
 cat  php-devel/PHP_BUILD EOF
 %%global phpdir	%{phpdir}
 %%global peardir	%{peardir}
@@ -226,8 +260,6 @@
 %%global phprelease	%{phprelease}
 EOF
 
-chmod 755 php-devel/buildext
-
 %build
 
 # OE: we should run buildconf if applied patches changes the configure stuff...
@@ -249,7 +281,7 @@
 #
 # Yes I know..., some of these names are mandrake specific.
 # JMD: put mysql, pgsql ... ldap  first, so people will see them first.
-%define external_modules mysql pgsql gd imap ldap bcmath bz2 calendar com cpdf crack curl cyrus db dba_bundle dbase dbx dio domxml dotnet exif fbsql fdftk filepro fribidi gmp hwapi hyperwave iconv informix ingres_ii interbase ircg java mcrypt mbstring mhash mime_magic ming mnogosearch msession msql mssql ncurses notes oci8 odbc oracle ovrimos pcntl pdf pfpro pspell qtdom readline recode rpc shmop snmp sockets swf sybase sybase_ct sysvmsg wddx xml xmlrpc xslt yaz zip
+%define external_modules mysql pgsql gd imap ldap bcmath bz2 calendar cpdf crack curl cyrus db dba dba_bundle dbase dbx dio domxml exif fbsql fdf filepro fribidi

[Cooker] php-dba_bundle-4.3.0-2mdk

2003-01-12 Thread Oden Eriksson
Hi.

Here's my db4 fix for php-dba_bundle (requires at least my php-4.3.0-3mdk)

-- 
Regards // Oden Eriksson, Deserve-IT.com
--- php-dba_bundle.spec	2003-01-08 03:20:54.0 +0100
+++ php-dba_bundle.spec.oden	2003-01-09 18:49:00.0 +0100
@@ -2,15 +2,15 @@
 %define _docdir %{_datadir}/doc/%{name}-%{version}
 %{expand:%(cat /usr/src/php-devel/PHP_BUILD||(echo -e error: failed build dependencies:\nphp-devel = 430 (4.3.0) is needed by this package. /dev/stderr;kill -2 $PPID))}
 
-%define release 1mdk
+%define release 2mdk
 
-%define realname dba (with cdb, gdbm and db3)
+%define realname dba (with cdb, gdbm and db4)
 %define modname dba
 %define dirname %{modname}
 %define soname %{modname}.so
 %define inifile 16_%{modname}.ini
-%define rlibs libgdbm2 db3
-%define blibs libgdbm2-devel libdb3.3-devel
+%define rlibs libgdbm2 db4
+%define blibs libgdbm2-devel db4-devel
 
 
 Summary:	The %{realname} module for PHP
@@ -26,11 +26,10 @@
 BuildRequires:  php%{libversion}-devel
 BuildRequires:	%{blibs}
 BuildRoot:	%{_tmppath}/%{name}-root
-Provides:   php-dba_gdbm_db2 php-cdb php-db2 php-db3 php-db3
-Obsoletes:  php-dba_gdbm_db2 php-cdb php-db2 php-db3 php-db3
+Provides:   php-dba_gdbm_db2 php-cdb php-db2 php-db3 php-db3 php-db4
+Obsoletes:  php-dba_gdbm_db2 php-cdb php-db2 php-db3 php-db3 php-db4
 Provides: 	ADVXpackage
 
-
 %description
 The %{name} package is a dynamic shared object (DSO) that adds
 %{realname} support to PHP. 
@@ -54,7 +53,7 @@
 
 phpize
 aclocal
-%configure --with-gdbm --with-db3 --with-cdb --with-flatfile
+%configure --with-gdbm --with-db4 --with-cdb --with-flatfile
 %make
 mv modules/*.so .
 
@@ -92,6 +91,9 @@
 %config(noreplace) %{_sysconfdir}/php/%{inifile}
 
 %changelog
+* Thu Jan 09 2003 Oden Eriksson [EMAIL PROTECTED] 4.3.0-2mdk
+- added db4 support
+
 * Sun Jan  5 2003 Jean-Michel Dault [EMAIL PROTECTED] 4.3.0-1mdk
 - New 4.3.0 release
 - Totally macroize based on suggestions from Alexander Skwar
@@ -161,3 +163,4 @@
 - Split dba_gdbm_db3 package from php package so that when a new gdbm, db2
   or db3 package comes out, we don't have to recompile php, only this module
 
+



[Cooker] php-pgsql-4.3.0-2mdk

2003-01-12 Thread Oden Eriksson
Hi.

Here's my fix for php-pgsql.

-- 
Regards // Oden Eriksson, Deserve-IT.com
--- php-pgsql.spec	2003-01-08 03:23:33.0 +0100
+++ php-pgsql.spec.oden	2003-01-09 17:11:00.0 +0100
@@ -2,7 +2,7 @@
 %define _docdir %{_datadir}/doc/%{name}-%{version}
 %{expand:%(cat /usr/src/php-devel/PHP_BUILD||(echo -e error: failed build dependencies:\nphp-devel = 430 (4.3.0) is needed by this package. /dev/stderr;kill -2 $PPID))}
 
-%define release 1mdk
+%define release 2mdk
 
 %define realname PostgreSQL
 %define modname pgsql
@@ -10,10 +10,10 @@
 %define soname %{modname}.so
 %define inifile 39_%{modname}.ini
 %define mod_src pgsql.c
-%define mod_lib -lpq
-%define mod_def -DHAVE_PQCMDTUPLES -DCOMPILE_DL_PGSQL -DHAVE_PGSQL
-%define rlibs libpgsql2
-%define blibs postgresql-devel
+%define mod_lib -lpq -lssl -lcrypto
+%define mod_def -DHAVE_PQESCAPE -DHAVE_PQSETNONBLOCKING -DHAVE_PGSQL_WITH_MULTIBYTE_SUPPORT -DHAVE_PQCMDTUPLES -DCOMPILE_DL_PGSQL -DHAVE_PGSQL
+%define rlibs libpq3 libopenssl0
+%define blibs postgresql-devel openssl-devel
 
 #
 ## Nothing to be changed after this, except changelog! ##
@@ -78,6 +78,10 @@
 %config(noreplace) %{_sysconfdir}/php/%{inifile}
 
 %changelog
+* Thu Jan 09 2003 Oden Eriksson [EMAIL PROTECTED] 4.3.0-2mdk
+- corrected the mod_lib, mod_def, rlibs and blibs macros after
+  some config.m4 and pg_config --configure investigation.
+
 * Sun Jan  5 2003 Jean-Michel Dault [EMAIL PROTECTED] 4.3.0-1mdk
 - New 4.3.0 release
 - Totally macroize based on suggestions from Alexander Skwar
@@ -136,3 +140,4 @@
 * Mon Apr  2 2001 Jean-Michel Dault [EMAIL PROTECTED] 4.0.4pl1-4mdk
 - Split pgsql package from php package so that when a new pgsql 
   package comes out, we don't have to recompile php, only this module
+



[Cooker] php-xslt-4.3.0-2mdk

2003-01-12 Thread Oden Eriksson
Hi.

Here's my fix for php-xslt

-- 
Regards // Oden Eriksson, Deserve-IT.com
--- php-xslt.spec	2003-01-08 03:19:56.0 +0100
+++ php-xslt.spec.oden	2003-01-12 21:27:33.0 +0100
@@ -2,7 +2,7 @@
 %define _docdir %{_datadir}/doc/%{name}-%{version}
 %{expand:%(cat /usr/src/php-devel/PHP_BUILD||(echo -e error: failed build dependencies:\nphp-devel = 430 (4.3.0) is needed by this package. /dev/stderr;kill -2 $PPID))}
 
-%define release 1mdk
+%define release 2mdk
 
 %define realname XSLT
 %define modname xslt
@@ -10,11 +10,10 @@
 %define soname %{modname}.so
 %define inifile 52_%{modname}.ini
 %define mod_src xslt.c sablot.c 
-%define mod_lib -lsablot -lexpat 
+%define mod_lib -lsablot -lexpat -ljs -lstdc++ -lgcc
 %define mod_def -DCOMPILE_DL_XSLT -DHAVE_XSLT -DHAVE_SABLOT_BACKEND -DHAVE_DLFCN_H -DHAVE_LIBEXPAT2 -DHAVE_SABLOT_SET_ENCODING
-%define rlibs libexpat0 libsablotron0 = 0.90
-%define blibs libexpat0-devel libsablotron0-devel
-
+%define rlibs libexpat0 libsablotron0 = 0.90 libjs = 1.1 libstdc++5 libgcc1
+%define blibs libexpat0-devel libsablotron0-devel libjs = 1.1 libstdc++5-devel libgcc1
 
 Summary:	The %{realname} module for PHP
 Name:		php-%{modname}
@@ -85,6 +84,9 @@
 %config(noreplace) %{_sysconfdir}/php/%{inifile}
 
 %changelog
+* Sun Jan 12 2003 Oden Eriksson [EMAIL PROTECTED] 4.3.0-2mdk
+- enable JavaScript support
+
 * Sun Jan  5 2003 Jean-Michel Dault [EMAIL PROTECTED] 4.3.0-1mdk
 - New 4.3.0 release
 - Totally macroize based on suggestions from Alexander Skwar



[Cooker] php-ldap-4.3.0-2mdk

2003-01-12 Thread Oden Eriksson
Hi.

Here's my fix for php-ldap (requires openldap and cyrus-sasl built against 
db4...)

-- 
Regards // Oden Eriksson, Deserve-IT.com
--- php-ldap.spec	2003-01-08 03:22:00.0 +0100
+++ php-ldap.spec.oden	2003-01-09 19:09:00.0 +0100
@@ -2,7 +2,7 @@
 %define _docdir %{_datadir}/doc/%{name}-%{version}
 %{expand:%(cat /usr/src/php-devel/PHP_BUILD||(echo -e error: failed build dependencies:\nphp-devel = 430 (4.3.0) is needed by this package. /dev/stderr;kill -2 $PPID))}
 
-%define release 1mdk
+%define release 2mdk
 
 %define realname LDAP
 %define modname ldap
@@ -12,8 +12,9 @@
 %define mod_src ldap.c
 %define mod_lib -lldap -llber
 %define mod_def -DCOMPILE_DL_LDAP
-%define rlibs libldap2 pam libsasl7 libopenssl0 libdb3.3
-%define blibs libldap2-devel pam-devel libsasl7-devel libopenssl0-devel libdb3.3-devel
+%define rlibs libldap2 pam libsasl7 libopenssl0 libdb4.0
+%define blibs libldap2-devel pam-devel libsasl7-devel openssl-devel db4-devel
+
 #
 ## Nothing to be changed after this, except changelog! ##
 #
@@ -77,6 +78,9 @@
 %config(noreplace) %{_sysconfdir}/php/%{inifile}
 
 %changelog
+* Thu Jan 09 2003 Oden Eriksson [EMAIL PROTECTED] 4.3.0-2mdk
+- added db4 support
+
 * Sun Jan  5 2003 Jean-Michel Dault [EMAIL PROTECTED] 4.3.0-1mdk
 - New 4.3.0 release
 - Totally macroize based on suggestions from Alexander Skwar



Re: [Cooker] Aladdin license?

2003-01-12 Thread Oden Eriksson
lördagen den 11 januari 2003 20.40 skrev Jean-Michel Dault:
 Le sam 11/01/2003 à 15:56, Oden Eriksson a écrit :
  I suspect we never see pdflib in Mandrake?
  http://www.pdflib.com/pdflib/aladdin-license.pdf
  I was thinking about to make a php-cpdf package...

 No, we can't redistribute it with the normal distro (as this means this
 will get bundled in the boxed version), and we cannot offer it on the
 MandrakeClub.

Yes I suspected that. The whatever-pdf-lib is commercial, and I saw it would 
cost me a freaking $1000 (!!!) to use cpdf on one server/ip address 
commercially. Well..., I have packed the cpdf lib and its php-cpdf 
extension anyway. Did you check the funny on-the-fly generated pdf clock at 
http://d-srv.com/9.0/pdf_clock.php ? This seems to be very cool stuff, but 
expensive...

 However, we could put it on ADVX.org or on PLF, since those are public,
 non-commercial sites.

Yes please do, I have packed both cpdf and pdflib, it's at 
http://d-srv.com/9.0/ along with many other stuff...

Do we have any PLF people listening here? Tell me when it's adopted so I can 
take it off site.

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: My apache2 + php-4.3.0 adventures...

2003-01-12 Thread Oden Eriksson
fredagen den 10 januari 2003 20.12 skrev Jean-Michel Dault:
 Le ven 10/01/2003 à 02:02, Oden Eriksson a écrit :
  Note the funny loading order in additional .ini files parsed from the
  rpm based php setup vs. the php built from source setup. Wierd stuff!!!

 Yes, I don't know why it's doing that.. I guess it depends on the
 filesystems file table. It's just scanning the directory, but not
 sorting it...

Very wierd..., I will try some tricks and file a bug report to the php folks.

  Built from source: http://d-srv.com/Cooker/PRE/phpinfo.html
  Note the db4 support and OpenSSL v0.9.7 support _everywhere_.

 The only module that really could use openssl and is not included is
 php-pgsql, the others (curl, imap), are ok.

Hmm..., last time I checked postgresql is built against openssl.

 As for db4 support, my only problem is that db4-devel and db3-devel
 conflict, and until that is fixed, we cannot put db4-devel in the main
 distrib...

As far as I can tell only the dba extension who is using the Berkley DB. dba 
can use db4 with the patch I submitted earlier. (or get the src.rpm at my 
site)

  Well..., well... I guess MandrakeSofts apache2 + php-4.3.0 setup is the
  most complete on the globe now?

 Yes, thanks to you, Oden =)

Yes..., I guess so, he he...

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: [Contrib-Rpm] php-ini-4.3.0-1mdk

2003-01-12 Thread Oden Eriksson
lördagen den 11 januari 2003 03.14 skrev Jean-Michel Dault:
 Le jeu 09/01/2003 à 00:55, J.P. Pasnak a écrit :
  file /etc/php.ini from install of php-ini-4.3.0-1mdk conflicts
  with file from package php-common-4.2.3-3mdk
  I'm assuming that libphp_common430 should have replaced php-common?

 I rebuilt the packages so rpmlint would be happy. According to the
 policy, a library package should be just that, a library.

 Also, for configuration issues, specially with the command-line
 interface, there might be a php-ini.cli, php-cgi.cli, and other stuff.
 So a dedicated package for php.ini seemed the appropriate solution,
 since it will enable me to make some changes without having to recompile
 the whole thing...

Yes very cool. Would it be wise to have a php-cli.ini file in this package 
too?


-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: [Contrib-Rpm] php-ini-4.3.0-1mdk

2003-01-12 Thread Oden Eriksson
måndagen den 13 januari 2003 03.19 skrev Jean-Michel Dault:
 Le dim 12/01/2003 à 22:57, Oden Eriksson a écrit :
  Yes very cool. Would it be wise to have a php-cli.ini file in this
  package too?

 Not for the moment. It seems that there is a lot of confusion on the
 PHP-DEVEL mailing lists, and the behavior might change (php-cgi.ini
 maybe).

 Right now, the only reason why someone would want a php-cli.ini is to
 remove the php-readline from the php-cgi, but then, with our extension
 dir strategy, this would make no difference.

 So it's wiser now just to have one single config file.

Hmm..., maybe it's not so smart to have this dir scanning after all... 
Well..., it would be if you could set this dir by an environment variable..., 
damn it. Or re-run configure with different dirs for cli, cgi, etc?, ahh..., 
what a drag...

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] The bwshare License?

2003-01-12 Thread Oden Eriksson
Hi.

I have gotten this module to work under apache2, but before I submit my 
package I would like a Mandrake employee to decide if that's ok.

Here's the license: http://www.topology.org/src/bwshare/LICENCE

Is it Artistic or BSD-like ?

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] The bwshare License?

2003-01-12 Thread Oden Eriksson
måndagen den 13 januari 2003 05.51 skrev Jean-Michel Dault:
 Le lun 13/01/2003 à 01:20, Oden Eriksson a écrit :
  I have gotten this module to work under apache2, but before I submit my
  package I would like a Mandrake employee to decide if that's ok.
  Here's the license: http://www.topology.org/src/bwshare/LICENCE
  Is it Artistic or BSD-like ?

 Definitely Artistic.

 It qualifies as Open-Source, but is not technically GPL-compatible.
 However, it's not really a problem as it is compatible with the Apache
 licence.

 See:
 http://www.opensource.org/licenses/artistic-license.php

 http://www.gnu.org/licenses/license-list.html#ArtisticLicense

Cool, then we have 82 modules in a little while ;)

And..., maybe 2 more today :-)

Thank you.
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] 82 modules for apache2 :)

2003-01-12 Thread Oden Eriksson
http://d-srv.com/modules_for_apache2.html
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] Sablotron 0.97

2003-01-09 Thread Oden Eriksson
http://freshmeat.net/releases/108834/
http://download-2.gingerall.cz/download/sablot/Sablot-0.97.tar.gz
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] licq-1.2.3

2003-01-09 Thread Oden Eriksson
http://download.sourceforge.net/licq/licq-1.2.3.tar.bz2
-- 
Regards // Oden Eriksson, Deserve-IT.com
--- licq.spec	2002-08-26 14:32:00.0 +0200
+++ licq.spec.oden	2003-01-09 14:48:58.0 +0100
@@ -1,8 +1,8 @@
 %define name	licq
-%define version	1.2.0a
+%define version	1.2.3
 # needed for tarball et al.
 %define snapshot_date 20020731
-%define release 4mdk
+%define release 1mdk
 %define prefix	%{_prefix}
 
 # Danny: Define macro used to control build options for LMDK distributions
@@ -106,16 +106,18 @@
 %patch1 -p1
 %patch2 -p1
 # Danny: obsolete
-%patch3 -p1
-%patch4 -p1
+#%patch3 -p1
+#%patch4 -p1
 
 %build
+export WANT_AUTOCONF_2_5=1
+
 # remove all the CVS crap before we build anything.
 find . -type d -name 'CVS' | xargs rm -rf {} \;
 
 #main licq stuff
 autoconf
-%configure
+%configure2_5x
 %make
 
 cd plugins
@@ -123,13 +125,13 @@
 # console interface /w ncurses plugin
 cd console*
 autoconf
-%configure
+%configure2_5x
 %make
 
 # remote management service
 cd ../rms*
 autoconf
-%configure
+%configure2_5x
 %make
 
 
@@ -142,7 +144,7 @@
 cd ../kde-gui*
 export QTDIR=/usr/lib/qt3
 autoconf
-%configure --with-kde 
+%configure2_5x --with-kde 
 %make
 
 %define __libtoolize /bin/true
@@ -154,7 +156,7 @@
 automake --foreign --gnu
 autoconf
 export QTDIR=/usr/lib/qt3
-%configure
+%configure2_5x
 # thanks to a buggy build system ..
 pushd src
 for i in *.h; do
@@ -251,6 +253,7 @@
 %{_datadir}/licq/qt-gui/*
 %{_datadir}/licq/sounds/*
 %{_datadir}/licq/utilities/*.utility
+%{_datadir}/licq/translations/*
 %{_miconsdir}/licq.png
 %{_iconsdir}/licq.png
 %{_liconsdir}/licq.png
@@ -283,6 +286,13 @@
 #Danny: seems to be gone: plugins/rms*/licq_rms.conf
 
 %changelog
+* Thu Jan 09 2003 Oden Eriksson [EMAIL PROTECTED] 1.2.3-1mdk
+- 1.2.3
+- use autoconf 2.5x
+- use %%configure2.5x
+- disable P3  P4
+- add missing files (translations)
+
 * Mon Aug 26 2002 Geoffrey Lee [EMAIL PROTECTED] 1.2.0a-4mdk
 - Fix menu.
 



[Cooker] php-pgsql-4.3.0-2mdk

2003-01-09 Thread Oden Eriksson
[root@valhalla SPECS]# rpm -Uvh 
/home/root/RPM/RPMS/i586/php-pgsql-4.3.0-1mdk.i586.rpm
error: failed dependencies:
libpgsql2 is needed by php-pgsql-4.3.0-1mdk

Hmm..., fix attached:

-- 
Regards // Oden Eriksson, Deserve-IT.com
--- php-pgsql.spec	2003-01-08 03:23:33.0 +0100
+++ php-pgsql.spec.oden	2003-01-09 17:11:18.0 +0100
@@ -2,7 +2,7 @@
 %define _docdir %{_datadir}/doc/%{name}-%{version}
 %{expand:%(cat /usr/src/php-devel/PHP_BUILD||(echo -e error: failed build dependencies:\nphp-devel = 430 (4.3.0) is needed by this package. /dev/stderr;kill -2 $PPID))}
 
-%define release 1mdk
+%define release 2mdk
 
 %define realname PostgreSQL
 %define modname pgsql
@@ -10,10 +10,10 @@
 %define soname %{modname}.so
 %define inifile 39_%{modname}.ini
 %define mod_src pgsql.c
-%define mod_lib -lpq
-%define mod_def -DHAVE_PQCMDTUPLES -DCOMPILE_DL_PGSQL -DHAVE_PGSQL
-%define rlibs libpgsql2
-%define blibs postgresql-devel
+%define mod_lib -lpq -lssl -lcrypto
+%define mod_def -DHAVE_PQESCAPE -DHAVE_PQSETNONBLOCKING -DHAVE_PGSQL_WITH_MULTIBYTE_SUPPORT -DHAVE_PQCMDTUPLES -DCOMPILE_DL_PGSQL -DHAVE_PGSQL
+%define rlibs libpq3 libopenssl0
+%define blibs postgresql-devel openssl-devel
 
 #
 ## Nothing to be changed after this, except changelog! ##
@@ -78,6 +78,10 @@
 %config(noreplace) %{_sysconfdir}/php/%{inifile}
 
 %changelog
+* Thu Jan 09 2003 Oden Eriksson [EMAIL PROTECTED] 4.3.0-2mdk
+- corrected the mod_lib, mod_def, rlibs and blibs macros after
+  some config.m4 and pg_config --configure investigation.
+
 * Sun Jan  5 2003 Jean-Michel Dault [EMAIL PROTECTED] 4.3.0-1mdk
 - New 4.3.0 release
 - Totally macroize based on suggestions from Alexander Skwar
@@ -136,3 +140,4 @@
 * Mon Apr  2 2001 Jean-Michel Dault [EMAIL PROTECTED] 4.0.4pl1-4mdk
 - Split pgsql package from php package so that when a new pgsql 
   package comes out, we don't have to recompile php, only this module
+



[Cooker] php-4.3.0-3mdk + db4 support ;-)

2003-01-09 Thread Oden Eriksson
Hi.

I managed to get php-4.3.0-3mdk + db4 to work, patches applied to this mail.

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com


php-4.3.0-db4.patch.bz2
Description: BZip2 compressed data
--- php-dba_bundle.spec	2003-01-08 03:20:54.0 +0100
+++ php-dba_bundle.spec.oden	2003-01-09 18:49:06.0 +0100
@@ -2,15 +2,15 @@
 %define _docdir %{_datadir}/doc/%{name}-%{version}
 %{expand:%(cat /usr/src/php-devel/PHP_BUILD||(echo -e error: failed build dependencies:\nphp-devel = 430 (4.3.0) is needed by this package. /dev/stderr;kill -2 $PPID))}
 
-%define release 1mdk
+%define release 2mdk
 
-%define realname dba (with cdb, gdbm and db3)
+%define realname dba (with cdb, gdbm and db4)
 %define modname dba
 %define dirname %{modname}
 %define soname %{modname}.so
 %define inifile 16_%{modname}.ini
-%define rlibs libgdbm2 db3
-%define blibs libgdbm2-devel libdb3.3-devel
+%define rlibs libgdbm2 db4
+%define blibs libgdbm2-devel db4-devel
 
 
 Summary:	The %{realname} module for PHP
@@ -26,11 +26,10 @@
 BuildRequires:  php%{libversion}-devel
 BuildRequires:	%{blibs}
 BuildRoot:	%{_tmppath}/%{name}-root
-Provides:   php-dba_gdbm_db2 php-cdb php-db2 php-db3 php-db3
-Obsoletes:  php-dba_gdbm_db2 php-cdb php-db2 php-db3 php-db3
+Provides:   php-dba_gdbm_db2 php-cdb php-db2 php-db3 php-db3 php-db4
+Obsoletes:  php-dba_gdbm_db2 php-cdb php-db2 php-db3 php-db3 php-db4
 Provides: 	ADVXpackage
 
-
 %description
 The %{name} package is a dynamic shared object (DSO) that adds
 %{realname} support to PHP. 
@@ -54,7 +53,7 @@
 
 phpize
 aclocal
-%configure --with-gdbm --with-db3 --with-cdb --with-flatfile
+%configure --with-gdbm --with-db4 --with-cdb --with-flatfile
 %make
 mv modules/*.so .
 
@@ -92,6 +91,9 @@
 %config(noreplace) %{_sysconfdir}/php/%{inifile}
 
 %changelog
+* Thu Jan 09 2003 Oden Eriksson [EMAIL PROTECTED] 4.3.0-2mdk
+- added db4 support
+
 * Sun Jan  5 2003 Jean-Michel Dault [EMAIL PROTECTED] 4.3.0-1mdk
 - New 4.3.0 release
 - Totally macroize based on suggestions from Alexander Skwar
@@ -161,3 +163,4 @@
 - Split dba_gdbm_db3 package from php package so that when a new gdbm, db2
   or db3 package comes out, we don't have to recompile php, only this module
 
+

--- php.spec	2003-01-08 05:24:58.0 +0100
+++ php.spec.oden	2003-01-09 18:40:47.0 +0100
@@ -2,7 +2,7 @@
 %define	peardir	%{_datadir}/pear
 %define libversion 430
 %define phpversion 4.3.0
-%define phprelease 1mdk
+%define phprelease 3mdk
 
 #The external_modules definition has been put in the %%build section
 #to clean things a bit
@@ -23,6 +23,7 @@
 Patch3:		php-4.3.0-info.patch.bz2
 Patch4:		php-4.3.0-64bit.patch.bz2
 Patch6:		php-4.3.0-fix-pear.patch.bz2
+Patch7:		php-4.3.0-db4.patch.bz2
 # Stolen from PLD
 Patch14:	php-4.3.0-mail.patch.bz2
 Patch15:	php-4.3.0-mcal-shared-lib.patch.bz2
@@ -35,6 +36,7 @@
 BuildRequires:	zlib-devel
 BuildRequires:	glibc-devel
 BuildRequires:	gettext-devel
+#BuildRequires:	autoconf2.5
 BuildRoot:	%{_tmppath}/%{name}-%{version}
 Provides: 	ADVXpackage
 
@@ -169,6 +171,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch6 -p1
+%patch7 -p1
 
 # Stolen from PLD
 %patch14 -p1
@@ -226,6 +229,11 @@
 chmod 755 php-devel/buildext
 
 %build
+
+# OE: we should run buildconf if applied patches changes the configure stuff...
+# but currently I'm just too lazy to fix P1 ;)
+#./buildconf
+
 %serverbuild
 
 #For eventual compatibility with RedHat
@@ -323,6 +331,7 @@
 --without-dba \
 --without-db2 \
 --without-db3 \
+--without-db4 \
 `for i in %{external_modules}; do echo --without-${i} --disable-${i}; done` \
 --without-gdbm 
 
@@ -439,6 +448,9 @@
 %{_libdir}/*.so
 
 %changelog
+* Thu Jan 09 2003 Oden Eriksson [EMAIL PROTECTED] 4.3.0-3mdk
+- added P7 (db4 support from CVS) Yihaa!
+
 * Tue Jan 07 2003 Jean-Michel Dault [EMAIL PROTECTED] 4.3.0-2mdk
 - Put all extensions in the EXTERNAL_MANDRAKE_MODULES hack.
 - Add Provides: ADVXpackage, all ADVX package will have this tag, 



[Cooker] php-ldap-4.3.0-2mdk + db4 ;-)

2003-01-09 Thread Oden Eriksson
Hi.

The attached patches enables db4 for php-ldap ;-)

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com
--- cyrus-sasl.spec	2002-10-11 07:49:31.0 +0200
+++ cyrus-sasl.spec.oden	2002-12-31 02:47:22.0 +0100
@@ -3,7 +3,7 @@
 Summary: SASL is the Simple Authentication and Security Layer.
 Name: cyrus-sasl
 Version: 1.5.27
-Release: 6mdk
+Release: 7mdk
 Source0: %{name}-%{version}.tar.bz2
 Source1:saslauthd.init
 Source2:saslauthd.sysconfig
@@ -24,8 +24,7 @@
 Requires: libsasl%{major}
 BuildRequires:  autoconf
 BuildRequires:  automake
-#BuildRequires:  db3-devel = 3.1.17-8
-BuildRequires:  libdb3.3-devel
+BuildRequires:  libdb4.0-devel
 BuildRequires:  pam-devel
 BuildRequires:  openssl-devel = 0.9.6a
 BuildRequires:  libtool = 1.4
@@ -154,11 +153,13 @@
 #%patch6 -p0 -b .mdk
 %patch7 -p1
 
-#rm -f config/missing
-#libtoolize --force 
-#aclocal -I cmulocal
-#autoheader
-#automake -a
+#export WANT_AUTOCONF_2_5=1
+
+rm -f config/missing
+libtoolize --force
+aclocal -I cmulocal
+autoheader
+automake -a
 autoconf
 
 %build
@@ -298,6 +299,9 @@
 %{_mandir}/man3/*
  
 %changelog
+* Tue Dec 31 2002 Oden Eriksson [EMAIL PROTECTED] 1.5.27-7mdk
+- built against db4
+
 * Fri Oct 11 2002 Laurent MONTEL [EMAIL PROTECTED] 1.5.27-6mdk
 - Fix libsasl.la
 

--- openldap.spec	2002-11-04 19:43:54.0 +0100
+++ openldap.spec.oden	2002-12-31 02:55:12.0 +0100
@@ -1,6 +1,6 @@
 %define name	openldap
 %define version	2.0.27
-%define release	1mdk
+%define release	2mdk
 
 %define major 		2
 %define migtools_ver 	40
@@ -85,7 +85,7 @@
 %endif
 BuildRequires:	openssl-devel, perl, autoconf
 #BuildRequires: libgdbm1-devel
-BuildRequires: 	db3-devel, libunixODBC2-devel, libltdl-devel, unixODBC-devel
+BuildRequires: 	libdb4.0-devel libunixODBC2-devel libltdl-devel unixODBC-devel
 BuildRequires:  ncurses-devel = 5.0, tcp_wrappers-devel
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
 Requires: 	libldap%{major}, shadow-utils, setup = 2.2.0-6mdk
@@ -482,7 +482,7 @@
 # talk about gdbm to ldif conversion here instead of the initscript
 if ls /var/lib/ldap/*.gdbm  /dev/null 21 || :  ; then
   echo To convert a gdbm DB to a ldif file, you can use the utility
-  echo %{_sbindir}/slapcat-gdbm (actually openldap uses Berkeley DB 3.x)...
+  echo %{_sbindir}/slapcat-gdbm (actually openldap uses Berkeley DB 4.x)...
 fi
 
 pushd %{_sysconfdir}/openldap/  /dev/null
@@ -630,8 +630,10 @@
 %{_libdir}/openldap/back_passwd*.so.*
 %{_libdir}/openldap/back_passwd*.so
 
-
 %changelog
+* Tue Dec 31 2002 Oden Eriksson [EMAIL PROTECTED] 2.0.27-2mdk
+- built against db4
+
 * Mon Nov  4 2002 Vincent Danen [EMAIL PROTECTED] 2.0.27-1mdk
 - 2.0.27
 - start slurpd as user ldap, not root (re: bgmilne)

--- php-ldap.spec	2003-01-08 03:22:15.0 +0100
+++ php-ldap.spec.oden	2003-01-09 19:09:43.0 +0100
@@ -2,7 +2,7 @@
 %define _docdir %{_datadir}/doc/%{name}-%{version}
 %{expand:%(cat /usr/src/php-devel/PHP_BUILD||(echo -e error: failed build dependencies:\nphp-devel = 430 (4.3.0) is needed by this package. /dev/stderr;kill -2 $PPID))}
 
-%define release 1mdk
+%define release 2mdk
 
 %define realname LDAP
 %define modname ldap
@@ -12,8 +12,9 @@
 %define mod_src ldap.c
 %define mod_lib -lldap -llber
 %define mod_def -DCOMPILE_DL_LDAP
-%define rlibs libldap2 pam libsasl7 libopenssl0 libdb3.3
-%define blibs libldap2-devel pam-devel libsasl7-devel libopenssl0-devel libdb3.3-devel
+%define rlibs libldap2 pam libsasl7 libopenssl0 libdb4.0
+%define blibs libldap2-devel pam-devel libsasl7-devel openssl-devel db4-devel
+
 #
 ## Nothing to be changed after this, except changelog! ##
 #
@@ -77,6 +78,9 @@
 %config(noreplace) %{_sysconfdir}/php/%{inifile}
 
 %changelog
+* Thu Jan 09 2003 Oden Eriksson [EMAIL PROTECTED] 4.3.0-2mdk
+- added db4 support
+
 * Sun Jan  5 2003 Jean-Michel Dault [EMAIL PROTECTED] 4.3.0-1mdk
 - New 4.3.0 release
 - Totally macroize based on suggestions from Alexander Skwar



[Cooker] curl and make test

2003-01-09 Thread Oden Eriksson
Hi.

I'm trying to build curl from cooker on my 9.0 machine as root, but the make 
test fails at:

test 305...OK
test 306... error FAILED
test 400...OK
test 401...OK
test 402...OK
test 403...OK
100 tests out of 101 reported OK: 99%
These test cases failed: 306
5 tests were skipped due to restraints
make[1]: *** [quiet-test] Error 1
make[1]: Leaving directory `/home/root/RPM/BUILD/curl-7.10.2/tests'

However, when running:

[root@valhalla tests]# ./runtests.pl -d -v -k 306
* System characteristics 
* curl 7.10.2 (i586-mandrake-linux-gnu)
* libcurl/7.10.2 OpenSSL/0.9.7 zlib/1.1.4
* Host: valhalla.localnet.tld
* System: Linux valhalla.localnet.tld 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 
2002 i686 unknown unknown GNU/Linux
* Memory debugging: OFF
* Netrc debugging:  OFF
* HTTPS server: ON
* FTPS server:  ON
* libcurl SSL:  ON
*
No server running, start it
CMD: perl -I. ./httpserver.pl -v  8999 
CMD: perl -I. ./httpsserver.pl -v  -r 8999 8433 
*** cURL test suite HTTP server/0.1 listening on port 8999 ***
HTTPS server: /usr/sbin/stunnel -p 
/home/root/RPM/BUILD/curl-7.10.2/tests/stunnel.pem -P 
/home/root/RPM/BUILD/curl-7.10.2/tests/.https.pid -d 8433 -r 8999 2/dev/null
test 306...[HTTPS GET, receive no headers only data!]
../src/curl --output log/curl306.out --include -v -k 
https://127.0.0.1:8433/306 log/stdout306 2log/stderr306
 data OK protocol OK
Test server pid 4617 signalled to die
Test server pid 4607
 signalled to die
1 tests out of 1 reported OK: 100%


On klama everything's just fine because I'm not root?

test 202...OK
90 tests out of 90 reported OK: 100%
16 tests were skipped due to restraints

Here's a thread about it: 
http://marc.theaimsgroup.com/?l=curl-usersm=103792922106678w=2

Maybe I'm on the wrong list, or should I just disable the tests?

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] My apache2 + php-4.3.0 adventures...

2003-01-09 Thread Oden Eriksson
Hi.

There's not much extensions left to pack... ;)

This is from my ML9.0 WS at home using some new stuff from cooker:

http://d-srv.com/Cooker/phpinfo.html

jmdault, warly, please remove the php-openssl package from contribs. 

Currently php-apc and php-overload needs some hands on, I will do it tomorrow, 
or later. There are at least 3 more extensions I couldn't get to complile, 
I'll save them for a rainy day ;)

Note the funny loading order in additional .ini files parsed from the rpm 
based php setup vs. the php built from source setup. Wierd stuff!!!

Built from rpm: http://d-srv.com/Cooker/phpinfo.html

VS.

Built from source: http://d-srv.com/Cooker/PRE/phpinfo.html

Note the db4 support and OpenSSL v0.9.7 support _everywhere_.

Well..., well... I guess MandrakeSofts apache2 + php-4.3.0 setup is the most 
complete on the globe now?

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] Arghh!!!

2003-01-09 Thread Oden Eriksson

Warly. Please remove php-bzip2-4.2.3-1mdk and php-dbg-4.2.3-1mdk

Thanks.
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] ucd-snmp/net-snmp?

2003-01-08 Thread Oden Eriksson



Hi.


(vdanen?)

I would suggest my new "net-snmp" package (in 
contribs) should replace the old "ucd-snmp"(in main)package. What do 
you think?

For example php-snmp builds just fine against 
net-snmp.I don't know about the others like snort and whatever package is 
using the libs.

Chears.


[Cooker] Re: [CHRPM] php-4.3.0-1mdk

2003-01-08 Thread Oden Eriksson
 +  (Oden, have fun ;-)

;)

BTW. One of your new php packages did not follow your new build policy.




Re: [Cooker] apache2 a dep for apache?

2003-01-07 Thread Oden Eriksson
replying with this shitty outlook so called software... where's the  ???

- Original Message -
From: Jean-Michel Dault [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; J.P. Pasnak [EMAIL PROTECTED]
Sent: Tuesday, January 07, 2003 2:59 PM
Subject: Re: [Cooker] apache2 a dep for apache?


Le sam 04/01/2003 à 02:05, Olivier Thauvin a écrit :
Can anyone explain why when I go to update to apache-1.3.27,
apache2 is a dependancy?   I have to put apache2-blah into the
skip.list for it to work properly.
   Because apache2 provide apache, apache = 2.x  apache =1.3.27, then
   urpmi think it is a update...
  Bah, should have looked at the provides myself.  Tks.
 But I agree a fix would be welcome !

The fix is to install Apache 2 ;-)

ODEN: Yeah!

Do you have a reason not to install it?

In a couple of days from now, Apache 1.3 will be moved to the contribs,
and Apache 2.0 will go in Cooker, and after that in the 9.1 release.

ODEN: That's news... That's why you have been so quiet lately? Many things
to fix?







Re: [Cooker] fix for MySQL-3.23.54a-1mdk

2003-01-03 Thread Oden Eriksson
fredagen den 3 januari 2003 10.36 skrev Warly:
 Oden Eriksson [EMAIL PROTECTED] writes:
  Hi.
 
  The attached patch will fix the problems I encountered and reported when
  compiling MySQL-3.23.54a-1mdk.

 I think Mark Scott solution is better.

 Mine was juste not to compile this MIRRORS file, but his fixed the build.

Ok, but it's kind of wierd that 3.23.53 passed this error and 
3.23.54a not.

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] Re: [CHRPM] hdparm-5.3-2mdk

2003-01-02 Thread Oden Eriksson
torsdagen den 2 januari 2003 12.47 skrev Thierry Vignaud:

  %changelog
 +* Thu Jan 02 2003 Thierry Vignaud [EMAIL PROTECTED] 5.3-2mdk
 +- build release

Excuse a stupid question, but what exactly does build release mean? 

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] Re: [CHRPM] grip-3.0.3-2mdk

2003-01-02 Thread Oden Eriksson
torsdagen den 2 januari 2003 13.16 skrev Thierry Vignaud:

3.0.4 has been out for some time now...
-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: [CHRPM] MySQL-3.23.54a-1mdk

2003-01-02 Thread Oden Eriksson
onsdagen den 1 januari 2003 20.27 skrev Joan Tur:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Es Dilluns 30 Desembre 2002 16:13, en Oden Eriksson va escriure:
  måndagen den 30 december 2002 15.45 skrev Warly:
 
  Thank you Warly!

 Where have you found it?  In cookers' sites you can find 3.23.53-5mdk... 
 8-?

Try this trick for now:

http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/SPECS/MySQL/

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] Re: [CHRPM] hdparm-5.3-2mdk

2003-01-02 Thread Oden Eriksson
torsdagen den 2 januari 2003 16.19 skrev Götz Waschk:
 Am Donnerstag,  2. Januar 2003, 16:15:17 Uhr MET, schrieb Oden Eriksson:
  torsdagen den 2 januari 2003 12.47 skrev Thierry Vignaud:
%changelog
   +* Thu Jan 02 2003 Thierry Vignaud [EMAIL PROTECTED] 5.3-2mdk
   +- build release
 
  Excuse a stupid question, but what exactly does build release mean?

 Some people are too lazy to write rebuild for new glibc and rpm,
 including myself :-)

He he he..., ok. But it sounds more like something that's final for ML9.1...

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] MySQL-3.23.54a-1mdk

2003-01-02 Thread Oden Eriksson
Hi.

I'm trying to build MySQL-3.23.54a-1mdk on my ML9.0 system at home, but it 
hangs at:

perl -w ./Support/generate-mirror-listing.pl manual.texi  ../MIRRORS

I was however able to build it on another similar system..., I can't figure 
out what's wrong...



-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] MySQL-3.23.54a-1mdk

2003-01-02 Thread Oden Eriksson
torsdagen den 2 januari 2003 22.25 skrev Mark Scott:
 Oden Eriksson wrote:
  Hi.
 
  I'm trying to build MySQL-3.23.54a-1mdk on my ML9.0 system at home, but
  it hangs at:
 
  perl -w ./Support/generate-mirror-listing.pl manual.texi  ../MIRRORS
 
  I was however able to build it on another similar system..., I can't
  figure out what's wrong...

 Just got the same problem and found the cause - there's a missing ''
 stdin redirection operator in the Docs Makefile, so the perl script is
 waiting indefinitely for input.

 The attached patch needs to be applied to Docs/Makefile.in. It should be
 in a suitable format to be bzipped and added to the spec.

 N.B. The MIRRORS file will only contain 1 line once created, since there
 are no mirrors listed in the manual.texi input file.

Thanks, but there appears to be the exact same thing with 3.23.53, but that 
builds ok and 3.23.54a not. This is wierd...


-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] fix for MySQL-3.23.54a-1mdk

2003-01-02 Thread Oden Eriksson
Hi.

The attached patch will fix the problems I encountered and reported when 
compiling MySQL-3.23.54a-1mdk.

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com
--- MySQL.spec	2002-12-30 14:59:00.0 +0100
+++ MySQL.spec.oden	2003-01-03 01:09:43.0 +0100
@@ -128,7 +128,7 @@
 
 # 20021227 warly manual include files not in the archives
 perl -pi -e 's/\@include reservedwords.texi//' ./Docs/manual.texi
-perl -pi -e 's/..\/MIRRORS INSTALL-BINARY/INSTALL-BINARY/' ./Docs/Makefile.am
+perl -pi -e 's/..\/MIRRORS INSTALL-BINARY/INSTALL-BINARY/' ./Docs/Makefile.*
 
 # Run aclocal in order to get an updated libtool.m4 in generated
 # configure script for new architectures (aka. x86_64, mips)



Re: [Cooker] MySQL-3.23.54a-1mdk

2003-01-02 Thread Oden Eriksson
fredagen den 3 januari 2003 01.14 skrev Mark Scott:
 Oden Eriksson wrote:
  torsdagen den 2 januari 2003 22.25 skrev Mark Scott:
 Oden Eriksson wrote:
 Hi.
 
 I'm trying to build MySQL-3.23.54a-1mdk on my ML9.0 system at home, but
 it hangs at:
 
 perl -w ./Support/generate-mirror-listing.pl manual.texi  ../MIRRORS
 
 I was however able to build it on another similar system..., I can't
 figure out what's wrong...
 
 Just got the same problem and found the cause - there's a missing ''
 stdin redirection operator in the Docs Makefile, so the perl script is
 waiting indefinitely for input.
 
 The attached patch needs to be applied to Docs/Makefile.in. It should be
 in a suitable format to be bzipped and added to the spec.
 
  Thanks, but there appears to be the exact same thing with 3.23.53, but
  that builds ok and 3.23.54a not. This is wierd...

 Did the patch make your 3.23.54a build work? If the build is interactive
 (i.e. started from a terminal), I found that pressing Ctrl-D at the hang
 point makes it continue. It might be something to do with perl/rpm and
 interactive/scripted invocation, but that's a wild guess.

 In case it's decided to include the Makefile.in patch, it might be
 better to use this version which also patches Makefile.am. I discovered
 that automake is called during %build - although by this time the Docs
 have been built. Better to play safe I think.

 I've also attached the alteration to the spec file to include the patch.

Cool, but I solved this as: 
http://www.mandrake.com/en/archives/cooker/2003-01/msg00084.php

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] fix for MySQL-3.23.54a-1mdk

2003-01-02 Thread Oden Eriksson
fredagen den 3 januari 2003 01.41 skrev Brook Humphrey:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Thursday 02 January 2003 04:21 pm, Oden Eriksson wrote:
  Hi.
 
  The attached patch will fix the problems I encountered and reported when
  compiling MySQL-3.23.54a-1mdk.
 
  Chears.

 While we are on mysql, is there some reason that mysql 4 is not in the
 distro? I take a stab at it is no one else wants to. Same goes for php4.3.

As for php..., I don't really know what has been decided. You may have read my 
previous mails as in: 

http://www.mandrake.com/en/archives/cooker/2002-12/msg01384.php
http://www.mandrake.com/en/archives/cooker/2002-12/msg01530.php
http://www.mandrake.com/en/archives/cooker/2002-12/msg01690.php

I guess someone has to take it from there to present a working rpm suite 
sometime in the future. I won't touch this ;)

My proposal is to totally _nuke_ all apache1 stuff, this would indeed speed up 
the migration process to apache2 :-)

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] My new repository

2002-12-31 Thread Oden Eriksson
Hi.

(slightly off topic...)

I have just opened up a new branch/repository with the updates/enhancements I 
use at home, check:

http://d-srv.com/9.0/

(openssl-0.9.7, etc.)

Happy new year to you all!.
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] Re: [CHRPM] MySQL-3.23.54a-1mdk

2002-12-30 Thread Oden Eriksson
måndagen den 30 december 2002 15.45 skrev Warly:

Thank you Warly!

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] new eve adventures :)

2002-12-30 Thread Oden Eriksson
Hi.

Attached are some simple patches that removes all db3 requirements from the 
apache2 core. At least, please consider using them...

It builds and installs here at home on my ML9.0.

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com
--- openldap.spec	2002-11-04 19:43:00.0 +0100
+++ openldap.spec.oden	2002-12-31 02:55:00.0 +0100
@@ -1,6 +1,6 @@
 %define name	openldap
 %define version	2.0.27
-%define release	1mdk
+%define release	2mdk
 
 %define major 		2
 %define migtools_ver 	40
@@ -85,7 +85,7 @@
 %endif
 BuildRequires:	openssl-devel, perl, autoconf
 #BuildRequires: libgdbm1-devel
-BuildRequires: 	db3-devel, libunixODBC2-devel, libltdl-devel, unixODBC-devel
+BuildRequires: 	libdb4.0-devel libunixODBC2-devel libltdl-devel unixODBC-devel
 BuildRequires:  ncurses-devel = 5.0, tcp_wrappers-devel
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
 Requires: 	libldap%{major}, shadow-utils, setup = 2.2.0-6mdk
@@ -482,7 +482,7 @@
 # talk about gdbm to ldif conversion here instead of the initscript
 if ls /var/lib/ldap/*.gdbm  /dev/null 21 || :  ; then
   echo To convert a gdbm DB to a ldif file, you can use the utility
-  echo %{_sbindir}/slapcat-gdbm (actually openldap uses Berkeley DB 3.x)...
+  echo %{_sbindir}/slapcat-gdbm (actually openldap uses Berkeley DB 4.x)...
 fi
 
 pushd %{_sysconfdir}/openldap/  /dev/null
@@ -630,8 +630,10 @@
 %{_libdir}/openldap/back_passwd*.so.*
 %{_libdir}/openldap/back_passwd*.so
 
-
 %changelog
+* Tue Dec 31 2002 Oden Eriksson [EMAIL PROTECTED] 2.0.27-2mdk
+- built against db4
+
 * Mon Nov  4 2002 Vincent Danen [EMAIL PROTECTED] 2.0.27-1mdk
 - 2.0.27
 - start slurpd as user ldap, not root (re: bgmilne)

--- cyrus-sasl.spec	2002-10-11 07:49:00.0 +0200
+++ cyrus-sasl.spec.oden	2002-12-31 02:47:00.0 +0100
@@ -3,7 +3,7 @@
 Summary: SASL is the Simple Authentication and Security Layer.
 Name: cyrus-sasl
 Version: 1.5.27
-Release: 6mdk
+Release: 7mdk
 Source0: %{name}-%{version}.tar.bz2
 Source1:saslauthd.init
 Source2:saslauthd.sysconfig
@@ -24,8 +24,7 @@
 Requires: libsasl%{major}
 BuildRequires:  autoconf
 BuildRequires:  automake
-#BuildRequires:  db3-devel = 3.1.17-8
-BuildRequires:  libdb3.3-devel
+BuildRequires:  libdb4.0-devel
 BuildRequires:  pam-devel
 BuildRequires:  openssl-devel = 0.9.6a
 BuildRequires:  libtool = 1.4
@@ -154,11 +153,13 @@
 #%patch6 -p0 -b .mdk
 %patch7 -p1
 
-#rm -f config/missing
-#libtoolize --force 
-#aclocal -I cmulocal
-#autoheader
-#automake -a
+#export WANT_AUTOCONF_2_5=1
+
+rm -f config/missing
+libtoolize --force
+aclocal -I cmulocal
+autoheader
+automake -a
 autoconf
 
 %build
@@ -298,6 +299,9 @@
 %{_mandir}/man3/*
  
 %changelog
+* Tue Dec 31 2002 Oden Eriksson [EMAIL PROTECTED] 1.5.27-7mdk
+- built against db4
+
 * Fri Oct 11 2002 Laurent MONTEL [EMAIL PROTECTED] 1.5.27-6mdk
 - Fix libsasl.la
 

--- pam.spec	2002-12-12 10:09:00.0 +0100
+++ pam.spec.oden	2002-12-31 03:01:00.0 +0100
@@ -3,7 +3,7 @@
 Summary: A security tool which provides authentication for applications.
 Name: pam
 Version: 0.75
-Release: 29mdk
+Release: 30mdk
 License: GPL or BSD
 Group: System/Libraries
 Source: ftp.us.kernel.org:/pub/linux/libs/pam/pre/library/Linux-PAM-%{version}.tar.bz2
@@ -77,7 +77,7 @@
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 Requires: cracklib, cracklib-dicts, pwdb = 0.54-2, initscripts = 3.94
-BuildRequires: bison cracklib-devel db2-devel db3-devel flex glib-devel pwdb-devel
+BuildRequires: bison cracklib-devel libdb4.0-devel flex glib-devel pwdb-devel
 BuildRequires: linuxdoc-tools
 Obsoletes: pamconfig
 Provides: pamconfig
@@ -275,6 +275,9 @@
 %doc doc/html doc/ps doc/txts doc/specs/rfc86.0.txt Copyright
 
 %changelog
+* Tue Dec 31 2002 Oden Eriksson [EMAIL PROTECTED] 0.75-30mdk
+- built against db4
+
 * Thu Dec 12 2002 Frederic Crozat [EMAIL PROTECTED] 0.75-29mdk
 - Patch509: don't complain when / is owned by root.adm
 



[Cooker] php v4.3.0 is out!

2002-12-27 Thread Oden Eriksson
Hi.

I just noticed the long awaited php v4.3.0 is out now, here's a direct link 
to/from the canadian mirror:

http://www.php.net/do_download.php?mr=http%3A%2F%2Fca.php.net%2Fdf=php-4.3.0.tar.bz2

And I think the info at http://d-srv.com/Cooker/PRE/; will be helpful as the 
configure stuff is _very_ picky as it seems to me...

This file http://d-srv.com/Cooker/PRE/php-conf.tar.gz; implements the new 
--with-config-file-scan-dir=/etc/httpd/conf.d stuff as shown at: 
http://d-srv.com/Cooker/PRE/phpinfo.html

Eg. No more search and replace in the /etc/php.ini file when 
installing/uninstalling php extensions...

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] one more för Götz?

2002-12-27 Thread Oden Eriksson
fredagen den 27 december 2002 19.43 skrev Götz Waschk:
 Am Dienstag, 24. Dezember 2002, 12:39:55 Uhr MET, schrieb Oden Eriksson:
  http://qtcomponents.sourceforge.net/

 Sure, but it's OT on this list, as this is for MacOS and Windows only.

Oops ;-)

-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] one more för Götz?

2002-12-24 Thread Oden Eriksson
http://qtcomponents.sourceforge.net/
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] Something for Götz?

2002-12-23 Thread Oden Eriksson
http://freshmeat.net/releases/107382/
-- 
Regards // Oden Eriksson, Deserve-IT.com




[Cooker] php and readline mystery...

2002-12-22 Thread Oden Eriksson
Hi.

I'm trying to enable readline for php like this:

./configure --with-readline=shared,/usr

But it won't work... I wonder at what point, if ever it did work?

I'm getting this error (php-4.3.0RC4):

[snip]

configure:62897: checking for readline support
configure:62983: checking for tgetent in -lncurses
configure:63002: gcc -o conftest -g -O2   conftest.c -lncurses  -lcrypt 
-lresolv -lm -ldl -lnsl  -lcrypt 15
configure:63265: checking for readline in -lreadline
configure:63284: gcc -o conftest -g -O2
-L/usr/lib
conftest.c -lreadline  -lcrypt -lresolv -lm -ldl -lnsl  -lcrypt 15
/usr/lib/libreadline.so: undefined reference to `tgetnum'
/usr/lib/libreadline.so: undefined reference to `tgoto'
/usr/lib/libreadline.so: undefined reference to `tgetflag'
/usr/lib/libreadline.so: undefined reference to `BC'
/usr/lib/libreadline.so: undefined reference to `tputs'
/usr/lib/libreadline.so: undefined reference to `PC'
/usr/lib/libreadline.so: undefined reference to `tgetent'
/usr/lib/libreadline.so: undefined reference to `UP'
/usr/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
configure: failed program was:
#line 63273 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char readline();

int main() {
readline()
; return 0; }


This works (with my readline):

READLINE_SHARED_LIBADD=-lhistory -lreadline -lncurses ./configure 
--with-readline=shared,/usr

But my full configure script does not want to work..., somewhere down the line 
the above gets eaten up...


BTW. the attached patch should be applied to the realine package in Cooker.  
There is no such thing as --with-curses=ncurses. I could not file a bug in 
buzilla about this because readline was not to be found in the list... warly?

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com
--- readline.spec	2002-08-05 09:35:26.0 +
+++ readline.spec.oden	2002-12-22 17:05:19.0 +
@@ -4,7 +4,7 @@
 Summary: Library for reading lines from a terminal
 Name: readline
 Version: %{pversion}
-Release: 4mdk
+Release: 5mdk
 License: GPL
 Group: System/Libraries
 Source: ftp://ftp.gnu.org/pub/gnu/readline/readline-%{version}.tar.bz2
@@ -16,6 +16,7 @@
 Patch100: readline-4.3-vim-reapeat-fix.diff.bz2
 Patch101: readline-4.3-segfault-fix.diff.bz2
 Provides: libreadline.so.4.1 libhistory.so.4.1 libreadline.so.4.2 libhistory.so.4.2
+BuildRequires: ncurses-devel
 Buildroot: %{_tmppath}/%{name}-root/
 
 %description
@@ -49,8 +50,9 @@
 
 %build
 export CFLAGS=$RPM_OPT_FLAGS
-%configure --with-curses=ncurses --libdir=%_libdir
+%configure --with-curses --libdir=%_libdir
 perl -p -i -e 's|-Wl,-rpath.*||' shlib/Makefile
+find -name Makefile | xargs perl -pi -e s|^TERMCAP_LIB.*|TERMCAP_LIB = -lncurses|g
 make static shared
 
 %install
@@ -60,12 +62,16 @@
 # before /usr is mounted
 install -d $RPM_BUILD_ROOT/%{_lib}
 mv $RPM_BUILD_ROOT%{_libdir}/*.so* $RPM_BUILD_ROOT/%{_lib}
-ln -s ../../%{_lib}/lib{history,readline}.so $RPM_BUILD_ROOT%{_libdir}
 for i in history readline; do
ln -s ../%{_lib}/lib$i.so.4 $RPM_BUILD_ROOT/%{_lib}/lib$i.so.4.1
ln -s ../%{_lib}/lib$i.so.4 $RPM_BUILD_ROOT/%{_lib}/lib$i.so.4.2
 done
 
+pushd $RPM_BUILD_ROOT/%{_lib}
+for f in *so*; do
+	ln -s ../../%{_lib}/$f $RPM_BUILD_ROOT%{_libdir}/$f
+done
+popd
 
 # The make install moves the existing libs with a suffix of old. Urgh.
 rm -f $RPM_BUILD_ROOT/%{_lib}/*.old
@@ -89,6 +95,7 @@
 %files
 %defattr(-,root,root)
 /%{_lib}/lib*.so.*
+%{_libdir}/lib*.so.*
 
 %files devel
 %defattr(-,root,root)
@@ -102,6 +109,11 @@
 /%{_lib}/*so
 
 %changelog
+* Sun Dec 22 2002 Oden Eriksson [EMAIL PROTECTED] 4.3-5mdk
+- fix silly softlinks to make PHP 4.3.0RC4 compile and also fix
+  --with-curses + perl seach and replace to enable needed missing
+  ncurses symbols.
+
 * Mon Aug 05 2002 Thierry Vignaud [EMAIL PROTECTED] 4.3-4mdk
 - fix non working repeating with '.' command [P100]
 - fix segfault on c-arrows [P101]



<    4   5   6   7   8   9   10   11   12   13   >