[gentoo-user] Re: Attic (cvs) -> ???(git)
On Thu, 25 Feb 2016 13:07:34 + (UTC) Jameswrote: > walt gmail.com> writes: > > Could I trouble you for an example of how you use wget? > Sure, > > I do it file by file; here is one of the 'files' (patches) I pulled > down for 'showconsole' now also deprecated: > > wget > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-admin/showconsole/files/1.07-no-TIOCGDEV.patch > If I know a package is going to be removed, I just emerge it and then > copy everything to /usr/local/portage// prior to removal. > > Hit me up with any other questions.. Have you noticed that you can find lots of stuff with 'apropos' that doesn't actually have a 'man' page? Here's an example: # apropos gnutls_x509_crt_export gnutls_x509_crt_export (3) - API function gnutls_x509_crt_export2 (3) - API function # man gnutls_x509_crt_export No manual entry for gnutls_x509_crt_export Thanks to you and Mike for your examples :)
Re: [gentoo-user] using package.provided
On Thu, 25 Feb 2016 15:47:32 -0600, Dale wrote: > Mine here is in: /etc/portage/package.mask It's been there for a long > time. Maybe they are moving things again to something new but it works > here. Things that override global settings in make.conf, like package.mask, go in /etc/portage. Things that override profile settings go in /etc/portage/profile. If in doubt, read man portage which explains all these files. -- Neil Bothwick Only an idiot actually READS taglines. pgp6Z5owJypqQ.pgp Description: OpenPGP digital signature
[gentoo-user] Re: using package.provided
On 25/02/16 05:55, Harry Putnam wrote: I'd like to stay on kernel-4.1.6, rather than keep installing the newest version at each upgrade. I'd instead recommend putting >=sys-kernel/gentoo-sources-4.2 in package.mask to stay with 4.1 (it's an LTS kernel) and always get the patches for that one.
[gentoo-user] beegfs goes opensource!
Long awaited. This smoking hot (many HPC scientist agree) distributed file system will surely rock the cluster, container and Hi Performance Computing worlds. [1] Now if I were only smart enough to get this puppy into portage... enjoy! James [1] http://www.beegfs.com/content/news/
Re: [gentoo-user] using package.provided
cov...@ccs.covici.com wrote: > Dalewrote: > >> Harry Putnam wrote: >>> I'd like to stay on kernel-4.1.6, rather than keep installing the >>> newest version at each upgrade. >>> >>> As I recall, and a quick look at `man portage', a file named >>> `package.provided' is meant for such things. >>> >>> The syntax is not described in detail... I tried these: >>> >>> /etc/portage/package.provided >>> >>> >=sys-kernel/gentoo-sources-4.1.6 >>> >>> Still `emerge -vp gentoo-sources' indicates it will install the most >>> recent kernel. >>> >>> then I noticed the portage man page, under `Format' does say: >>> "relational operators are not allowed" >>> So I dropped the `>=' part >>> >>> sys-kernel/gentoo-sources-4.1.6 >>> >>> Same result from `emerge -vp gentoo-sources' . . . >>> >>> What am I forgetting? >>> >>> >>> >> >> This is how I do this sort of thing. I add the name and version to >> package.mask which stops future updates/upgrades. Example, for my >> nvidia drivers, this is in package.mask. >> >>> =x11-drivers/nvidia-drivers-341.0.0 >> That tells portage that anything above that version is masked locally >> and not to update it. For what you want, this should work: >> >>> sys-kernel/gentoo-sources-4.1.6 >> I removed the equal sign since you want to keep that version around but >> nothing above it. If portage doesn't like that, you may want to use the >> next version up and have the ">=" in front. According to what I have >> here, it would be like this: >> >>> =sys-kernel/gentoo-sources-4.1.12 >> I actually don't show a 4.1.6 here right now. Removed I guess but >> likely still works. >> >> That goes under /etc/portage/ by the way. I think you know that already >> but just in case. I have those moments too. ;-) >> >> That helps?? > I think its in /etc/portage/profile instead. > Mine here is in: /etc/portage/package.mask It's been there for a long time. Maybe they are moving things again to something new but it works here. Dale :-) :-)
Re: [gentoo-user] using package.provided
Dalewrote: > Harry Putnam wrote: > > I'd like to stay on kernel-4.1.6, rather than keep installing the > > newest version at each upgrade. > > > > As I recall, and a quick look at `man portage', a file named > > `package.provided' is meant for such things. > > > > The syntax is not described in detail... I tried these: > > > > /etc/portage/package.provided > > > > >=sys-kernel/gentoo-sources-4.1.6 > > > > Still `emerge -vp gentoo-sources' indicates it will install the most > > recent kernel. > > > > then I noticed the portage man page, under `Format' does say: > > "relational operators are not allowed" > > So I dropped the `>=' part > > > > sys-kernel/gentoo-sources-4.1.6 > > > > Same result from `emerge -vp gentoo-sources' . . . > > > > What am I forgetting? > > > > > > > > > This is how I do this sort of thing. I add the name and version to > package.mask which stops future updates/upgrades. Example, for my > nvidia drivers, this is in package.mask. > > >=x11-drivers/nvidia-drivers-341.0.0 > > That tells portage that anything above that version is masked locally > and not to update it. For what you want, this should work: > > >sys-kernel/gentoo-sources-4.1.6 > > I removed the equal sign since you want to keep that version around but > nothing above it. If portage doesn't like that, you may want to use the > next version up and have the ">=" in front. According to what I have > here, it would be like this: > > >=sys-kernel/gentoo-sources-4.1.12 > > I actually don't show a 4.1.6 here right now. Removed I guess but > likely still works. > > That goes under /etc/portage/ by the way. I think you know that already > but just in case. I have those moments too. ;-) > > That helps?? I think its in /etc/portage/profile instead. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
[gentoo-user] Re: Attic (cvs) -> ???(git)
Rich Freeman gentoo.org> writes: > I used pygit2, but there are a few different implenentations and > plenty of docs online in general. Just emerged this one. thx. > Here is an example program that runs through a history and dumps a > list of commits and their metadata in csv format: > https://github.com/rich0/gitvalidate/blob/master/gitdump/parsetrees.py very nice. I'll have to noodle around a bit with this script and see what I came up with. > There are some other scripts that retrieve blobs and manipulate them > in the same directory. This was part of the validation of the git > migration, which uses a map-reduce algorithm to diff every single > commit in a git history and identify all file revisions (which creates > a cvs-like per-file history which can then be compared with results > obtained from parsing a cvs repository for the same information). The > only single-threaded step in the process is walking the list of > commits - all the diffs can be highly paralleled. There use to be a central repo for many of the common gentoo admin scripts, any idea where it is now that things have move to github? (https://code.google.com/archive/p/genscripts/source) I think there were others. The reason I like those, particularly for new learning like python, is you get to see good and robust scripting styles from the gentoo devs. Really helps when learning something new, even if you have to figure out why things are written in a certain way. > I doubt you need anything quite so fancy. As you can see from the > script pulling metadata out of commits and walking through parents is > pretty easy. ipython is some thing I want to learn by experimentation. > My example doesn't account for merge commits. There weren't any in > the cvs->git migration. Obviously walking commits with merges will > get a lot messier. I do not think I need 'merge commits' for one offs, that is pulling old codes into a development system. Later on, when I get more aggressive, pulling old codes to run on gentoo cluster, I might pester the list seeking more advice. Thanks for the help, and encouragement, James
Re: [gentoo-user] [OT] Any thoughts on Intel Skylake SGX?
On Thu, Feb 25, 2016 at 2:06 PM, Mickwrote: > On Wednesday 24 Feb 2016 19:08:42 Rich Freeman wrote: >> On Wed, Feb 24, 2016 at 4:05 AM, Frank Steinmetzger wrote: >> > Well my concern was more that SGX would provide leverage for even more >> > eavesdropping, rather than prohibit it. >> >> Yeah, I'm one of those persons who tends to consider most fears of >> TPMs and UEFI overblown, but these CPUs that almost have independent >> CPUs inside with full RAM+hardware access which are secured against >> the main CPU do concern me quite a bit. > > You have to see this from a demand angle of the computing market. I suspect > Intel is just responding to market demand for 'better security'. For big > corporates better security means protection from internal (employees) as well > as external threats. Most CIOs would sleep comfortably in the thought that > they can blame Intel when things go sideways and try to keep their jobs among > the blame-fest and ricochets that ensues. Of course our concept of security > (who we trust with our computing) is orthogonal to your average CIO's out > there who are invariably acting as a procurement agent. Dare I observe, we do > not really feature as a target market for Intel. > All they need to do is provide the private key associated with the CPU to the owner upon purchase. In the case of a corporate computer, the corporation gets the keys to the PC. Most people wouldn't bother making any use of the key. However, those who are interested could sign libreboot or whatever with it and now they have full control over their PC. Indeed, they could then use that control to ensure that nobody else goes tampering with their PC, which is in fact the intended purpose of this feature anyway. The problem is that Intel's solution effectively gives them a back-door into everybody's PC. -- Rich
Re: [gentoo-user] [OT] Any thoughts on Intel Skylake SGX?
On Wednesday 24 Feb 2016 19:08:42 Rich Freeman wrote: > On Wed, Feb 24, 2016 at 4:05 AM, Frank Steinmetzgerwrote: > > Well my concern was more that SGX would provide leverage for even more > > eavesdropping, rather than prohibit it. > > Yeah, I'm one of those persons who tends to consider most fears of > TPMs and UEFI overblown, but these CPUs that almost have independent > CPUs inside with full RAM+hardware access which are secured against > the main CPU do concern me quite a bit. You have to see this from a demand angle of the computing market. I suspect Intel is just responding to market demand for 'better security'. For big corporates better security means protection from internal (employees) as well as external threats. Most CIOs would sleep comfortably in the thought that they can blame Intel when things go sideways and try to keep their jobs among the blame-fest and ricochets that ensues. Of course our concept of security (who we trust with our computing) is orthogonal to your average CIO's out there who are invariably acting as a procurement agent. Dare I observe, we do not really feature as a target market for Intel. PS. Thanks Max for sharing a good article on this topic. I am interested to see if similar analysis has been performed on the AMD offerings. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Help installing skype
Both david and alan suggested global icu use flag. Specifically On Thu, Feb 25 2016, David Haller wrote: > Hello, > > On Wed, 24 Feb 2016, allan gottlieb wrote: > [..] >>dev-libs/libxml2:2 >> >> (dev-libs/libxml2-2.9.2-r4:2/2::gentoo, ebuild scheduled for merge) pulled >> in by >> >> dev-libs/libxml2:2[!icu?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >> required by (dev-qt/qtwebkit-4.8.6-r1:4/4::gentoo, ebuild scheduled for >> merge) >> ^ > [..] >> (dev-libs/libxml2-2.9.2-r4:2/2::gentoo, installed) pulled in by >>dev-libs/libxml2:=[icu] required by >> (www-client/chromium-48.0.2564.109:0/0::gentoo, installed) >> ^^^ > > Have you tried building with 'icu' use-flag for libxml2, the gstreamer > stuff and qtwebkit? Try e.g. > > USE="icu" emerge --pretend net-im/skype > > HTH, > -dnh Bingo. When used with alan's list for abi_x86_32 (plus my small addendum) portage is happy. Thank you both allan
Re: [gentoo-user] Re: Attic (cvs) -> ???(git)
On Mon, Feb 22, 2016 at 4:49 PM, Jameswrote: > Rich Freeman gentoo.org> writes: > >> If I were doing anything too >> crazy with all this I'd probably use the python git module. > > dev-python/git-python ??? Any others or related docs/howtos/examples? > I used pygit2, but there are a few different implenentations and plenty of docs online in general. Here is an example program that runs through a history and dumps a list of commits and their metadata in csv format: https://github.com/rich0/gitvalidate/blob/master/gitdump/parsetrees.py There are some other scripts that retrieve blobs and manipulate them in the same directory. This was part of the validation of the git migration, which uses a map-reduce algorithm to diff every single commit in a git history and identify all file revisions (which creates a cvs-like per-file history which can then be compared with results obtained from parsing a cvs repository for the same information). The only single-threaded step in the process is walking the list of commits - all the diffs can be highly paralleled. I doubt you need anything quite so fancy. As you can see from the script pulling metadata out of commits and walking through parents is pretty easy. My example doesn't account for merge commits. There weren't any in the cvs->git migration. Obviously walking commits with merges will get a lot messier. -- Rich
[gentoo-user] bluecherry:: video surveillance package
Hello, So, 'zoneminder' has been in portage for a while now. The problem is this open source software is not really aggressive with support on the 'ip video cams' (h.264) that are available (at least last time I hacked on zoneminder). So Bluecherry seems to have opensourced quite a bit of their linux based (fedora, ubuntu) video surveillance package [1]. Bluecherry appears to leverage QT and mplayer [2]. If Anyone is interested in analog and ip (h.264) video surveillance, take a look at these and other related links to see if there is interest in creating an ebuild for bluecherry client viewing software. We can also discuss options for the video server, container deployment and other ideas. hth, James [1] http://www.bluecherrydvr.com/downloads/ [2] https://github.com/bluecherrydvr/bluecherry-client other links:: www.bluecherrydvr.com/files/BC-H16480A.pdf http://docs.bluecherrydvr.com/article/116-using-the-bluecherry-hardware-compression-open-source-linux-drivers-mpeg-4-h264 http://www.bluecherrydvr.com/bluecherry-releases-its-cross-platform-video-surveillance-client-open-source/
[gentoo-user] Re: Attic (cvs) -> ???(git)
walt gmail.com> writes: > > So using wget to fetch {package/files} from the gentoo attic was/is a > > reliable exercise to build things removed from the tree, into one's > > /usr/local/portage tree. It still works > Hi James. I need a version of net-libs/gnutls from before the switch > to git. Could I trouble you for an example of how you use wget? So > far my googling hasn't even revealed the URL of the attic :-/ Sure, I do it file by file; here is one of the 'files' (patches) I pulled down for 'showconsole' now also deprecated: wget http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-admin/showconsole/files/1.07-no-TIOCGDEV.patch > Thanks for any hints. If I know a package is going to be removed, I just emerge it and then copy everything to /usr/local/portage// prior to removal. Hit me up with any other questions.. hth, James
Re: [gentoo-user] Help installing skype
On 25/02/2016 03:05, allan gottlieb wrote: On Wed, Feb 24 2016, Alan McKinnon wrote: A finite subset of this package.use file will let skype install, followed of course by emerge skype. I arrived at this list the long hard way, repeatedly running emerge and adding stuffs still portage stopped it's whinging. The worst part is Qt and X11 as skype is a Qt app and no longer bundles a local copy of Qt. I tried your list. It needed a few more. When I added them, a slot conflict again. If this is easy to explain and fix, please let me know; but this is not a do or die effort. I'm not at that machine right now so I can't check what I have in package.use for "icu". You seem to have inconsistencies with USE="icu", perhaps gst-plugins-base wants it off and chromium wants it on. You might need icu in USE globally. thanks for everyone's help. allan !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-libs/libxml2:2 (dev-libs/libxml2-2.9.2-r4:2/2::gentoo, ebuild scheduled for merge) pulled in by dev-libs/libxml2:2[!icu?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (dev-qt/qtwebkit-4.8.6-r1:4/4::gentoo, ebuild scheduled for merge) ^ >=dev-libs/libxml2-2.9.1-r4:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (media-libs/gst-plugins-base-0.10.36-r2:0.10/0.10::gentoo, ebuild scheduled for merge) >=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (media-libs/gstreamer-0.10.36-r2:0.10/0.10::gentoo, ebuild scheduled for merge) (dev-libs/libxml2-2.9.2-r4:2/2::gentoo, installed) pulled in by dev-libs/libxml2:=[icu] required by (www-client/chromium-48.0.2564.109:0/0::gentoo, installed) ^^^ dev-libs/libxml2:2/2=[icu] required by (www-client/chromium-48.0.2564.109:0/0::gentoo, installed) ^^^
Re: [gentoo-user] using package.provided
On Wed, 24 Feb 2016 22:55:30 -0500, Harry Putnam wrote: > I'd like to stay on kernel-4.1.6, rather than keep installing the > newest version at each upgrade. > > As I recall, and a quick look at `man portage', a file named > `package.provided' is meant for such things. No it's not. package.provided is for when you install a package from outside of portage and want to let portage know it is installed. > The syntax is not described in detail... I tried these: > > /etc/portage/package.provided The file is /etc/portage/profile/package.provided > > >=sys-kernel/gentoo-sources-4.1.6 and it only allows specific atoms, =cat/pkg > Still `emerge -vp gentoo-sources' indicates it will install the most > recent kernel. You want to use /etc/portage/package.mask, with this entry >sys-kernel/gentoo-sources-4.1.6 One of the disadvantages of this is that when that particular version is removed from the tree, portage will try to downgrade, because you has blocked an upgrade. To avoid this, copy the ebuild to a local overlay so it is always available. You'll also miss out on any security updates etc, but I guess you have already considered that. -- Neil Bothwick If Wile E. Coyote had enough money to buy all that ACME crap, why didn't he just buy dinner? pgpxg6Hpw6Bem.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Print quality unreadable in Firefox
Peter Humphrey wrote: > On Thursday 25 February 2016 02:12:16 Dale wrote: > >> What is this font group switching thingy? > Eselect fontconfig list > Interesting. A whole bunch of mine was not enabled. I fixed it. I'm glad I read some threads that I can't help on. I had forgot all about this but do seem to recall reading about it ages ago. Thanks. Dale :-) :-)
Re: [gentoo-user] Print quality unreadable in Firefox
On Thursday 25 February 2016 02:12:16 Dale wrote: > What is this font group switching thingy? Eselect fontconfig list -- Rgds Peter
[SOLVED] Re: [gentoo-user] Re: [OT] thunderbird stop working
On 2016-02-22 12:14, Nikos Chantziaras wrote: On 22/02/16 13:02, p...@xvalheru.org wrote: Hi, Sorry for such stupid question, but I'm lost :-( I'm using thunderbird and recently I'm not able to login to mail server. Server configuration doesn't changed. I've changed password only, but typing new password doesn't log me in :-( What makes me worry is the text in login dialogue: "Enter your password for @@:". Could someone help? Inspect the account details (Edit->Account Settings). Make sure everything is set up correctly there. Once again sorry for such question, the admins switch to ugly office 365 and help desk doesn't know about that :-( Thanks and sorry Pat Freehosting PIPNI - http://www.pipni.cz/
Re: [gentoo-user] Print quality unreadable in Firefox
Daniel Frey wrote: > On 02/23/2016 07:40 PM, Michael Orlitzky wrote: >> On 02/23/2016 09:43 PM, Daniel Frey wrote: >>> Lo and behold, it's not showing a bitmap font now: >>> >>> - >>> # fc-match helvetica >>> n019003l.pfb: "Nimbus Sans L" "Regular" >>> - >>> >>> I don't know if the font mapping is correct, but I refreshed a page on >>> bugs.g.o and I can print to PDF without the blocky fonts! So I don't >>> really care if the font mapping is correct now. I can print again! :-) >>> >> Amazing, I guess I can stop bringing a JPEG of my boarding pass to the >> airport now. >> >> > >>> SNIP>>> > I didn't even know you could use eselect to toggle > font groups until yesterday, and I've been using gentoo since 2003... I > figured if you installed fonts it would use them but that's not the case! > > Oh well, learn something new every day. Now I just have to remember the > old thing I forgot because of this new thing I learned... sigh. > > Huh? What is this font group switching thingy? I been using Gentoo for about as long as you and I've never heard of such a thing either. Of course, I rarely print anything either. Right now, I'm trying to figure out if this third cartridge to go bad in a few days of use is a cartridge problem or a printer rolling up with all four feet in the air. Hard to believe a cartridge can go bad that fast. Dale :-) :-)
Re: [gentoo-user] Help installing skype
Hello, On Wed, 24 Feb 2016, allan gottlieb wrote: [..] >dev-libs/libxml2:2 > > (dev-libs/libxml2-2.9.2-r4:2/2::gentoo, ebuild scheduled for merge) pulled > in by > > dev-libs/libxml2:2[!icu?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] > required by (dev-qt/qtwebkit-4.8.6-r1:4/4::gentoo, ebuild scheduled for > merge) > ^ [..] > (dev-libs/libxml2-2.9.2-r4:2/2::gentoo, installed) pulled in by >dev-libs/libxml2:=[icu] required by > (www-client/chromium-48.0.2564.109:0/0::gentoo, installed) > ^^^ Have you tried building with 'icu' use-flag for libxml2, the gstreamer stuff and qtwebkit? Try e.g. USE="icu" emerge --pretend net-im/skype HTH, -dnh -- "Powered-up hardware and sweat do not mix." -- Simon Cozens