svn commit: r350093 - in head/news/sn: . files
Baptiste Daroussin
bapt at FreeBSD.org
Fri Apr 4 11:00:36 UTC 2014
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] "
More information about the svn-ports-all
mailing list