Gentoo Archives: gentoo-commits

From: Jonas Stein <jstein@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/aimsniff/, net-analyzer/aimsniff/files/
Date: Wed, 03 Jan 2018 08:53:24
Message-Id: 1514969295.be38db17570297340b2356ec5651d797001d2f8c.jstein@gentoo
1 commit: be38db17570297340b2356ec5651d797001d2f8c
2 Author: Jonas Stein <jstein <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 3 08:48:15 2018 +0000
4 Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 3 08:48:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be38db17
7
8 net-analyzer/aimsniff: Drop last rited package
9
10 Bug: https://bugs.gentoo.org/638564
11
12 net-analyzer/aimsniff/Manifest | 2 -
13 net-analyzer/aimsniff/aimsniff-0.9d.ebuild | 109 -----------------------------
14 net-analyzer/aimsniff/files/aimsniff.rc | 18 -----
15 net-analyzer/aimsniff/metadata.xml | 12 ----
16 4 files changed, 141 deletions(-)
17
18 diff --git a/net-analyzer/aimsniff/Manifest b/net-analyzer/aimsniff/Manifest
19 deleted file mode 100644
20 index 82dc4057f6d..00000000000
21 --- a/net-analyzer/aimsniff/Manifest
22 +++ /dev/null
23 @@ -1,2 +0,0 @@
24 -DIST aimsniff-0.9d.tar.gz 24044 BLAKE2B 7b6bfd0fc80996b7cfdd5908e4c28cd57980d29c98cc164c27ce77d0b66a2802a6e180f19f2b5971690b272e5ed9959fd104d3be17e3d9e8748b3acb57c24542 SHA512 eba8d1ff21c6c841f5e1b344769c38bf00936613c975dd60e0c3922e67805733c2e949006be36a83d75fc6c9c77de510a6914d184c6159e46b9d35cc4f12efa6
25 -DIST was-0.1.2b.tar.gz 73651 BLAKE2B 400fa2181c36df5e525d446c636ffb5649eff91982adb4db37d0233765d49fe122d6158625904d9920b39b9ace5c11d602b8430467552899d3c30161ba21a3f0 SHA512 afbe8554c16df8305e781cf2dde3af1e7b25345dc1f5defc7723654479cc91d8f6fe9ddc3850fd487f77b241d40274edb2b7328ab011df93996264f14b98e6cd
26
27 diff --git a/net-analyzer/aimsniff/aimsniff-0.9d.ebuild b/net-analyzer/aimsniff/aimsniff-0.9d.ebuild
28 deleted file mode 100644
29 index e08fa33d31c..00000000000
30 --- a/net-analyzer/aimsniff/aimsniff-0.9d.ebuild
31 +++ /dev/null
32 @@ -1,109 +0,0 @@
33 -# Copyright 1999-2014 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -
38 -inherit eutils webapp eutils depend.apache
39 -
40 -WAS_VER="0.1.2b"
41 -
42 -DESCRIPTION="Utility for monitoring and archiving AOL Instant Messenger messages across a network"
43 -HOMEPAGE="https://sourceforge.net/projects/aimsniff/"
44 -SRC_URI="
45 - mirror://sourceforge/${PN}/${P}.tar.gz
46 - http? ( mirror://sourceforge/${PN}/was-${WAS_VER}.tar.gz )
47 -"
48 -
49 -LICENSE="GPL-2"
50 -KEYWORDS="~amd64 ppc x86"
51 -#SLOT empty due to webapp
52 -IUSE="samba mysql http"
53 -
54 -RDEPEND="
55 - dev-lang/perl[gdbm]
56 - dev-perl/Net-Pcap
57 - dev-perl/NetPacket
58 - dev-perl/Unicode-String
59 - dev-perl/Proc-Daemon
60 - dev-perl/Proc-Simple
61 - dev-perl/DBI
62 - dev-perl/Unix-Syslog
63 - mysql? ( virtual/mysql dev-perl/DBD-mysql )
64 - samba? ( net-fs/samba )
65 -"
66 -
67 -want_apache2 http
68 -
69 -pkg_setup() {
70 - depend.apache_pkg_setup http
71 -
72 - use http && webapp_pkg_setup
73 -}
74 -
75 -src_install() {
76 - use http && webapp_src_preinst
77 -
78 - newsbin aimSniff.pl aimsniff
79 - insinto /etc/${PN}
80 - doins aimsniff.config
81 - insinto /usr/share/doc/${PF}
82 - doins table.struct
83 - dodoc README ChangeLog
84 -
85 - if use http; then
86 - cp ../was-${WAS_VER}/docs/README README.WAS
87 - dodoc README.WAS
88 -
89 - rm -rf ../was-${WAS_VER}/docs
90 - mv ../was-${WAS_VER}/ "${D}"${MY_HTDOCSDIR}/was
91 -
92 - webapp_serverowned ${MY_HTDOCSDIR}/was
93 -
94 - # This file needs to be serverowned as the server won't be able to write to it if it were
95 - # webapp_configfile'ed.
96 - webapp_serverowned ${MY_HTDOCSDIR}/was/.config.php
97 -
98 - webapp_src_install
99 - fi
100 -
101 - newinitd "${FILESDIR}"/aimsniff.rc aimsniff
102 -}
103 -
104 -pkg_postinst() {
105 - if use mysql
106 - then
107 - echo
108 - elog "To create and enable the mysql database, please run: "
109 - elog "emerge --config =${PF}"
110 -
111 - if use http; then
112 - echo "To create and enable the mysql database, please run:
113 - emerge --config =${PF}" > apache-postinst
114 - webapp_postinst_txt en apache-postinst
115 - fi
116 - fi
117 -
118 - if use http; then
119 - elog
120 - elog "Go to http://${HOSTNAME}/was/admin.php to configure WAS."
121 -
122 - echo "Go to http://${HOSTNAME}/was/admin.php to configure WAS." > was-postinst
123 - webapp_postinst_txt en was-postinst
124 - fi
125 -}
126 -
127 -pkg_config() {
128 - echo
129 - einfo "Creating mysql database aimsniff using /usr/share/doc/${PF}/table.struct:"
130 - echo -n "Please enter your mysql root password: "
131 - read mysql_root
132 - /usr/bin/mysqladmin -p$mysql_root -u root create aimsniff
133 - /usr/bin/mysql -p$mysql_root -u root aimsniff < /usr/share/doc/${PF}/table.struct
134 - echo -n "Please enter your username that you want to connect to the database with: "
135 - read user
136 - echo -n "Please enter the password that you want to use for your database: "
137 - read password
138 - einfo "Granting permisions on database using 'GRANT ALL ON aimsniff.* TO $user IDENTIFIED BY '$password';'"
139 - echo "GRANT ALL ON aimsniff.* TO $user@localhost IDENTIFIED BY '$password';" | /usr/bin/mysql -p$mysql_root -u root aimsniff
140 - echo
141 -}
142
143 diff --git a/net-analyzer/aimsniff/files/aimsniff.rc b/net-analyzer/aimsniff/files/aimsniff.rc
144 deleted file mode 100644
145 index 276a21e730b..00000000000
146 --- a/net-analyzer/aimsniff/files/aimsniff.rc
147 +++ /dev/null
148 @@ -1,18 +0,0 @@
149 -#!/sbin/openrc-run
150 -
151 -depend() {
152 - need net
153 -}
154 -
155 -start() {
156 - ebegin "Starting asniff"
157 - start-stop-daemon -o --quiet --start --exec /usr/sbin/aimsniff -- \
158 - -C=/etc/aimsniff/aimsniff.config
159 - eend $?
160 -}
161 -
162 -stop() {
163 - ebegin "Stopping asniff"
164 - start-stop-daemon -o --stop -p /var/run/aimsniff_parent.pid -s QUIT
165 - eend $?
166 -}
167
168 diff --git a/net-analyzer/aimsniff/metadata.xml b/net-analyzer/aimsniff/metadata.xml
169 deleted file mode 100644
170 index 2c555e08cc4..00000000000
171 --- a/net-analyzer/aimsniff/metadata.xml
172 +++ /dev/null
173 @@ -1,12 +0,0 @@
174 -<?xml version="1.0" encoding="UTF-8"?>
175 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
176 -<pkgmetadata>
177 - <!-- maintainer-needed -->
178 - <longdescription>aimsniff is a utility used for retrieving and storing AIM messages across a network.</longdescription>
179 - <use>
180 - <flag name="http">Install the WAS (Web AIM Sniff) frontend</flag>
181 - </use>
182 - <upstream>
183 - <remote-id type="sourceforge">aimsniff</remote-id>
184 - </upstream>
185 -</pkgmetadata>