diff options
author | psyc://loupsycedyglgamf.onion/~lynX <BM-NB7xa9gEpmJgYp9PVnEdACiZcGmmEJcY> | 2016-06-11 18:58:55 +0200 |
---|---|---|
committer | psyc://loupsycedyglgamf.onion/~lynX <BM-NB7xa9gEpmJgYp9PVnEdACiZcGmmEJcY> | 2016-06-11 18:58:55 +0200 |
commit | 7b9a5e2aca33ca86097f465bd18041b80fa43144 (patch) | |
tree | 73d68965e942de188b8c7ada34d1997b322672ed /dev-perl | |
parent | 7fbb34263229e99dcca97b17eb8a762aef61c747 (diff) | |
download | youbroketheinternet-overlay-7b9a5e2aca33ca86097f465bd18041b80fa43144.tar.gz youbroketheinternet-overlay-7b9a5e2aca33ca86097f465bd18041b80fa43144.zip |
perlpsyc ebuild. portage fix to generally support git via Tor.
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/Net-PSYC/Net-PSYC-20160611.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-perl/Net-PSYC/Net-PSYC-20160611.ebuild b/dev-perl/Net-PSYC/Net-PSYC-20160611.ebuild new file mode 100644 index 0000000..dde06fc --- /dev/null +++ b/dev-perl/Net-PSYC/Net-PSYC-20160611.ebuild | |||
@@ -0,0 +1,57 @@ | |||
1 | # Copyright 1999-2016 Gentoo Foundation | ||
2 | # Distributed under the terms of the GNU General Public License v2 | ||
3 | |||
4 | EAPI=6 | ||
5 | |||
6 | DESCRIPTION="Perl implementation of PSYC protocol plus psycion, remotor, psycmp3 etc." | ||
7 | HOMEPAGE="http://perlpsyc.pages.de" | ||
8 | LICENSE="GPL-2+ Artistic" | ||
9 | |||
10 | # our version of eclass/git-r3 supports onion gits: | ||
11 | EGIT_REPO_URI="git://cheettyiapsyciew.onion/perlpsyc | ||
12 | git://git.psyced.org/git/perlpsyc" | ||
13 | |||
14 | # providing actual commit hashes protects against man in | ||
15 | # the middle attacks on the way to the git repository -- | ||
16 | # then again, apparently a 'git fsck' is necessary to | ||
17 | # detect manipulated repositories --lynX | ||
18 | case ${PV} in | ||
19 | "20160611") | ||
20 | inherit git-r3 user | ||
21 | EGIT_COMMIT="482ac3b9994de468b61646b25f08ed2244540690" | ||
22 | ;; | ||
23 | # "20160525") | ||
24 | # inherit user | ||
25 | # SRC_URI="http://www.${PN}.org/files/${P}.tar.bz2" | ||
26 | # ;; | ||
27 | *) | ||
28 | inherit git-r3 user | ||
29 | # last seen change | ||
30 | EGIT_COMMIT="482ac3b9994de468b61646b25f08ed2244540690" | ||
31 | # therefore, for security reasons "9999" doesn't actually | ||
32 | # emerge the latest version. please consult 'git log' and | ||
33 | # update the last EGIT_COMMIT to obtain a newer version. | ||
34 | # to obtain the commit of a particular release, execute | ||
35 | # 'git tag', 'git reset --hard <tag>', then 'git log'. | ||
36 | ;; | ||
37 | esac | ||
38 | |||
39 | SLOT="0" | ||
40 | KEYWORDS="~x86 ~ppc ~amd64" | ||
41 | # IUSE="debug" | ||
42 | |||
43 | # some perl library items used by some scripts.. FIXME | ||
44 | DEPEND="dev-lang/perl" | ||
45 | # also an optional dependency for rxaudio-bin | ||
46 | |||
47 | src_compile() { | ||
48 | # extra check for cryptographic consistency | ||
49 | git fsck | ||
50 | } | ||
51 | |||
52 | src_install() { | ||
53 | dobin bin/* | ||
54 | doins -r lib | ||
55 | dodoc -r README TODO cgi contrib hooks | ||
56 | } | ||
57 | |||