Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133146906
D18047.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D18047.diff
View Options
Index: head/textproc/Makefile
===================================================================
--- head/textproc/Makefile
+++ head/textproc/Makefile
@@ -85,6 +85,7 @@
SUBDIR += cdiff
SUBDIR += cgrep
SUBDIR += chpp
+ SUBDIR += chkascii
SUBDIR += cl-meta
SUBDIR += cl-meta-sbcl
SUBDIR += cl-ppcre
Index: head/textproc/chkascii/Makefile
===================================================================
--- head/textproc/chkascii/Makefile
+++ head/textproc/chkascii/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= chkascii
+DISTVERSION= 1.0
+CATEGORIES= textproc
+
+MAINTAINER= bourne.identity@hotmail.com
+COMMENT= Check an ASCII text file for invalid characters
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= bourne-again
+
+PLIST_FILES= bin/chkascii \
+ man/man1/chkascii.1.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/chkascii ${STAGEDIR}${PREFIX}/bin/chkascii
+ ${INSTALL_MAN} ${WRKSRC}/chkascii.1 ${STAGEDIR}${MANPREFIX}/man/man1
+
+.include <bsd.port.mk>
Index: head/textproc/chkascii/distinfo
===================================================================
--- head/textproc/chkascii/distinfo
+++ head/textproc/chkascii/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1542639723
+SHA256 (bourne-again-chkascii-1.0_GH0.tar.gz) = e25dfa56022894a62b0ebc8f5457871a99c8ccf9f632c6a193f05dbefc27d8ef
+SIZE (bourne-again-chkascii-1.0_GH0.tar.gz) = 9895
Index: head/textproc/chkascii/pkg-descr
===================================================================
--- head/textproc/chkascii/pkg-descr
+++ head/textproc/chkascii/pkg-descr
@@ -0,0 +1,16 @@
+chkascii is a small C program that checks files for any ASCII values
+that are possibly junk. The following are considered the only good ASCII
+values permissible in a text file:
+
+32-126
+9
+10
+
+The user can optionally force additional ASCII values to be treated as
+good.
+
+For good text files, chkascii will wind up by checking on proper EOL
+termination. If the file is not EOL-terminated, that too is reported as
+an error.
+
+WWW: https://github.com/bourne-again/chkascii
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 24, 9:41 AM (4 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24127368
Default Alt Text
D18047.diff (2 KB)
Attached To
Mode
D18047: New port: textproc/chkascii: Check an ASCII text file for invalid characters
Attached
Detach File
Event Timeline
Log In to Comment