Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 1998 14:29:41 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6474: New port: libxalloc-1.0.2
Message-ID:  <199805011029.OAA08265@icc.surw.chel.su>

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

>Number:         6474
>Category:       ports
>Synopsis:       New port: libxalloc-1.0.2
>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:   Fri May  1 03:30:01 PDT 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

   This is a port of memory allocation library with error checking.
It contains wrappers including error checking for memory
allocating C-functions.


# 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:
#
#	libxalloc-1.0.2
#	libxalloc-1.0.2/Makefile
#	libxalloc-1.0.2/files
#	libxalloc-1.0.2/files/md5
#	libxalloc-1.0.2/patches
#	libxalloc-1.0.2/patches/patch-aa
#	libxalloc-1.0.2/pkg
#	libxalloc-1.0.2/pkg/PLIST
#	libxalloc-1.0.2/pkg/COMMENT
#	libxalloc-1.0.2/pkg/DESCR
#
echo c - libxalloc-1.0.2
mkdir -p libxalloc-1.0.2 > /dev/null 2>&1
echo x - libxalloc-1.0.2/Makefile
sed 's/^X//' >libxalloc-1.0.2/Makefile << 'END-of-libxalloc-1.0.2/Makefile'
X# New ports collection makefile for:	libxalloc
X# Version required:			1.0.2
X# Date created:				12 April 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=	xalloc-1.0.2
XPKGNAME=	libxalloc-1.0.2
XCATEGORIES=	devel
XMASTER_SITES=	http://www.computas.no/users/shh/pub-unix/files/
X
XMAINTAINER=	andy@icc.surw.chel.su
X
XUSE_GMAKE=	yes
X
Xdo-install:
X	@ ${INSTALL_DATA} ${WRKSRC}/xalloc.h ${PREFIX}/include
X	@ ${INSTALL_DATA} ${WRKSRC}/libxalloc.so.1.0.2 ${PREFIX}/lib
X	@ ln -s ${WRKSRC}/libxalloc.so.1.0.2 ${PREFIX}/lib/libxalloc.so
X	@ ${MKDIR} ${PREFIX}/share/doc/libxalloc
X	@ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/libxalloc
X	@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libxalloc
X
X.include <bsd.port.mk>
END-of-libxalloc-1.0.2/Makefile
echo c - libxalloc-1.0.2/files
mkdir -p libxalloc-1.0.2/files > /dev/null 2>&1
echo x - libxalloc-1.0.2/files/md5
sed 's/^X//' >libxalloc-1.0.2/files/md5 << 'END-of-libxalloc-1.0.2/files/md5'
XMD5 (xalloc-1.0.2.tar.gz) = 54d4d936b5111475f0ea6a4943622323
END-of-libxalloc-1.0.2/files/md5
echo c - libxalloc-1.0.2/patches
mkdir -p libxalloc-1.0.2/patches > /dev/null 2>&1
echo x - libxalloc-1.0.2/patches/patch-aa
sed 's/^X//' >libxalloc-1.0.2/patches/patch-aa << 'END-of-libxalloc-1.0.2/patches/patch-aa'
X--- Makefile	Sun Mar 23 08:58:03 1997
X+++ /home/andy/tmp/wrk/Makefile	Fri May  1 13:20:29 1998
X@@ -8,7 +8,7 @@
X ###########################################################################
X 
X # Define SHARED as 1 for Linux shared ELF library
X-#SHARED		= 1
X+SHARED		= 1
X 
X ifeq ($(SHARED),1)
X LIBTARGET	= lib$(DIST).so.$(VERSION)
X@@ -50,7 +50,7 @@
X 
X $(LIBTARGET): $(LIBOBJS)
X ifeq ($(SHARED),1)
X-	$(CC) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $(LIBTARGET) $(LIBOBJS)
X+	$(CC) -shared -o $(LIBTARGET) $(LIBOBJS)
X else
X 	ar rcs $(LIBTARGET) $(LIBOBJS)
X endif
END-of-libxalloc-1.0.2/patches/patch-aa
echo c - libxalloc-1.0.2/pkg
mkdir -p libxalloc-1.0.2/pkg > /dev/null 2>&1
echo x - libxalloc-1.0.2/pkg/PLIST
sed 's/^X//' >libxalloc-1.0.2/pkg/PLIST << 'END-of-libxalloc-1.0.2/pkg/PLIST'
Xinclude/xalloc.h
Xlib/libxalloc.so.1.0.2
Xlib/libxalloc.so
X@exec /sbin/ldconfig -m %D/lib
X@unexec /sbin/ldconfig -m %D/lib
Xshare/doc/libxalloc/CREDITS
Xshare/doc/libxalloc/README
X@dirrm share/doc/libxalloc
END-of-libxalloc-1.0.2/pkg/PLIST
echo x - libxalloc-1.0.2/pkg/COMMENT
sed 's/^X//' >libxalloc-1.0.2/pkg/COMMENT << 'END-of-libxalloc-1.0.2/pkg/COMMENT'
Xmemory allocation library with error checking.
END-of-libxalloc-1.0.2/pkg/COMMENT
echo x - libxalloc-1.0.2/pkg/DESCR
sed 's/^X//' >libxalloc-1.0.2/pkg/DESCR << 'END-of-libxalloc-1.0.2/pkg/DESCR'
Xxalloc is a memory allocation library with error checking.
XIt contains wrappers including error checking for memory
Xallocating C-functions.
END-of-libxalloc-1.0.2/pkg/DESCR
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.

>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?199805011029.OAA08265>