head 1.1; access; symbols OPENPKG_E1_MP_HEAD:1.1 OPENPKG_E1_MP:1.1 OPENPKG_E1_MP_2_STABLE:1.1.2.2 OPENPKG_E1_FP:1.1.2.2 OPENPKG_2_STABLE_MP:1.1 OPENPKG_2_STABLE_20061018:1.1.2.2 OPENPKG_2_STABLE:1.1.0.2 OPENPKG_CW_FP:1.1; locks; strict; comment @# @; 1.1 date 2003.08.05.13.00.35; author cs; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2003.08.05.13.00.35; author rse; state dead; branches; next 1.1.2.2; commitid iZxwRSmmWscPXUQr; 1.1.2.2 date 2006.10.16.14.56.36; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.1 log @new package: sophie 3.03 (Sophie Anti-Virus Scanner Daemon) @ text @--- sophie-3.03/sophie.c.orig 2003-05-02 18:38:35.000000000 +0200 +++ sophie-3.03/sophie.c 2003-08-05 13:33:53.000000000 +0200 @@@@ -33,8 +33,7 @@@@ volatile int PROC_COUNT = 0; char *default_configs[] = { - "/etc/sophie.cfg", - "/usr/local/etc/sophie.cfg", + "@@l_prefix@@/etc/sophie/sophie.cfg", "./sophie.cfg", NULL }; --- sophie-3.03/sophie_init.c.orig 2003-04-27 17:27:34.000000000 +0200 +++ sophie-3.03/sophie_init.c 2003-08-05 13:57:24.000000000 +0200 @@@@ -48,6 +48,9 @@@@ exit(EXIT_FAILURE); } + hr = pSAVI->pVtbl->SetConfigValue(pSAVI, "IdeDir", SOPHOS_TYPE_STRING, "@@l_prefix@@/var/sophos-av/sav"); + hr = pSAVI->pVtbl->SetConfigValue(pSAVI, "VirusDataDir", SOPHOS_TYPE_STRING, "@@l_prefix@@/var/sophos-av/sav"); + sophie_set_engine_config(pSAVI); } } --- sophie-3.03/Makefile.in.orig 2003-04-29 16:40:49.000000000 +0200 +++ sophie-3.03/Makefile.in 2003-08-05 14:06:20.000000000 +0200 @@@@ -11,7 +11,7 @@@@ ${OBJS}: config.h sophie: ${OBJS} - ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${OBJS} -o sophie + ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} -o sophie ${LIBS} eicar.com: @@echo 'K5B!C%@@NC[4\CMK54(C^)7PP)7}$$RVPNE-FGNAQNEQ-NAGVIVEHF-GRFG-SVYR!$$U+U*' | \ @ 1.1.2.1 log @file sophie.patch was added on branch OPENPKG_2_STABLE on 2006-10-16 14:56:36 +0000 @ text @d1 35 @ 1.1.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 35 --- sophie-3.03/sophie.c.orig 2003-05-02 18:38:35.000000000 +0200 +++ sophie-3.03/sophie.c 2003-08-05 13:33:53.000000000 +0200 @@@@ -33,8 +33,7 @@@@ volatile int PROC_COUNT = 0; char *default_configs[] = { - "/etc/sophie.cfg", - "/usr/local/etc/sophie.cfg", + "@@l_prefix@@/etc/sophie/sophie.cfg", "./sophie.cfg", NULL }; --- sophie-3.03/sophie_init.c.orig 2003-04-27 17:27:34.000000000 +0200 +++ sophie-3.03/sophie_init.c 2003-08-05 13:57:24.000000000 +0200 @@@@ -48,6 +48,9 @@@@ exit(EXIT_FAILURE); } + hr = pSAVI->pVtbl->SetConfigValue(pSAVI, "IdeDir", SOPHOS_TYPE_STRING, "@@l_prefix@@/var/sophos-av/sav"); + hr = pSAVI->pVtbl->SetConfigValue(pSAVI, "VirusDataDir", SOPHOS_TYPE_STRING, "@@l_prefix@@/var/sophos-av/sav"); + sophie_set_engine_config(pSAVI); } } --- sophie-3.03/Makefile.in.orig 2003-04-29 16:40:49.000000000 +0200 +++ sophie-3.03/Makefile.in 2003-08-05 14:06:20.000000000 +0200 @@@@ -11,7 +11,7 @@@@ ${OBJS}: config.h sophie: ${OBJS} - ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${OBJS} -o sophie + ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} -o sophie ${LIBS} eicar.com: @@echo 'K5B!C%@@NC[4\CMK54(C^)7PP)7}$$RVPNE-FGNAQNEQ-NAGVIVEHF-GRFG-SVYR!$$U+U*' | \ @