diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2003-12-22 17:04:59 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2003-12-22 17:04:59 +0000 |
commit | 4e17168b302f4086f7d6945118c9d3ee79cebbe1 (patch) | |
tree | 48045fd1a7521082d080363f2c83df466ea7edab /devel/safestr | |
parent | 69e57d36c1e1eb21f76b19dfb8ef4b29ca494c6d (diff) | |
download | ports-4e17168b302f4086f7d6945118c9d3ee79cebbe1.tar.gz ports-4e17168b302f4086f7d6945118c9d3ee79cebbe1.zip |
Notes
Diffstat (limited to 'devel/safestr')
-rw-r--r-- | devel/safestr/Makefile | 53 | ||||
-rw-r--r-- | devel/safestr/distinfo | 1 | ||||
-rw-r--r-- | devel/safestr/files/patch-ltmain.sh | 15 | ||||
-rw-r--r-- | devel/safestr/pkg-descr | 19 | ||||
-rw-r--r-- | devel/safestr/pkg-plist | 4 |
5 files changed, 92 insertions, 0 deletions
diff --git a/devel/safestr/Makefile b/devel/safestr/Makefile new file mode 100644 index 000000000000..bcd901ae1be9 --- /dev/null +++ b/devel/safestr/Makefile @@ -0,0 +1,53 @@ +# Ports collection makefile for: safestr +# Date created: 28 Aug 2003 +# Whom: Robert Schlotterbeck <robert@rs.tarrant.tx.us> +# +# $FreeBSD$ +# + +PORTNAME= safestr +PORTVERSION= 0.9.5 +CATEGORIES= devel +MASTER_SITES= http://www.zork.org/software/ + +MAINTAINER= robert@rs.tarrant.tx.us +COMMENT= A string handling library for C + +LIB_DEPENDS= xxl.1:${PORTSDIR}/devel/xxl:install + +CONFIGURE_ARGS+= --with-xxl=${LOCALBASE} +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes + +MAN3= safestr.3 safestr_alloc.3 safestr_charat.3 safestr_clone.3 \ + safestr_compare.3 safestr_concatenate.3 safestr_convertarray.3 \ + safestr_create.3 safestr_delete.3 safestr_duplicate.3 \ + safestr_equal.3 safestr_free.3 safestr_insert.3 safestr_join.3 \ + safestr_length.3 safestr_makereadonly.3 safestr_memzero.3 \ + safestr_printf.3 safestr_reference.3 safestr_replace.3 \ + safestr_search.3 safestr_setmemfns.3 safestr_slice.3 safestr_strdup.3 \ + safestr_truncate.3 safestr_trust.3 + +MLINKS= safestr_charat.3 safestr_setcharat.3 \ + safestr_compare.3 safestr_ncompare.3 \ + safestr_create.3 SAFESTR_TEMP.3 \ + safestr_duplicate.3 safestr_copy.3 \ + safestr_free.3 safestr_release.3 \ + safestr_makereadonly.3 safestr_isreadonly.3 \ + safestr_printf.3 safestr_fprintf.3 \ + safestr_printf.3 safestr_sprintf.3 \ + safestr_search.3 safestr_find.3 \ + safestr_trust.3 safestr_untrust.3 \ + safestr_charat.3 safestr_setcharat_nonfatal.3 \ + safestr_concatenate.3 safestr_append.3 \ + safestr_create.3 SAFESTR_TEMP_TRUSTED.3 \ + safestr_duplicate.3 safestr_ncopy.3 \ + safestr_makereadonly.3 safestr_makewritable.3 \ + safestr_printf.3 safestr_vprintf.3 \ + safestr_printf.3 safestr_vfprintf.3 \ + safestr_printf.3 safestr_vsprintf.3 \ + safestr_search.3 safestr_nfind.3 \ + safestr_trust.3 safestr_istrusted.3 \ + safestr_charat.3 safestr_charat_nonfatal.3 + +.include <bsd.port.mk> diff --git a/devel/safestr/distinfo b/devel/safestr/distinfo new file mode 100644 index 000000000000..102ea3e15fb7 --- /dev/null +++ b/devel/safestr/distinfo @@ -0,0 +1 @@ +MD5 (safestr-0.9.5.tar.gz) = e4f10c2571ee81254066dd53f3ac9d03 diff --git a/devel/safestr/files/patch-ltmain.sh b/devel/safestr/files/patch-ltmain.sh new file mode 100644 index 000000000000..d95cb8218958 --- /dev/null +++ b/devel/safestr/files/patch-ltmain.sh @@ -0,0 +1,15 @@ +--- ltmain.sh.orig Fri Aug 29 13:31:36 2003 ++++ ltmain.sh Fri Aug 29 13:31:59 2003 +@@ -5425,10 +5425,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false ; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/devel/safestr/pkg-descr b/devel/safestr/pkg-descr new file mode 100644 index 000000000000..a6939b0b5884 --- /dev/null +++ b/devel/safestr/pkg-descr @@ -0,0 +1,19 @@ +Safe C String Library v0.9.6 (June 11, 2003) + +The goal of the SafeStr library is to provide a rich string-handling library +for C that has safe semantics yet interoperates with legacy library code in +a straightforward manner. Additionally, porting code that uses standard C +string handling should be straightforward. The library should work on all +modern Unix-like platforms, as well as any 32-bit Microsoft Windows OS. + +The overt security goals of the library are as follows: + + 1. Buffer overflows should not be possible when using the API. + 2. Format string problems should be impossible when using the API. + 3. The API should be capable of tracking whether strings are "trusted", + a la Perl's taint mode. + +The API is meant to provide rich functionality and be easy to use, all the while +improving security. + +WWW: http://www.zork.org/safestr/ diff --git a/devel/safestr/pkg-plist b/devel/safestr/pkg-plist new file mode 100644 index 000000000000..8df8a0229400 --- /dev/null +++ b/devel/safestr/pkg-plist @@ -0,0 +1,4 @@ +include/safestr.h +lib/libsafestr.a +lib/libsafestr.so +lib/libsafestr.so.0 |