diff options
author | psyc://loupsycedyglgamf.onion/~lynX <BM-NB7xa9gEpmJgYp9PVnEdACiZcGmmEJcY> | 1984-04-04 00:44:08 +0000 |
---|---|---|
committer | psyc://loupsycedyglgamf.onion/~lynX <BM-NB7xa9gEpmJgYp9PVnEdACiZcGmmEJcY> | 1984-04-04 00:44:08 +0000 |
commit | b8a21f746c196ed46cb50404549c8dd351156e0b (patch) | |
tree | 8bc4b3042bcd312708069f502809b6287d836eb2 /dev-perl | |
parent | 7d82a994421f77d1e00019e10f8927bc5b0e4f2b (diff) | |
download | youbroketheinternet-overlay-b8a21f746c196ed46cb50404549c8dd351156e0b.tar.gz youbroketheinternet-overlay-b8a21f746c196ed46cb50404549c8dd351156e0b.zip |
gnunet, gnurl and perlpsyc updates
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/Net-PSYC/Net-PSYC-20160819.ebuild | 13 | ||||
-rw-r--r-- | dev-perl/Net-PSYC/Net-PSYC-20170117.ebuild | 70 |
2 files changed, 78 insertions, 5 deletions
diff --git a/dev-perl/Net-PSYC/Net-PSYC-20160819.ebuild b/dev-perl/Net-PSYC/Net-PSYC-20160819.ebuild index 7c81a03..760cf34 100644 --- a/dev-perl/Net-PSYC/Net-PSYC-20160819.ebuild +++ b/dev-perl/Net-PSYC/Net-PSYC-20160819.ebuild | |||
@@ -16,8 +16,7 @@ EGIT_REPO_URI="/usr/local/src/perlpsyc | |||
16 | git://git.cheettyiapsyciew.onion/perlpsyc | 16 | git://git.cheettyiapsyciew.onion/perlpsyc |
17 | git://git.psyced.org/git/perlpsyc" | 17 | git://git.psyced.org/git/perlpsyc" |
18 | 18 | ||
19 | inherit git-r3 user | 19 | inherit git-r3 user perl-module |
20 | #inherit perl-module | ||
21 | 20 | ||
22 | # providing actual commit hashes protects against man in | 21 | # providing actual commit hashes protects against man in |
23 | # the middle attacks on the way to the git repository -- | 22 | # the middle attacks on the way to the git repository -- |
@@ -27,9 +26,12 @@ case ${PV} in | |||
27 | "20160819") | 26 | "20160819") |
28 | EGIT_COMMIT="400a73c07fae072904ab3653082a3431d44ddb7d" | 27 | EGIT_COMMIT="400a73c07fae072904ab3653082a3431d44ddb7d" |
29 | ;; | 28 | ;; |
29 | "20170117") | ||
30 | EGIT_COMMIT="60920d34a7fa9731589382ad7fce09363da5ddef" | ||
31 | ;; | ||
30 | *) | 32 | *) |
31 | # last seen change | 33 | # last seen change |
32 | EGIT_COMMIT="400a73c07fae072904ab3653082a3431d44ddb7d" | 34 | EGIT_COMMIT="60920d34a7fa9731589382ad7fce09363da5ddef" |
33 | # therefore, for security reasons "9999" doesn't actually | 35 | # therefore, for security reasons "9999" doesn't actually |
34 | # emerge the latest version. please consult 'git log' and | 36 | # emerge the latest version. please consult 'git log' and |
35 | # update the last EGIT_COMMIT to obtain a newer version. | 37 | # update the last EGIT_COMMIT to obtain a newer version. |
@@ -56,8 +58,9 @@ src_install() { | |||
56 | ln -f bin/psyccmd bin/psycplay | 58 | ln -f bin/psyccmd bin/psycplay |
57 | dobin bin/* | 59 | dobin bin/* |
58 | # our code is not dependent on perl version | 60 | # our code is not dependent on perl version |
59 | #insinto ${VENDOR_LIB} | 61 | insinto ${VENDOR_LIB} |
60 | insinto /usr/lib/perl5/vendor_perl | 62 | # but gentoo doesnt let us have it our way |
63 | #insinto /usr/lib/perl5/vendor_perl | ||
61 | doins -r lib/perl5/* | 64 | doins -r lib/perl5/* |
62 | dodoc -r *.txt cgi contrib hooks | 65 | dodoc -r *.txt cgi contrib hooks |
63 | insinto /usr/lib/psyc/ion | 66 | insinto /usr/lib/psyc/ion |
diff --git a/dev-perl/Net-PSYC/Net-PSYC-20170117.ebuild b/dev-perl/Net-PSYC/Net-PSYC-20170117.ebuild new file mode 100644 index 0000000..760cf34 --- /dev/null +++ b/dev-perl/Net-PSYC/Net-PSYC-20170117.ebuild | |||
@@ -0,0 +1,70 @@ | |||
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, syslog2psyc etc." | ||
7 | HOMEPAGE="http://perlpsyc.cheettyiapsyciew.onion http://perl.psyc.eu http://perlpsyc.pages.de" | ||
8 | LICENSE="GPL-2+ Artistic" | ||
9 | SLOT="0" | ||
10 | |||
11 | # isn't it pointless to have a list of architectures for architecture-independent packages? | ||
12 | KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 amd64-fbsd sparc-fbsd x86-fbsd" | ||
13 | |||
14 | # our version of eclass/git-r3 supports onion gits: | ||
15 | EGIT_REPO_URI="/usr/local/src/perlpsyc | ||
16 | git://git.cheettyiapsyciew.onion/perlpsyc | ||
17 | git://git.psyced.org/git/perlpsyc" | ||
18 | |||
19 | inherit git-r3 user perl-module | ||
20 | |||
21 | # providing actual commit hashes protects against man in | ||
22 | # the middle attacks on the way to the git repository -- | ||
23 | # then again, apparently a 'git fsck' is necessary to | ||
24 | # detect manipulated repositories --lynX | ||
25 | case ${PV} in | ||
26 | "20160819") | ||
27 | EGIT_COMMIT="400a73c07fae072904ab3653082a3431d44ddb7d" | ||
28 | ;; | ||
29 | "20170117") | ||
30 | EGIT_COMMIT="60920d34a7fa9731589382ad7fce09363da5ddef" | ||
31 | ;; | ||
32 | *) | ||
33 | # last seen change | ||
34 | EGIT_COMMIT="60920d34a7fa9731589382ad7fce09363da5ddef" | ||
35 | # therefore, for security reasons "9999" doesn't actually | ||
36 | # emerge the latest version. please consult 'git log' and | ||
37 | # update the last EGIT_COMMIT to obtain a newer version. | ||
38 | # to obtain the commit of a particular release, execute | ||
39 | # 'git tag', 'git reset --hard <tag>', then 'git log'. | ||
40 | ;; | ||
41 | esac | ||
42 | |||
43 | # some perl library items used by some scripts.. FIXME | ||
44 | DEPEND="dev-lang/perl | ||
45 | dev-perl/Curses" | ||
46 | IUSE="rxaudio" | ||
47 | RDEPEND="rxaudio? ( media-sound/rxaudio-bin )" | ||
48 | |||
49 | src_compile() { | ||
50 | # extra check for cryptographic consistency | ||
51 | git fsck | ||
52 | make manuals | ||
53 | make html | ||
54 | } | ||
55 | |||
56 | src_install() { | ||
57 | #perl_set_version | ||
58 | ln -f bin/psyccmd bin/psycplay | ||
59 | dobin bin/* | ||
60 | # our code is not dependent on perl version | ||
61 | insinto ${VENDOR_LIB} | ||
62 | # but gentoo doesnt let us have it our way | ||
63 | #insinto /usr/lib/perl5/vendor_perl | ||
64 | doins -r lib/perl5/* | ||
65 | dodoc -r *.txt cgi contrib hooks | ||
66 | insinto /usr/lib/psyc/ion | ||
67 | doins -r lib/psycion/* | ||
68 | doman share/man/*/* | ||
69 | dohtml htdocs/* | ||
70 | } | ||