ports/134349: New port: net-im/pidgin-sipe Pidgin Plug-in for OCS/LCS

John Prather john.c.prather at gmail.com
Thu May 7 22:40:02 UTC 2009


>Number:         134349
>Category:       ports
>Synopsis:       New port: net-im/pidgin-sipe Pidgin Plug-in for OCS/LCS
>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:   Thu May 07 22:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     John Prather
>Release:        8-CURRENT
>Organization:
>Environment:
FreeBSD bsdlaptop.localdomain 8.0-CURRENT-200902 FreeBSD 8.0-CURRENT-200902 #0: Sat Feb 21 05:58:23 UTC 2009     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
This is the sipe plugin for pidgin which provides connectivity to LCS/OCS messaging systems.


>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	net-im/pidgin-sipe
#	net-im/pidgin-sipe/files
#	net-im/pidgin-sipe/files/patch-src-sipe-sign.c
#	net-im/pidgin-sipe/files/patch-src-sipkrb5.c
#	net-im/pidgin-sipe/files/patch-src-uuid.c
#	net-im/pidgin-sipe/Makefile
#	net-im/pidgin-sipe/distinfo
#	net-im/pidgin-sipe/pkg-descr
#	net-im/pidgin-sipe/pkg-plist
#
echo c - net-im/pidgin-sipe
mkdir -p net-im/pidgin-sipe > /dev/null 2>&1
echo c - net-im/pidgin-sipe/files
mkdir -p net-im/pidgin-sipe/files > /dev/null 2>&1
echo x - net-im/pidgin-sipe/files/patch-src-sipe-sign.c
sed 's/^X//' >net-im/pidgin-sipe/files/patch-src-sipe-sign.c << '028de33f87e73e543c6b8e34c37e713e'
X*** src/sipe-sign.c.orig	Thu May  7 11:58:37 2009
X--- src/sipe-sign.c	Thu May  7 11:59:03 2009
X***************
X*** 26,32 ****
X--- 26,36 ----
X  #include <errno.h>
X  #include <ctype.h>
X  #ifndef _WIN32
X+ #ifdef __FreeBSD__
X+ #include <com_err.h>
X+ #else
X  #include <et/com_err.h>
X+ #endif
X  #else
X  #include <protocols/zephyr/com_err.h>
X  #include "internal.h"
028de33f87e73e543c6b8e34c37e713e
echo x - net-im/pidgin-sipe/files/patch-src-sipkrb5.c
sed 's/^X//' >net-im/pidgin-sipe/files/patch-src-sipkrb5.c << 'fe411627965256622f6bd83bb37728c3'
X*** src/sipkrb5.c.orig	Thu May  7 11:58:42 2009
X--- src/sipkrb5.c	Thu May  7 11:59:42 2009
X***************
X*** 35,41 ****
X--- 35,46 ----
X  #include <string.h>
X  #include <errno.h>
X  #include <ctype.h>
X+ #ifdef __FreeBSD__
X+ #include <com_err.h>
X+ #else
X  #include <et/com_err.h>
X+ #endif
X+ 
X  
X  #include "debug.h"
X  #include "util.h"
fe411627965256622f6bd83bb37728c3
echo x - net-im/pidgin-sipe/files/patch-src-uuid.c
sed 's/^X//' >net-im/pidgin-sipe/files/patch-src-uuid.c << 'aa019e4438460f6ee8dd98aa7fc2c241'
X*** src/uuid.c.orig	Mon Apr 13 09:48:29 2009
X--- src/uuid.c	Thu May  7 12:40:23 2009
X***************
X*** 28,34 ****
X--- 28,38 ----
X  #include <sys/types.h>
X  #include <sys/socket.h>
X  #include <netinet/in.h>
X+ #ifdef __FreeBSD__
X+ #include <net/if.h>
X+ #else
X  #include <linux/if.h>
X+ #endif
X  #else
X  #ifdef _DLL
X  #define _WS2TCPIP_H_
X***************
X*** 135,141 ****
X--- 139,149 ----
X          strcpy(ifr.ifr_name, IFR->ifr_name);
X          if (ioctl(s, SIOCGIFFLAGS, &ifr) == 0) {
X              if (! (ifr.ifr_flags & IFF_LOOPBACK)) {
X+ #ifdef __FreeBSD__
X+ 		if (ioctl(s, SIOCGIFMAC, &ifr) == 0) {
X+ #else
X                  if (ioctl(s, SIOCGIFHWADDR, &ifr) == 0) {
X+ #endif
X                      ok = 1;
X                      break;
X                  }
X***************
X*** 145,151 ****
X--- 153,163 ----
X  
X      close(s);
X      if (ok) {
X+ #ifdef __FreeBSD__
X+ 	memmove((void *)addr, ifr.ifr_ifru.ifru_addr.sa_data, 6);
X+ #else
X          memmove((void *)addr, ifr.ifr_hwaddr.sa_data, 6);
X+ #endif
X      }
X      else {
X          return -1;
aa019e4438460f6ee8dd98aa7fc2c241
echo x - net-im/pidgin-sipe/Makefile
sed 's/^X//' >net-im/pidgin-sipe/Makefile << '42773e9668c3241b1a3a1bcddd11083f'
X# New ports collection makefile for: pidgin-sipe
X# Date created:  7 May 2009
X# Whom:          John Prather
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pidgin-sipe
XPORTVERSION=	1.3.4
XCATEGORIES=	net-im
XMASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	sipe
X
XMAINTAINER=	john.c.prather at gmail.com
XCOMMENT=	A plugin for Pidgin to provide LCS/OCS connectivity
X
XLIB_DEPENDS=	purple:${PORTSDIR}/net-im/libpurple
XRUN_DEPENDS=	pidgin:${PORTSDIR}/net-im/pidgin
X
XGNU_CONFIGURE=	yes
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_LDCONFIG=	${PREFIX}/lib/pidgin
XUSE_GETTEXT=	yes
X
XCFLAGS+=	"-I/${LOCALBASE}/include"
XLIBS+=		"-L/${LOCALBASE}/lib"
X
XCONFIGURE_ENV += 	CFLAGS="${CFLAGS}" \
X			LIBS="${LIBS}" \
X			COM_ERR_CFLAGS="-I/usr/include" \
X			COM_ERR_LIBS="-L/usr/include -lcom_err"
X
X.include <bsd.port.mk>
42773e9668c3241b1a3a1bcddd11083f
echo x - net-im/pidgin-sipe/distinfo
sed 's/^X//' >net-im/pidgin-sipe/distinfo << '1e6a0774e0716bc2e341ee427e597e0b'
XMD5 (pidgin-sipe-1.3.4.tar.bz2) = 54648ac3acf2d79f6a77bec8a4a447e4
XSHA256 (pidgin-sipe-1.3.4.tar.bz2) = b3148f85aa007d2bdb21245b6e8c6aed6f23a445d519b9089e5883562050ec36
XSIZE (pidgin-sipe-1.3.4.tar.bz2) = 332453
1e6a0774e0716bc2e341ee427e597e0b
echo x - net-im/pidgin-sipe/pkg-descr
sed 's/^X//' >net-im/pidgin-sipe/pkg-descr << 'e90243ee62c403c4f135926a54b453ec'
XPidgin Plug-in for OCS/LCS (Live Communication Server). 
XSIP/Simple protocol implementation for connect to LCS/OCS.
X
XWWW: http://www.sourceforge.net/projects/sipe
e90243ee62c403c4f135926a54b453ec
echo x - net-im/pidgin-sipe/pkg-plist
sed 's/^X//' >net-im/pidgin-sipe/pkg-plist << 'af825cae7cd021033bd9fada1647c224'
Xlib/pidgin/libsipe.so
Xlib/pidgin/libsipe.la
Xshare/locale/da/LC_MESSAGES/pidgin-sipe.mo
Xshare/locale/de/LC_MESSAGES/pidgin-sipe.mo
Xshare/locale/es/LC_MESSAGES/pidgin-sipe.mo
Xshare/locale/fr/LC_MESSAGES/pidgin-sipe.mo
Xshare/locale/hi/LC_MESSAGES/pidgin-sipe.mo
Xshare/locale/ta/LC_MESSAGES/pidgin-sipe.mo
Xshare/pixmaps/pidgin/protocols/16/sipe.png
Xshare/pixmaps/pidgin/protocols/22/sipe.png
Xshare/pixmaps/pidgin/protocols/48/sipe.png
af825cae7cd021033bd9fada1647c224
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list