svn commit: r329439 - in head/devel/jenkins: . files
Li-Wen Hsu
lwhsu at FreeBSD.org
Sat Oct 5 11:18:56 UTC 2013
Author: lwhsu
Date: Sat Oct 5 11:18:55 2013
New Revision: 329439
URL: http://svnweb.freebsd.org/changeset/ports/329439
Log:
- Update to 1.533
- Support stage properly
Inspired by: bdrewery
Added:
head/devel/jenkins/files/pkg-deinstall.in (contents, props changed)
Modified:
head/devel/jenkins/Makefile
head/devel/jenkins/distinfo
Modified: head/devel/jenkins/Makefile
==============================================================================
--- head/devel/jenkins/Makefile Sat Oct 5 11:16:23 2013 (r329438)
+++ head/devel/jenkins/Makefile Sat Oct 5 11:18:55 2013 (r329439)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= jenkins
-PORTVERSION= 1.532
+PORTVERSION= 1.533
CATEGORIES= devel java
MASTER_SITES= http://mirrors.jenkins-ci.org/war/${PORTVERSION}/
DISTNAME= jenkins
@@ -21,6 +21,7 @@ FETCH_ARGS= -Fpr
NO_BUILD= yes
USE_RC_SUBR= jenkins
+SUB_FILES+= pkg-deinstall
JENKINS_HOME?= ${PREFIX}/jenkins
JENKINS_USER?= jenkins
@@ -36,13 +37,12 @@ GROUPS= jenkins
PLIST_FILES= %%DATADIR%%/${DISTNAME}${EXTRACT_SUFX}
PLIST_DIRS= %%DATADIR%%
-PLIST_DIRSTRY= jenkins
SUB_LIST+= JENKINS_HOME=${JENKINS_HOME} JENKINS_USER=${JENKINS_USER} JENKINS_GROUP=${JENKINS_GROUP} JAVA_HOME=${JAVA_HOME} JENKINS_LOG_FILE=${JENKINS_LOG_FILE}
.include <bsd.port.pre.mk>
do-install:
- ${MKDIR} ${STAGEDIR}/${DATADIR}
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}/${DATADIR}/
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${DATADIR}
.include <bsd.port.post.mk>
Modified: head/devel/jenkins/distinfo
==============================================================================
--- head/devel/jenkins/distinfo Sat Oct 5 11:16:23 2013 (r329438)
+++ head/devel/jenkins/distinfo Sat Oct 5 11:18:55 2013 (r329439)
@@ -1,2 +1,2 @@
-SHA256 (jenkins/1.532/jenkins.war) = 9ae26a021d3772cf6cc8f9f2eaf44fb65ec4735acccf58567b3076c5ab24672d
-SIZE (jenkins/1.532/jenkins.war) = 62968056
+SHA256 (jenkins/1.533/jenkins.war) = f93c08dda69c94602a1371e94ad54bcfc0b3a25692c795a96d05cb9f637705ee
+SIZE (jenkins/1.533/jenkins.war) = 62980636
Added: head/devel/jenkins/files/pkg-deinstall.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/jenkins/files/pkg-deinstall.in Sat Oct 5 11:18:55 2013 (r329439)
@@ -0,0 +1,38 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+PATH=/bin:/usr/bin:/usr/sbin
+
+case $2 in
+DEINSTALL)
+ # try to cleanup %%JENKINS_HOME%%
+ rmdir %%JENKINS_HOME%% 2>/dev/null
+ ;;
+POST-DEINSTALL)
+ echo "===> post-deinstallation information for $1:"
+ echo ""
+ echo " Note:"
+ echo " jenkins related user accounts and groups were not removed."
+ echo ""
+ echo " To remove the '%%JENKINS_USER%%' user and the '%%JENKINS_GROUP%%' group which were"
+ echo " created by a default installation of this package, run"
+ echo ""
+ echo " pw userdel %%JENKINS_USER%%"
+ echo " pw groupdel %%JENKINS_GROUP%%"
+ if [ -d %%JENKINS_HOME%% ] ; then
+ echo ""
+ echo " In order to ease updates, the job directories, plugins"
+ echo " and all configuration files were preserved."
+ echo ""
+ echo " Please remove %%JENKINS_HOME%% manually if you do not want to use"
+ echo " jenkins any longer."
+ fi
+ echo ""
+ ;;
+*)
+ exit 64
+ ;;
+esac
+exit 0
More information about the svn-ports-head
mailing list