ports/163767: [NEW PORT] databases/mysac: MySAC: MySQL Simple Asynchonous Client

Jake Smith jake at xz.cx
Mon Jan 2 07:10:10 UTC 2012


>Number:         163767
>Category:       ports
>Synopsis:       [NEW PORT] databases/mysac: MySAC: MySQL Simple Asynchonous Client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 02 07:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jake Smith
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD xxx 8.2-RELEASE FreeBSD 8.2-RELEASE #0 r219081M: Wed Mar  2 08:29:52
>Description:
MySAC: MySQL Simple Asynchonous Client

MySAC is a library that provides mechanisms for making asynchronous 
request to MySQL database. It uses uses the official MySQL client 
library for authentication and network functions. Memory allocation 
must be done in user code, so any memory manager can be used.

WWW: http://cv.arpalert.org/page.sh?mysac
>How-To-Repeat:
>Fix:

--- mysac-1.1.1.shar begins here ---
# 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:
#
#	mysac
#	mysac/pkg-descr
#	mysac/files
#	mysac/files/patch-Makefile
#	mysac/files/patch-mysac.c
#	mysac/files/patch-mysac_decode_field.c
#	mysac/distinfo
#	mysac/Makefile
#
echo c - mysac
mkdir -p mysac > /dev/null 2>&1
echo x - mysac/pkg-descr
sed 's/^X//' >mysac/pkg-descr << '490982156c52464107dcbb4d7aefa0d6'
XMySAC: MySQL Simple Asynchonous Client
X
XMySAC is a library that provides mechanisms for making asynchronous 
Xrequest to MySQL database. It uses uses the official MySQL client 
Xlibrary for authentication and network functions. Memory allocation 
Xmust be done in user code, so any memory manager can be used.
X
XWWW: http://cv.arpalert.org/page.sh?mysac
490982156c52464107dcbb4d7aefa0d6
echo c - mysac/files
mkdir -p mysac/files > /dev/null 2>&1
echo x - mysac/files/patch-Makefile
sed 's/^X//' >mysac/files/patch-Makefile << '2b7ef2282e2841f1ce55ee169685e270'
X--- Makefile.orig	2012-01-02 06:39:03.451282135 +0000
X+++ Makefile	2012-01-02 06:40:08.403362273 +0000
X@@ -15,24 +15,26 @@
X # You should have received a copy of the GNU General Public License
X # along with MySAC.  If not, see <http://www.gnu.org/licenses/>.
X #
X-SHELL=/bin/bash
X+SHELL=/bin/sh
X # Mysql lib directory
X # exemple: <path>/mysql-5.1.41/libmysql_r/.libs
X-MYSQL_LIB := /usr/lib
X+MYSQL_LIB := $(LOCALBASE)/lib/mysql
X 
X # Mysql include directory
X # exemple: <path>/mysql-5.1.41/include
X-MYSQL_INC := /usr/include/mysql
X+MYSQL_INC := $(LOCALBASE)/include/mysql
X 
X # get build version from the git tree in the form "lasttag-changes", 
X # and use "VERSION" file if unknown.
X BUILDVER := $(shell ./mysac_ver)
X 
X-CFLAGS = -DBUILDVER=$(BUILDVER) -I$(MYSQL_INC) -O0 -g -Wall -Werror -fpic
X-LDFLAGS = -g -L$(MYSQL_LIB) -lmysqlclient_r
X+CFLAGS += -DBUILDVER=$(BUILDVER) -I$(MYSQL_INC) -O0 -g -Wall -fpic
X+LDFLAGS += -g -L$(MYSQL_LIB) -lmysqlclient_r
X 
X OBJS = mysac.o mysac_net.o mysac_decode_field.o mysac_decode_row.o mysac_encode_values.o mysac_errors.o
X 
X+all: build
X+
X build: make.deps
X 	$(MAKE) lib
X 
2b7ef2282e2841f1ce55ee169685e270
echo x - mysac/files/patch-mysac.c
sed 's/^X//' >mysac/files/patch-mysac.c << '8ff266e5982dce05eaab8da2b1bf1a92'
X--- mysac.c.orig	2012-01-02 05:39:13.267796448 +0000
X+++ mysac.c	2012-01-02 05:39:23.079360664 +0000
X@@ -22,8 +22,8 @@
X #include <string.h>
X #include <stdarg.h>
X #include <ctype.h>
X-#include <mysql/mysql.h>
X #include <mysql/my_global.h>
X+#include <mysql/mysql.h>
X 
X #include "mysac_decode_field.h"
X #include "mysac_encode_values.h"
8ff266e5982dce05eaab8da2b1bf1a92
echo x - mysac/files/patch-mysac_decode_field.c
sed 's/^X//' >mysac/files/patch-mysac_decode_field.c << '478a0fdff288d89dddc29f974020bf8b'
X--- mysac_decode_field.c.orig	2011-06-06 20:58:33.000000000 +0100
X+++ mysac_decode_field.c	2012-01-02 05:47:37.837388605 +0000
X@@ -21,8 +21,8 @@
X #include <stdint.h>
X #include <string.h>
X #include <stdarg.h>
X-#include <mysql/mysql.h>
X #include <mysql/my_global.h>
X+#include <mysql/mysql.h>
X 
X #include "mysac_utils.h"
X #include "mysac.h"
478a0fdff288d89dddc29f974020bf8b
echo x - mysac/distinfo
sed 's/^X//' >mysac/distinfo << 'aeaaa6666563c93c54bf5930c1a047ef'
XSHA256 (mysac-1.1.1.tar.gz) = 63fb38ca6a6ee8d28bbad0552c7c7d240fbc6ed06ca886ad2ba31cf1ce8596d3
XSIZE (mysac-1.1.1.tar.gz) = 46060
aeaaa6666563c93c54bf5930c1a047ef
echo x - mysac/Makefile
sed 's/^X//' >mysac/Makefile << 'd2dbb3ce76d9e397aac83e50f7b64c08'
X# New ports collection makefile for: 	mysac
X# Date created:				1 January 2012
X# Whom:					Jake Smith <jake at xz.cx>
X#
X# $FreeBSD: ports/databases/mysac/Makefile,v 1.2 2011/12/08 20:19:29 pav Exp $
X#
X
XPORTNAME=	mysac
XPORTVERSION=	1.1.1
XCATEGORIES=	databases
XMASTER_SITES=	http://www.arpalert.org/src/ \
X		http://xz.cx/downloads/mysac/
X
XMAINTAINER=	jake at xz.cx
XCOMMENT=	MySAC: MySQL Simple Asynchonous Client
X
XUSE_LDCONFIG=	yes
XUSE_MYSQL=	yes
X
XCFLAGS+=	-I${LOCALBASE}/include
XLDFLAGS+=	-I${LOCALBASE}/lib
X
XPLIST_FILES=	lib/libmysac.so \
X		lib/libmysac.so.0 \
X		lib/libmysac-static.a \
X		include/mysac.h
X
Xpre-build:
X	${TOUCH} ${WRKSRC}/make.deps
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/libmysac.so \
X		${PREFIX}/lib/libmysac.so
X	${LN} -sf ${PREFIX}/lib/libmysac.so \
X		${PREFIX}/lib/libmysac.so.0
X	${INSTALL_DATA} ${WRKSRC}/libmysac-static.a ${PREFIX}/lib/libmysac-static.a
X	${INSTALL_DATA} ${WRKSRC}/mysac.h ${PREFIX}/include/mysac.h
X
X.include <bsd.port.mk>
d2dbb3ce76d9e397aac83e50f7b64c08
exit
--- mysac-1.1.1.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list