ports/82086: openh323 and pwlib very out of date

Steve Ames steve at energistic.com
Fri Jun 10 20:42:06 UTC 2005


On Fri, Jun 10, 2005 at 07:30:26PM +0000, Pav Lucistnik wrote:
> Synopsis: openh323 and pwlib very out of date
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: pav
> State-Changed-When: Fri Jun 10 19:29:52 GMT 2005
> State-Changed-Why: 
> Could you create an unified diffs between existing and your ports and send it
> to me?

See attached diffs. I would also like to create ports for the newer versions
of pwlib and openh323 but perhaps in a different port such as

pwlib-janus
pwlib-pandora
openh323-janus
openh323-pandora

to get the latest code into ports without conflicting with any of the
existing ports or dependancies. I'll submit PRs on those later when I have
them working.

-Steve

> 
> 
> Responsible-Changed-From-To: freebsd-ports-bugs->pav
> Responsible-Changed-By: pav
> Responsible-Changed-When: Fri Jun 10 19:29:52 GMT 2005
> Responsible-Changed-Why: 
> Track
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=82086
-------------- next part --------------
diff -r -c pwlib.old/Makefile pwlib/Makefile
*** pwlib.old/Makefile	Tue Dec  7 08:52:35 2004
--- pwlib/Makefile	Fri Jun 10 15:33:40 2005
***************
*** 6,14 ****
  #
  
  PORTNAME=	pwlib
! PORTVERSION=	1.5.0
! PORTREVISION=	5
! PORTEPOCH=	1
  CATEGORIES=	devel
  MASTER_SITES=	http://www.openh323.org/bin/ \
  		http://www.de.openh323.org/bin/ \
--- 6,12 ----
  #
  
  PORTNAME=	pwlib
! PORTVERSION=	1.5.2
  CATEGORIES=	devel
  MASTER_SITES=	http://www.openh323.org/bin/ \
  		http://www.de.openh323.org/bin/ \
diff -r -c pwlib.old/distinfo pwlib/distinfo
*** pwlib.old/distinfo	Wed Mar 31 03:07:25 2004
--- pwlib/distinfo	Fri Jun  3 16:22:12 2005
***************
*** 1,2 ****
! MD5 (pwlib_1.5.0.tar.gz) = e6bcdd121a85687c040f4871f24b7352
! SIZE (pwlib_1.5.0.tar.gz) = 1074311
--- 1,2 ----
! MD5 (pwlib_1.5.2.tar.gz) = 0fa33ba1b32b254abe0b731a52c0f2f9
! SIZE (pwlib_1.5.2.tar.gz) = 1085203
Only in pwlib/files: patch-make::common.mak
Only in pwlib.old/files: patch-src::ptclib::asner.cxx
Only in pwlib/files: patch-src::ptclib::asnper.cxx
diff -r -c pwlib.old/files/patch-unix pwlib/files/patch-unix
*** pwlib.old/files/patch-unix	Thu Aug 28 07:58:51 2003
--- pwlib/files/patch-unix	Fri Jun  3 15:18:33 2005
***************
*** 1,7 ****
! *** make/unix.mak.orig	Thu Aug 28 08:39:18 2003
! --- make/unix.mak	Thu Aug 28 08:42:30 2003
! *************** endif # linux
! *** 338,348 ****
    
    ifeq ($(OSTYPE),FreeBSD)
    
--- 1,7 ----
! *** make/unix.mak.orig	Thu Jul 24 22:01:42 2003
! --- make/unix.mak	Fri Jun  3 15:13:47 2005
! ***************
! *** 358,368 ****
    
    ifeq ($(OSTYPE),FreeBSD)
    
***************
*** 13,19 ****
    
    ifndef OSRELEASE
    OSRELEASE	:= $(shell sysctl -n kern.osreldate)
! --- 338,348 ----
    
    ifeq ($(OSTYPE),FreeBSD)
    
--- 13,19 ----
    
    ifndef OSRELEASE
    OSRELEASE	:= $(shell sysctl -n kern.osreldate)
! --- 358,368 ----
    
    ifeq ($(OSTYPE),FreeBSD)
    
***************
*** 25,32 ****
    
    ifndef OSRELEASE
    OSRELEASE	:= $(shell sysctl -n kern.osreldate)
! *************** SHELL		:= /bin/sh
! *** 871,881 ****
    
    # Directories
    
--- 25,32 ----
    
    ifndef OSRELEASE
    OSRELEASE	:= $(shell sysctl -n kern.osreldate)
! ***************
! *** 891,901 ****
    
    # Directories
    
***************
*** 38,44 ****
    
    ifndef UNIX_SRC_DIR
    UNIX_SRC_DIR	= $(PWLIBDIR)/src/ptlib/unix
! --- 871,881 ----
    
    # Directories
    
--- 38,44 ----
    
    ifndef UNIX_SRC_DIR
    UNIX_SRC_DIR	= $(PWLIBDIR)/src/ptlib/unix
! --- 891,901 ----
    
    # Directories
    
***************
*** 50,69 ****
    
    ifndef UNIX_SRC_DIR
    UNIX_SRC_DIR	= $(PWLIBDIR)/src/ptlib/unix
! *************** LDFLAGS		+= $(DEBLDFLAGS)
! *** 912,918 ****
    else
    
    ifneq ($(OSTYPE),Darwin)
! !   OPTCCFLAGS	+= -O3 -DNDEBUG
    else
      OPTCCFLAGS	+= -O2 -DNDEBUG
    endif
! --- 912,919 ----
    else
    
    ifneq ($(OSTYPE),Darwin)
! ! #  OPTCCFLAGS	+= -O3 -DNDEBUG
  !   OPTCCFLAGS	+= -DNDEBUG
    else
      OPTCCFLAGS	+= -O2 -DNDEBUG
--- 50,69 ----
    
    ifndef UNIX_SRC_DIR
    UNIX_SRC_DIR	= $(PWLIBDIR)/src/ptlib/unix
! ***************
! *** 932,938 ****
    else
    
    ifneq ($(OSTYPE),Darwin)
! !   OPTCCFLAGS	+= -Os -DNDEBUG
    else
      OPTCCFLAGS	+= -O2 -DNDEBUG
    endif
! --- 932,939 ----
    else
    
    ifneq ($(OSTYPE),Darwin)
! ! #  OPTCCFLAGS	+= -Os -DNDEBUG
  !   OPTCCFLAGS	+= -DNDEBUG
    else
      OPTCCFLAGS	+= -O2 -DNDEBUG
-------------- next part --------------
diff -r -c openh323.old/Makefile openh323/Makefile
*** openh323.old/Makefile	Mon May 16 02:45:09 2005
--- openh323/Makefile	Wed Jun  8 10:16:17 2005
***************
*** 6,13 ****
  #
  
  PORTNAME=	openh323
! PORTVERSION=	1.12.0
! PORTREVISION=	5
  CATEGORIES=	net
  MASTER_SITES=	http://www.openh323.org/bin/ \
  		http://www.de.openh323.org/bin/ \
--- 6,13 ----
  #
  
  PORTNAME=	openh323
! PORTVERSION=	1.12.2
! #PORTREVISION=	5
  CATEGORIES=	net
  MASTER_SITES=	http://www.openh323.org/bin/ \
  		http://www.de.openh323.org/bin/ \
***************
*** 40,46 ****
  
  USE_GMAKE=	yes
  USE_OPENLDAP=	yes
! USE_AUTOCONF_VER=	253
  GNU_CONFIGURE=	yes
  PWLIBDIR!=	cd ${PORTSDIR}/devel/pwlib && make -V WRKSRC
  CONFIGURE_ENV=	PWLIBDIR=${PWLIBDIR} OPENH323DIR=${WRKSRC}
--- 40,46 ----
  
  USE_GMAKE=	yes
  USE_OPENLDAP=	yes
! USE_AUTOCONF_VER=	259
  GNU_CONFIGURE=	yes
  PWLIBDIR!=	cd ${PORTSDIR}/devel/pwlib && make -V WRKSRC
  CONFIGURE_ENV=	PWLIBDIR=${PWLIBDIR} OPENH323DIR=${WRKSRC}
diff -r -c openh323.old/distinfo openh323/distinfo
*** openh323.old/distinfo	Wed Mar 31 03:10:07 2004
--- openh323/distinfo	Mon Jun  6 14:31:29 2005
***************
*** 1,2 ****
! MD5 (openh323_1.12.0.tar.gz) = f7932f0a17d6afafc7332036a4b5d392
! SIZE (openh323_1.12.0.tar.gz) = 2325128
--- 1,2 ----
! MD5 (openh323_1.12.2.tar.gz) = 15f0b12b60769d03eca9e498050776f3
! SIZE (openh323_1.12.2.tar.gz) = 2343354
diff -r -c openh323.old/files/patch-configurein openh323/files/patch-configurein
*** openh323.old/files/patch-configurein	Wed May 26 10:12:14 2004
--- openh323/files/patch-configurein	Mon Jun  6 14:42:11 2005
***************
*** 1,50 ****
! Index: configure.in
! diff -c configure.in.orig configure.in
! *** configure.in.orig	Thu May 22 21:25:00 2003
! --- configure.in	Sun Nov 23 22:51:33 2003
  ***************
! *** 73,85 ****
    
!   dnl ########################################################################
!   dnl get pwlib directory
! ! if test "${PWLIBDIR:-unset}" == "unset" ; then
!     PWLIBDIR=`ptlib-config --prefix`
!   fi
! ! if test "x$PWLIBDIR" == "x/usr" -o "x$PWLIBDIR" == "x/usr/"; then
!     PWLIBDIR="/usr/share/pwlib/"
!   fi
! ! if test "xPWLIBDIR" == "x/usr/local" -o "x$PWLIBDIR" == "x/usr/"; then
!     PWLIBDIR="/usr/local/share/pwlib/"
!   fi
!   echo "PWLib prefix set to.... $PWLIBDIR"
! --- 73,85 ----
    
-   dnl ########################################################################
-   dnl get pwlib directory
- ! if test "${PWLIBDIR:-unset}" = "unset" ; then
-     PWLIBDIR=`ptlib-config --prefix`
-   fi
- ! if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
-     PWLIBDIR="/usr/share/pwlib/"
-   fi
- ! if test "xPWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
-     PWLIBDIR="/usr/local/share/pwlib/"
-   fi
-   echo "PWLib prefix set to.... $PWLIBDIR"
- ***************
- *** 96,102 ****
-   else
-     AC_CHECK_FILE(/usr/local/include/ffmpeg/avcodec.h, H323_AVCODEC=1)
-     if test "${H323_AVCODEC:-unset}" != "unset" ; then
- !     AVCODECINCLUDEDIR=/usr/local/include/ffmpeg
-       AVCODECLIBDIR=/usr/local/lib
-     fi
-   fi
- --- 96,102 ----
-   else
-     AC_CHECK_FILE(/usr/local/include/ffmpeg/avcodec.h, H323_AVCODEC=1)
-     if test "${H323_AVCODEC:-unset}" != "unset" ; then
- !     AVCODECINCLUDEDIR=/usr/local/include
-       AVCODECLIBDIR=/usr/local/lib
-     fi
-   fi
--- 1,19 ----
! *** configure.in.orig	Mon Jun  6 14:34:14 2005
! --- configure.in	Mon Jun  6 14:41:03 2005
  ***************
! *** 109,115 ****
!   if test "${H323_AVCODEC:-unset}" != "unset" ; then
!     AC_SUBST(H323_AVCODEC, 1)
!     AC_DEFINE(H323_AVCODEC, 1, "ffmpeg based avodec found")
! !   AVCODECINCLUDEDIR=/usr/local/include/ffmpeg
!     AVCODECLIBDIR=/usr/local/lib
!     STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}"
    
! --- 109,115 ----
!   if test "${H323_AVCODEC:-unset}" != "unset" ; then
!     AC_SUBST(H323_AVCODEC, 1)
!     AC_DEFINE(H323_AVCODEC, 1, "ffmpeg based avodec found")
! !   AVCODECINCLUDEDIR=/usr/local/include
!     AVCODECLIBDIR=/usr/local/lib
!     STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}"
    
Only in openh323.old/files: patch-include+h263codec.h
Only in openh323/files: patch-include::ffh263codec.h
Only in openh323/files: patch-include::h263codec.h
Only in openh323/files: patch-src::ffh263codec.cxx
Only in openh323.old/files: patch-src::h263codec.cxx


More information about the freebsd-ports-bugs mailing list