FreeBSD Bugzilla – Attachment 143384 Details for
Bug 190633
[patch] Added stage support to www/rt38
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Adds stage support to www/rt38
rt38-staging.patch.txt (text/plain), 2.48 KB, created by
joe
on 2014-06-04 22:34:39 UTC
(
hide
)
Description:
Adds stage support to www/rt38
Filename:
MIME Type:
Creator:
joe
Created:
2014-06-04 22:34:39 UTC
Size:
2.48 KB
patch
obsolete
>diff --git a/www/rt38/Makefile b/www/rt38/Makefile >index 2979d0b..a442181 100644 >--- a/www/rt38/Makefile >+++ b/www/rt38/Makefile >@@ -1,6 +1,5 @@ > # $FreeBSD$ > >-NO_STAGE= yes > # TODO: > # o etc/rt38 files permissions > # o GRANTS >@@ -121,6 +120,7 @@ WEB_USER?= ${WWWOWN} > WEB_GROUP?= ${WWWGRP} > LIBS_GROUP?= wheel > >+GROUPS= rt > LATEST_LINK= rt38 > HAS_CONFIGURE= yes > NO_BUILD= yes >@@ -170,11 +170,8 @@ post-patch: > > pre-install: > @${RM} -f ${WRKSRC}/lib/RT.pm.in >- @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL > > post-install: >- @[ -f ${RT_ETC_PATH}/RT_SiteConfig.pm ] || \ >- ${CP} -p ${RT_ETC_PATH}/RT_SiteConfig.pm-dist ${RT_ETC_PATH}/RT_SiteConfig.pm > ${CAT} ${PKGMESSAGE} > > .include <bsd.port.mk> >diff --git a/www/rt38/pkg-deinstall b/www/rt38/pkg-deinstall >deleted file mode 100644 >index c1fda56..0000000 >--- a/www/rt38/pkg-deinstall >+++ /dev/null >@@ -1,20 +0,0 @@ >-#!/bin/sh >-# $FreeBSD$ >-# >- >-if [ "$2" != "POST-DEINSTALL" ]; then >- exit 0 >-fi >- >-GROUP=rt >- >-if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then >- if pw groupdel ${GROUP}; then >- echo "Removed group \"${GROUP}\"." >- else >- echo "Removing group \"${GROUP}\" failed..." >- exit 1 >- fi >-fi >- >-exit 0 >diff --git a/www/rt38/pkg-install b/www/rt38/pkg-install >deleted file mode 100644 >index e81180c..0000000 >--- a/www/rt38/pkg-install >+++ /dev/null >@@ -1,21 +0,0 @@ >-#!/bin/sh >-# $FreeBSD$ >-# >- >-if [ "$2" != "PRE-INSTALL" ]; then >- exit 0 >-fi >- >-GROUP=rt >-GROUPID=180 >- >-if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then >- if pw groupadd ${GROUP} -g ${GROUPID}; then >- echo "Added group \"${GROUP}\"." >- else >- echo "Adding group \"${GROUP}\" failed..." >- exit 1 >- fi >-fi >- >-exit 0 >diff --git a/www/rt38/pkg-plist b/www/rt38/pkg-plist >index bade031..f2b389f 100644 >--- a/www/rt38/pkg-plist >+++ b/www/rt38/pkg-plist >@@ -1167,7 +1167,13 @@ share/rt38/html/dhandler > share/rt38/html/index.html > share/rt38/html/l > share/rt38/html/l_unsafe >-@dirrmtry www/rt38 >+@dirrmtry %%WWWDIR%%38 >+@unexec rmdir "/var/run/%%AP_NAME%%38/mason_data/cache" >/dev/null 2>&1 || : >+@unexec rmdir "/var/run/%%AP_NAME%%38/mason_data/etc" >/dev/null 2>&1 || : >+@unexec rmdir "/var/run/%%AP_NAME%%38/mason_data/obj" >/dev/null 2>&1 || : >+@unexec rmdir "/var/run/%%AP_NAME%%38/mason_data" >/dev/null 2>&1 || : >+@unexec rmdir "/var/run/%%AP_NAME%%38/session_data" >/dev/null 2>&1 || : >+@unexec rmdir "/var/run/%%AP_NAME%%38" >/dev/null 2>&1 || : > @dirrm share/rt38/po > @exec mkdir -p %D/share/rt38/plugins > @dirrm share/rt38/plugins
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 190633
: 143384