mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
smtpmap: remove, use nmap instead
This commit is contained in:
parent
ab9a444991
commit
8913d5cfa9
4 changed files with 0 additions and 125 deletions
|
|
@ -1 +0,0 @@
|
|||
DIST smtpmap-0.8.234-BETA.tar.bz2 84923 SHA256 09fb1aa68a67032dd4ec8816d45ea5fc48796d4b4c11350f3f593fdf307559c2
|
||||
|
|
@ -1,71 +0,0 @@
|
|||
diff -Naur smtpmap-0.8.234-BETA.orig/include/bintree.h smtpmap-0.8.234-BETA/include/bintree.h
|
||||
--- smtpmap-0.8.234-BETA.orig/include/bintree.h 2003-02-25 20:50:31.000000000 +0100
|
||||
+++ smtpmap-0.8.234-BETA/include/bintree.h 2006-06-30 01:23:11.000000000 +0200
|
||||
@@ -17,6 +17,11 @@
|
||||
class treenode;
|
||||
template <class Key,class Data>
|
||||
class bintreeiterator;
|
||||
+
|
||||
+// forward declarations to allow friend declarations
|
||||
+template <class Key,class Data> class bintree;
|
||||
+template <class Key,class Data> ostream& operator<< (ostream & o, const bintree<Key,Data> & t);
|
||||
+
|
||||
template <class Key,class Data>
|
||||
class bintree /*{{{*/
|
||||
{
|
||||
@@ -398,6 +403,13 @@
|
||||
Root = NULL;
|
||||
}/*}}}*/
|
||||
enum avl_tree_skew { left, right, noone };
|
||||
+
|
||||
+// forward declarations to allow friend declarations
|
||||
+template <class Key,class Data> class treenode;
|
||||
+template <class Key,class Data> ostream& operator<< ( ostream & o, const treenode<Key,Data> & v);
|
||||
+template <class Key,class Data> bool operator < ( const treenode<Key,Data> & a, const treenode<Key,Data> & b);
|
||||
+template <class Key,class Data> bool operator > ( const treenode<Key,Data> & a, const treenode<Key,Data> & b);
|
||||
+
|
||||
template <class Key,class Data>
|
||||
class treenode/*{{{*/
|
||||
{
|
||||
diff -Naur smtpmap-0.8.234-BETA.orig/include/dllist.h smtpmap-0.8.234-BETA/include/dllist.h
|
||||
--- smtpmap-0.8.234-BETA.orig/include/dllist.h 2003-04-17 00:23:59.000000000 +0200
|
||||
+++ smtpmap-0.8.234-BETA/include/dllist.h 2006-06-30 00:52:30.000000000 +0200
|
||||
@@ -31,6 +31,12 @@
|
||||
// ********** definition dllist class
|
||||
// **********
|
||||
|
||||
+// forward declarations to allow friend declarations
|
||||
+template <class T> class dllist;
|
||||
+template <class T> ostream & operator<< ( ostream& o , const dllist<T> & v);
|
||||
+template <class T> bool operator < ( const dllist<T> & a, const dllist<T> & b) ;
|
||||
+template <class T> bool operator > ( const dllist<T> & a, const dllist<T> & b) ;
|
||||
+
|
||||
template <class T>
|
||||
class dllist/*{{{*/
|
||||
{
|
||||
@@ -408,6 +414,13 @@
|
||||
* These Nodes contain the actual elements fo the list
|
||||
* together with the control data
|
||||
*/
|
||||
+
|
||||
+// forward declarations to allow friend declarations
|
||||
+template <class T> class dllnode;
|
||||
+template <class T> ostream& operator<< ( ostream & o, const dllnode<T> & v);
|
||||
+template <class T> bool operator < ( const dllnode<T> & a, const dllnode<T> & b);
|
||||
+template <class T> bool operator > ( const dllnode<T> & a, const dllnode<T> & b);
|
||||
+
|
||||
template <class T>
|
||||
class dllnode/*{{{*/
|
||||
{
|
||||
diff -Naur smtpmap-0.8.234-BETA.orig/src/smtpmap.cpp smtpmap-0.8.234-BETA/src/smtpmap.cpp
|
||||
--- smtpmap-0.8.234-BETA.orig/src/smtpmap.cpp 2003-04-09 19:54:10.000000000 +0200
|
||||
+++ smtpmap-0.8.234-BETA/src/smtpmap.cpp 2006-06-30 01:18:38.000000000 +0200
|
||||
@@ -455,7 +455,7 @@
|
||||
cout << "Note: More than -v -v -v will not produce more verbositiy" << endl;
|
||||
break;
|
||||
}
|
||||
- ((int)debuglevel)++;
|
||||
+ (*(int**)&debuglevel)++;
|
||||
break;
|
||||
case 'V':
|
||||
cout << "smtp-map " << VERSION << endl;
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- src/mstring.cpp 2010-02-01 12:02:19.972249219 +0100
|
||||
+++ src/mstring.cpp 2010-02-01 12:03:33.158999955 +0100
|
||||
@@ -546,7 +546,7 @@
|
||||
cout << "begin + to_st.leng : " << (void*) (begin + to_st.leng) << endl;
|
||||
cout << "begin + to_st.leng : " << (begin + to_st.leng) << endl;
|
||||
*/
|
||||
- int mv = leng - (int)begin + (int)stripped - to_st.leng + 1;
|
||||
+ unsigned long mv = leng - (unsigned long)begin + (unsigned long)stripped - to_st.leng + 1;
|
||||
// cout << "mv : " << mv << endl;
|
||||
memmove ( begin, begin + to_st.leng , mv );
|
||||
begin = strstr ( stripped, to_st.sp );
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_P=${P/_beta/-BETA}
|
||||
|
||||
DESCRIPTION="a very complete and well done fingerprinter for SMTP, FTP and POP3 fingerprinter"
|
||||
HOMEPAGE="http://www.projectiwear.org/~plasmahh/software.html"
|
||||
SRC_URI="http://www.projectiwear.org/~plasmahh/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure(){
|
||||
epatch "${FILESDIR}"/gcc-3.4.patch
|
||||
epatch "${FILESDIR}"/smtpmap-64bit.patch
|
||||
sed -i "s|-O -Wall|$CFLAGS|g" makefile.conf || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./configure
|
||||
# It has is own configuration script... maybe some sed here after needs to be done
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/smtpmap
|
||||
doins share/*
|
||||
dobin src/smtpmap
|
||||
dodoc ChangeLog README TODO
|
||||
}
|
||||
Loading…
Reference in a new issue