Bug 6474 - New port: libxalloc-1.0.2
Summary: New port: libxalloc-1.0.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-05-01 11:30 UTC by Andrey Zakhvatov
Modified: 1999-04-03 02:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Zakhvatov 1998-05-01 11:30:01 UTC
   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

Fix: 

Please, check and commit this port.
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-04-03 02:23:04 UTC
State Changed
From-To: open->closed

New port committed, thanks!