Sponsored Content
The Lounge What is on Your Mind? Announcement: New Discourse Site to Go Live this Weekend Post 303045426 by sea on Friday 20th of March 2020 10:57:02 AM
Old 03-20-2020
Wait, we'll get a new url?
Or will 'this page' just move to an archive dir?
 

5 More Discussions You Might Find Interesting

1. Web Development

Setting up Development and Live web site environment

Hi, I am fairly new to unix so please go easy on me.. I have a VPS on which I would like to setup a development and live web site environment and can't seem to work out what is the best technique for doing so. I would like to be able to mirror the live site and have a "check out" and... (0 Replies)
Discussion started by: ciantrius
0 Replies

2. IP Networking

How to establish site to site vpn - Linux machine and cisco asa?

Hi, I am trying to establish vpn between my linux server and cisco asa at client side. I installed openswan on my cent os. Linux Server eth0 - 182.2.29.10 Gateway - 182.2.29.1 eth1 - 192.9.200.75 I have simple IPtables Like WAN="eth0" LAN="eth1" (0 Replies)
Discussion started by: ashokvpp
0 Replies

3. IP Networking

Does cisco 1921 router support site to site VPNs using IPSec?

Q: "Does Cisco 1921 router support,, act as an endpoint for, site to site VPNs using IPSec? If so, how many? " A: If you get the Cisco 1921/k9 with the security services bundle then it will have built in security features. Cisco, typically includes IP Sec tunnels I believe as part of that... (0 Replies)
Discussion started by: Ayaerlee
0 Replies

4. IP Networking

IPSec Openswan Site to Site VPN - Big Pain

Hi @all, I try to connect 2 LANs with IPSec/Openswan LAN 1: 192.168.0.0/24 LAN 2: 192.168.1.0/24 This is my Config: conn HomeVPN # # Left security gateway, subnet behind it, nexthop toward right. left=192.168.1.29 ... (1 Reply)
Discussion started by: bahnhasser83
1 Replies

5. What is on Your Mind?

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates In this version of the UserCP, I have changed "Live Chat" to "Live Updates" by disabling the ability to post in the "live chat" area and changed the name to "Live Updates" The reason for this change is that experienced... (6 Replies)
Discussion started by: Neo
6 Replies
Arch::Registry(3pm)					User Contributed Perl Documentation				       Arch::Registry(3pm)

NAME
Arch::Registry - manage registered archives, search archives on the web SYNOPSIS
use Arch::Registry; my $registry = Arch::Registry->new; my %archive_locations = $registry->registered_archives; $registry->register_archive('http://john.com/archives/main'); $registry->unregister_archive('john@mail.com--tux'); %archive_locations = $registry->supermirror_archives; die $registry->web_error if $registry->web_error; my @john_versions = @{ $registry->supermirror_archive_versions->{'john@mail.com--tux') }; my $archives = $registry->search_supermirror('.*', '--cset-gui--'); die $registry->web_error unless defined $archives; my $versions = $registry->search_supermirror('john@', '^tla', 1); print map { "$_ " } @$versions; # print john@mail.com--tux/tla... DESCRIPTION
This class provides the way to register and unregister GNU Arch archives for the caller user and list all registered archives. It also provides the way to search the supermirror (currently mirrors.sourcecontrol.net) by archive name or archive/category/branch/version regexp. METHODS
The following class methods are available: new, register_archive, unregister_archive, registered_archives, set_web_cache, flag_web_cache, supermirror_archives, supermirror_archive_versions, search_supermirror, web_error. new Construct Arch::Registry object. register_archive location [archive] Register archive at the given location and optional archive (if missing then the location is actually accessed to find the archive name). Returns true on success. unregister_archive archive Unregister archive. Returns true on success. registered_archives Returns a hash (or hashref in scalar context) of registered archives, that is pairs archive => location. set_web_cache [ named-values ] Define the web cache to use with operations on the supermirror. The keys of named-values are dir (the web cache directory) and ttl (time to live in minutes). If named-values is empty or misses dir, or dir does not exist, the cache is unset. This method has a side effect of forgetting memoized real-web-or-cache content fetches. So you may call it with or without parameters to reset the memoized values, although this should rarely be needed. flag_web_cache [value] Turn on or off the web cache depending on the parameter. value may be "enabled", "disabled", "nowrite" and "noread". Additionally, the false value will be taken as "disabled", the true value as "enabled". supermirror_archives Returns a hash (or hashref in scalar context) of archives mirrored on the supermirror, that is pairs archive => location. supermirror_archive_versions Returns a hashref of archives mirrored on the supermirror and all their versions, that is pairs archive => [ version, .. ]. search_supermirror search_supermirror archive_regexp search_supermirror archive_regexp version_regexp search_supermirror archive_regexp version_regexp return_versions Search the archives (and possibly their branches/versions) by archive and version regular expressions given. If return_versions is unset, returns arrayref that is all matching [ archive, .. ]. If return_versions is set to 'joined', returns arrayref that is all matching [ archive/version, .. ]. If return_versions is set to 'hashref', returns hashref similar to supermirror_archive_versions that is all matching { archive => [ version, .. ], ... }. If web_error occurred, returns undef. archive_regexp defaults to "any", version_regexp defaults to "any", return_versions defaults to false. web_error Returns the string containing the error while fetching one or another supermirror url (the last one). Returns undef if no error occured. BUGS
Waiting for your reports. AUTHORS
Mikhael Goikhman (migo@homemail.com--Perl-GPL/arch-perl--devel). SEE ALSO
For more information, see tla, Arch::Util, Arch::LiteWeb. perl v5.10.1 2005-05-13 Arch::Registry(3pm)
All times are GMT -4. The time now is 07:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy