1 |
commit: 1396695a1c97a6f71f07ad2635b2095554dfa03c |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 15 22:17:19 2018 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 15 22:40:41 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1396695a |
7 |
|
8 |
net-irc/znc: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.42, Repoman-2.3.9 |
11 |
|
12 |
net-irc/znc/Manifest | 1 - |
13 |
net-irc/znc/znc-1.6.5.ebuild | 130 ------------------------------------------- |
14 |
2 files changed, 131 deletions(-) |
15 |
|
16 |
diff --git a/net-irc/znc/Manifest b/net-irc/znc/Manifest |
17 |
index 08205bafd48..741c0f30e99 100644 |
18 |
--- a/net-irc/znc/Manifest |
19 |
+++ b/net-irc/znc/Manifest |
20 |
@@ -1,6 +1,5 @@ |
21 |
DIST googletest-release-1.7.0.tar.gz 468653 BLAKE2B 8dfca8b79dcd7b64ce84bad11ee68c549f4fe3dff7638ed1d845af4a7f754ad5df782d2cbebdb9fecfda2499dae6585e07cda7a8c8c454f0b70723d5c9578aa4 SHA512 c623d5720c4ed574e95158529872815ecff478c03bdcee8b79c9b042a603533f93fe55f939bcfe2cd745ce340fd626ad6d9a95981596f1a4d05053d874cd1dfc |
22 |
DIST gtest-ba96d0b1161f540656efdaed035b3c062b60e006.tar.gz 987370 BLAKE2B fcedfe559c4c93166962900117dc492da3cbb99165c30766c39131c20e3b41f057a31a8cb631beaca829c1e9966e90cbc37469ba56a5fc15a2bea86cbe401a63 SHA512 ce78098f973b45f4a177db387c42a56d5ea34407a2af278760b850c326e8450760a58991d62a5408f5df79f89fefd10fee71745b7e8669b2a6f74fa63a259600 |
23 |
-DIST znc-1.6.5.tar.gz 1470681 BLAKE2B 9de0b211280489423bc2894d0e76d7276aa42428d07d64516372a9ca6d1616db1f27c0142b54160c61cbee89d65ceadf941d001319254dbff9eb5b016988482e SHA512 d78603ac86d1fb92cdf591b1eb6d32fa19b0e39414bd69e1300c537051612ae590c43d3b8e4dd598cdff605bf3aa1d3d5d806edd428d15d50f733e1670f3e626 |
24 |
DIST znc-1.6.6.tar.gz 1471612 BLAKE2B 8bd977a95417c4259e9f38759d838f55a146f376dc8bb6230ab6e1b698fb7c9e060cbc237efd4e836961314abab56cc02e7c6bc74e40bad17abaf06e47fbb516 SHA512 cc5bc7328bfe36525ab215b4b53c7cd20aa02b41e7bb28507ff9d9632560f4c30396804e4b828bca0ece19f42813e3fce59d1bae639ea5fc149059f6979e63e7 |
25 |
DIST znc-1.7.0.tar.gz 1853666 BLAKE2B 3e519d4005a10a9a5329f22ab6abbd19dfa2c7cecb949c138bc72909eae8883576fc0352e3ac46b852b8c58f038150419720aa48791a1339b004206f3afc20e9 SHA512 718dec65dfa2374c568b2694e4faef1f8cf313ae96d171e2263656e077e0fae5f8037c69a23ae33f4ea314ac6e15480c7dccef73ad3ac9324eb79caca622d54b |
26 |
DIST znc-1.7.1-rc1.tar.gz 2041320 BLAKE2B 62669b598d7423cb55fad458fe6172be36904e8599dcde757936883093f24deb6a5ed6a093e3e92854810f02e96372f44139f9807e70e0cf007de90a1373c6a8 SHA512 b4e223c86c75bc97620c52333d90d6458a02777dce9c629f8a095f8134a06992a60978b2fe8bbce29ed1155932f9f37e0a324a498ee16527b0235e4306c34973 |
27 |
|
28 |
diff --git a/net-irc/znc/znc-1.6.5.ebuild b/net-irc/znc/znc-1.6.5.ebuild |
29 |
deleted file mode 100644 |
30 |
index 20fc31e0957..00000000000 |
31 |
--- a/net-irc/znc/znc-1.6.5.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,130 +0,0 @@ |
34 |
-# Copyright 1999-2018 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
- |
39 |
-PYTHON_COMPAT=( python3_{4,5,6} ) |
40 |
-inherit eutils python-single-r1 readme.gentoo-r1 systemd user |
41 |
- |
42 |
-MY_PV=${PV/_/-} |
43 |
-GTEST_VER="1.7.0" |
44 |
-GTEST_URL="https://github.com/google/googletest/archive/release-${GTEST_VER}.tar.gz -> googletest-release-${GTEST_VER}.tar.gz" |
45 |
-DESCRIPTION="An advanced IRC Bouncer" |
46 |
- |
47 |
-SRC_URI=" |
48 |
- http://znc.in/releases/archive/${PN}-${MY_PV}.tar.gz |
49 |
- test? ( ${GTEST_URL} ) |
50 |
-" |
51 |
-KEYWORDS="amd64 arm x86" |
52 |
- |
53 |
-HOMEPAGE="https://znc.in" |
54 |
-LICENSE="Apache-2.0" |
55 |
-SLOT="0" |
56 |
-IUSE="daemon debug +ipv6 +icu libressl perl python +ssl sasl tcl test +zlib" |
57 |
- |
58 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
59 |
- |
60 |
-RDEPEND=" |
61 |
- icu? ( dev-libs/icu:= ) |
62 |
- perl? ( >=dev-lang/perl-5.10:= ) |
63 |
- python? ( ${PYTHON_DEPS} ) |
64 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
65 |
- ssl? ( |
66 |
- !libressl? ( dev-libs/openssl:0= ) |
67 |
- libressl? ( dev-libs/libressl:0= ) |
68 |
- ) |
69 |
- tcl? ( dev-lang/tcl:0= ) |
70 |
- zlib? ( sys-libs/zlib ) |
71 |
-" |
72 |
-DEPEND=" |
73 |
- ${RDEPEND} |
74 |
- virtual/pkgconfig |
75 |
-" |
76 |
- |
77 |
-S=${WORKDIR}/${PN}-${MY_PV} |
78 |
- |
79 |
-PATCHES=( |
80 |
- "${FILESDIR}"/${PN}-1.6.1-systemwideconfig.patch |
81 |
- "${FILESDIR}"/${PN}-1.6.1-create-pidfile-per-default.patch |
82 |
-) |
83 |
- |
84 |
-pkg_setup() { |
85 |
- if use python; then |
86 |
- python-single-r1_pkg_setup |
87 |
- fi |
88 |
- if use daemon; then |
89 |
- enewgroup ${PN} |
90 |
- enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} |
91 |
- # The home directory was previously set to /dev/null |
92 |
- # This caused a bug with the systemd unit |
93 |
- # https://bugs.gentoo.org/521916 |
94 |
- esethome ${PN} /var/lib/${PN} |
95 |
- fi |
96 |
-} |
97 |
- |
98 |
-src_configure() { |
99 |
- econf \ |
100 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
101 |
- $(use_enable debug) \ |
102 |
- $(use_enable icu charset) \ |
103 |
- $(use_enable ipv6) \ |
104 |
- $(use_enable perl) \ |
105 |
- $(use_enable python) \ |
106 |
- $(use_enable sasl cyrus) \ |
107 |
- $(use_enable ssl openssl) \ |
108 |
- $(use_enable tcl) \ |
109 |
- $(use_enable zlib) \ |
110 |
- $(use_with test gtest "${WORKDIR}/googletest-release-${GTEST_VER}") |
111 |
-} |
112 |
- |
113 |
-src_install() { |
114 |
- default |
115 |
- dodoc NOTICE |
116 |
- if use daemon; then |
117 |
- newinitd "${FILESDIR}"/znc.initd-r1 znc |
118 |
- newconfd "${FILESDIR}"/znc.confd-r1 znc |
119 |
- fi |
120 |
- DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo") || die |
121 |
- DISABLE_AUTOFORMATTING=1 |
122 |
- readme.gentoo_create_doc |
123 |
-} |
124 |
- |
125 |
-pkg_postinst() { |
126 |
- readme.gentoo_print_elog |
127 |
- if [[ -d "${EROOT%/}"/etc/znc ]]; then |
128 |
- ewarn "/etc/znc exists on your system." |
129 |
- ewarn "Due to the nature of the contents of that folder," |
130 |
- ewarn "we have changed the default configuration to use" |
131 |
- ewarn " /var/lib/znc" |
132 |
- ewarn "please move /etc/znc to /var/lib/znc" |
133 |
- ewarn "or adjust /etc/conf.d/znc" |
134 |
- fi |
135 |
-} |
136 |
- |
137 |
-pkg_config() { |
138 |
- if use daemon; then |
139 |
- if [[ -e "${EROOT%/}/var/lib/znc" ]]; then |
140 |
- ewarn "${EROOT%/}/var/lib/znc already exists, aborting to avoid damaging" |
141 |
- ewarn "any existing configuration. If you are sure you want" |
142 |
- ewarn "to generate a new configuration, remove the folder" |
143 |
- ewarn "and try again." |
144 |
- else |
145 |
- einfo "Press any key to interactively create a new configuration file" |
146 |
- einfo "for znc." |
147 |
- einfo "To abort, press Control-C" |
148 |
- read |
149 |
- mkdir -p "${EROOT%/}/var/lib/znc" || die |
150 |
- chown -R ${PN}:${PN} "${EROOT%/}/var/lib/znc" || |
151 |
- die "Setting permissions failed" |
152 |
- "${EROOT%/}"/usr/bin/znc --system-wide-config-as ${PN} -c -r -d "${EROOT%/}/var/lib/znc" || |
153 |
- die "Config failed" |
154 |
- echo |
155 |
- einfo "To start znc, run '/etc/init.d/znc start'" |
156 |
- einfo "or add znc to a runlevel:" |
157 |
- einfo " rc-update add znc default" |
158 |
- fi |
159 |
- else |
160 |
- ewarn "To configure znc as a system-wide daemon you have to" |
161 |
- ewarn "enable the 'daemon' use flag." |
162 |
- fi |
163 |
-} |