From b260aed572fc683366341dfcb1483e0db05d1e14 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sat, 17 May 2025 12:32:59 +0200 Subject: [PATCH] mail/wmmaiload: Remove port Desktop application not relevant to server environment --- .portsignore | 1 + mail/Makefile | 1 - mail/wmmaiload/Makefile | 42 ----------------- mail/wmmaiload/distinfo | 2 - .../files/patch-wmmaiload-config_mainwindow.c | 47 ------------------- .../wmmaiload/files/patch-wmmaiload_Init.make | 18 ------- .../files/patch-wmmaiload_checkthread.c | 47 ------------------- .../wmmaiload/files/patch-wmmaiload_dockapp.c | 10 ---- mail/wmmaiload/files/patch-wmmaiload_main.h | 11 ----- mail/wmmaiload/files/patch-wmmaiload_ssl.c | 20 -------- mail/wmmaiload/pkg-descr | 2 - 11 files changed, 1 insertion(+), 200 deletions(-) delete mode 100644 mail/wmmaiload/Makefile delete mode 100644 mail/wmmaiload/distinfo delete mode 100644 mail/wmmaiload/files/patch-wmmaiload-config_mainwindow.c delete mode 100644 mail/wmmaiload/files/patch-wmmaiload_Init.make delete mode 100644 mail/wmmaiload/files/patch-wmmaiload_checkthread.c delete mode 100644 mail/wmmaiload/files/patch-wmmaiload_dockapp.c delete mode 100644 mail/wmmaiload/files/patch-wmmaiload_main.h delete mode 100644 mail/wmmaiload/files/patch-wmmaiload_ssl.c delete mode 100644 mail/wmmaiload/pkg-descr diff --git a/.portsignore b/.portsignore index c72e700594ea..801c4418f963 100644 --- a/.portsignore +++ b/.portsignore @@ -4454,6 +4454,7 @@ mail/tumgreyspf mail/usendmail mail/vpopmail mail/vqadmin +mail/wmmaiload mail/xfce4-mailwatch-plugin math/aamath math/abella diff --git a/mail/Makefile b/mail/Makefile index ee63b8d32639..1fbe08c87fcc 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -615,7 +615,6 @@ SUBDIR += websieve SUBDIR += whoson SUBDIR += wmbiff - SUBDIR += wmmaiload SUBDIR += x-face-e21 SUBDIR += xbuffy SUBDIR += xcite diff --git a/mail/wmmaiload/Makefile b/mail/wmmaiload/Makefile deleted file mode 100644 index e39eb6abe61e..000000000000 --- a/mail/wmmaiload/Makefile +++ /dev/null @@ -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 diff --git a/mail/wmmaiload/distinfo b/mail/wmmaiload/distinfo deleted file mode 100644 index be639a4de2a0..000000000000 --- a/mail/wmmaiload/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (wmmaiload-2.3.0.tar.bz2) = 54d2e35ddc7b5e7cd0be9b3db90d26d9289ac436c6ae9a6c2063afe17ce80ad8 -SIZE (wmmaiload-2.3.0.tar.bz2) = 42852 diff --git a/mail/wmmaiload/files/patch-wmmaiload-config_mainwindow.c b/mail/wmmaiload/files/patch-wmmaiload-config_mainwindow.c deleted file mode 100644 index 10678baec26e..000000000000 --- a/mail/wmmaiload/files/patch-wmmaiload-config_mainwindow.c +++ /dev/null @@ -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); diff --git a/mail/wmmaiload/files/patch-wmmaiload_Init.make b/mail/wmmaiload/files/patch-wmmaiload_Init.make deleted file mode 100644 index 93cd2c1435b8..000000000000 --- a/mail/wmmaiload/files/patch-wmmaiload_Init.make +++ /dev/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) - - - #***************************************************************** diff --git a/mail/wmmaiload/files/patch-wmmaiload_checkthread.c b/mail/wmmaiload/files/patch-wmmaiload_checkthread.c deleted file mode 100644 index eee126b8dcf8..000000000000 --- a/mail/wmmaiload/files/patch-wmmaiload_checkthread.c +++ /dev/null @@ -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; - diff --git a/mail/wmmaiload/files/patch-wmmaiload_dockapp.c b/mail/wmmaiload/files/patch-wmmaiload_dockapp.c deleted file mode 100644 index 52f88ec43ad9..000000000000 --- a/mail/wmmaiload/files/patch-wmmaiload_dockapp.c +++ /dev/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 - #include -+#include - #include - - #define WINDOWED_SIZE_W 64 diff --git a/mail/wmmaiload/files/patch-wmmaiload_main.h b/mail/wmmaiload/files/patch-wmmaiload_main.h deleted file mode 100644 index cf70edc2c584..000000000000 --- a/mail/wmmaiload/files/patch-wmmaiload_main.h +++ /dev/null @@ -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 --#include - #include - #include - #include "dockapp.h" diff --git a/mail/wmmaiload/files/patch-wmmaiload_ssl.c b/mail/wmmaiload/files/patch-wmmaiload_ssl.c deleted file mode 100644 index a422839eec16..000000000000 --- a/mail/wmmaiload/files/patch-wmmaiload_ssl.c +++ /dev/null @@ -1,20 +0,0 @@ ---- wmmaiload/ssl.c.orig 2005-07-30 13:52:55 UTC -+++ wmmaiload/ssl.c -@@ -23,6 +23,8 @@ - * - */ - -+#include -+ - #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; - } diff --git a/mail/wmmaiload/pkg-descr b/mail/wmmaiload/pkg-descr deleted file mode 100644 index 1bd42ffce913..000000000000 --- a/mail/wmmaiload/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -This dockapp monitors your incoming mail in 1 or more mailboxes in mbox -format.