public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-portage/epm/files: epm-1.40-prefix.patch
@ 2013-02-01 20:53 Paul Varner (fuzzyray)
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Varner (fuzzyray) @ 2013-02-01 20:53 UTC (permalink / raw
  To: gentoo-commits

fuzzyray    13/02/01 20:53:40

  Added:                epm-1.40-prefix.patch
  Log:
  Version bump to fix long standing issues. Changed maintainer to Peter Weilbacher. Fixs bugs 73494, 93843, and 153921.
  
  (Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key 0x4D269A1B)

Revision  Changes    Path
1.1                  app-portage/epm/files/epm-1.40-prefix.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/epm/files/epm-1.40-prefix.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/epm/files/epm-1.40-prefix.patch?rev=1.1&content-type=text/plain

Index: epm-1.40-prefix.patch
===================================================================
--- epm.orig	2012-12-27 21:21:51.288350173 -0700
+++ epm	2012-12-27 21:26:51.429905384 -0700
@@ -7,13 +7,13 @@
 # Global vars
 (my $version = '$Revision: 1.1 $') =~ s/.*?(\d.*\d).*/EPM version $1/;
 my $verbose = 0;
-my $dbpath = '/var/db/pkg';
+my $dbpath = '@GENTOO_PORTAGE_EPREFIX@/var/db/pkg';
 my $pkgregex =
     '^.+?\/'.					# group (ignored)
     '(.+?)'.					# name
     '-(\d+(?:\.\d+)*\w*)'.			# version, eg 1.23.4a
     '((?:(?:_alpha|_beta|_pre|_rc)\d*)?)'.	# special suffix
-    '((?:-r\d+)?)$';				# revision, eg r12
+    '((?:-r\d+)?(?:\.\d+)?)$';			# revision, eg r12 or r01.1
 my $root = '/';
 my %opt = (
     'dbpath' => \$dbpath,
@@ -267,11 +267,11 @@
     if ($opt{'c'}) {
 	# Read in CONFIG_PROTECT from /etc/make.{global,conf}
 	my (@CONFIG_PROTECT) = split ' ',
-	    `. /etc/make.globals; . /etc/make.conf; echo \$CONFIG_PROTECT`;
+	    `. @GENTOO_PORTAGE_EPREFIX@/etc/make.globals; .  @GENTOO_PORTAGE_EPREFIX@/etc/make.conf; echo \$CONFIG_PROTECT`;
 	die "CONFIG_PROTECT is empty" unless @CONFIG_PROTECT;
 	my ($confprotre) = join '|', @CONFIG_PROTECT;
 	@files = grep {
-	    (split ' ', $_, 2)[1] =~ /^($confprotre)/o } @files;
+	    (split ' ', $_, 2)[1] =~ m!^@GENTOO_PORTAGE_EPREFIX@($confprotre)!o } @files;
     }
 
     # Trim @files if doc files requested





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-portage/epm/files: epm-1.40-prefix.patch
@ 2014-09-26 19:59 Ian Stakenvicius (axs)
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Stakenvicius (axs) @ 2014-09-26 19:59 UTC (permalink / raw
  To: gentoo-commits

axs         14/09/26 19:59:27

  Removed:              epm-1.40-prefix.patch
  Log:
  dropping file temporarily to adjust sticky options


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-26 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-01 20:53 [gentoo-commits] gentoo-x86 commit in app-portage/epm/files: epm-1.40-prefix.patch Paul Varner (fuzzyray)
  -- strict thread matches above, loose matches on Subject: below --
2014-09-26 19:59 Ian Stakenvicius (axs)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox