svn commit: r353551 - in head/mail/xbuffy: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat May 10 00:26:10 UTC 2014


Author: amdmi3
Date: Sat May 10 00:26:07 2014
New Revision: 353551
URL: http://svnweb.freebsd.org/changeset/ports/353551
QAT: https://qat.redports.org/buildarchive/r353551/

Log:
  - Support staging
  - Use meaningful patch names
  - Convert USE_GMAKE to USES

Added:
  head/mail/xbuffy/files/patch-Makefile.in   (contents, props changed)
  head/mail/xbuffy/files/patch-libdyn__dyn_append.c
     - copied unchanged from r353520, head/mail/xbuffy/files/patch-aa
  head/mail/xbuffy/files/patch-libdyn__dyn_create.c
     - copied unchanged from r353520, head/mail/xbuffy/files/patch-ab
  head/mail/xbuffy/files/patch-libdyn__dyn_delete.c
     - copied unchanged from r353520, head/mail/xbuffy/files/patch-ac
  head/mail/xbuffy/files/patch-libdyn__dyn_insert.c
     - copied unchanged from r353520, head/mail/xbuffy/files/patch-ad
  head/mail/xbuffy/files/patch-libdyn__dyn_put.c
     - copied unchanged from r353520, head/mail/xbuffy/files/patch-ae
  head/mail/xbuffy/files/patch-libdyn__dyn_realloc.c
     - copied unchanged from r353520, head/mail/xbuffy/files/patch-af
  head/mail/xbuffy/files/patch-nntp.c
     - copied unchanged from r353520, head/mail/xbuffy/files/patch-ag
  head/mail/xbuffy/files/patch-xbuffy.c
     - copied unchanged from r353520, head/mail/xbuffy/files/patch-ah
Deleted:
  head/mail/xbuffy/files/patch-aa
  head/mail/xbuffy/files/patch-ab
  head/mail/xbuffy/files/patch-ac
  head/mail/xbuffy/files/patch-ad
  head/mail/xbuffy/files/patch-ae
  head/mail/xbuffy/files/patch-af
  head/mail/xbuffy/files/patch-ag
  head/mail/xbuffy/files/patch-ah
Modified:
  head/mail/xbuffy/Makefile

Modified: head/mail/xbuffy/Makefile
==============================================================================
--- head/mail/xbuffy/Makefile	Sat May 10 00:24:32 2014	(r353550)
+++ head/mail/xbuffy/Makefile	Sat May 10 00:26:07 2014	(r353551)
@@ -12,10 +12,11 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A replacement for xbiff that handles multiple mail files
 
 USE_XORG=	xext xt xaw
-USE_GMAKE=	yes
+USES=		gmake
 GNU_CONFIGURE=	yes
-MAN1=		xbuffy.1
-PLIST_FILES=	bin/xbuffy lib/X11/app-defaults/XBuffy
+PLIST_FILES=	bin/xbuffy lib/X11/app-defaults/XBuffy man/man1/xbuffy.1.gz
+
+post-build:
+	${STRIP_CMD} ${WRKSRC}/${PORTNAME}
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Added: head/mail/xbuffy/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/xbuffy/files/patch-Makefile.in	Sat May 10 00:26:07 2014	(r353551)
@@ -0,0 +1,28 @@
+--- Makefile.in.orig	1998-07-01 14:15:32.000000000 +0400
++++ Makefile.in	2014-05-10 03:42:48.000000000 +0400
+@@ -41,17 +41,16 @@
+ 	(cd libdyn && $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS) -I..")
+ 
+ install: xbuffy @LED@
+-	$(srcdir)/mkinstalldirs $(bindir)
+-	-mv -f $(bindir)/xbuffy $(bindir)/xbuffy.old
+-	$(INSTALL) -m 755 xbuffy $(bindir)
++	$(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
++	$(INSTALL) -m 755 xbuffy $(DESTDIR)$(bindir)
+ 	-if [ "@LED@" ]; then  \
+-		$(INSTALL) -m 4755 led $(bindir); \
++		$(INSTALL) -m 4755 led $(DESTDIR)$(bindir); \
+ 	fi
+-	$(srcdir)/mkinstalldirs $(mandir)/man1
+-	$(INSTALL) -m 644 $(srcdir)/xbuffy.man $(mandir)/man1/xbuffy.1
+-	-if [ ! -f $(libdir)/X11/app-defaults/XBuffy ]; then \
+-		$(srcdir)/mkinstalldirs $(libdir)/X11/app-defaults; \
+-		$(INSTALL) -m 644 $(srcdir)/XBuffy.ad $(libdir)/X11/app-defaults/XBuffy; \
++	$(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
++	$(INSTALL) -m 644 $(srcdir)/xbuffy.man $(DESTDIR)$(mandir)/man1/xbuffy.1
++	-if [ ! -f $(DESTDIR)$(libdir)/X11/app-defaults/XBuffy ]; then \
++		$(srcdir)/mkinstalldirs $(DESTDIR)$(libdir)/X11/app-defaults; \
++		$(INSTALL) -m 644 $(srcdir)/XBuffy.ad $(DESTDIR)$(libdir)/X11/app-defaults/XBuffy; \
+ 	fi
+ 
+ uninstall:

Copied: head/mail/xbuffy/files/patch-libdyn__dyn_append.c (from r353520, head/mail/xbuffy/files/patch-aa)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/xbuffy/files/patch-libdyn__dyn_append.c	Sat May 10 00:26:07 2014	(r353551, copy of r353520, head/mail/xbuffy/files/patch-aa)
@@ -0,0 +1,20 @@
+diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_append.c ./libdyn/dyn_append.c
+--- ../../xbuffy-3.3.bl.3/libdyn/dyn_append.c	Fri Feb 20 17:54:14 1998
++++ ./libdyn/dyn_append.c	Tue May  8 13:13:43 2001
+@@ -11,6 +11,7 @@
+  */
+ 
+ #include <stdio.h>
++#include <string.h>
+ 
+ #include "dynP.h"
+ 
+@@ -20,7 +21,7 @@
+    int num;
+ {
+      if (obj->debug)
+-	  fprintf(stderr, "dyn: append: Writing %d bytes from %d to %d + %d\n",
++	  fprintf(stderr, "dyn: append: Writing %d bytes from %p to %p + %d\n",
+ 		  obj->el_size*num, els, obj->array, obj->num_el*obj->el_size);
+ 
+      if (obj->size < obj->num_el + num) {

Copied: head/mail/xbuffy/files/patch-libdyn__dyn_create.c (from r353520, head/mail/xbuffy/files/patch-ab)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/xbuffy/files/patch-libdyn__dyn_create.c	Sat May 10 00:26:07 2014	(r353551, copy of r353520, head/mail/xbuffy/files/patch-ab)
@@ -0,0 +1,11 @@
+diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_create.c ./libdyn/dyn_create.c
+--- ../../xbuffy-3.3.bl.3/libdyn/dyn_create.c	Fri Feb 20 17:54:14 1998
++++ ./libdyn/dyn_create.c	Tue May  8 13:13:43 2001
+@@ -12,6 +12,7 @@
+  */
+ 
+ #include <stdio.h>
++#include <stdlib.h>
+ 
+ #include "dynP.h"
+ 

Copied: head/mail/xbuffy/files/patch-libdyn__dyn_delete.c (from r353520, head/mail/xbuffy/files/patch-ac)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/xbuffy/files/patch-libdyn__dyn_delete.c	Sat May 10 00:26:07 2014	(r353551, copy of r353520, head/mail/xbuffy/files/patch-ac)
@@ -0,0 +1,29 @@
+diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_delete.c ./libdyn/dyn_delete.c
+--- ../../xbuffy-3.3.bl.3/libdyn/dyn_delete.c	Fri Feb 20 17:54:14 1998
++++ ./libdyn/dyn_delete.c	Tue May  8 13:13:43 2001
+@@ -11,6 +11,7 @@
+  */
+ 
+ #include <stdio.h>
++#include <string.h>
+ 
+ #include "dynP.h"
+ 
+@@ -45,7 +46,7 @@
+      else {
+ 	  if (obj->debug)
+ 	       fprintf(stderr,
+-		       "dyn: delete: copying %d bytes from %d + %d to + %d.\n",
++		       "dyn: delete: copying %d bytes from %p + %d to + %d.\n",
+ 		       obj->el_size*(obj->num_el - index), obj->array,
+ 		       (index+1)*obj->el_size, index*obj->el_size);
+ 	  
+@@ -56,7 +57,7 @@
+ 	  if (obj->paranoid) {
+ 	       if (obj->debug)
+ 		    fprintf(stderr,
+-			    "dyn: delete: zeroing %d bytes from %d + %d\n",
++			    "dyn: delete: zeroing %d bytes from %p + %d\n",
+ 			    obj->el_size, obj->array,
+ 			    obj->el_size*(obj->num_el - 1));
+ 	       bzero(obj->array + obj->el_size*(obj->num_el - 1),

Copied: head/mail/xbuffy/files/patch-libdyn__dyn_insert.c (from r353520, head/mail/xbuffy/files/patch-ad)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/xbuffy/files/patch-libdyn__dyn_insert.c	Sat May 10 00:26:07 2014	(r353551, copy of r353520, head/mail/xbuffy/files/patch-ad)
@@ -0,0 +1,29 @@
+diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_insert.c ./libdyn/dyn_insert.c
+--- ../../xbuffy-3.3.bl.3/libdyn/dyn_insert.c	Fri Feb 20 17:54:14 1998
++++ ./libdyn/dyn_insert.c	Tue May  8 13:13:43 2001
+@@ -11,6 +11,7 @@
+  */
+ 
+ #include <stdio.h>
++#include <string.h>
+ #include "dynP.h"
+ 
+ int DynInsert(obj, index, els, num)
+@@ -35,7 +36,7 @@
+      }
+ 
+      if (obj->debug)
+-	  fprintf(stderr,"dyn: insert: Moving %d bytes from %d + %d to + %d\n",
++	  fprintf(stderr,"dyn: insert: Moving %d bytes from %p + %d to + %d\n",
+ 		  (obj->num_el-index)*obj->el_size, obj->array,
+ 		  obj->el_size*index, obj->el_size*(index+num));
+ 
+@@ -46,7 +47,7 @@
+ 	   (obj->num_el-index)*obj->el_size);
+ 
+      if (obj->debug)
+-	  fprintf(stderr, "dyn: insert: Copying %d bytes from %d to %d + %d\n",
++	  fprintf(stderr, "dyn: insert: Copying %d bytes from %p to %p + %d\n",
+ 		  obj->el_size*num, els, obj->array, obj->el_size*index);
+ 
+      bcopy(els, obj->array + obj->el_size*index, obj->el_size*num);

Copied: head/mail/xbuffy/files/patch-libdyn__dyn_put.c (from r353520, head/mail/xbuffy/files/patch-ae)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/xbuffy/files/patch-libdyn__dyn_put.c	Sat May 10 00:26:07 2014	(r353551, copy of r353520, head/mail/xbuffy/files/patch-ae)
@@ -0,0 +1,29 @@
+diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_put.c ./libdyn/dyn_put.c
+--- ../../xbuffy-3.3.bl.3/libdyn/dyn_put.c	Fri Feb 20 17:54:14 1998
++++ ./libdyn/dyn_put.c	Tue May  8 13:13:44 2001
+@@ -11,6 +11,7 @@
+  */
+ 
+ #include <stdio.h>
++#include <string.h>
+ 
+ #include "dynP.h"
+ 
+@@ -34,7 +35,7 @@
+      }
+      
+      if (obj->debug)
+-	  fprintf(stderr, "dyn: get: Returning address %d + %d.\n",
++	  fprintf(stderr, "dyn: get: Returning address %p + %d.\n",
+ 		  obj->array, obj->el_size*num);
+      
+      return (DynPtr) obj->array + obj->el_size*num;
+@@ -67,7 +68,7 @@
+      int ret;
+      
+      if (obj->debug)
+-	  fprintf(stderr, "dyn: put: Writing %d bytes from %d to %d + %d\n",
++	  fprintf(stderr, "dyn: put: Writing %d bytes from %p to %p + %d\n",
+ 		  obj->el_size, el, obj->array, index*obj->el_size);
+ 
+      if ((ret = _DynResize(obj, index)) != DYN_OK)

Copied: head/mail/xbuffy/files/patch-libdyn__dyn_realloc.c (from r353520, head/mail/xbuffy/files/patch-af)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/xbuffy/files/patch-libdyn__dyn_realloc.c	Sat May 10 00:26:07 2014	(r353551, copy of r353520, head/mail/xbuffy/files/patch-af)
@@ -0,0 +1,11 @@
+diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_realloc.c ./libdyn/dyn_realloc.c
+--- ../../xbuffy-3.3.bl.3/libdyn/dyn_realloc.c	Fri Feb 20 17:54:14 1998
++++ ./libdyn/dyn_realloc.c	Tue May  8 13:13:44 2001
+@@ -11,6 +11,7 @@
+  */
+ 
+ #include <stdio.h>
++#include <stdlib.h>
+ 
+ #include "dynP.h"
+ 

Copied: head/mail/xbuffy/files/patch-nntp.c (from r353520, head/mail/xbuffy/files/patch-ag)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/xbuffy/files/patch-nntp.c	Sat May 10 00:26:07 2014	(r353551, copy of r353520, head/mail/xbuffy/files/patch-ag)
@@ -0,0 +1,16 @@
+diff -ur ../../xbuffy-3.3.bl.3/nntp.c ./nntp.c
+--- ../../xbuffy-3.3.bl.3/nntp.c	Wed Jul  1 19:12:51 1998
++++ ./nntp.c	Tue May  8 16:43:06 2001
+@@ -294,12 +294,9 @@
+ 	DynObject headerString;
+ 	Boolean *beenTouched;
+ {
+-	int sock, err, len;
+ 	char line[1024];
+-	long ipaddr;
+ 	char *from;
+ 	char *subject;
+-	long firstScanArticle;
+ 	long firstArticle;
+ 	long lastArticle;
+ 	long retVal;

Copied: head/mail/xbuffy/files/patch-xbuffy.c (from r353520, head/mail/xbuffy/files/patch-ah)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/xbuffy/files/patch-xbuffy.c	Sat May 10 00:26:07 2014	(r353551, copy of r353520, head/mail/xbuffy/files/patch-ah)
@@ -0,0 +1,15 @@
+diff -ur ../../xbuffy-3.3.bl.3/xbuffy.c ./xbuffy.c
+--- ../../xbuffy-3.3.bl.3/xbuffy.c	Wed Jul  1 19:53:44 1998
++++ ./xbuffy.c	Tue May  8 13:14:21 2001
+@@ -177,11 +177,7 @@
+     int num = 0;
+     Arg args[5];
+     int nargs;
+-    static BoxInfo_t *tempNews = 0;
+     BoxInfo_t *currentBox;
+-    int found;
+-    static char *mailHeader = NULL;
+-    int headerSize;
+     Boolean beenTouched;
+     Boolean isIcon = FALSE;
+ 


More information about the svn-ports-head mailing list