Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^13: Change in Berkeley DB in Perl 5.12?

by Anonymous Monk
on Dec 23, 2011 at 18:08 UTC ( #944947=note: print w/replies, xml ) Need Help??


in reply to Re^12: Change in Berkeley DB in Perl 5.12?
in thread Change in Berkeley DB in Perl 5.12?

Just in case you're wondering, maybe the license changed, it hasn't

curent license http://www.oracle.com/technetwork/database/berkeleydb/downloads/oslicense-093458.html Open Source License for Berkeley DB

original license http://web.archive.org/web/20060315212050/http://www.sleepycat.com/company/oslicense.html Open Source License for Berkeley DB

$ diff license-BerkeleyDB-2005.txt license-BerkeleyDB-2011.txt 3,4c3,4 < * Copyright (c) 1990-2005 < * Sleepycat Software. All rights reserved. --- > * Copyright (c) 1990-2009 > * Oracle Corporation. All rights reserved. 25c25 < * THIS SOFTWARE IS PROVIDED BY SLEEPYCAT SOFTWARE ``AS IS'' AND ANY + EXPRESS --- > * THIS SOFTWARE IS PROVIDED BY ORACLE CORPORATION ``AS IS'' AND ANY + EXPRESS 28c28 < * NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL SLEEPYCAT SO +FTWARE --- > * NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL ORACLE CORPO +RATION 39c39 < * The Regents of the University of California. All rights reser +ved. --- > * The Regents of the University of California. All rights res +erved. 67c67 < * The President and Fellows of Harvard University. All rights r +eserved. --- > * The President and Fellows of Harvard University. All rights + reserved.

Replies are listed 'Best First'.
Re^14: Change in Berkeley DB in Perl 5.12?
by BrowserUk (Pope) on Dec 23, 2011 at 18:18 UTC

    It's just a shame that you can't download it for free any more since Oracle got their grubby mitts on it.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      It's just a shame that you can't download it for free any more since Oracle got their grubby mitts on it.

      I think you can

      http://www.oracle.com/technetwork/database/berkeleydb/downloads/

      free Oracle account (mailme mailer) http://download.oracle.com/otn/berkeley-db/db-5.2.36.tar.gz.md5

      direct http://download.oracle.com/berkeley-db/db-5.2.36.tar.gz.md5

        Clicking any of the downloads via your first link result in redirection to an Oracle Access Manager page that reports: "System error. Please re-try your action. If you continue to get this error, please contact the Administrator."

        Your second link redirects to the same place immediately.

        Your third link actually results in a download. But it is a file called: C:\Downloaded\db-5.2.36.tar.gz.gz (note that the .md5 suffix has been replaced by a second '.gz' suffix), which is a whole 51 bytes. So unless the doubled .gz means that they've come up with some remarkable compression algorithm, it is doubtful if that contains any of the DB files which are listed as ranging from 12 to 45MB (compressed).

        Free doesn't just mean 'costs nothing'.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

        The start of some sanity?

        #!/usr/bin/perl -- use LWP::Simple qw/ get mirror $ua /; $ua->show_progress(1); my $html = get( q{http://www.oracle.com/technetwork/database/berkeleyd +b/downloads/} ); if( my( $current ) = $html =~ m{href=\x22http[^\x22]+?/([^/]+md5)\x22} +i ){ print "$current\n"; die "UHOH " if $current =~ /[^a-zA-Z0-9\.\-]/; mirror( "http://download.oracle.com/berkeley-db/$current", $curren +t ); $current =~ s/\.md5$//i; mirror( "http://download.oracle.com/berkeley-db/$current", $curren +t ); } __END__ ** GET http://www.oracle.com/technetwork/database/berkeleydb/downloads +/ ==> 301 Moved Permanently ** GET http://www.oracle.com/technetwork/database/berkeleydb/downloads +/index.html ==> 200 OK (1s) db-5.2.36.tar.gz.md5 ** GET http://download.oracle.com/berkeley-db/db-5.2.36.tar.gz.md5 ==> + 304 Not Modified ** GET http://download.oracle.com/berkeley-db/db-5.2.36.tar.gz ==> 304 + Not Modified

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://944947]
help
Chatterbox?
[Corion]: But yes, "who started this process" is interesting information :)
[tye]: no, I really believe that "login user" was added as a fundamental bit of info about each process in order to enhance the usefulness of auditing
[Corion]: Ah - if that information is saved in a file, then you could theoretically spam that file and confuse getlogin(). So, don't use it for authentication :)
[tye]: that is what getlogin() certainly *used* to do. I don't believe that is what it certainly should do.
[davido]: /var/run/utmp is 664 i think.
[tye]: Note that my "man getlogin" says that it uses stdin when it should use /dev/tty (calling a glibc bug). But that does not appear to be the case when I test it. But maybe Perl's getlogin() is not using glibc's getlogin().
[oiskuu]: well, run a strace and see what the getlogin does for you.... As I said. SELinux probably has those security labels. But not regular linux.
[tye]: for example, read https://unix. stackexchange.com/ questions/146138/ loginuid-should-be -allowed-to-change -or-not-mutable-or -not
[tye]: I'm not using SELinux and it certainly appears to disagree with you. shrug
[tye]: Since you brought up /proc, oiskuu, I didn't see you respond to my suggestion of 'loginuid'. Does your /proc not have such?

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2017-06-23 19:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.