Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2014 14:47:51 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347395 - in head/net-p2p/microdc2: . files
Message-ID:  <201403071447.s27ElppV088106@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Mar  7 14:47:51 2014
New Revision: 347395
URL: http://svnweb.freebsd.org/changeset/ports/347395
QAT: https://qat.redports.org/buildarchive/r347395/

Log:
  - Do not build local libbzip2.a, link to the one from the base
  - Convert libxml2-related REINPLACE_CMD to patch due to the above
  - Augment port description text

Added:
  head/net-p2p/microdc2/files/patch-configure   (contents, props changed)
  head/net-p2p/microdc2/files/patch-src-Makefile.in   (contents, props changed)
Modified:
  head/net-p2p/microdc2/Makefile
  head/net-p2p/microdc2/pkg-descr

Modified: head/net-p2p/microdc2/Makefile
==============================================================================
--- head/net-p2p/microdc2/Makefile	Fri Mar  7 14:46:57 2014	(r347394)
+++ head/net-p2p/microdc2/Makefile	Fri Mar  7 14:47:51 2014	(r347395)
@@ -24,7 +24,4 @@ OPTIONS_SUB=	yes
 NLS_USES=	gettext
 NLS_CONFIGURE_OFF=	--disable-nls
 
-post-patch:
-	@${REINPLACE_CMD} -e 's,-ge 2616,\\> 2616,' ${WRKSRC}/configure
-
 .include <bsd.port.mk>

Added: head/net-p2p/microdc2/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/microdc2/files/patch-configure	Fri Mar  7 14:47:51 2014	(r347395)
@@ -0,0 +1,28 @@
+--- configure.orig	2006-12-25 02:45:07 +0800
++++ configure
+@@ -21508,7 +21508,7 @@ cat >>confdefs.h <<\_ACEOF
+ _ACEOF
+ 
+   fi
+-  if test $LIBXML2_VERSION -ge 2616; then
++  if test $LIBXML2_VERSION \> 2615; then
+     cat >>confdefs.h <<\_ACEOF
+ #define HAVE_LIBXML2 1
+ _ACEOF
+@@ -22197,7 +22197,7 @@ fi
+ # Checks for library functions
+ 
+ # Output generation
+-ac_config_files="$ac_config_files Makefile po/Makefile.in lib/Makefile src/Makefile src/common/Makefile src/bzip2/Makefile src/tth/Makefile rpm/microdc.spec"
++ac_config_files="$ac_config_files Makefile po/Makefile.in lib/Makefile src/Makefile src/common/Makefile src/tth/Makefile rpm/microdc.spec"
+ 
+ ac_config_files="$ac_config_files slackware/microdc.SlackBuild"
+ 
+@@ -22793,7 +22793,6 @@ do
+     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
+     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
+     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
+-    "src/bzip2/Makefile") CONFIG_FILES="$CONFIG_FILES src/bzip2/Makefile" ;;
+     "src/tth/Makefile") CONFIG_FILES="$CONFIG_FILES src/tth/Makefile" ;;
+     "rpm/microdc.spec") CONFIG_FILES="$CONFIG_FILES rpm/microdc.spec" ;;
+     "slackware/microdc.SlackBuild") CONFIG_FILES="$CONFIG_FILES slackware/microdc.SlackBuild" ;;

Added: head/net-p2p/microdc2/files/patch-src-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/microdc2/files/patch-src-Makefile.in	Fri Mar  7 14:47:51 2014	(r347395)
@@ -0,0 +1,31 @@
+--- src/Makefile.in.orig	2006-12-25 02:44:47 +0800
++++ src/Makefile.in
+@@ -97,7 +97,7 @@ am_microdc2_OBJECTS = command.$(OBJEXT) 
+ 	charsets.$(OBJEXT)
+ microdc2_OBJECTS = $(am_microdc2_OBJECTS)
+ am__DEPENDENCIES_1 =
+-microdc2_DEPENDENCIES = common/libcommon.a bzip2/libbzip2.a \
++microdc2_DEPENDENCIES = common/libcommon.a \
+ 	tth/libtth.a ../lib/libgnu.a $(am__DEPENDENCIES_1) \
+ 	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ 	$(am__DEPENDENCIES_1)
+@@ -246,7 +246,7 @@ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-SUBDIRS = common bzip2 tth
++SUBDIRS = common tth
+ AM_CFLAGS = \
+   -Wall \
+   $(LIBXML2_CFLAGS)
+@@ -288,9 +288,9 @@ tthsum_SOURCES = \
+ #  microdc_tth.c
+ microdc2_LDADD = \
+   common/libcommon.a \
+-  bzip2/libbzip2.a \
+   tth/libtth.a \
+   ../lib/libgnu.a \
++  -lbz2 \
+   $(READLINE_LIBS) \
+   $(LIBINTL) \
+   $(LIBICONV) \

Modified: head/net-p2p/microdc2/pkg-descr
==============================================================================
--- head/net-p2p/microdc2/pkg-descr	Fri Mar  7 14:46:57 2014	(r347394)
+++ head/net-p2p/microdc2/pkg-descr	Fri Mar  7 14:47:51 2014	(r347395)
@@ -1,7 +1,19 @@
-microdc is a command-line based Direct Connect client that uses the
-GNU Readline library for user interaction. It was developed from
-ground up and does not depend on any other program. Despite the
-command-line user interface, microdc was designed to be user
-friendly and simple to use.
+microdc is a command-line based Direct Connect client written in C by Oskar
+Liljeblad and designed to build and run on modern POSIX compatible systems.
+It uses GNU Readline library for user interaction.  Despite the command-line
+user interface, microdc is quite user friendly and simple to use.
+
+microdc2 is a future improvement (fork) of the microdc based on Oskar's code
+version 0.11.0.  After version 0.12.0 the project was renamed to microdc2 on
+Oskar's request.
+
+Features of microdc2 include:
+
+  - Nearly full support of the original Direct Connect protocol
+  - GNU Readline support for command line editing and history
+  - Sensible tab-completion of commands, user names, local files, remote
+    files, speed names, and connection names
+  - One process per connection for optimal transfer rates
+  - Small memory footprint
 
 WWW: http://corsair626.no-ip.org/microdc/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403071447.s27ElppV088106>