Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2000 00:34:27 -0500 (CDT)
From:      adam@whizkidtech.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22303: New port (urlendec)
Message-ID:  <200010260534.AAA03607@whizkidtech.net>

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

>Number:         22303
>Category:       ports
>Synopsis:       New port: urlendec. Contains urlencode and urldecode.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 25 22:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     G. Adam Stanislav
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
Whiz Kid Technomagic
>Environment:

FreeBSD, any version supporting ELF (the source code is in assembly language,
the makefile assumes ELF).

>Description:

New port: urlendec. Contains the urlencode and urldecode utilities.
They can URL encode (RFC 1738) and URL decode any stream of data taken
either from their command line or from stdin.

>How-To-Repeat:

	

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	port
#	port/Makefile
#	port/pkg-comment
#	port/pkg-descr
#	port/pkg-plist
#	port/distinfo
#
echo c - port
mkdir -p port > /dev/null 2>&1
echo x - port/Makefile
sed 's/^X//' >port/Makefile << 'END-of-port/Makefile'
X# New ports collection makefile for:	urlendec
X# Date created:				25 October 2000
X# Whom:					G. Adam Stanislav
X#
X# $FreeBSD$
X#
X
XPORTNAME=	urlendec
XPORTVERSION=	1.0
XCATEGORIES=	converters
XMASTER_SITES=	http://www.whizkidtech.net/fports/
X
XMAINTAINER=	adam@whizkidtech.net
X
XBUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
X
XBINARIES=	urlencode urldecode
XDOCFILES=	index.html rfc1738.txt
X
Xdo-install:
X.for f in ${BINARIES}
X	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
X.endfor
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/urlendec
X.for f in ${DOCFILES}
X	${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/share/doc/urlendec
X.endfor
X	@echo ""
X	@echo "	----------------------------------------------------"
X	@echo "	Please read ${PREFIX}/share/doc/urlendec/index.html"
X	@echo "	for detailed instructions how to use this port."
X	@echo "	----------------------------------------------------"
X	@echo ""
X.endif
X
X.include <bsd.port.mk>
END-of-port/Makefile
echo x - port/pkg-comment
sed 's/^X//' >port/pkg-comment << 'END-of-port/pkg-comment'
XURL encoder and decoder
END-of-port/pkg-comment
echo x - port/pkg-descr
sed 's/^X//' >port/pkg-descr << 'END-of-port/pkg-descr'
XA set of two tools to URL encode and URL decode any stream of data, either
Xfrom the command line or from standard input.
X
XSee http://www.whizkidtech.net/urlendec/ for a detailed description.
X
XSee RFC 1738, section 2.2, for an eplanation of URL encoding.
X
XG. Adam Stanislav
Xadam@whizkidtech.net
END-of-port/pkg-descr
echo x - port/pkg-plist
sed 's/^X//' >port/pkg-plist << 'END-of-port/pkg-plist'
Xbin/urlencode
Xbin/urldecode
Xshare/doc/urlendec/index.html
Xshare/doc/urlendec/rfc1738.txt
X
END-of-port/pkg-plist
echo x - port/distinfo
sed 's/^X//' >port/distinfo << 'END-of-port/distinfo'
XMD5 (urlendec-1.0.tar.gz) = 13d7b876048f070951bccaae776f1180
END-of-port/distinfo
exit


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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