I am told by yum localinstall that I need this for TinyCA2. When I search for it, it seems like it SHOULD be part of basic perl package, but it is hard to argue with yum on dependencies.....
Robert Moskowitz spake the following on 7/26/2006 1:38 PM:> I am told by yum localinstall that I need this for TinyCA2. > > When I search for it, it seems like it SHOULD be part of basic perl > package, but it is hard to argue with yum on dependencies.....Does it ask just for perl-MIME-Base64, or does it ask for a version >= some number. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
Robert Moskowitz schrieb:> I am told by yum localinstall that I need this for TinyCA2. > > When I search for it, it seems like it SHOULD be part of basic perl > package, but it is hard to argue with yum on dependencies.....The .spec file shouldn't explicitly have a "Requires: perl-MIME-Base64". The automatic dependencies check at rpmbuild time should automatically generate a requirement for perl(MIME-Base64), which is fulfilled by the Perl main package. $ rpm -q --whatprovides 'perl(MIME::Base64)' perl-5.8.5-24.RHEL4.x86_64 Alexander
Scott Silva wrote:> Robert Moskowitz spake the following on 7/26/2006 1:38 PM: > >> I am told by yum localinstall that I need this for TinyCA2. >> >> When I search for it, it seems like it SHOULD be part of basic perl >> package, but it is hard to argue with yum on dependencies..... >> > Does it ask just for perl-MIME-Base64, or does it ask for a version >= some > number. >yum localinstall tinyca2-0.7.5-0.noarch.rpm Setting up Local Package Process Examining tinyca2-0.7.5-0.noarch.rpm: tinyca2 - 0.7.5-0.noarch Marking tinyca2-0.7.5-0.noarch.rpm to be installed Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package tinyca2.noarch 0:0.7.5-0 set to be updated --> Running transaction check Setting up repositories dag 100% |=========================| 1.1 kB 00:00 kbs-CentOS-Extras 100% |=========================| 951 B 00:00 kbs-CentOS-Misc 100% |=========================| 951 B 00:00 jpackage-rhel 100% |=========================| 951 B 00:00 update 100% |=========================| 951 B 00:00 jpackage-generic 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 macromedia 100% |=========================| 951 B 00:00 contrib 100% |=========================| 951 B 00:00 centosplus 100% |=========================| 951 B 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files --> Processing Dependency: perl-MIME-Base64 for package: tinyca2 --> Finished Dependency Resolution Error: Missing Dependency: perl-MIME-Base64 is needed by package tinyca2
Alexander Dalloz wrote:> Robert Moskowitz schrieb: > >> I am told by yum localinstall that I need this for TinyCA2. >> >> When I search for it, it seems like it SHOULD be part of basic perl >> package, but it is hard to argue with yum on dependencies..... > > The .spec file shouldn't explicitly have a "Requires: > perl-MIME-Base64". The automatic dependencies check at rpmbuild time > should automatically generate a requirement for perl(MIME-Base64), > which is fulfilled by the Perl main package. > > $ rpm -q --whatprovides 'perl(MIME::Base64)' > perl-5.8.5-24.RHEL4.x86_64rpm -ihv tinyca2-0.7.5-0.noarch.rpm error: Failed dependencies: perl-MIME-Base64 is needed by tinyca2-0.7.5-0.noarch
Alexander Dalloz wrote:> Robert Moskowitz schrieb: > >> yum localinstall tinyca2-0.7.5-0.noarch.rpm > > [ ... ] > >> Reading repository metadata in from local files >> --> Processing Dependency: perl-MIME-Base64 for package: tinyca2 >> --> Finished Dependency Resolution >> Error: Missing Dependency: perl-MIME-Base64 is needed by package tinyca2 > > Looks like you `rpmbuild --rebuild tinyca2-0.7.5-0.src.rpm' from the > project home page. The tinyca2.spec is wrong as it containsActually I downloaded the rpm on the site, as it stated that it 'should' work with most distributions.... =-O> > Requires: perl perl-Gtk2 perl-MIME-Base64 > > At least remove "perl-MIME-Base64", I think you can remove the > complete line.So get the source and do my own build. I am starting to get the hang of doing that...
Scott Silva wrote:> Robert Moskowitz spake the following on 7/26/2006 2:36 PM: > >> Alexander Dalloz wrote: >> >>> Robert Moskowitz schrieb: >>> >>> >>>> I am told by yum localinstall that I need this for TinyCA2. >>>> >>>> When I search for it, it seems like it SHOULD be part of basic perl >>>> package, but it is hard to argue with yum on dependencies..... >>>> >>> The .spec file shouldn't explicitly have a "Requires: >>> perl-MIME-Base64". The automatic dependencies check at rpmbuild time >>> should automatically generate a requirement for perl(MIME-Base64), >>> which is fulfilled by the Perl main package. >>> >>> $ rpm -q --whatprovides 'perl(MIME::Base64)' >>> perl-5.8.5-24.RHEL4.x86_64 >>> >> rpm -ihv tinyca2-0.7.5-0.noarch.rpm >> error: Failed dependencies: >> perl-MIME-Base64 is needed by tinyca2-0.7.5-0.noarch >> > Is that the SUSE rpm from http://tinyca.sm-zone.net/? > Maybe if you get the src rpm and rebuild it. >It is the SUSE rpm, but there is the claim it SHOULD work with current distributions. But looking at the site again, I see that I should NOT have read it 1am last night. As re-reading it I DO get the understanding that they mean the current distributions of SUSE, not just current distributions... Oh, well. :-[
Ralph Angenendt wrote:> David Hrb?c( wrote: > >> As someone mentioned before perl-MIME-Base64 is in perl-5.8.5-34.RHEL4. >> I do not use Dag version of Tinyca2, is outdated and not UTF8. Go this way: >> rpm -Uhv http://tinyca.sm-zone.net/tinyca2-0.7.5-0.noarch.rpm --nodeps >> > ^^^^^^^^ > > ARGH. >It looked 'enticing', but as I read it, I was concerned that I would not have the skills to diagnose problems that this might cause.>> It works. >> > > I'd rather see "best practice" tips on this mailing list, not worst > practice. > > Just remove the dependency to perl-Mime-Base64 from the .spec file and > rebuild the src rpm.I plan on doing that today after staff conference call (or maybe during it ;-) ).
Just to let everyone know, I took the 'short cut'. I used the TinyCA2 that was on DAGs repo. It installed, pulling quite a number of perl stuff with it. It is running, as so far I have created my first root cert. Problem I have is I **WORK** on the PKIX workgroup in the IETF and contributed to the Fed PKI and the new BioPharma SAFE PKI. So now that I can cut loose creating certs, I am busy overthinking all I can do with them. Sheesh, get a life! :-P
David Hrba'c( wrote:> Scott Silva napsal(a): > >> Dag seems to have the same version. He just seems to have fixed his .spec file >> to fit better with RedHat. > Well Dag has finally updated the package on 27th. So my advice is really > depreciated. :o)After I did all the perl-Glib and perl-Gtk2 from Karanbir's repo (Thanks Karanbir for fixing the version problem with them!), I then picked up that the DAG repo had TinyCA2, so I yum installed from there and have been off and running. For all I know about X.509 (quite a lot, really [IETF PKIX, FPKI, SAFE, etc.], but all theory), it is quite an eye-opener to actually work through setting up a decent PKI. I suspect this is NOT the list to share views about how to set up your very own PKI for all of your servers,,,, I have already sent a number of messages to the author.
David Hrb?? wrote:> David Hrb?? napsal(a): > >> Well Dag has finally updated the package on 27th. So my advice is really >> depreciated. :o) > Hmmm, I guess, I must say rpm --nodeps is not depreciated, Dag has > updated the package, but it's not OK. Dag please update your .spec to > include tinyca2.desktop from upstream > http://tinyca.dyndns.org/cvs-bin/viewcvs.cgi/tinyca2.desktop?cvsroot=TinyCA2 > Your desktop file is only English and not even working, links to tinyca...I do not understand what you are getting at here, works for me. But I suspect that only the english version is working from what I got from the DAG repo? Well, given my dyslexia, I don't have a problem with that; I am extremely mono-linguistic, and even english was a struggle for me :-[
Dag Wieers wrote:> On Mon, 31 Jul 2006, David Hrb?? wrote: > >> David Hrb?? napsal(a): >> >>> Well Dag has finally updated the package on 27th. So my advice is really >>> depreciated. :o) >>> >> Hmmm, I guess, I must say rpm --nodeps is not depreciated, Dag has >> updated the package, but it's not OK. Dag please update your .spec to >> include tinyca2.desktop from upstream >> http://tinyca.dyndns.org/cvs-bin/viewcvs.cgi/tinyca2.desktop?cvsroot=TinyCA2 >> Your desktop file is only English and not even working, links to tinyca... >> > > If you're talking to me, please then include me in the conversation. It's > a coincidence I read this mail. Being subscribed does not mean I read > every single mail. >Those that do are rather amazing.> You're implying that I was already notified of the problem, which I was > not. I just updated the package when a new release was made. >And thank you!> My desktop file is there because tinyca did not include a desktop file > when it was added. That's why it is English only (I do not provide > translation services). If it linked to tinyca instead, people did not > notify me. That's right I do not use tinyca myself (I have used it though) >Know of any other CA out there to try?> so problems inside a package may go unnoticed if nobody informs me. > > PS I noticed that a lot of RPMforge users are using this mailinglist to > report problems about RPMforge RPM packages. Please send them to the > proper RPMforge mailinglist. (users at lists.rpmforge.net or > suggest at lists.rpmforge.netNot another list to follow! :-P