svn commit: r395195 - in head/news/leafnode: . files
Matthias Andree
mandree at FreeBSD.org
Mon Aug 24 23:43:57 UTC 2015
Author: mandree
Date: Mon Aug 24 23:43:55 2015
New Revision: 395195
URL: https://svnweb.freebsd.org/changeset/ports/395195
Log:
Update to new upstream release 1.11.11. (Bugfixes)
Added:
head/news/leafnode/files/pkg-deinstall.in (contents, props changed)
Modified:
head/news/leafnode/Makefile
head/news/leafnode/distinfo
head/news/leafnode/pkg-plist
Modified: head/news/leafnode/Makefile
==============================================================================
--- head/news/leafnode/Makefile Mon Aug 24 21:19:51 2015 (r395194)
+++ head/news/leafnode/Makefile Mon Aug 24 23:43:55 2015 (r395195)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= leafnode
-DISTVERSION= 1.11.10
-PORTREVISION= 1
+DISTVERSION= 1.11.11
CATEGORIES= news ipv6
MASTER_SITES= SF \
http://www.dt.e-technik.uni-dortmund.de/~ma/${PORTNAME}/
@@ -35,7 +34,7 @@ PLIST_SUB= SPOOLDIR=${LEAFNODE_SPOOLDIR}
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/leafnode \
--with-spooldir=${LEAFNODE_SPOOLDIR} --with-ipv6 \
--exec-prefix=${PREFIX}
-SUB_FILES= pkg-message pkg-install
+SUB_FILES= pkg-message pkg-install pkg-deinstall
SUB_LIST= SPOOLDIR=${LEAFNODE_SPOOLDIR}
MAN1= leafnode-version.1 newsq.1
Modified: head/news/leafnode/distinfo
==============================================================================
--- head/news/leafnode/distinfo Mon Aug 24 21:19:51 2015 (r395194)
+++ head/news/leafnode/distinfo Mon Aug 24 23:43:55 2015 (r395195)
@@ -1,2 +1,2 @@
-SHA256 (leafnode-1.11.10.tar.xz) = 4ee87edc4bfffce285656dbc4b78d9f1d5b5286b218bfa8869a62ecf2c39045e
-SIZE (leafnode-1.11.10.tar.xz) = 446368
+SHA256 (leafnode-1.11.11.tar.xz) = 163ed21d613dc22e33e19d65b58da16ae34899ce57c23508b107d4706debd331
+SIZE (leafnode-1.11.11.tar.xz) = 453396
Added: head/news/leafnode/files/pkg-deinstall.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/news/leafnode/files/pkg-deinstall.in Mon Aug 24 23:43:55 2015 (r395195)
@@ -0,0 +1,25 @@
+#! /bin/sh
+set -eu
+case "$2" in
+ DEINSTALL)
+ ;;
+
+ POST-DEINSTALL)
+ for d in \
+ failed.postings \
+ interesting.groups \
+ leaf.node \
+ message.id/* \
+ message.id \
+ out.going \
+ temp.files \
+ ""; do
+ rmdir "%%SPOOLDIR%%/$d" 2>/dev/null || :
+ done
+ ;;
+
+ *)
+ echo >&2 "Unknown argument in $0 $@"
+ exit 1
+ ;;
+esac
Modified: head/news/leafnode/pkg-plist
==============================================================================
--- head/news/leafnode/pkg-plist Mon Aug 24 21:19:51 2015 (r395194)
+++ head/news/leafnode/pkg-plist Mon Aug 24 23:43:55 2015 (r395195)
@@ -27,16 +27,15 @@ sbin/texpire
sbin/checkgroups
sbin/applyfilter
sbin/setup-daemontools.sh
- at dirrmtry %%ETCDIR%%
+ at dir %%ETCDIR%%
@comment only remove these when empty:
@comment we don't want to kill the news spool across updates
- at unexec rm -f %%SPOOLDIR%%/leaf.node/lock.file 2>/dev/null || :
- at unexec rmdir %%SPOOLDIR%%/failed.postings 2>/dev/null || :
- at unexec rmdir %%SPOOLDIR%%/leaf.node 2>/dev/null || :
- at unexec rmdir %%SPOOLDIR%%/message.id/* 2>/dev/null || :
- at unexec rmdir %%SPOOLDIR%%/message.id 2>/dev/null || :
- at unexec rmdir %%SPOOLDIR%%/interesting.groups 2>/dev/null || :
- at unexec rmdir %%SPOOLDIR%%/out.going 2>/dev/null || :
- at unexec rmdir %%SPOOLDIR%%/temp.files 2>/dev/null || :
- at unexec rmdir %%SPOOLDIR%% 2>/dev/null || :
+ at unexec rm -f %%SPOOLDIR%%/leaf.node/lock.file
+ at dir %%SPOOLDIR%%/failed.postings
+ at dir %%SPOOLDIR%%/interesting.groups
+ at dir %%SPOOLDIR%%/leaf.node
+ at dir %%SPOOLDIR%%/message.id
+ at dir %%SPOOLDIR%%/out.going
+ at dir %%SPOOLDIR%%/temp.files
+ at dir %%SPOOLDIR%%
@unexec if test -d "%%SPOOLDIR%%" || test -d "%D/etc/leafnode" ; then echo ; echo "==============================================================================" ; echo "If you want to remove leafnode for good, delete spool and configuration:" ; echo "type: rm -rf %D/etc/leafnode %%SPOOLDIR%%" ; echo "==============================================================================" ; fi
More information about the svn-ports-all
mailing list