From owner-svn-ports-head@FreeBSD.ORG Fri Apr 4 11:00:36 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8342693F; Fri, 4 Apr 2014 11:00:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53206D90; Fri, 4 Apr 2014 11:00:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s34B0aen038769; Fri, 4 Apr 2014 11:00:36 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s34B0ZNf038767; Fri, 4 Apr 2014 11:00:35 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201404041100.s34B0ZNf038767@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 4 Apr 2014 11:00:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350093 - in head/news/sn: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 11:00:36 -0000 Author: bapt Date: Fri Apr 4 11:00:35 2014 New Revision: 350093 URL: http://svnweb.freebsd.org/changeset/ports/350093 QAT: https://qat.redports.org/buildarchive/r350093/ Log: Do not leak stagedir in the generated binary Remove now useless pre-su target MFH: 2014Q2 Added: head/news/sn/files/ head/news/sn/files/patch-Makefile (contents, props changed) Modified: head/news/sn/Makefile Modified: head/news/sn/Makefile ============================================================================== --- head/news/sn/Makefile Fri Apr 4 10:54:11 2014 (r350092) +++ head/news/sn/Makefile Fri Apr 4 11:00:35 2014 (r350093) @@ -3,6 +3,7 @@ PORTNAME= sn PORTVERSION= 0.3.8 +PORTREVISION= 1 CATEGORIES= news MASTER_SITES= http://www.infa.abo.fi/~patrik/sn/files/ \ http://home.arcor.de/teambushido/fbsd_ports/ \ @@ -13,9 +14,8 @@ COMMENT= Small news system for small sit LICENSE= GPLv2 -USES= gmake -USE_BZIP2= yes -MAKE_ARGS+= PREFIX="${STAGEDIR}${PREFIX}" LD="${CC}" CC="${CC}" +USES= gmake tar:bzip2 +MAKE_ARGS+= PREFIX="${PREFIX}" LD="${CC}" CC="${CC}" PORTDOCS= README CHANGES FAQ INSTALL INTERNALS \ THANKS TODO INSTALL.notes INSTALL.notes2 \ @@ -30,7 +30,7 @@ post-patch: s|-g -Wall -pedantic -O|${CFLAGS} -Wall -pedantic|' \ ${WRKSRC}/Makefile -pre-su-install: +pre-install: @${MKDIR} ${STAGEDIR}/var/spool/news post-install: Added: head/news/sn/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/news/sn/files/patch-Makefile Fri Apr 4 11:00:35 2014 (r350093) @@ -0,0 +1,21 @@ +--- ./Makefile.orig 2014-04-04 12:17:36.551829000 +0200 ++++ ./Makefile 2014-04-04 12:20:01.852681999 +0200 +@@ -144,12 +144,12 @@ + strip: $(BINS) + strip $^ + +-install: all #$(SNROOT) $(BINDIR) $(MANDIR)/man8 # commented out so make -n install works without the dirs +- $(INSTALL) $(PROGS) $(BINDIR) +- $(INSTALL) *.8 $(MANDIR)/man8 +- -cd $(BINDIR); rm -f sncat; ln -s snscan sncat +- -cd $(BINDIR); rm -f sncancel; ln -s snscan sncancel +- -cd $(BINDIR); rm -f snstore; ln -s snsend snstore ++install: all #$(SNROOT) $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man8 # commented out so make -n install works without the dirs ++ $(INSTALL) $(PROGS) $(DESTDIR)$(BINDIR) ++ $(INSTALL) *.8 $(DESTDIR)$(MANDIR)/man8 ++ -cd $(DESTDIR)$(BINDIR); rm -f sncat; ln -s snscan sncat ++ -cd $(DESTDIR)$(BINDIR); rm -f sncancel; ln -s snscan sncancel ++ -cd $(DESTDIR)$(BINDIR); rm -f snstore; ln -s snsend snstore + + spoolclean: + @echo -n "make $@ will wipe out your news spool! Sure? [y/n] "