FreeBSD Bugzilla – Attachment 143000 Details for
Bug 190121
new port databases/sqlite-ext-pcre
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 4.12 KB, created by
Vick Khera
on 2014-05-22 20:30:00 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Vick Khera
Created:
2014-05-22 20:30:00 UTC
Size:
4.12 KB
patch
obsolete
># 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: ># ># . ># ./pkg-message ># ./pkg-descr ># ./files ># ./files/README.in ># ./distinfo ># ./Makefile ># >echo c - . >mkdir -p . > /dev/null 2>&1 >echo x - ./pkg-message >sed 's/^X//' >./pkg-message << '9f51c313804c544b8024c5640d645b0a' >X********************************************************************* >XLoading extensions is by default prohibited as a security measure; >Xsee "Security Considerations" in >Xhttp://www.sqlite.org/cvstrac/wiki?p=LoadableExtensions. >X >XIf the sqlite3 program and library are built this way, you cannot >Xuse these functions from the program, you must write your own program >Xusing the sqlite3 API, and call sqlite3_enable_load_extension as >Xdescribed above, or else rebuild the sqlite3 program to allow >Xloadable extensions. >X********************************************************************* >9f51c313804c544b8024c5640d645b0a >echo x - ./pkg-descr >sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' >XThis is sqlite3-pcre, an extension for sqlite3 that uses libpcre to provide >Xa regexp() function to use with the REGEXP operator. >X >XWWW: https://github.com/ralight/sqlite3-pcre >0e313719ff012ceaf97a028d51caa8f5 >echo c - ./files >mkdir -p ./files > /dev/null 2>&1 >echo x - ./files/README.in >sed 's/^X//' >./files/README.in << 'be9a6b44f25606e098c892d386c18209' >XUsage instructions for applications calling the sqlite3 API functions: >X >X In your application, call sqlite3_enable_load_extension(db,1) to >X allow loading external libraries. Then load the library >X %%LIBFILE%% using sqlite3_load_extension; the third argument >X should be 0. See http://www.sqlite.org/cvstrac/wiki?p=LoadableExtensions. >X Select statements may now use the regexp function, as in: >X >X SELECT 'foo-bar' REGEXP 'foo-\w+$'; >X >X >XUsage instructions for the sqlite3 program: >X >X If the program is built so that loading extensions is permitted, >X the following will work: >X >X sqlite> .load %%LIBFILE%% >X sqlite> select 'foo-bar' regexp 'foo-\w+$'; >X 1 >X >X Note: Loading extensions is by default prohibited as a >X security measure; see "Security Considerations" in >X http://www.sqlite.org/cvstrac/wiki?p=LoadableExtensions. >X >X If the sqlite3 program and library are built this >X way, you cannot use these functions from the program, you >X must write your own program using the sqlite3 API, and call >X sqlite3_enable_load_extension as described above, or else >X rebuild the sqlite3 program to allow loadable extensions. >be9a6b44f25606e098c892d386c18209 >echo x - ./distinfo >sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' >XSHA256 (sqlite-ext/sqlite-ext-pcre-20100208.tar.gz) = 16faf92d820b29791347332537e7e7dfef59fcd884081cb54482242533982183 >XSIZE (sqlite-ext/sqlite-ext-pcre-20100208.tar.gz) = 2423 >aec8793adfd5b7c3f00e62ae41a09ac2 >echo x - ./Makefile >sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' >X# Created by: Vick Khera <vivek@khera.org> >X# $FreeBSD: $ >X >XPORTNAME= sqlite-ext-pcre >XPORTVERSION= 20100208 >XCATEGORIES= databases >X >XMAINTAINER= vivek@khera.org >XCOMMENT= regexp function for SQLite based on PCRE library >X >XLIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre >X >XUSE_SQLITE= yes >XDIST_SUBDIR= sqlite-ext >X >XLIBFILE= pcre.so >XINST_DIR= ${PREFIX}/libexec/${DIST_SUBDIR} >XUSE_LDCONFIG= ${INST_DIR} >X >XSUB_FILES= ${PORTDOCS} >XSUB_LIST+= LIBFILE=${LIBFILE} >X >XPLIST_DIRS= libexec/${DIST_SUBDIR} >XPLIST_FILES= ${PLIST_DIRS}/${LIBFILE} >X >XPORTDOCS= README >X >XUSES= gmake >X >XUSE_GITHUB= yes >XGH_ACCOUNT= ralight >XGH_PROJECT= sqlite3-pcre >XGH_COMMIT= c98da41 >XGH_TAGNAME= ${GH_COMMIT} >X >X >Xdo-build: >X @cd ${WRKSRC} && ${GMAKE} >X >Xdo-install: >X @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${DIST_SUBDIR} >X @${INSTALL_PROGRAM} ${WRKSRC}/${LIBFILE} ${STAGEDIR}${PREFIX}/libexec/${DIST_SUBDIR} >X >Xpost-install: >X.if !defined(NOPORTDOCS) >X @${INSTALL} -d ${STAGEDIR}${DOCSDIR} >X @${CP} ${WRKDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} >X.endif >X >X.include <bsd.port.mk> >464ef7c6571951809b23e262cbe26e19 >exit
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 Raw
Actions:
View
Attachments on
bug 190121
:
143000
|
145454
|
145455
|
145549