06-23-2011
Your options are to use a Satellite Server or to cobble something together with Puppet/Yum/cobbler.
You can use Spacewalk (Because Satellite is a bit expensive) if you have an RHN subscription and download all packages yourself, manually or by scripting it.
This User Gave Thanks to mark54g For This Post:
6 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a suse linux 9(SLES 9)
I have configured "YOU" (yast online update) and it all working fine, synchronising on a daily base with http://sdb.suse.de/download but I would like to know if they is a tools or scripts that inform you of any patches that has not been applied and notify you via... (0 Replies)
Discussion started by: hassan1
0 Replies
2. Solaris
Does anyone know where I can download this software from , or is it part of a software package that has to be bought.
Thanks (0 Replies)
Discussion started by: markdr011
0 Replies
3. UNIX for Advanced & Expert Users
Hi,
I just wanted to know is there any tool avaliable for core analysis on hp-ux. I have heard about q4 utility. But I think it is used for analysis of system crash dump and not for core dump produced by a user process.
gdb doesn't give much information unless the binary is debug-build.
... (0 Replies)
Discussion started by: shriashishpatil
0 Replies
4. Linux
I was wondering how everyone else manages patching/upgrades for apache.
Latest doesnt mean greatest, we typically dont install the newest patches for our OS's. We typically run 3-6 months behind, to let fixes get fixed before installing them.
Does anyone here have a written detailed plan... (0 Replies)
Discussion started by: Ikon
0 Replies
5. Solaris
I have found 3 different tools to patch Solaris 9:
1. Patch Check Advanced (PCA) by Martin Paul
BigAdmin: Solaris Information Center - Patching Support
Patch Check Advanced
2. Update Manager from Sun
Sun Connection
3. pkg-get, wget, etc. from Blastwave.org
Blastwave.org - How to get... (2 Replies)
Discussion started by: johne1
2 Replies
6. Red Hat
Other than looking at the dates when pkgs were applied in /var/log/yum.log* how can I tell when the last time a RedHat system was patched? My systems don't have regular access to the web.
Thanks in advance.
---------- Post updated at 02:37 PM ---------- Previous update was at 02:27 PM... (0 Replies)
Discussion started by: toor13
0 Replies
LEARN ABOUT PHP
xdiff_string_patch
XDIFF_STRING_PATCH(3) 1 XDIFF_STRING_PATCH(3)
xdiff_string_patch - Patch a string with an unified diff
SYNOPSIS
string xdiff_string_patch (string $str, string $patch, [int $flags], [string &$error])
DESCRIPTION
Patches a $str string with an unified patch in $patch parameter and returns the result. $patch has to be an unified diff created by
xdiff_file_diff(3)/xdiff_string_diff(3) function. An optional $flags parameter specifies mode of operation. Any rejected parts of the patch
will be stored inside $error variable if it is provided.
PARAMETERS
o $str
- The original string.
o $patch
- The unified patch string. It has to be created using xdiff_string_diff(3), xdiff_file_diff(3) functions or compatible tools.
o $flags
-$flags can be either XDIFF_PATCH_NORMAL (default mode, normal patch) or XDIFF_PATCH_REVERSE (reversed patch). Starting from ver-
sion 1.5.0, you can also use binary OR to enable XDIFF_PATCH_IGNORESPACE flag.
o $error
- If provided then rejected parts are stored inside this variable.
RETURN VALUES
Returns the patched string, or FALSE on error.
EXAMPLES
Example #1
xdiff_string_patch(3) example
The following code applies changes to some article.
<?php
$old_article = file_get_contents('./old_article.txt');
$diff = $_SERVER['patch']; /* Let's say that someone pasted a patch to html form */
$errors = '';
$new_article = xdiff_string_patch($old_article, $diff, XDIFF_PATCH_NORMAL, $errors);
if (is_string($new_article)) {
echo "New article:
";
echo $new_article;
}
if (strlen($errors)) {
echo "Rejects:
";
echo $errors;
}
?>
SEE ALSO
xdiff_string_diff(3).
PHP Documentation Group XDIFF_STRING_PATCH(3)