Date: Mon, 21 Feb 2005 15:37:00 +0500 (YEKT) From: Anton Voronin <anton@chelcom.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/77846: Port extra-files-after-deletion fix Message-ID: <200502211037.j1LAb0Cs015712@anton-pc.chel.com.ru> Resent-Message-ID: <200502211040.j1LAeDmW032385@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77846 >Category: ports >Synopsis: Port extra-files-after-deletion fix >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Feb 21 10:40:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Anton Voronin >Release: FreeBSD 4.9-RELEASE i386 >Organization: Intersvyaz JSC >Environment: System: FreeBSD anton-pc.chel.com.ru 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Fri Dec 24 12:29:12 YEKT 2004 root@anton-pc.chel.com.ru:/usr/src/sys/compile/ANTON-PC i386 >Description: fixed removal of extra files after pkg_delete >How-To-Repeat: n/a >Fix: diff -rNu mod_auth_pwcheck.orig/Makefile mod_auth_pwcheck/Makefile --- mod_auth_pwcheck.orig/Makefile Wed Jun 16 23:34:39 2004 +++ mod_auth_pwcheck/Makefile Mon Feb 21 14:50:25 2005 @@ -7,6 +7,7 @@ PORTNAME= mod_auth_pwcheck PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.chelcom.ru/~anton/projects/files/ @@ -30,8 +31,9 @@ | ${GREP} DRUSSIAN_APACHE >/dev/null \ && ${ECHO} russian \ || ${ECHO} www -AP_TARGET!= ${APXS} -q TARGET 2>/dev/null || ${ECHO} +AP_TARGET!= ${APXS} -q TARGET 2>/dev/null AP_LIBEXEC!= ${APXS} -q LIBEXECDIR 2>/dev/null | ${SED} 's@^${PREFIX}/@@' +AP_SYSCONF!= ${APXS} -q SYSCONFDIR 2>/dev/null .else AP_CATEGORY= www .endif @@ -40,6 +42,7 @@ AUTH_PWCHECK_DOCS= share/doc/apache/manual/mod/mod_auth_pwcheck PLIST_SUB= AUTH_PWCHECK_DOCS="${AUTH_PWCHECK_DOCS}" \ AP_LIBEXEC="${AP_LIBEXEC}" \ + AP_SYSCONF="${AP_SYSCONF}" \ APXS="${APXS}" .include <bsd.port.post.mk> diff -rNu mod_auth_pwcheck.orig/pkg-plist mod_auth_pwcheck/pkg-plist --- mod_auth_pwcheck.orig/pkg-plist Wed Jan 5 09:46:51 2005 +++ mod_auth_pwcheck/pkg-plist Mon Feb 21 14:49:36 2005 @@ -1,6 +1,7 @@ %%AP_LIBEXEC%%/mod_auth_pwcheck.so %%AUTH_PWCHECK_DOCS%%/index.html @unexec %%APXS%% -e -A -n auth_pwcheck mod_auth_pwcheck.so +@unexec /bin/rm %%AP_SYSCONF%%/httpd.conf.bak @dirrm %%AUTH_PWCHECK_DOCS%% @dirrm share/doc/apache/manual/mod @dirrm share/doc/apache/manual >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502211037.j1LAb0Cs015712>