Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534244 - net-misc/tor - add epatch_user
Summary: net-misc/tor - add epatch_user
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-01 20:38 UTC by Hristo Venev
Modified: 2015-01-03 15:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hristo Venev 2015-01-01 20:38:51 UTC
--- a/net-misc/tor/tor-0.2.6.2_alpha.ebuild
+++ b/net-misc/tor/tor-0.2.6.2_alpha.ebuild
@@ -4,7 +4,7 @@
 
 EAPI="5"
 
-inherit eutils flag-o-matic readme.gentoo systemd toolchain-funcs versionator user
+inherit base flag-o-matic readme.gentoo systemd toolchain-funcs versionator user
 
 MY_PV="$(replace_version_separator 4 -)"
 MY_PF="${PN}-${MY_PV}"
@@ -35,9 +35,9 @@
        enewuser tor -1 -1 /var/lib/tor tor
 }
 
-src_prepare() {
-       epatch "${FILESDIR}"/${PN}-0.2.3.14_alpha-torrc.sample.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.2.3.14_alpha-torrc.sample.patch
+)
 
 src_configure() {
        # Upstream isn't sure of all the user provided CFLAGS that


Reproducible: Always
Comment 1 Anthony Basile gentoo-dev 2015-01-03 15:54:33 UTC
I added it to tor-0.2.6.2_alpha.ebuild without a rev bump.  Please resync to get it.  No need to change things up, just use epathc_user in src_prepare.