FreeBSD Bugzilla – Attachment 111718 Details for
Bug 153027
New port: net-im/openfetion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 14.36 KB, created by
Yanhui Shen
on 2010-12-11 21:50:11 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Yanhui Shen
Created:
2010-12-11 21:50:11 UTC
Size:
14.36 KB
patch
obsolete
># 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: ># ># ../openfetion ># ../openfetion/pkg-descr ># ../openfetion/openfetion.shar ># ../openfetion/.Makefile.swp ># ../openfetion/distinfo ># ../openfetion/pkg-plist ># ../openfetion/files ># ../openfetion/files/patch-po__Makefile.in.in ># ../openfetion/files/patch-lib__Makefile.in ># ../openfetion/files/patch-lib__fetion_connection.c ># ../openfetion/files/patch-src__fx_conn.c ># ../openfetion/Makefile ># >echo c - ../openfetion >mkdir -p ../openfetion > /dev/null 2>&1 >echo x - ../openfetion/pkg-descr >sed 's/^X//' >../openfetion/pkg-descr << '79c9553a4625c9b4d2c816b09f8a259b' >XFetion is an IM provided by China Mobile, >Xwith features like text chat, voice call, file sharing, etc. >XOpenfetion is an opensource client of Fetion with limited features. >XIt's small and fast, and is better in look. >X >XWWW: http://code.google.com/p/ofetion/ >79c9553a4625c9b4d2c816b09f8a259b >echo x - ../openfetion/openfetion.shar >sed 's/^X//' >../openfetion/openfetion.shar << '2a3d2252fe0242a0b196277a432f6f1c' >X# This is a shell archive. Save it in a file, remove anything before >X# this line, and then unpack it by entering "sh file". Note, it may >X# create directories; files and directories will be owned by you and >X# have default permissions. >X# >X# This archive contains: >X# >X# ../openfetion >X# ../openfetion/pkg-descr >X# ../openfetion/openfetion.shar >X# ../openfetion/.Makefile.swp >X# ../openfetion/distinfo >X# ../openfetion/pkg-plist >X# ../openfetion/files >X# ../openfetion/files/patch-po__Makefile.in.in >X# ../openfetion/files/patch-lib__Makefile.in >X# ../openfetion/files/patch-lib__fetion_connection.c >X# ../openfetion/files/patch-src__fx_conn.c >X# ../openfetion/Makefile >X# >Xecho c - ../openfetion >Xmkdir -p ../openfetion > /dev/null 2>&1 >Xecho x - ../openfetion/pkg-descr >Xsed 's/^X//' >../openfetion/pkg-descr << '79c9553a4625c9b4d2c816b09f8a259b' >XXFetion is an IM provided by China Mobile, >XXwith features like text chat, voice call, file sharing, etc. >XXOpenfetion is an opensource client of Fetion with limited features. >XXIt's small and fast, and is better in look. >XX >XXWWW: http://code.google.com/p/ofetion/ >X79c9553a4625c9b4d2c816b09f8a259b >Xecho x - ../openfetion/openfetion.shar >Xsed 's/^X//' >../openfetion/openfetion.shar << '2a3d2252fe0242a0b196277a432f6f1c' >2a3d2252fe0242a0b196277a432f6f1c >echo x - ../openfetion/.Makefile.swp >sed 's/^X//' >../openfetion/.Makefile.swp << '2876dd101a1005c332c3fc5e5754632c' >Xb0VIM 7.32876dd101a1005c332c3fc5e5754632c >echo x - ../openfetion/distinfo >sed 's/^X//' >../openfetion/distinfo << '4f5c1d0cd4d0b244cf2f84aac88ba623' >XSHA256 (openfetion/openfetion-2.0.7.tar.gz) = 37bdab942713512ab02d34e1b16a810764e55688c93cd5daee88c64c50c22695 >XSIZE (openfetion/openfetion-2.0.7.tar.gz) = 794386 >XSHA256 (openfetion/openfetion-2.0.7.tar.gz) = 37bdab942713512ab02d34e1b16a810764e55688c93cd5daee88c64c50c22695 >XSIZE (openfetion/openfetion-2.0.7.tar.gz) = 794386 >4f5c1d0cd4d0b244cf2f84aac88ba623 >echo x - ../openfetion/pkg-plist >sed 's/^X//' >../openfetion/pkg-plist << '46a99351246adfc4a9b6217fb56aae32' >Xbin/openfetion >Xinclude/fetion_buddylist.h >Xinclude/fetion_config.h >Xinclude/fetion_connection.h >Xinclude/fetion_contact.h >Xinclude/fetion_conversation.h >Xinclude/fetion_debug.h >Xinclude/fetion_directsms.h >Xinclude/fetion_group.h >Xinclude/fetion_history.h >Xinclude/fetion_list.h >Xinclude/fetion_login.h >Xinclude/fetion_message.h >Xinclude/fetion_share.h >Xinclude/fetion_sip.h >Xinclude/fetion_types.h >Xinclude/fetion_user.h >Xinclude/openfetion.h >Xlib/libofetion.a >Xlib/libofetion.la >Xlib/libofetion.so >Xlib/libofetion.so.0 >Xlibdata/pkgconfig/ofetion.pc >Xshare/pixmaps/fetion.svg >X%%NLS%%share/locale/zh_CN/LC_MESSAGES/openfetion.mo >X%%DATADIR%%/resource/city.xml >X%%DATADIR%%/resource/newmessage.wav >X%%DATADIR%%/resource/province.xml >X%%DATADIR%%/skin/LoadingImage.gif >X%%DATADIR%%/skin/add.png >X%%DATADIR%%/skin/away.svg >X%%DATADIR%%/skin/bigimage.png >X%%DATADIR%%/skin/busy.svg >X%%DATADIR%%/skin/delete.png >X%%DATADIR%%/skin/directsms.png >X%%DATADIR%%/skin/edit.png >X%%DATADIR%%/skin/emotion.png >X%%DATADIR%%/skin/exit.png >X%%DATADIR%%/skin/face_images/1.gif >X%%DATADIR%%/skin/face_images/10.gif >X%%DATADIR%%/skin/face_images/11.gif >X%%DATADIR%%/skin/face_images/12.gif >X%%DATADIR%%/skin/face_images/13.gif >X%%DATADIR%%/skin/face_images/14.gif >X%%DATADIR%%/skin/face_images/15.gif >X%%DATADIR%%/skin/face_images/16.gif >X%%DATADIR%%/skin/face_images/17.gif >X%%DATADIR%%/skin/face_images/18.gif >X%%DATADIR%%/skin/face_images/19.gif >X%%DATADIR%%/skin/face_images/2.gif >X%%DATADIR%%/skin/face_images/20.gif >X%%DATADIR%%/skin/face_images/21.gif >X%%DATADIR%%/skin/face_images/22.gif >X%%DATADIR%%/skin/face_images/23.gif >X%%DATADIR%%/skin/face_images/24.gif >X%%DATADIR%%/skin/face_images/25.gif >X%%DATADIR%%/skin/face_images/26.gif >X%%DATADIR%%/skin/face_images/27.gif >X%%DATADIR%%/skin/face_images/28.gif >X%%DATADIR%%/skin/face_images/29.gif >X%%DATADIR%%/skin/face_images/3.gif >X%%DATADIR%%/skin/face_images/30.gif >X%%DATADIR%%/skin/face_images/31.gif >X%%DATADIR%%/skin/face_images/32.gif >X%%DATADIR%%/skin/face_images/33.gif >X%%DATADIR%%/skin/face_images/34.gif >X%%DATADIR%%/skin/face_images/35.gif >X%%DATADIR%%/skin/face_images/36.gif >X%%DATADIR%%/skin/face_images/37.gif >X%%DATADIR%%/skin/face_images/38.gif >X%%DATADIR%%/skin/face_images/39.gif >X%%DATADIR%%/skin/face_images/4.gif >X%%DATADIR%%/skin/face_images/40.gif >X%%DATADIR%%/skin/face_images/41.gif >X%%DATADIR%%/skin/face_images/42.gif >X%%DATADIR%%/skin/face_images/43.gif >X%%DATADIR%%/skin/face_images/44.gif >X%%DATADIR%%/skin/face_images/45.gif >X%%DATADIR%%/skin/face_images/46.gif >X%%DATADIR%%/skin/face_images/47.gif >X%%DATADIR%%/skin/face_images/48.gif >X%%DATADIR%%/skin/face_images/49.gif >X%%DATADIR%%/skin/face_images/5.gif >X%%DATADIR%%/skin/face_images/50.gif >X%%DATADIR%%/skin/face_images/51.gif >X%%DATADIR%%/skin/face_images/52.gif >X%%DATADIR%%/skin/face_images/6.gif >X%%DATADIR%%/skin/face_images/7.gif >X%%DATADIR%%/skin/face_images/8.gif >X%%DATADIR%%/skin/face_images/9.gif >X%%DATADIR%%/skin/face_images/big_1.gif >X%%DATADIR%%/skin/face_images/big_10.gif >X%%DATADIR%%/skin/face_images/big_11.gif >X%%DATADIR%%/skin/face_images/big_12.gif >X%%DATADIR%%/skin/face_images/big_13.gif >X%%DATADIR%%/skin/face_images/big_14.gif >X%%DATADIR%%/skin/face_images/big_15.gif >X%%DATADIR%%/skin/face_images/big_16.gif >X%%DATADIR%%/skin/face_images/big_17.gif >X%%DATADIR%%/skin/face_images/big_18.gif >X%%DATADIR%%/skin/face_images/big_19.gif >X%%DATADIR%%/skin/face_images/big_2.gif >X%%DATADIR%%/skin/face_images/big_20.gif >X%%DATADIR%%/skin/face_images/big_21.gif >X%%DATADIR%%/skin/face_images/big_22.gif >X%%DATADIR%%/skin/face_images/big_23.gif >X%%DATADIR%%/skin/face_images/big_24.gif >X%%DATADIR%%/skin/face_images/big_25.gif >X%%DATADIR%%/skin/face_images/big_26.gif >X%%DATADIR%%/skin/face_images/big_27.gif >X%%DATADIR%%/skin/face_images/big_28.gif >X%%DATADIR%%/skin/face_images/big_29.gif >X%%DATADIR%%/skin/face_images/big_3.gif >X%%DATADIR%%/skin/face_images/big_30.gif >X%%DATADIR%%/skin/face_images/big_31.gif >X%%DATADIR%%/skin/face_images/big_32.gif >X%%DATADIR%%/skin/face_images/big_33.gif >X%%DATADIR%%/skin/face_images/big_34.gif >X%%DATADIR%%/skin/face_images/big_35.gif >X%%DATADIR%%/skin/face_images/big_36.gif >X%%DATADIR%%/skin/face_images/big_37.gif >X%%DATADIR%%/skin/face_images/big_38.gif >X%%DATADIR%%/skin/face_images/big_39.gif >X%%DATADIR%%/skin/face_images/big_4.gif >X%%DATADIR%%/skin/face_images/big_40.gif >X%%DATADIR%%/skin/face_images/big_41.gif >X%%DATADIR%%/skin/face_images/big_42.gif >X%%DATADIR%%/skin/face_images/big_43.gif >X%%DATADIR%%/skin/face_images/big_44.gif >X%%DATADIR%%/skin/face_images/big_45.gif >X%%DATADIR%%/skin/face_images/big_46.gif >X%%DATADIR%%/skin/face_images/big_47.gif >X%%DATADIR%%/skin/face_images/big_48.gif >X%%DATADIR%%/skin/face_images/big_49.gif >X%%DATADIR%%/skin/face_images/big_5.gif >X%%DATADIR%%/skin/face_images/big_50.gif >X%%DATADIR%%/skin/face_images/big_51.gif >X%%DATADIR%%/skin/face_images/big_52.gif >X%%DATADIR%%/skin/face_images/big_6.gif >X%%DATADIR%%/skin/face_images/big_7.gif >X%%DATADIR%%/skin/face_images/big_8.gif >X%%DATADIR%%/skin/face_images/big_9.gif >X%%DATADIR%%/skin/fetion.svg >X%%DATADIR%%/skin/find.png >X%%DATADIR%%/skin/groupsend.png >X%%DATADIR%%/skin/hilight.png >X%%DATADIR%%/skin/history.png >X%%DATADIR%%/skin/home.png >X%%DATADIR%%/skin/invisible.svg >X%%DATADIR%%/skin/login.png >X%%DATADIR%%/skin/logining.gif >X%%DATADIR%%/skin/move.png >X%%DATADIR%%/skin/myselfsms.png >X%%DATADIR%%/skin/nudge.png >X%%DATADIR%%/skin/offline.svg >X%%DATADIR%%/skin/online.svg >X%%DATADIR%%/skin/openfetion.png >X%%DATADIR%%/skin/options.png >X%%DATADIR%%/skin/pggroup.png >X%%DATADIR%%/skin/phone.png >X%%DATADIR%%/skin/portrait.png >X%%DATADIR%%/skin/profile.png >X%%DATADIR%%/skin/proxy.png >X%%DATADIR%%/skin/reconnecting.gif >X%%DATADIR%%/skin/refresh.png >X%%DATADIR%%/skin/warning.svg >X@dirrm %%DATADIR%%/skin/face_images >X@dirrm %%DATADIR%%/skin >X@dirrm %%DATADIR%%/resource >X@dirrm %%DATADIR%% >46a99351246adfc4a9b6217fb56aae32 >echo c - ../openfetion/files >mkdir -p ../openfetion/files > /dev/null 2>&1 >echo x - ../openfetion/files/patch-po__Makefile.in.in >sed 's/^X//' >../openfetion/files/patch-po__Makefile.in.in << 'd78dd8a714c84757f74d4e9b5b245099' >X--- ./po/Makefile.in.in.orig 2010-11-28 19:53:01.000000000 +0800 >X+++ ./po/Makefile.in.in 2010-12-12 04:49:54.733306373 +0800 >X@@ -32,9 +32,9 @@ >X exec_prefix = @exec_prefix@ >X datadir = @datadir@ >X datarootdir = @datarootdir@ >X+localedir = ${datarootdir}/locale >X libdir = @libdir@ >X DATADIRNAME = @DATADIRNAME@ >X-itlocaledir = $(prefix)/$(DATADIRNAME)/locale >X subdir = po >X install_sh = @install_sh@ >X # Automake >= 1.8 provides @mkdir_p@. >X@@ -103,7 +103,7 @@ >X install-data-yes: all >X linguas="$(USE_LINGUAS)"; \ >X for lang in $$linguas; do \ >X- dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ >X+ dir=$(localedir)/$$lang/LC_MESSAGES; \ >X $(mkdir_p) $$dir; \ >X if test -r $$lang.gmo; then \ >X $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ >X@@ -137,8 +137,8 @@ >X uninstall: >X linguas="$(USE_LINGUAS)"; \ >X for lang in $$linguas; do \ >X- rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ >X- rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ >X+ rm -f $(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ >X+ rm -f $(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ >X done >X >X check: all $(GETTEXT_PACKAGE).pot >d78dd8a714c84757f74d4e9b5b245099 >echo x - ../openfetion/files/patch-lib__Makefile.in >sed 's/^X//' >../openfetion/files/patch-lib__Makefile.in << '827720b81891d0f2dd9065f73757e2a4' >X--- ./lib/Makefile.in.orig 2010-11-28 19:53:01.000000000 +0800 >X+++ ./lib/Makefile.in 2010-12-12 04:50:27.361158846 +0800 >X@@ -298,7 +298,7 @@ >X fetion_group.c \ >X libofetion.map >X >X-pkgconfigdir = $(libdir)/pkgconfig >X+pkgconfigdir = $(libdir)/../libdata/pkgconfig >X pkgconfig_DATA = ofetion.pc >X all: all-am >X >827720b81891d0f2dd9065f73757e2a4 >echo x - ../openfetion/files/patch-lib__fetion_connection.c >sed 's/^X//' >../openfetion/files/patch-lib__fetion_connection.c << '537ba0edc0db9797189f3c45a44dd53e' >X--- ./lib/fetion_connection.c.orig 2010-11-28 19:53:01.000000000 +0800 >X+++ ./lib/fetion_connection.c 2010-12-12 04:49:54.728304288 +0800 >X@@ -22,6 +22,7 @@ >X #include <fcntl.h> >X #include <sys/ioctl.h> >X #include <sys/types.h> >X+#include <sys/socket.h> >X #include <netinet/in.h> >X #include <netinet/tcp.h> >X #include <arpa/inet.h> >X@@ -34,9 +35,15 @@ >X int tcp_keep_alive(int socketfd) >X { >X int keepAlive = 1; >X+#ifdef TCP_KEEPIDEL >X int keepIdle = 10; >X+#endif >X+#ifdef TCP_KEEPINTVL >X int keepInterval = 10; >X+#endif >X+#ifdef TCP_KEEPCNT >X int keepCount = 10; >X+#endif >X >X if(setsockopt(socketfd , SOL_SOCKET , SO_KEEPALIVE >X ,(void*)&keepAlive,sizeof(keepAlive)) == -1){ >X@@ -44,23 +51,29 @@ >X return -1; >X } >X >X+#ifdef TCP_KEEPIDEL >X if(setsockopt(socketfd , SOL_TCP , TCP_KEEPIDLE >X ,(void *)&keepIdle,sizeof(keepIdle)) == -1){ >X debug_info("set TCP_KEEPIDEL failed\n"); >X return -1; >X } >X+#endif >X >X+#ifdef TCP_KEEPINTVL >X if(setsockopt(socketfd , SOL_TCP , TCP_KEEPINTVL >X ,(void *)&keepInterval,sizeof(keepInterval)) == -1){ >X debug_info("set TCP_KEEPINTVL failed\n"); >X return -1; >X } >X+#endif >X >X+#ifdef TCP_KEEPCNF >X if(setsockopt(socketfd , SOL_TCP , TCP_KEEPCNT >X ,(void *)&keepCount,sizeof(keepCount)) == -1){ >X debug_info("set TCP_KEEPCNT failed\n"); >X return -1; >X } >X+#endif >X return 1; >X } >X >X@@ -369,10 +382,16 @@ >X c = tcp_connection_recv(conn , buf , sizeof(buf) - 1); >X if(c <= 0) >X break; >X- strcpy(res + n, buf); >X n += c; >X- if(n >= len) >X+ if(n > len){ >X+ free(res); >X+ res = NULL; >X break; >X+ } >X+ strcpy(res + n -c, buf); >X+ if(n == len){ >X+ break; >X+ } >X } >X >X return res; >537ba0edc0db9797189f3c45a44dd53e >echo x - ../openfetion/files/patch-src__fx_conn.c >sed 's/^X//' >../openfetion/files/patch-src__fx_conn.c << '6460cf870d0be9402e9b6170f853e83f' >X--- ./src/fx_conn.c.orig 2010-11-28 19:53:01.000000000 +0800 >X+++ ./src/fx_conn.c 2010-12-12 04:49:54.746304808 +0800 >X@@ -24,8 +24,8 @@ >X #include <netinet/in.h> >X #include <netinet/tcp.h> >X #include <arpa/inet.h> >X-#include <net/if.h> >X #include <sys/socket.h> >X+#include <net/if.h> >X #include <netdb.h> >X >X int old_state; >6460cf870d0be9402e9b6170f853e83f >echo x - ../openfetion/Makefile >sed 's/^X//' >../openfetion/Makefile << '47f657dfbe5f95aabcac2bf5dc9f9848' >X# New ports collection makefile for: openfetion >X# Date created: 11 December 2010 >X# Whom: lwp <levin108@gmail.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= openfetion >XPORTVERSION= 2.0.7 >XCATEGORIES= net-im >XMASTER_SITES= http://ofetion.googlecode.com/files/ >XDISTFILES= ${DISTNAME}${EXTRACT_SUFX} openfetion-2.0.7.tar.gz >XDIST_SUBDIR= openfetion >X >XMAINTAINER= shen.elf@gmail.com >XCOMMENT= OpenFetion is an opensource client of China Mobile's Fetion IM >X >XLICENSE= GPLv2 >X >XGNU_CONFIGURE= yes >XUSE_GMAKE= yes >XUSE_LDCONFIG= yes >XUSE_LIBXML2= yes >XUSE_GNOME= gtk20 >XUSE_GSTREAMER= yes >XUSE_OPENSSL= yes >XMAKG_JOBS_SAFE= yes >X >XCONFIGURE_ARGS+= --disable-nm >XCONFIGURE_ARGS+= LIBSSL_CFLAGS=-Wl,-rpath,${OPENSSLRPATH} >XCONFIGURE_ARGS+= LIBSSL_LIBS=-rpath=${OPENSSLRPATH} >X >X.if !defined(WITHOUT_NLS) >XUSE_GETTEXT= yes >XCONFIGURE_ARGS+= --enable-nls >XPLIST_SUB+= NLS="" >X.else >XCONFIGURE_ARGS+= --disable-nls >XPLIST_SUB+= NLS="@comment" >X.endif >X >X.include <bsd.port.mk> >47f657dfbe5f95aabcac2bf5dc9f9848 >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 153027
: 111718