Bug 187196 - [patch] update and clean up sysutils/byobu
Summary: [patch] update and clean up sysutils/byobu
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Adam Weinberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-02 15:40 UTC by Adam Weinberger
Modified: 2014-03-03 00:20 UTC (History)
0 users

See Also:


Attachments
byobu.patch (7.32 KB, patch)
2014-03-02 15:40 UTC, Adam Weinberger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Weinberger freebsd_committer freebsd_triage 2014-03-02 15:40:00 UTC
Well, sysutils/byobu is using a release from over 3 years ago, and has missed
the last 120 updates (not exaggerating). The Makefile also needs to be cleaned
up a bit.

Fix: The attached patch:
* Updates to the latest release
* Extends the path-fixups to the rest of the missed files
* Accounts for having 2 bash ports in the tree
* Modernizes the MDOCS behaviour with staging
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-02 15:40:07 UTC
Maintainer of sysutils/byobu,

Please note that PR ports/187196 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/187196

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-02 15:40:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Adam Weinberger freebsd_committer freebsd_triage 2014-03-02 15:49:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->adamw

Take this.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-03-03 00:10:23 UTC
Author: adamw
Date: Mon Mar  3 00:10:14 2014
New Revision: 346844
URL: http://svnweb.freebsd.org/changeset/ports/346844
QAT: https://qat.redports.org/buildarchive/r346844/

Log:
  - Update to 5.71
  - Correct paths in all files
  - Support bash-devel
  - Use MDOCS
  - Improve WWW
  
  PR:		ports/187196
  Approved by:	maintainer

Modified:
  head/sysutils/byobu/Makefile
  head/sysutils/byobu/distinfo
  head/sysutils/byobu/pkg-descr
  head/sysutils/byobu/pkg-plist

Modified: head/sysutils/byobu/Makefile
==============================================================================
--- head/sysutils/byobu/Makefile	Mon Mar  3 00:01:34 2014	(r346843)
+++ head/sysutils/byobu/Makefile	Mon Mar  3 00:10:14 2014	(r346844)
@@ -2,31 +2,29 @@
 # $FreeBSD$
 
 PORTNAME=	byobu
-PORTVERSION=	3.29
-PORTREVISION=	1
+PORTVERSION=	5.73
 CATEGORIES=	sysutils
-MASTER_SITES=	http://launchpadlibrarian.net/65243016/
+MASTER_SITES=	http://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
 DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
 
 MAINTAINER=	gslin@gslin.org
 COMMENT=	Profile and configuration utilities for GNU Screen
 
-RUN_DEPENDS=	${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
-		${LOCALBASE}/bin/screen:${PORTSDIR}/sysutils/screen
+RUN_DEPENDS=	screen:${PORTSDIR}/sysutils/screen
 
 GNU_CONFIGURE=	yes
 USE_PYTHON=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
+OPTIONS_DEFINE=	BASH_DEVEL
+BASH_DEVEL_DESC=Use bash-devel instead of bash
+BASH_DEVEL_RUN_DEPENDS=		bash:${PORTSDIR}/shells/bash-devel
+BASH_DEVEL_RUN_DEPENDS_OFF=	bash:${PORTSDIR}/shells/bash
+
 post-patch:
-	${REINPLACE_CMD} \
-		-e "s@/bin/bash@${LOCALBASE}/bin/bash@" \
-		-e "s@/usr/bin/python@${PYTHON_CMD}@" \
-		${WRKSRC}/usr/bin/*
-.if defined(NOPORTDOCS)
-	${REINPLACE_CMD} \
-		-e "s@^install:.*@install:@" \
-		${WRKSRC}/usr/share/doc/byobu/Makefile.in
-.endif
+	${FIND} ${WRKSRC} -type f | ${XARGS} \
+		${REINPLACE_CMD} \
+			-e "s@/bin/bash@${LOCALBASE}/bin/bash@" \
+			-e "s@/usr/bin/python@${PYTHON_CMD}@"
 
 .include <bsd.port.mk>

Modified: head/sysutils/byobu/distinfo
==============================================================================
--- head/sysutils/byobu/distinfo	Mon Mar  3 00:01:34 2014	(r346843)
+++ head/sysutils/byobu/distinfo	Mon Mar  3 00:10:14 2014	(r346844)
@@ -1,2 +1,2 @@
-SHA256 (byobu_3.29.orig.tar.gz) = c451147409bccabd13d22a6f0921e235bc6fa98d04301da2fb8d4ad83bf7a640
-SIZE (byobu_3.29.orig.tar.gz) = 366937
+SHA256 (byobu_5.73.orig.tar.gz) = c5508b591f4bb1f9cbfb3e9264b3e123eac791c395c5864b9ccb3da10e684ce1
+SIZE (byobu_5.73.orig.tar.gz) = 635985

Modified: head/sysutils/byobu/pkg-descr
==============================================================================
--- head/sysutils/byobu/pkg-descr	Mon Mar  3 00:01:34 2014	(r346843)
+++ head/sysutils/byobu/pkg-descr	Mon Mar  3 00:10:14 2014	(r346844)
@@ -4,4 +4,4 @@ enhancement of the otherwise functional,
 includes an enhanced profile and configuration utilities for the GNU screen
 window manager, such as toggle-able system status notifications.
 
-WWW:	https://launchpad.net/byobu
+WWW: http://www.byobu.co

Modified: head/sysutils/byobu/pkg-plist
==============================================================================
--- head/sysutils/byobu/pkg-plist	Mon Mar  3 00:01:34 2014	(r346843)
+++ head/sysutils/byobu/pkg-plist	Mon Mar  3 00:10:14 2014	(r346844)
@@ -1,55 +1,38 @@
-%%DATADIR%%/ec2/rates.eu_ie
-%%DATADIR%%/ec2/rates.us_ca
-%%DATADIR%%/ec2/rates.us_va
-%%DATADIR%%/keybindings/common
-%%DATADIR%%/keybindings/f-keys
-%%DATADIR%%/keybindings/none
-%%DATADIR%%/keybindings/screen-escape-keys
-%%DATADIR%%/pixmaps/byobu.svg
-%%DATADIR%%/profiles/NONE
-%%DATADIR%%/profiles/byoburc
-%%DATADIR%%/profiles/common
-%%DATADIR%%/profiles/socketdir
-%%DATADIR%%/profiles/statusrc
-%%DATADIR%%/tests/byobu-time-notifications
-%%DATADIR%%/windows/common
-%%PORTDOCS%%%%DOCSDIR%%/help.txt
-man/man1/byobu-config.1.gz
-man/man1/byobu-disable.1.gz
-man/man1/byobu-enable.1.gz
-man/man1/byobu-export.1.gz
-man/man1/byobu-janitor.1.gz
-man/man1/byobu-launch.1.gz
-man/man1/byobu-launcher-install.1.gz
-man/man1/byobu-launcher-uninstall.1.gz
-man/man1/byobu-launcher.1.gz
-man/man1/byobu-reconnect-sockets.1.gz
-man/man1/byobu-select-profile.1.gz
-man/man1/byobu-select-session.1.gz
-man/man1/byobu-status-detail.1.gz
-man/man1/byobu-status.1.gz
-man/man1/byobu.1.gz
-man/man1/shell.1.gz
 bin/byobu
+bin/byobu-ctrl-a
 bin/byobu-config
 bin/byobu-disable
+bin/byobu-disable-prompt
 bin/byobu-enable
+bin/byobu-enable-prompt
 bin/byobu-export
 bin/byobu-janitor
+bin/byobu-keybindings
 bin/byobu-launch
 bin/byobu-launcher
 bin/byobu-launcher-install
 bin/byobu-launcher-uninstall
+bin/byobu-layout
+bin/byobu-prompt
+bin/byobu-quiet
 bin/byobu-reconnect-sockets
+bin/byobu-screen
+bin/byobu-select-backend
 bin/byobu-select-profile
 bin/byobu-select-session
+bin/byobu-shell
+bin/byobu-silent
 bin/byobu-status
 bin/byobu-status-detail
-bin/shell
-lib/byobu/.notify_osd
+bin/byobu-tmux
+bin/byobu-ugraph
+bin/byobu-ulevel
+%%ETCDIR%%/backend
+%%ETCDIR%%/socketdir
 lib/byobu/apport
 lib/byobu/arch
 lib/byobu/battery
+lib/byobu/color
 lib/byobu/cpu_count
 lib/byobu/cpu_freq
 lib/byobu/cpu_temp
@@ -57,24 +40,40 @@ lib/byobu/custom
 lib/byobu/date
 lib/byobu/disk
 lib/byobu/disk_io
+lib/byobu/distro
 lib/byobu/ec2_cost
+lib/byobu/entropy
 lib/byobu/fan_speed
 lib/byobu/hostname
+lib/byobu/include/common
+lib/byobu/include/config.py
+lib/byobu/include/constants
+lib/byobu/include/cycle-status
+lib/byobu/include/dirs
+lib/byobu/include/ec2instancespricing.py
+lib/byobu/include/icons
+lib/byobu/include/mondrian
+lib/byobu/include/notify_osd
+lib/byobu/include/select-session.py
+lib/byobu/include/shutil
+lib/byobu/include/tmux-detach-all-but-current-client
+lib/byobu/include/tmux-send-command-to-all-panes
+lib/byobu/include/tmux-send-command-to-all-windows
+lib/byobu/include/toggle-utf8
 lib/byobu/ip_address
 lib/byobu/load_average
 lib/byobu/logo
 lib/byobu/mail
-lib/byobu/mem_available
-lib/byobu/mem_used
+lib/byobu/memory
 lib/byobu/menu
 lib/byobu/network
-lib/byobu/notify_osd
 lib/byobu/processes
 lib/byobu/raid
 lib/byobu/rcs_cost
 lib/byobu/reboot_required
 lib/byobu/release
 lib/byobu/services
+lib/byobu/session
 lib/byobu/swap
 lib/byobu/time
 lib/byobu/time_binary
@@ -85,13 +84,68 @@ lib/byobu/uptime
 lib/byobu/users
 lib/byobu/whoami
 lib/byobu/wifi_quality
+man/man1/byobu-ctrl-a.1.gz
+man/man1/byobu-config.1.gz
+man/man1/byobu-disable.1.gz
+man/man1/byobu-disable-prompt.1.gz
+man/man1/byobu-enable.1.gz
+man/man1/byobu-enable-prompt.1.gz
+man/man1/byobu-export.1.gz
+man/man1/byobu-janitor.1.gz
+man/man1/byobu-keybindings.1.gz
+man/man1/byobu-launch.1.gz
+man/man1/byobu-launcher-install.1.gz
+man/man1/byobu-launcher-uninstall.1.gz
+man/man1/byobu-launcher.1.gz
+man/man1/byobu-layout.1.gz
+man/man1/byobu-prompt.1.gz
+man/man1/byobu-quiet.1.gz
+man/man1/byobu-reconnect-sockets.1.gz
+man/man1/byobu-screen.1.gz
+man/man1/byobu-select-backend.1.gz
+man/man1/byobu-select-profile.1.gz
+man/man1/byobu-select-session.1.gz
+man/man1/byobu-shell.1.gz
+man/man1/byobu-silent.1.gz
+man/man1/byobu-status-detail.1.gz
+man/man1/byobu-status.1.gz
+man/man1/byobu-tmux.1.gz
+man/man1/byobu-ugraph.1.gz
+man/man1/byobu-ulevel.1.gz
+man/man1/byobu.1.gz
 share/applications/byobu.desktop
-@dirrm lib/byobu
+%%DATADIR%%/keybindings/common
+%%DATADIR%%/keybindings/f-keys
+%%DATADIR%%/keybindings/f-keys.screen
+%%DATADIR%%/keybindings/f-keys.screen.disable
+%%DATADIR%%/keybindings/f-keys.tmux
+%%DATADIR%%/keybindings/f-keys.tmux.disable
+%%DATADIR%%/keybindings/mouse.tmux.disable
+%%DATADIR%%/keybindings/mouse.tmux.enable
+%%DATADIR%%/keybindings/none
+%%DATADIR%%/keybindings/tmux-screen-keys.conf
+%%DATADIR%%/pixmaps/byobu.svg
+%%DATADIR%%/profiles/NONE
+%%DATADIR%%/profiles/bashrc
+%%DATADIR%%/profiles/byoburc
+%%DATADIR%%/profiles/common
+%%DATADIR%%/profiles/screenrc
+%%DATADIR%%/profiles/tmux
+%%DATADIR%%/profiles/tmuxrc
+%%DATADIR%%/status/status
+%%DATADIR%%/status/statusrc
+%%DATADIR%%/tests/byobu-time-notifications
+%%DATADIR%%/windows/common
+%%PORTDOCS%%%%DOCSDIR%%/help.screen.txt
+%%PORTDOCS%%%%DOCSDIR%%/help.tmux.txt
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm %%DATADIR%%/windows
 @dirrm %%DATADIR%%/tests
+@dirrm %%DATADIR%%/status
 @dirrm %%DATADIR%%/profiles
 @dirrm %%DATADIR%%/pixmaps
 @dirrm %%DATADIR%%/keybindings
-@dirrm %%DATADIR%%/ec2
 @dirrm %%DATADIR%%
+@dirrm lib/byobu/include
+@dirrm lib/byobu
+@dirrm %%ETCDIR%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Adam Weinberger freebsd_committer freebsd_triage 2014-03-03 00:10:29 UTC
State Changed
From-To: feedback->closed

Committed. Thanks for such a fast response, Gea-Suan!