Date: Mon, 7 Nov 2005 15:33:33 +0300 (MSK) From: Demin Alexander <support@spectrum.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/88594: Fix error starting drwebd on 6.x after reboot system Message-ID: <200511071233.jA7CXX8f056701@support.spectrum.ru> Resent-Message-ID: <200511071240.jA7CeA1d068058@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 88594 >Category: ports >Synopsis: Fix error starting drwebd on 6.x after reboot system >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 07 12:40:09 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Demin Alexander >Release: FreeBSD 5.4-STABLE i386 >Organization: Group of companies Spectrum >Environment: System: FreeBSD support.spectrum.ru 5.4-STABLE FreeBSD 5.4-STABLE #14: Thu Sep 15 18:03:13 MSD 2005 oldman@support.spectrum.ru:/usr/obj/usr/src/sys/MYGENERIC i386 >Description: Add mastersite url and rename starting script. I changed the name so that the script 001.drwebd.sh will start after 000.compat5x.sh (FreeBSD 6.x), else: /libexec/ld-elf.so.1: Shared object "libstdc++.so.4" not found, required by "drwebd" >How-To-Repeat: >Fix: --- drweb_up_4.33_to_4.33_1 begins here --- --- /usr/ports/security/drweb/Makefile.old Mon Nov 7 14:53:56 2005 +++ /usr/ports/security/drweb/Makefile Mon Nov 7 14:58:16 2005 @@ -7,9 +7,11 @@ PORTNAME= drweb PORTVERSION= 4.33 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ftp://ftp.drweb.ru/pub/drweb/unix/FreeBSD/411/ \ - ftp://ftp.drweb.ru/pub/drweb/unix/FreeBSD/54/ + ftp://ftp.drweb.ru/pub/drweb/unix/FreeBSD/54/ \ + http://freebsd.spectrum.ru/distfiles/ MAINTAINER= support@spectrum.ru COMMENT= DrWeb antivirus suite @@ -58,7 +60,7 @@ ${PREFIX}/etc/drweb/email.ini; \ fi ${INSTALL_SCRIPT} -m 0750 -b ${WRKSRC}${LOCALBASE}/etc/rc.d/00.drwebd.sh \ - ${PREFIX}/etc/rc.d/00.drwebd.sh + ${PREFIX}/etc/rc.d/001.drwebd.sh post-install: .if !defined(NOPORTDOCS) --- /usr/ports/security/drweb/pkg-plist.old Mon Nov 7 14:54:08 2005 +++ /usr/ports/security/drweb/pkg-plist Mon Nov 7 14:56:50 2005 @@ -1,4 +1,4 @@ -@unexec if [ -f /var/drweb/run/drwebd.pid ] ; then %D/etc/rc.d/00.drwebd.sh stop ; fi +@unexec if [ -f /var/drweb/run/drwebd.pid ] ; then %D/etc/rc.d/001.drwebd.sh stop ; fi drweb/drweb drweb/drwebd drweb/drwebdc @@ -15,7 +15,7 @@ @unexec if [ -f %D/etc/drweb/email.ini ] && cmp -s %D/etc/drweb/email.ini %D/etc/drweb/email.ini-distr; then rm -f %D/etc/drweb/email.ini ; fi etc/drweb/email.ini-distr @exec if [ ! -f %B/email.ini ] ; then cp -p %B/%F %B/email.ini ; fi -etc/rc.d/00.drwebd.sh +etc/rc.d/001.drwebd.sh %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/FAQ %%PORTDOCS%%%%DOCSDIR%%/FAQ.rus --- drweb_up_4.33_to_4.33_1 ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511071233.jA7CXX8f056701>