aboutsummaryrefslogtreecommitdiff
path: root/dev-perl
diff options
context:
space:
mode:
authorpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>1984-04-04 00:44:40 +0000
committerpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>1984-04-04 00:44:40 +0000
commit0b9024f2c434cc8a3ad5c2cfd556ea8ffce426a8 (patch)
treea91e8fa2aaf4ee4ad20f037c9ad1742da556e2a2 /dev-perl
parent0cc108e89796a9183efaccec3ba02664563cdeba (diff)
downloadyoubroketheinternet-overlay-0b9024f2c434cc8a3ad5c2cfd556ea8ffce426a8.tar.gz
youbroketheinternet-overlay-0b9024f2c434cc8a3ad5c2cfd556ea8ffce426a8.zip
perlpsyc & openssl
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/Net-PSYC/Net-PSYC-20170610.ebuild5
-rw-r--r--dev-perl/Net-PSYC/Net-PSYC-20180214.ebuild75
2 files changed, 79 insertions, 1 deletions
diff --git a/dev-perl/Net-PSYC/Net-PSYC-20170610.ebuild b/dev-perl/Net-PSYC/Net-PSYC-20170610.ebuild
index 80524c0..2e8c7a2 100644
--- a/dev-perl/Net-PSYC/Net-PSYC-20170610.ebuild
+++ b/dev-perl/Net-PSYC/Net-PSYC-20170610.ebuild
@@ -29,9 +29,12 @@ case ${PV} in
29"20171128") 29"20171128")
30 EGIT_COMMIT="28c1278f45ab707005b7784654d2a3a57ce9a5d9" 30 EGIT_COMMIT="28c1278f45ab707005b7784654d2a3a57ce9a5d9"
31 ;; 31 ;;
32"20180214")
33 EGIT_COMMIT="94acd94fe15b220b1780eac878f8f3769872e7a1"
34 ;;
32*) 35*)
33 # last seen change 36 # last seen change
34 EGIT_COMMIT="28c1278f45ab707005b7784654d2a3a57ce9a5d9" 37 EGIT_COMMIT="94acd94fe15b220b1780eac878f8f3769872e7a1"
35 # therefore, for security reasons "9999" doesn't actually 38 # therefore, for security reasons "9999" doesn't actually
36 # emerge the latest version. please consult 'git log' and 39 # emerge the latest version. please consult 'git log' and
37 # update the last EGIT_COMMIT to obtain a newer version. 40 # update the last EGIT_COMMIT to obtain a newer version.
diff --git a/dev-perl/Net-PSYC/Net-PSYC-20180214.ebuild b/dev-perl/Net-PSYC/Net-PSYC-20180214.ebuild
new file mode 100644
index 0000000..2e8c7a2
--- /dev/null
+++ b/dev-perl/Net-PSYC/Net-PSYC-20180214.ebuild
@@ -0,0 +1,75 @@
1# Copyright 1999-2016 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=6
5
6DESCRIPTION="Perl implementation of PSYC protocol plus psycion, psycamp, remotor etc."
7HOMEPAGE="http://perlpsyc.cheettyiapsyciew.onion http://perl.psyc.eu http://perlpsyc.pages.de"
8LICENSE="GPL-2+ Artistic"
9SLOT="0"
10
11# isn't it pointless to have a list of architectures for architecture-independent packages?
12KEYWORDS="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:
15EGIT_REPO_URI="/usr/local/src/perlpsyc
16 git://git.cheettyiapsyciew.onion/perlpsyc
17 git://git.psyced.org/git/perlpsyc"
18
19inherit 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
25case ${PV} in
26"20170610")
27 EGIT_COMMIT="5a24e0e643885a16e7c3b7b6ac50e4db31e476d0"
28 ;;
29"20171128")
30 EGIT_COMMIT="28c1278f45ab707005b7784654d2a3a57ce9a5d9"
31 ;;
32"20180214")
33 EGIT_COMMIT="94acd94fe15b220b1780eac878f8f3769872e7a1"
34 ;;
35*)
36 # last seen change
37 EGIT_COMMIT="94acd94fe15b220b1780eac878f8f3769872e7a1"
38 # therefore, for security reasons "9999" doesn't actually
39 # emerge the latest version. please consult 'git log' and
40 # update the last EGIT_COMMIT to obtain a newer version.
41 # to obtain the commit of a particular release, execute
42 # 'git tag', 'git reset --hard <tag>', then 'git log'.
43 ;;
44esac
45
46# some perl library items used by some scripts.. FIXME
47DEPEND="dev-lang/perl
48 dev-perl/TimeDate
49 dev-perl/Curses"
50IUSE="rxaudio +mplayer"
51RDEPEND="rxaudio? ( media-sound/rxaudio-bin )
52 mplayer? ( media-video/mplayer )"
53
54src_compile() {
55 # extra check for cryptographic consistency
56 git fsck
57 make manuals
58 make html
59}
60
61src_install() {
62 #perl_set_version
63 ln -f bin/psyccmd bin/psycplay
64 dobin bin/*
65 # our code is not dependent on perl version
66 insinto ${VENDOR_LIB}
67 # but gentoo doesnt let us have it our way
68 #insinto /usr/lib/perl5/vendor_perl
69 doins -r lib/perl5/*
70 dodoc -r *.txt cgi contrib hooks
71 insinto /usr/lib/psyc/ion
72 doins -r lib/psycion/*
73 doman share/man/*/*
74 dohtml htdocs/*
75}