Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2014 06:35:41 GMT
From:      Mikhail <mp39590@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185903: port update: x11/tabbed
Message-ID:  <201401200635.s0K6ZfMG076560@oldred.freebsd.org>
Resent-Message-ID: <201401200640.s0K6e0kA017960@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185903
>Category:       ports
>Synopsis:       port update: x11/tabbed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 20 06:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail
>Release:        10.0-BETA3
>Organization:
>Environment:
FreeBSD edge 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov  3 19:43:01 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
x11/tabbed port has not been updated for 3 years, since then two new versions are out, current one is 0.5. Attached patch updates it to the current version, and also adds staging build/optionsNG support.

Maintainer's email is on @lavabit.com domain, which has been closed (www.lavabit.com), emails are returned with errors.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -crN tabbed.orig/Makefile tabbed/Makefile
*** tabbed.orig/Makefile	2014-01-19 21:48:01.000000000 +0400
--- tabbed/Makefile	2014-01-19 22:49:01.000000000 +0400
***************
*** 2,8 ****
  # $FreeBSD: x11/tabbed/Makefile 327777 2013-09-20 23:43:19Z bapt $
  
  PORTNAME=	tabbed
! PORTVERSION=	0.3
  CATEGORIES=	x11
  MASTER_SITES=	http://dl.suckless.org/tools/
  
--- 2,8 ----
  # $FreeBSD: x11/tabbed/Makefile 327777 2013-09-20 23:43:19Z bapt $
  
  PORTNAME=	tabbed
! PORTVERSION=	0.5
  CATEGORIES=	x11
  MASTER_SITES=	http://dl.suckless.org/tools/
  
***************
*** 13,23 ****
  
  USE_XORG=	x11
  
! MAN1=		tabbed.1
! PLIST_FILES=	bin/tabbed
  PORTDOCS=	LICENSE README
  
! NO_STAGE=	yes
  pre-everything::
  	@${ECHO_MSG} "You can build tabbed with your own config.h using the TABBED_CONF knob:"
  	@${ECHO_MSG} "make TABBED_CONF=/path/to/tabbed/config.h install clean"
--- 13,26 ----
  
  USE_XORG=	x11
  
! OPTIONS_DEFINE=	DOCS
! 
! PLIST_FILES=	bin/tabbed \
! 		man/man1/tabbed.1.gz
  PORTDOCS=	LICENSE README
  
! .include <bsd.port.options.mk>
! 
  pre-everything::
  	@${ECHO_MSG} "You can build tabbed with your own config.h using the TABBED_CONF knob:"
  	@${ECHO_MSG} "make TABBED_CONF=/path/to/tabbed/config.h install clean"
***************
*** 29,39 ****
  .endif
  
  post-install:
! .if !defined(NOPORTDOCS)
! 	@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
! 	@${MKDIR} ${DOCSDIR}
! 	@${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
! 	@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
  .endif
  
  .include <bsd.port.mk>
--- 32,42 ----
  .endif
  
  post-install:
! .if ${PORT_OPTIONS:MDOCS}
! 	@${ECHO_MSG} "installing additional documentation to ${STAGEDIR}${DOCSDIR}"
! 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
! 	@${INSTALL_MAN} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}
! 	@${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
  .endif
  
  .include <bsd.port.mk>
diff -crN tabbed.orig/distinfo tabbed/distinfo
*** tabbed.orig/distinfo	2014-01-19 21:48:01.000000000 +0400
--- tabbed/distinfo	2014-01-19 21:52:22.000000000 +0400
***************
*** 1,2 ****
! SHA256 (tabbed-0.3.tar.gz) = bb72aa6e4831e0aadee8a6232d8532a548e736236bbaaed970e77fb5d3177ff0
! SIZE (tabbed-0.3.tar.gz) = 9177
--- 1,2 ----
! SHA256 (tabbed-0.5.tar.gz) = 21226506761909fadebdd5fae0ff5149b9a378836fa515c45efbcbe504321fb9
! SIZE (tabbed-0.5.tar.gz) = 11703
diff -crN tabbed.orig/files/patch-config.mk tabbed/files/patch-config.mk
*** tabbed.orig/files/patch-config.mk	2014-01-19 21:48:01.000000000 +0400
--- tabbed/files/patch-config.mk	2014-01-19 22:40:54.000000000 +0400
***************
*** 1,25 ****
! --- config.mk.orig	2010-09-03 23:40:32.000000000 -0500
! +++ config.mk	2010-09-03 23:42:18.000000000 -0500
! @@ -4,12 +4,12 @@
!  # Customize below to fit your system
!  
!  # paths
! -PREFIX = /usr/local
! -MANPREFIX = ${PREFIX}/share/man
! +PREFIX?= /usr/local
! +MANPREFIX = ${PREFIX}/man
!  
!  # includes and libs
! -INCS = -I. -I/usr/include
! -LIBS = -L/usr/lib -lc -lX11
! +INCS = -I. -I/usr/include -I/usr/local/include
! +LIBS = -L/usr/lib -L/usr/local/lib -lc -lX11
!  
!  # flags
!  CPPFLAGS = -DVERSION=\"${VERSION}\"
! @@ -21,4 +21,4 @@
!  #LDFLAGS = ${LIBS}
!  
!  # compiler and linker
! -CC = cc
! +CC?= cc
--- 1,40 ----
! *** config.mk.orig	2014-01-19 21:53:24.000000000 +0400
! --- config.mk	2014-01-19 22:40:13.000000000 +0400
! ***************
! *** 5,15 ****
!   
!   # paths
!   PREFIX = /usr/local
! ! MANPREFIX = ${PREFIX}/share/man
!   
!   # includes and libs
! ! INCS = -I. -I/usr/include
! ! LIBS = -L/usr/lib -lc -lX11
!   
!   # flags
!   CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE
! --- 5,15 ----
!   
!   # paths
!   PREFIX = /usr/local
! ! MANPREFIX = ${PREFIX}/man
!   
!   # includes and libs
! ! INCS = -I. -I/usr/local/include
! ! LIBS = -L/usr/local/lib -lc -lX11
!   
!   # flags
!   CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE
! ***************
! *** 21,25 ****
!   #LDFLAGS = ${LIBS}
!   
!   # compiler and linker
! ! CC = cc
!   
! --- 21,25 ----
!   #LDFLAGS = ${LIBS}
!   
!   # compiler and linker
! ! CC?= cc
!   


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401200635.s0K6ZfMG076560>