auto-patch-portage

Description

The auto-patch-portage utility, usually located at /usr/bin/auto-patch-portage, is used to synchronise the patch repository and apply those patches to a portage repository.

Use

The auto-patch-portage utility can be used to perform two distinct tasks. The first, an example of which is given below, is to maintain an up to date local copy of the remote patch repository in the same way that the emerge --sync command is used to maintain an up to date copy of the portage repository.

build auto-patch-portage --sync
Synchronising patch repository...ok. 

The second function of the auto-patch-portage utility is to copy the ancillary files and apply the patches from the local patch repository to a portage repository. As you can see from the example below both of these actions are controlled individually however when both are specified the copy operation will always be performed before the patch operation.

build auto-patch-portage --copy-files --apply-patches
Copying file : 
    sys-apps/baselayout/files/remount-ro-bind-mounts.patch - copy - ok. 
 
Applying patch app-admin/syslog-ng/files/syslog-ng.confd to : 
    app-admin/syslog-ng/files/syslog-ng.confd - ok. 
 
Applying patch app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3* to : 
    app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3 - ok. 
    app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3.0 - ok. 
 
Applying patch app-admin/syslog-ng/files/syslog-ng.rc6.3.0-r* to : 
    app-admin/syslog-ng/files/syslog-ng.rc6.3.0-r1 - ok. 
 
Applying patch app-admin/syslog-ng/syslog-ng-3.1.1.ebuild to : 
    app-admin/syslog-ng/syslog-ng-3.1.1.ebuild - ok. 
 
Applying patch app-admin/syslog-ng/syslog-ng-3.1.2.ebuild to : 
    app-admin/syslog-ng/syslog-ng-3.1.2.ebuild - ok. 
 
Applying patch mail-filter/maildrop/maildrop-2.*.ebuild to : 
    mail-filter/maildrop/maildrop-2.4.2.ebuild - ok. 
 
Applying patch profiles/repo_name to : 
    profiles/repo_name - ok. 
 
Applying patch sys-apps/baselayout/baselayout-1.*.ebuild to : 
    sys-apps/baselayout/baselayout-1.11.15-r3.ebuild - ok. 
    sys-apps/baselayout/baselayout-1.12.11.1.ebuild - ok. 
    sys-apps/baselayout/baselayout-1.12.12.ebuild - ok. 
    sys-apps/baselayout/baselayout-1.12.13.ebuild - ok. 
 
Rebuilding manifest file for : 
    sys-apps/baselayout - ok. 
    app-admin/syslog-ng - ok. 
    mail-filter/maildrop - ok.