FreeBSD Bugzilla – Attachment 212846 Details for
Bug 245174
[NEW PORT] irc/birch: IRC client written in bash
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
birch-g20200327.diff
birch-g20200327.diff (text/plain), 5.48 KB, created by
Lewis Cook
on 2020-03-29 22:27:12 UTC
(
hide
)
Description:
birch-g20200327.diff
Filename:
MIME Type:
Creator:
Lewis Cook
Created:
2020-03-29 22:27:12 UTC
Size:
5.48 KB
patch
obsolete
>Index: irc/birch/Makefile >=================================================================== >--- irc/birch/Makefile (nonexistent) >+++ irc/birch/Makefile (working copy) >@@ -0,0 +1,37 @@ >+# $FreeBSD$ >+ >+PORTNAME= birch >+DISTVERSION= g20200327 >+CATEGORIES= irc >+ >+MAINTAINER= vulcan@wired.sh >+COMMENT= IRC client written in bash >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE.md >+ >+RUN_DEPENDS= bash:shells/bash >+ >+USES= shebangfix >+USE_GITHUB= yes >+GH_ACCOUNT= dylanaraps >+GH_TAGNAME= f04f673a57d3f416174fb84755d528aefe5adc6d >+SHEBANG_FILES= ${PORTNAME} >+ >+NO_ARCH= yes >+NO_BUILD= yes >+ >+SUB_FILES= pkg-message >+PLIST_FILES= bin/${PORTNAME} >+PORTDOCS= README.md >+ >+OPTIONS_DEFINE= DOCS >+ >+do-install: >+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin >+ >+post-install-DOCS-on: >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} >+ >+.include <bsd.port.mk> > >Property changes on: irc/birch/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: irc/birch/distinfo >=================================================================== >--- irc/birch/distinfo (nonexistent) >+++ irc/birch/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1585518968 >+SHA256 (dylanaraps-birch-g20200327-f04f673a57d3f416174fb84755d528aefe5adc6d_GH0.tar.gz) = 3c07101640cf3b1d13304cf8a4ff0df490094645f4b7d4c2cd298468508ecc6e >+SIZE (dylanaraps-birch-g20200327-f04f673a57d3f416174fb84755d528aefe5adc6d_GH0.tar.gz) = 8206 > >Property changes on: irc/birch/distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: irc/birch/files/pkg-message.in >=================================================================== >--- irc/birch/files/pkg-message.in (nonexistent) >+++ irc/birch/files/pkg-message.in (working copy) >@@ -0,0 +1,83 @@ >+[ >+{ type: install >+ message: <<EOM >+birch was successfully installed. >+ >+Caveats (or limitations): >+========================= >+ >+* Nick column is fixed and truncated to 10 columns wide. >+ >+ This is something fixable down the line. It merely serves to >+ simplify the alignment of messages into two columns (nick and >+ messages). >+ >+* Lines are word-wrapped to a fixed 60 columns. >+ >+ This is also fixable down the line though a lot more painful >+ than the nick column issue. POSIX fold is used to achieve the >+ word wrapping but doesn't take into account non-printable >+ characters and unicode. >+ >+ What this means is that wrapping will always be a little _off_ >+ as escape sequences, IRC formatting and unicode will throw >+ out all attempts at calculating the "visible" line length. >+ >+ It's an interesting problem to solve. I've made a myriad of >+ attempts at writing a suitable function in bash though they're >+ all too slow (as expected!). >+ >+* No automatic server reconnect. >+ >+ This should be fairly easy to fix though I need to figure out >+ the best way of doing so. >+ >+* No SSL (sadly). >+ >+ The network connection is through bash's builtin /dev/tcp >+ feature which doesn't allow for SSL. >+ >+Keybindings: >+============ >+ >+Ctrl+n - Next buffer. >+Ctrl+p - Previous buffer. >+Tab - Completion of nicks and channels. >+ >+Further, all readline keybindings are available for use. See the >+readline or bash manpages for a list of these. >+ >+Keybindings to birch may also be set via a .inputrc file. Which >+can be configured by setting `$BIRCH_INPUTRC`. >+ >+(BIRCH_INPUTRC=/path/to/birch-inputrc birch) >+ >+Commands: >+========= >+ >+Channels >+ >+/join <channel> - Join a channel. >+/part <channel> - Leave a channel. >+/quit - Quit out of birch. >+ >+Messages >+ >+/msg <nick> <message> - Message a user. >+/me <message> - Send an action. >+ >+Navigation >+ >+/next - Next buffer. >+/prev - Previous buffer. >+/<num> - Buffer by number (0 indexed). >+ >+Other >+ >+/nick <nick> - Change nickname. >+/names - Display all nicks in channel. >+/topic - Display channel topic. >+/raw <args> - Send a raw IRC message. >+EOM >+} >+] > >Property changes on: irc/birch/files/pkg-message.in >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: irc/birch/pkg-descr >=================================================================== >--- irc/birch/pkg-descr (nonexistent) >+++ irc/birch/pkg-descr (working copy) >@@ -0,0 +1,6 @@ >+Minimal IRC client written in bash, featuring >+the full power of readline for input and >+keybindings, tab completion of nicks and >+unique (or semi-unique) nick colors. >+ >+WWW: https://github.com/dylanaraps/birch > >Property changes on: irc/birch/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 245174
: 212846 |
212848