From nobody@FreeBSD.org  Wed Nov 17 13:05:59 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 52D1516A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Nov 2004 13:05:59 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3496643D2D
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Nov 2004 13:05:59 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iAHD5w0C058065
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Nov 2004 13:05:58 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id iAHD5wtE058064;
	Wed, 17 Nov 2004 13:05:58 GMT
	(envelope-from nobody)
Message-Id: <200411171305.iAHD5wtE058064@www.freebsd.org>
Date: Wed, 17 Nov 2004 13:05:58 GMT
From: Petri Ttterman <petri.totterman@hmv.fi>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: devel/log4cplus C++ logging API, similar to log4j
X-Send-Pr-Version: www-2.3

>Number:         74033
>Category:       ports
>Synopsis:       New port: devel/log4cplus C++ logging API, similar to log4j
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 17 13:10:23 GMT 2004
>Closed-Date:    Sun Dec 05 00:03:02 GMT 2004
>Last-Modified:  Sun Dec 05 00:03:02 GMT 2004
>Originator:     Petri Ttterman
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
HM&V Research
>Environment:
System: FreeBSD hmvbalder.novogroup.com 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Fri Sep 5 16:19:28 EEST 2003 pbt@hmvserver.novogroup.com:/usr/src/sys/compile/HMVSERVER i386
>Description:
      
>How-To-Repeat:
      
>Fix:
# 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:
#
#       log4cplus
#       log4cplus/distinfo
#       log4cplus/Makefile
#       log4cplus/pkg-descr
#       log4cplus/pkg-plist
#
echo c - log4cplus
mkdir -p log4cplus > /dev/null 2>&1
echo x - log4cplus/distinfo
sed 's/^X//' >log4cplus/distinfo << 'END-of-log4cplus/distinfo'
XMD5 (log4cplus-1.0.2.tar.gz) = 0924064f529fd9ac39bbda341ef87d43
XSIZE (log4cplus-1.0.2.tar.gz) = 539550
END-of-log4cplus/distinfo
echo x - log4cplus/Makefile
sed 's/^X//' >log4cplus/Makefile << 'END-of-log4cplus/Makefile'
X# New ports collection makefile for:   log4cplus
X# Date created:        16 November 2004
X# Whom:        Petri Totterman <petri.totterman@hmv.fi>
X#
X# $FreeBSD$
X#
X
XPORTNAME=              log4cplus
XPORTVERSION=           1.0.2
XCATEGORIES=            devel
XMASTER_SITES=          ${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR=    log4cplus
X
XMAINTAINER=            petri.totterman@hmv.fi
XCOMMENT=               A logging library for C++
X
XUSE_GMAKE=             yes
XGNU_CONFIGURE=         yes
XINSTALLS_SHLIB=                yes
XUSE_LIBTOOL_VER=       13
X# this is for gcc
XCFLAGS +=              -pthread
X
X.include <bsd.port.mk>
END-of-log4cplus/Makefile
echo x - log4cplus/pkg-descr
sed 's/^X//' >log4cplus/pkg-descr << 'END-of-log4cplus/pkg-descr'
XThis is a port of log4cplus, a simple-to-use C++ logging API providing
Xthread-safe, flexible, and arbitrarily granular control over log management
Xand configuration. It is modeled after the Java log4j API.
X
XAuthors:
XTad E. Smith         <tcsmith@users.sourceforge.net>
XMichael CATANZARITI
XSteighton Haley      <baldheadedguy@users.sourceforge.net
X
XWWW: http://log4cplus.sourceforge.net
X
X-pbt
X
END-of-log4cplus/pkg-descr
echo x - log4cplus/pkg-plist
sed 's/^X//' >log4cplus/pkg-plist << 'END-of-log4cplus/pkg-plist'
Xinclude/log4cplus/appender.h
Xinclude/log4cplus/config.h
Xinclude/log4cplus/configurator.h
Xinclude/log4cplus/consoleappender.h
Xinclude/log4cplus/fileappender.h
Xinclude/log4cplus/fstreams.h
Xinclude/log4cplus/helpers/appenderattachableimpl.h
Xinclude/log4cplus/helpers/loglog.h
Xinclude/log4cplus/helpers/logloguser.h
Xinclude/log4cplus/helpers/pointer.h
Xinclude/log4cplus/helpers/property.h
Xinclude/log4cplus/helpers/sleep.h
Xinclude/log4cplus/helpers/socket.h
Xinclude/log4cplus/helpers/socketbuffer.h
Xinclude/log4cplus/helpers/stringhelper.h
Xinclude/log4cplus/helpers/thread-config.h
Xinclude/log4cplus/helpers/threads.h
Xinclude/log4cplus/helpers/timehelper.h
Xinclude/log4cplus/hierarchy.h
Xinclude/log4cplus/hierarchylocker.h
Xinclude/log4cplus/layout.h
Xinclude/log4cplus/logger.h
Xinclude/log4cplus/loggingmacros.h
Xinclude/log4cplus/loglevel.h
Xinclude/log4cplus/ndc.h
Xinclude/log4cplus/nullappender.h
Xinclude/log4cplus/socketappender.h
Xinclude/log4cplus/spi/appenderattachable.h
Xinclude/log4cplus/spi/factory.h
Xinclude/log4cplus/spi/filter.h
Xinclude/log4cplus/spi/loggerfactory.h
Xinclude/log4cplus/spi/loggerimpl.h
Xinclude/log4cplus/spi/loggingevent.h
Xinclude/log4cplus/spi/objectregistry.h
Xinclude/log4cplus/spi/rootlogger.h
Xinclude/log4cplus/streams.h
Xinclude/log4cplus/syslogappender.h
Xinclude/log4cplus/tstring.h
Xlib/liblog4cplus.a
Xlib/liblog4cplus.la
Xlib/liblog4cplus.so
Xlib/liblog4cplus.so.2
X@dirrm share/nls/en_US.US-ASCII
X@dirrm share/nls/POSIX
X@dirrm include/log4cplus/spi
X@dirrm include/log4cplus/helpers
X@dirrm include/log4cplus
END-of-log4cplus/pkg-plist
exit
    
>Release-Note:
>Audit-Trail:

From: "Volker Stolz" <vs@freebsd.org>
To: freebsd-gnats-submit@freebsd.org, petri.totterman@hmv.fi
Cc:  
Subject: Re: ports/74033: New port: devel/log4cplus C++ logging API, similar to log4j
Date: Thu, 18 Nov 2004 10:12:33 +0100

 - The correct way for setting pthread-related flags is:
 CONFIGURE_ENV+=         CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
                          LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
 - You do not install any documentation (must be doxygen'ed?)
 - Especially, please check if you're violating the Apache Software  
 License, sec.2 when generating the binary package!
 - You must use Tabs, not spaces in the Makefile
 - portlint emmitted a warning for pkg-descr
 - It's probably overkill to list email-addresses in pkg-descr
 - Configuring yields:
 ===>  Configuring for log4cplus-1.0.2
 configure: WARNING: you should use --build, --host, --target
 checking for a BSD-compatible install... /usr/bin/install -c -o root -g  
 wheel
 checking whether build environment is sane... yes
 /usr/home/stolz/log4cplus/work/log4cplus-1.0.2/missing: Unknown `--run'  
 option
 Try `/usr/home/stolz/log4cplus/work/log4cplus-1.0.2/missing --help' for  
 more information
 configure: WARNING: `missing' script is too old or missing
 
 Is this a problem?
 - The included libtool-version is 1.5. Although I can't spot any important  
 differences in the build, you might consider setting LIBTOOL_VER to 15  
 instead.
 - GNU Make is not required
 - GNU_CONFIGURE is redundant in the presence of USE_LIBTOOL_VER.
 
 Please review these suggestion. Do not yet submit an updated PR or patch!
 
 Cheers,
    Volker
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun Dec 5 00:02:49 GMT 2004 
State-Changed-Why:  
Replaced by ports/74642 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74033 
>Unformatted:
