mail/wmmaiload: Remove port
Desktop application not relevant to server environment
This commit is contained in:
@@ -4454,6 +4454,7 @@ mail/tumgreyspf
|
||||
mail/usendmail
|
||||
mail/vpopmail
|
||||
mail/vqadmin
|
||||
mail/wmmaiload
|
||||
mail/xfce4-mailwatch-plugin
|
||||
math/aamath
|
||||
math/abella
|
||||
|
||||
@@ -615,7 +615,6 @@
|
||||
SUBDIR += websieve
|
||||
SUBDIR += whoson
|
||||
SUBDIR += wmbiff
|
||||
SUBDIR += wmmaiload
|
||||
SUBDIR += x-face-e21
|
||||
SUBDIR += xbuffy
|
||||
SUBDIR += xcite
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
PORTNAME= wmmaiload
|
||||
PORTVERSION= 2.3.0
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail windowmaker
|
||||
MASTER_SITES= http://tnemeth.free.fr/projets/programmes/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Incoming mail monitor dockapp with a similar look to wmcpuload
|
||||
WWW= http://tnemeth.free.fr/projets/dockapps.html
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \
|
||||
libfontconfig.so:x11-fonts/fontconfig \
|
||||
libfreetype.so:print/freetype2
|
||||
|
||||
USES= gmake gnome localbase:ldflags pkgconfig ssl tar:bzip2 xorg
|
||||
USE_XORG= x11 xext xpm
|
||||
USE_GNOME= cairo gdkpixbuf gtk20
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX}
|
||||
CFLAGS+= -fcommon
|
||||
CPPFLAGS+= -I${OPENSSLINC} -D_GNU_SOURCE
|
||||
LDFLAGS+= -L${OPENSSLLIB}
|
||||
MAKE_ENV= DEBUG_CFLAGS="" DEBUG_LDFLAGS=""
|
||||
|
||||
PLIST_FILES= bin/wmmaiload bin/wmmaiload-config \
|
||||
share/man/man1/wmmaiload.1.gz \
|
||||
share/man/man1/wmmaiload-config.1.gz
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's| =| ?=|'
|
||||
|
||||
do-install:
|
||||
.for i in wmmaiload wmmaiload-config
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${i}/${i} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${STAGEDIR}${PREFIX}/share/man/man1
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,2 +0,0 @@
|
||||
SHA256 (wmmaiload-2.3.0.tar.bz2) = 54d2e35ddc7b5e7cd0be9b3db90d26d9289ac436c6ae9a6c2063afe17ce80ad8
|
||||
SIZE (wmmaiload-2.3.0.tar.bz2) = 42852
|
||||
@@ -1,47 +0,0 @@
|
||||
--- wmmaiload-config/mainwindow.c.orig 2009-02-23 02:58:00 UTC
|
||||
+++ wmmaiload-config/mainwindow.c
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
static GtkWidget *b_edit;
|
||||
static GtkWidget *b_set;
|
||||
-static GtkWidget *b_remove;
|
||||
+static GtkWidget *b_rm;
|
||||
|
||||
static gint list_sel_cb (GtkCList *clist,
|
||||
gint row,
|
||||
@@ -23,7 +23,7 @@ static gint list_sel_cb (GtkCList *clist,
|
||||
selected_row = row;
|
||||
gtk_widget_set_sensitive(b_edit, TRUE);
|
||||
gtk_widget_set_sensitive(b_set, TRUE);
|
||||
- gtk_widget_set_sensitive(b_remove, TRUE);
|
||||
+ gtk_widget_set_sensitive(b_rm, TRUE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ gint list_unsel_cb (GtkCList *clist,
|
||||
selected_row = -1;
|
||||
gtk_widget_set_sensitive(b_edit, FALSE);
|
||||
gtk_widget_set_sensitive(b_set, FALSE);
|
||||
- gtk_widget_set_sensitive(b_remove, FALSE);
|
||||
+ gtk_widget_set_sensitive(b_rm, FALSE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ void create_mainwindow()
|
||||
|
||||
/*** FENÊTRE PRINCIPALE ***/
|
||||
application = gtk_window_new(GTK_WINDOW_TOPLEVEL);
|
||||
- gtk_window_set_title(GTK_WINDOW(application), PACKAGE"-config");
|
||||
+ gtk_window_set_title(GTK_WINDOW(application), PACKAGE);
|
||||
/*-- Connexion aux signaux --*/
|
||||
gtk_signal_connect(GTK_OBJECT(application), "delete_event",
|
||||
GTK_SIGNAL_FUNC(quit_app), NULL);
|
||||
@@ -246,7 +246,7 @@ void create_mainwindow()
|
||||
gtk_table_attach_defaults(GTK_TABLE(table), bouton, 2, 3, 0, 1);
|
||||
gtk_widget_set_sensitive(bouton, FALSE);
|
||||
gtk_widget_show(bouton);
|
||||
- b_remove = bouton;
|
||||
+ b_rm = bouton;
|
||||
|
||||
/*--- Frame 5 ---*/
|
||||
frame = gtk_frame_new(NULL);
|
||||
@@ -1,18 +0,0 @@
|
||||
--- wmmaiload/Init.make.orig 2005-08-28 19:14:57 UTC
|
||||
+++ wmmaiload/Init.make
|
||||
@@ -45,13 +45,13 @@ endif
|
||||
# SPECIFIC INFORMATIONS :
|
||||
#
|
||||
|
||||
-LIB_SSL = $(shell grep -q '^OPTIONS.*HAVE_SSL' ../Config.make && echo '-lssl')
|
||||
+LIB_SSL = $(shell grep -q '^OPTIONS.*HAVE_SSL' ../Config.make && echo '-lssl -lcrypto')
|
||||
LIB_THREADS = $(shell grep -q '^OPTIONS.*HAVE_THREADS' ../Config.make && echo '-lpthread')
|
||||
|
||||
CROSS_COMPILE =
|
||||
USER_CPPFLAGS = $(OPTIONS)
|
||||
USER_CFLAGS =
|
||||
-USER_LDFLAGS = -L/usr/X11R6/lib -lX11 -lXext -lXpm $(LIB_THREADS) $(LIB_SSL)
|
||||
+USER_LDFLAGS = -lX11 -lXext -lXpm $(LIB_THREADS) $(LIB_SSL)
|
||||
|
||||
|
||||
#*****************************************************************
|
||||
@@ -1,47 +0,0 @@
|
||||
--- wmmaiload/checkthread.c.orig 2009-02-23 02:59:20 UTC
|
||||
+++ wmmaiload/checkthread.c
|
||||
@@ -85,7 +85,7 @@ static Bool check_imap(MailBox *box, time_t now);
|
||||
#endif /* HAVE_IMAP */
|
||||
#ifdef HAVE_MH
|
||||
static Bool check_mh(MailBox *box, time_t now);
|
||||
-static Bool isnumber(const char*);
|
||||
+static Bool isnum(const char*);
|
||||
static Bool isdir(const char*);
|
||||
static Bool isfile(const char *);
|
||||
static char *absname(const char*, int);
|
||||
@@ -304,7 +304,7 @@ static Bool check_imap(MailBox *box, time_t now)
|
||||
|
||||
|
||||
#ifdef HAVE_MH
|
||||
-static Bool isnumber(const char *s)
|
||||
+static Bool isnum(const char *s)
|
||||
{
|
||||
while (*s != '\0')
|
||||
{
|
||||
@@ -420,7 +420,7 @@ static char *mh_get_profile(void)
|
||||
|
||||
if ((cp = getenv("MH")))
|
||||
{
|
||||
- if (*cp |= '/')
|
||||
+ if (*cp != '/')
|
||||
profile = absname(cp, CWD);
|
||||
else
|
||||
profile = xstrdup(cp);
|
||||
@@ -488,7 +488,7 @@ static int mh_getseqcnt(const char *word)
|
||||
{
|
||||
int retval = 0;
|
||||
|
||||
- if (isnumber(word))
|
||||
+ if (isnum(word))
|
||||
retval = 1;
|
||||
else
|
||||
{
|
||||
@@ -607,7 +607,7 @@ static int mh_getmails(const char *mh_box)
|
||||
|
||||
while ((d_entry = readdir(dir)))
|
||||
{
|
||||
- if (isnumber(d_entry->d_name))
|
||||
+ if (isnum(d_entry->d_name))
|
||||
{
|
||||
char * tmp = NULL;
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
--- wmmaiload/dockapp.c.orig 2022-11-07 08:58:34 UTC
|
||||
+++ wmmaiload/dockapp.c
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "dockapp.h"
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
+#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define WINDOWED_SIZE_W 64
|
||||
@@ -1,11 +0,0 @@
|
||||
--- wmmaiload/main.h.orig 2005-08-28 11:54:03 UTC
|
||||
+++ wmmaiload/main.h
|
||||
@@ -27,8 +27,6 @@
|
||||
#ifndef MAIN_H
|
||||
#define MAIN_H
|
||||
|
||||
-#include <utime.h>
|
||||
-#include <time.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include "dockapp.h"
|
||||
@@ -1,20 +0,0 @@
|
||||
--- wmmaiload/ssl.c.orig 2005-07-30 13:52:55 UTC
|
||||
+++ wmmaiload/ssl.c
|
||||
@@ -23,6 +23,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
+#include <string.h>
|
||||
+
|
||||
#include "config.h"
|
||||
|
||||
#ifdef HAVE_SSL
|
||||
@@ -39,7 +41,7 @@ static SSL_CTX *init_CTX(void)
|
||||
|
||||
OpenSSL_add_all_algorithms();
|
||||
|
||||
- method = SSLv2_client_method();
|
||||
+ method = SSLv23_client_method();
|
||||
ctx = SSL_CTX_new(method);
|
||||
return ctx;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
This dockapp monitors your incoming mail in 1 or more mailboxes in mbox
|
||||
format.
|
||||
Reference in New Issue
Block a user