From nobody@FreeBSD.org  Fri Jun 21 22:43:30 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id E42C68CC
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Jun 2013 22:43:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id BBCCB1D34
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Jun 2013 22:43:30 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5LMhTUV026751
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Jun 2013 22:43:29 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5LMhT7J026750;
	Fri, 21 Jun 2013 22:43:29 GMT
	(envelope-from nobody)
Message-Id: <201306212243.r5LMhT7J026750@oldred.freebsd.org>
Date: Fri, 21 Jun 2013 22:43:29 GMT
From: "r4721@tormail.org" <r4721@tormail.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] fix sysutils/ssync with clang-only world
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: samm@os2.kiev.ua

>Number:         179823
>Category:       ports
>Synopsis:       [patch] fix sysutils/ssync with clang-only world
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 21 22:50:00 UTC 2013
>Closed-Date:    Thu Jul 04 22:05:19 UTC 2013
>Last-Modified:  Thu Jul  4 22:10:00 UTC 2013
>Originator:     r4721@tormail.org
>Release:        
>Organization:
>Environment:
>Description:
* fix compiling without gcc (remove hardcoded 'gcc')
* change to new-type headers
* replace all dead MASTER_SITES and WWW with working ones
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: sysutils/ssync/Makefile
===================================================================
--- sysutils/ssync/Makefile	(revision 321412)
+++ sysutils/ssync/Makefile	(working copy)
@@ -1,16 +1,11 @@
-# New ports collection makefile for:	ssync
-# Date created:		23 March 2002
-# Whom:			Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
-#
+# Created by: Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
 # $FreeBSD$
-#
 
 PORTNAME=	ssync
 PORTVERSION=	2.3
 PORTREVISION=	2
 CATEGORIES=	sysutils
-MASTER_SITES=	http://mnmconsulting.org/ssync/ \
-		ftp://ftp.netsw.org/system/tools/fileutils/install/ssync/
+MASTER_SITES=	http://linuxfocus.org/~guido/
 
 MAINTAINER=	samm@os2.kiev.ua
 COMMENT=	A minimalistic tool for keeping filesystems in synchronization
@@ -26,7 +21,8 @@
 	@${REINPLACE_CMD} -e "s@/etc@${PREFIX}/etc@g;s@/usr/sbin@${PREFIX}/sbin@g;" \
 		${WRKSRC}/ssyncd.init ${WRKSRC}/ssyncd.conf ${WRKSRC}/daemon.c \
 		${WRKSRC}/ssync.man
-	@${REINPLACE_CMD} -e "s@FLAGS=@FLAGS+=@g" ${WRKSRC}/makefile
+	@${REINPLACE_CMD} -e "s@FLAGS=@FLAGS+=@g" -e "/CC=gcc/d" -e "/LD=gcc/d" \
+		-e 's@$$(LD)@$$(CC)@' ${WRKSRC}/makefile
 
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/ssync ${PREFIX}/bin/ssync
Index: sysutils/ssync/pkg-descr
===================================================================
--- sysutils/ssync/pkg-descr	(revision 321412)
+++ sysutils/ssync/pkg-descr	(working copy)
@@ -4,4 +4,4 @@
 to control how things are synchronized and under what conditions, as well
 as useful dry-run and verbose modes.
 
-WWW: http://alcatraz.labs.agilent.com/shaffer/ssync/
+WWW: http://linuxfocus.org/~guido/endangered_software.html#ssync


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Jun 21 22:50:08 UTC 2013 
Responsible-Changed-Why:  
miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179823 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Jun 21 22:50:09 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179823 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: samm@os2.kiev.ua
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/179823: [patch] fix sysutils/ssync with clang-only world
Date: Fri, 21 Jun 2013 22:50:09 UT

 Maintainer of sysutils/ssync,
 
 Please note that PR ports/179823 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/179823
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Alex Samorukov <samm@os2.kiev.ua>
To: bug-followup@FreeBSD.org, r4721@tormail.org
Cc:  
Subject: Re: ports/179823: [patch] fix sysutils/ssync with clang-only world
Date: Sat, 22 Jun 2013 08:16:00 +0200

 Please commit, thank you!
State-Changed-From-To: feedback->closed 
State-Changed-By: nox 
State-Changed-When: Thu Jul 4 22:05:19 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179823 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/179823: commit references a PR
Date: Thu,  4 Jul 2013 22:05:01 +0000 (UTC)

 Author: nox
 Date: Thu Jul  4 22:04:48 2013
 New Revision: 322294
 URL: http://svnweb.freebsd.org/changeset/ports/322294
 
 Log:
   - Fix compiling without gcc. (remove hardcoded 'gcc')
   - Change to new-type headers.
   - Replace all dead MASTER_SITES and WWW with working ones.
   
   PR:		ports/179823
   Submitted by:	r4721@tormail.org
   Approved by:	samm@os2.kiev.ua (maintainer)
 
 Modified:
   head/sysutils/ssync/Makefile
   head/sysutils/ssync/pkg-descr
 
 Modified: head/sysutils/ssync/Makefile
 ==============================================================================
 --- head/sysutils/ssync/Makefile	Thu Jul  4 21:56:34 2013	(r322293)
 +++ head/sysutils/ssync/Makefile	Thu Jul  4 22:04:48 2013	(r322294)
 @@ -1,16 +1,11 @@
 -# New ports collection makefile for:	ssync
 -# Date created:		23 March 2002
 -# Whom:			Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
 -#
 +# Created by: Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
  # $FreeBSD$
 -#
  
  PORTNAME=	ssync
  PORTVERSION=	2.3
  PORTREVISION=	2
  CATEGORIES=	sysutils
 -MASTER_SITES=	http://mnmconsulting.org/ssync/ \
 -		ftp://ftp.netsw.org/system/tools/fileutils/install/ssync/
 +MASTER_SITES=	http://linuxfocus.org/~guido/
  
  MAINTAINER=	samm@os2.kiev.ua
  COMMENT=	A minimalistic tool for keeping filesystems in synchronization
 @@ -26,7 +21,8 @@ post-patch:
  	@${REINPLACE_CMD} -e "s@/etc@${PREFIX}/etc@g;s@/usr/sbin@${PREFIX}/sbin@g;" \
  		${WRKSRC}/ssyncd.init ${WRKSRC}/ssyncd.conf ${WRKSRC}/daemon.c \
  		${WRKSRC}/ssync.man
 -	@${REINPLACE_CMD} -e "s@FLAGS=@FLAGS+=@g" ${WRKSRC}/makefile
 +	@${REINPLACE_CMD} -e "s@FLAGS=@FLAGS+=@g" -e "/CC=gcc/d" -e "/LD=gcc/d" \
 +		-e 's@$$(LD)@$$(CC)@' ${WRKSRC}/makefile
  
  do-install:
  	@${INSTALL_PROGRAM} ${WRKSRC}/ssync ${PREFIX}/bin/ssync
 
 Modified: head/sysutils/ssync/pkg-descr
 ==============================================================================
 --- head/sysutils/ssync/pkg-descr	Thu Jul  4 21:56:34 2013	(r322293)
 +++ head/sysutils/ssync/pkg-descr	Thu Jul  4 22:04:48 2013	(r322294)
 @@ -4,4 +4,4 @@ low-resource comsumption and portability
  to control how things are synchronized and under what conditions, as well
  as useful dry-run and verbose modes.
  
 -WWW: http://alcatraz.labs.agilent.com/shaffer/ssync/
 +WWW: http://linuxfocus.org/~guido/endangered_software.html#ssync
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
