1 |
commit: f82deeafdd9ec33fd478eca1d9f981a8a2124525 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 23 20:12:29 2016 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 23 20:12:47 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f82deeaf |
7 |
|
8 |
mail-filter/spamassassin: new revision with fixed packlist. |
9 |
|
10 |
SpamAssassin, being a perl package, installs a ".packlist" file. By |
11 |
default that file contains paths from ${D}, our temporary installation |
12 |
directory. This new revision adds a call to perl_fix_packlist() from |
13 |
the perl-functions eclass, which replaces those incorrect paths with |
14 |
the correct ones on the root filesystem. |
15 |
|
16 |
Package-Manager: portage-2.3.0 |
17 |
|
18 |
...massassin-3.4.1-r9.ebuild => spamassassin-3.4.1-r10.ebuild} | 10 +++++++++- |
19 |
1 file changed, 9 insertions(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/mail-filter/spamassassin/spamassassin-3.4.1-r9.ebuild b/mail-filter/spamassassin/spamassassin-3.4.1-r10.ebuild |
22 |
similarity index 93% |
23 |
rename from mail-filter/spamassassin/spamassassin-3.4.1-r9.ebuild |
24 |
rename to mail-filter/spamassassin/spamassassin-3.4.1-r10.ebuild |
25 |
index 44e7f29..9ba34fc 100644 |
26 |
--- a/mail-filter/spamassassin/spamassassin-3.4.1-r9.ebuild |
27 |
+++ b/mail-filter/spamassassin/spamassassin-3.4.1-r10.ebuild |
28 |
@@ -213,8 +213,16 @@ src_install () { |
29 |
update-spamassassin-rules |
30 |
fi |
31 |
|
32 |
- # Remove perllocal.pod to avoid file collisions (bug #603338) |
33 |
+ # Remove perllocal.pod to avoid file collisions (bug #603338). |
34 |
perl_delete_localpod || die "failed to remove perllocal.pod" |
35 |
+ |
36 |
+ # The perl-module eclass calls three other functions to clean |
37 |
+ # up in src_install. The first fixes references to ${D} in the |
38 |
+ # packlist, and is useful to us, too. The other two functions, |
39 |
+ # perl_delete_emptybsdir and perl_remove_temppath, don't seem |
40 |
+ # to be needed: there are no empty directories, *.bs files, or |
41 |
+ # ${D} paths remaining in our installed image. |
42 |
+ perl_fix_packlist || die "failed to fix paths in packlist" |
43 |
} |
44 |
|
45 |
src_test() { |