Date: Mon, 19 Sep 2005 13:41:21 +0400 (MSD) From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/86327: new port: devel/libbegemot - a function library for begemot tools Message-ID: <200509190941.j8J9fL7m038458@rdu.kirov.ru> Resent-Message-ID: <200509190950.j8J9o66r007972@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86327 >Category: ports >Synopsis: new port: devel/libbegemot - a function library for begemot tools >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 Sep 19 09:50:06 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andrey V. Elsukov >Release: FreeBSD >Organization: >Environment: Tested on i386: 4.8-RELEASE, 4.11-STABLE, 5.4-STABLE, 6.0-BETA4 >Description: This is function library for begemot tools. Actually I has made this port for mini-SNMP daemon - bsnmpd. >How-To-Repeat: >Fix: --- libbegemot.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: # # libbegemot # libbegemot/files # libbegemot/files/patch-configure.ac # libbegemot/files/patch-Makefile.in # libbegemot/distinfo # libbegemot/Makefile # libbegemot/pkg-descr # libbegemot/pkg-plist # echo c - libbegemot mkdir -p libbegemot > /dev/null 2>&1 echo c - libbegemot/files mkdir -p libbegemot/files > /dev/null 2>&1 echo x - libbegemot/files/patch-configure.ac sed 's/^X//' >libbegemot/files/patch-configure.ac << 'END-of-libbegemot/files/patch-configure.ac' X--- configure.ac.orig Thu Sep 15 14:18:10 2005 X+++ configure.ac Thu Sep 15 15:34:24 2005 X@@ -232,8 +232,14 @@ X AC_CACHE_CHECK([how to print quads], X ac_cv_quad_fmt, X [if test "$ac_have_inttypes_h" = "yes" ; then X- ac_cv_quad_fmt=PRIu64 X- else X+ AC_EGREP_CPP(yes, X+[ X+# include <inttypes.h> X+# ifdef PRIu64 X+yes X+# endif X+], X+ ac_cv_quad_fmt=PRIu64, X AC_TRY_RUN( X [[ X # include <stdio.h> X@@ -251,7 +257,7 @@ X ac_cv_quad_fmt='"q"', X ac_cv_quad_fmt='"ll"', X ac_cv_quad_fmt='"ll"') X- fi ]) X+ fi ])) X AC_DEFINE_UNQUOTED(QUADFMT, $ac_cv_quad_fmt) X X # ------------------------------------------------------------ END-of-libbegemot/files/patch-configure.ac echo x - libbegemot/files/patch-Makefile.in sed 's/^X//' >libbegemot/files/patch-Makefile.in << 'END-of-libbegemot/files/patch-Makefile.in' X--- Makefile.in.orig Wed Jun 1 11:50:27 2005 X+++ Makefile.in Sat Sep 17 21:43:49 2005 X@@ -116,17 +116,17 @@ X $(MKINSTALLDIRS) $(DESTDIR)$(includedir) X $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(MSECT) X X- $(LIBTOOL) --mode=install $(INSTALL_DATA) $(LIB) $(DESTDIR)$(libdir) X+ $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $(LIB) $(DESTDIR)$(libdir) X X # for file in $(HDR) ; do \ X # $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(includedir) ;\ X # done X for file in $(LHDR) ; do \ X- $(INSTALL_DATA) $$file $(DESTDIR)$(includedir) ;\ X- done X- for file in $(MSRC) ; do \ X- $(INSTALL_DATA) $(srcdir)/$$file.man $(DESTDIR)$(mandir)/man$(MSECT)/$$file.$(MSECT) ;\ X+ $(BSD_INSTALL_DATA) $$file $(DESTDIR)$(includedir) ;\ X done X+# for file in $(MSRC) ; do \ X+# $(INSTALL_DATA) $(srcdir)/$$file.man $(DESTDIR)$(mandir)/man$(MSECT)/$$file.$(MSECT) ;\ X+# done X X clean: X -rm -f *.o *.lo *.la *.core core *~ .depend polltest stattest frame verbtest END-of-libbegemot/files/patch-Makefile.in echo x - libbegemot/distinfo sed 's/^X//' >libbegemot/distinfo << 'END-of-libbegemot/distinfo' XMD5 (libbegemot-1.11.tar.gz) = bc13b7cd70c3c7cb232c3d05609b4032 XSIZE (libbegemot-1.11.tar.gz) = 266310 END-of-libbegemot/distinfo echo x - libbegemot/Makefile sed 's/^X//' >libbegemot/Makefile << 'END-of-libbegemot/Makefile' X# New ports collection makefile for: libbegemot X# Date created: Sep 15 2005 X# Whom: Andrey V. Elsukov <bu7cher@yandex.ru> X# X# $FreeBSD$ X# X XPORTNAME= libbegemot XPORTVERSION= 1.11 XCATEGORIES= devel XMASTER_SITES= http://people.freebsd.org/~harti/libbegemot/ XDISTNAME= libbegemot-${PORTVERSION} X XMAINTAINER= bu7cher@yandex.ru XCOMMENT= A function library for begemot tools X XGNU_CONFIGURE= yes XUSE_GMAKE= yes X XWANT_AUTOCONF_VER=259 XWANT_AUTOMAKE_VER=19 XWANT_LIBTOOL_VER=15 XUSE_LIBLTDL= yes X XMAN1= cstrc.1 frame.1 getfields.1 intro.1 panic.1 prstat.1 readline.1 \ X rpoll.1 strnchr.1 strnlen.1 strsave.1 strtrimsp.1 verb.1 xalloc.1 XMLINKS= xalloc.1 xrealloc.1 X Xrun-autotools: X @(cd ${CONFIGURE_WRKSRC} && ${PREFIX}/bin/aclocal19 \ X -I ${PREFIX}/share/libtool15/libltdl/ ) X X @(cd ${CONFIGURE_WRKSRC} && ${PREFIX}/bin/autoconf259 ) X Xpost-install: X.for i in ${MAN1} X @${CP} ${WRKSRC}/${i:S/.1/.man/} ${WRKSRC}/${i} X ${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1 X.endfor X X.include <bsd.port.mk> END-of-libbegemot/Makefile echo x - libbegemot/pkg-descr sed 's/^X//' >libbegemot/pkg-descr << 'END-of-libbegemot/pkg-descr' XThis is the begemot utility function library. It is needed to Xbuild most of the begemot tools. X X- Andrey V. Elsukov Xbu7cher@yandex.ru END-of-libbegemot/pkg-descr echo x - libbegemot/pkg-plist sed 's/^X//' >libbegemot/pkg-plist << 'END-of-libbegemot/pkg-plist' Xlib/libbegemot.a Xlib/libbegemot.so Xlib/libbegemot.so.1 Xinclude/begemot.h Xinclude/rpoll.h END-of-libbegemot/pkg-plist exit --- libbegemot.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509190941.j8J9fL7m038458>