diff options
author | ng0 <ng0@we.make.ritual.n0.is> | 2016-11-13 11:24:07 +0000 |
---|---|---|
committer | ng0 <ng0@we.make.ritual.n0.is> | 2016-11-13 11:24:07 +0000 |
commit | c67303d89b1ddf20bbce61a1e86b5e5ba41c0bcd (patch) | |
tree | 03256adfe7fae0fcc8a928dc4c75cd0757e9b809 | |
parent | f8986ddc224c287fa38daca957701a5882542e9f (diff) | |
parent | 799d295bb23a03590148d5cd52224ce4205e0988 (diff) | |
download | youbroketheinternet-overlay-c67303d89b1ddf20bbce61a1e86b5e5ba41c0bcd.tar.gz youbroketheinternet-overlay-c67303d89b1ddf20bbce61a1e86b5e5ba41c0bcd.zip |
Merge branch 'master' of gnunet.org:youbroketheinternet-overlay
-rw-r--r-- | net-misc/gnurl/Manifest | 1 | ||||
-rw-r--r-- | net-misc/gnurl/gnurl-7.51.0.ebuild | 90 | ||||
-rw-r--r-- | profiles/package.mask | 3 |
3 files changed, 94 insertions, 0 deletions
diff --git a/net-misc/gnurl/Manifest b/net-misc/gnurl/Manifest index cc3948f..3c81713 100644 --- a/net-misc/gnurl/Manifest +++ b/net-misc/gnurl/Manifest | |||
@@ -1 +1,2 @@ | |||
1 | DIST gnurl-7_50_3.tar.bz2 4663008 SHA256 d332717f56c9a8b8062c9c4c9b8ed42d86161609d30c0262cdee4e60644d321e SHA512 cbdc37aee2e03659f2ba17899d0025105dd869237c108f08a611a6f502e37a429bad79729082cfe57f054ba31c11de8447d35a04145e7479e1d79dc7982e34b1 WHIRLPOOL fe0131f9db346bcc41932ac7c24d74807cc8a71d2ec3dceb0e35d44d7a06e82671772f16df4d92705c54cf095a03ea58535984bedbfd6d54bceb029e68357c87 | 1 | DIST gnurl-7_50_3.tar.bz2 4663008 SHA256 d332717f56c9a8b8062c9c4c9b8ed42d86161609d30c0262cdee4e60644d321e SHA512 cbdc37aee2e03659f2ba17899d0025105dd869237c108f08a611a6f502e37a429bad79729082cfe57f054ba31c11de8447d35a04145e7479e1d79dc7982e34b1 WHIRLPOOL fe0131f9db346bcc41932ac7c24d74807cc8a71d2ec3dceb0e35d44d7a06e82671772f16df4d92705c54cf095a03ea58535984bedbfd6d54bceb029e68357c87 |
2 | DIST gnurl-7_51_0.tar.bz2 4675633 SHA256 2f0200d38eca6c9567447d2b8ac4676911ec73b9613a15bef31bbe9f9f22f4e5 SHA512 9b7ce9f5f54f6b3f52b7d3152d36a591dd6be125db8d9b4199c82d5a092dc6d15c3f3d7dd4690693fbcbbff903391990ea4f51573b8aeb6966cf78fdf23232df WHIRLPOOL 88c7c3c1836ee62359e9197e930dddfe9247d228b25660969ae2a5ae47b513659a0e5e186ffbd7ba135f3392167c61019b25c2663b384ceffbb6d62419faffcb | ||
diff --git a/net-misc/gnurl/gnurl-7.51.0.ebuild b/net-misc/gnurl/gnurl-7.51.0.ebuild new file mode 100644 index 0000000..44db29e --- /dev/null +++ b/net-misc/gnurl/gnurl-7.51.0.ebuild | |||
@@ -0,0 +1,90 @@ | |||
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="A reliable small footprint version of Curl based on gnutls only" | ||
7 | HOMEPAGE="https://gnunet.org/gnurl" | ||
8 | |||
9 | inherit autotools eutils prefix versionator | ||
10 | |||
11 | #MY_PV="$(replace_all_version_separators '_')" | ||
12 | MY_P=${PN}-$(replace_all_version_separators '_') | ||
13 | #SRC_URI="https://gnunet.org/sites/default/files/gnurl-7_50_2-1.tar.bz2 -> ${MY_P}.tar.bz2" | ||
14 | SRC_URI="https://gnunet.org/sites/default/files/${MY_P}.tar.bz2 -> ${MY_P}.tar.bz2" | ||
15 | LICENSE="MIT" | ||
16 | SLOT="0" | ||
17 | KEYWORDS="~" | ||
18 | IUSE="dane" | ||
19 | |||
20 | RDEPEND=">=net-libs/gnutls-3[dane?] | ||
21 | sys-libs/zlib" | ||
22 | DEPEND="${RDEPEND}" | ||
23 | |||
24 | DOCS=( CHANGES README docs/FEATURES docs/MANUAL docs/FAQ docs/BUGS ) | ||
25 | S=${WORKDIR}/${MY_P} | ||
26 | |||
27 | # TODO: check if this phase is still appropriate in content! | ||
28 | src_prepare() { | ||
29 | sed -i '/LD_LIBRARY_PATH=/d' configure.ac || die #382241 | ||
30 | |||
31 | eapply_user | ||
32 | eprefixify gnurl-config.in | ||
33 | eautoreconf | ||
34 | |||
35 | # Fix conflicts with Curl: UGLY HACK AHEAD /!\ | ||
36 | # (The fork maintainer should do that.) | ||
37 | |||
38 | # XXX Fix this upstream: Rename include/curl to include/gnurl | ||
39 | mv include/curl include/gnurl | ||
40 | # FIX: Tune explicit paths in source files (~400 lines) | ||
41 | grep -ERl 'include(.*curl/|/curl)' | \ | ||
42 | xargs sed -i -r \ | ||
43 | -e 's:include/curl:include/gnurl:g' \ | ||
44 | -e 's:(include.*)curl/:\1gnurl/:g' || die | ||
45 | # FIX: Tune relative 'curl' path in makefiles under include/ | ||
46 | grep -Rl 'SUBDIRS\s*=\s*curl' | \ | ||
47 | xargs sed -i -r 's:(SUBDIRS\s*=\s*)curl:\1@PACKAGE@:g' || die | ||
48 | # FIX: Tune relative 'curl' path in makefiles, install phase | ||
49 | grep -Rl 'pkgincludedir\s*=\s*.*curl' | \ | ||
50 | xargs sed -i -r 's:(pkgincludedir\s*=\s*.*)curl:\1@PACKAGE@:g' || die | ||
51 | # FIX: Skip examples and man3 | ||
52 | grep -Rl 'SUBDIRS\s*=\s*.*libcurl' docs/ | \ | ||
53 | xargs sed -i -r '/SUBDIRS\s*=\s*.*libcurl/s:^:#:g' || die | ||
54 | default | ||
55 | } | ||
56 | |||
57 | src_configure() { | ||
58 | econf \ | ||
59 | --enable-ipv6 \ | ||
60 | --with-gnutls \ | ||
61 | --without-cyassl \ | ||
62 | --without-darwinssl \ | ||
63 | --without-libmetalink \ | ||
64 | --without-librtmp \ | ||
65 | --without-libssh2 \ | ||
66 | --without-nghttp2 \ | ||
67 | --without-nss \ | ||
68 | --without-polarssl \ | ||
69 | --without-ssl \ | ||
70 | --without-winidn \ | ||
71 | --without-winssl \ | ||
72 | --disable-dict \ | ||
73 | --disable-file \ | ||
74 | --disable-ftp \ | ||
75 | --disable-gopher \ | ||
76 | --disable-imap \ | ||
77 | --disable-ldap \ | ||
78 | --disable-ntlm-wb \ | ||
79 | --disable-pop3 \ | ||
80 | --disable-rtsp \ | ||
81 | --disable-smtp \ | ||
82 | --disable-sspi \ | ||
83 | --disable-telnet \ | ||
84 | --disable-tftp \ | ||
85 | --disable-smb | ||
86 | } | ||
87 | |||
88 | src_install() { | ||
89 | default | ||
90 | } | ||
diff --git a/profiles/package.mask b/profiles/package.mask index 70260d9..e59926a 100644 --- a/profiles/package.mask +++ b/profiles/package.mask | |||
@@ -9,6 +9,9 @@ sys-apps/nix | |||
9 | # masked for testing | 9 | # masked for testing |
10 | =net-misc/gnurl-9999 | 10 | =net-misc/gnurl-9999 |
11 | 11 | ||
12 | # security fixes, mask older versions of gnurl | ||
13 | =net-misc/gnurl-7.50.3 | ||
14 | |||
12 | # It is known and intentional that 0.9, 0.10.1, and current (HEAD) are incompatible | 15 | # It is known and intentional that 0.9, 0.10.1, and current (HEAD) are incompatible |
13 | # GNUnet versions in gnunet-fs. This leads to wrong assumptions about GNUnet, we | 16 | # GNUnet versions in gnunet-fs. This leads to wrong assumptions about GNUnet, we |
14 | # only provide a pin to certain HEAD version now and 0.10.2 when it is released. | 17 | # only provide a pin to certain HEAD version now and 0.10.2 when it is released. |