- Timestamp:
- Oct 29, 2006, 11:33:21 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r60 r65 819 819 820 820 deb-run: 821 @maintainer=`gpg --list-secret-keys | grep 'sec ' | cut -d" " -f 5- `;\821 @maintainer=`gpg --list-secret-keys | grep 'sec ' | cut -d" " -f 5- | sed 's/^ *//' | sed q1`;\ 822 822 if test "x$$maintainer" = x; then \ 823 823 maintainer="Nobody Nowhere <nobody@example.com>"; \ … … 851 851 echo $(sysconfdir)/@install_name@rc > debian/conffiles; \ 852 852 echo /etc/init.d/@install_name@ >> debian/conffiles; \ 853 cp init/samhain.startLinux debian/@install_name@.init; \ 853 if test -f /usr/lib/lsb/install_initd; then \ 854 cp init/samhain.startLSB debian/@install_name@.init; \ 855 else \ 856 cp init/samhain.startLinux debian/@install_name@.init; \ 857 fi; \ 854 858 echo "Source: samhain" > debian/control; \ 855 859 echo "Section: admin" >> debian/control; \ -
trunk/docs/Changelog
r63 r65 1 2.2.5: 1 2.2.6: 2 * fix error about non-readable file with no checksum required 3 * fix server warning about 'no server name known' 4 * fix 'make deb' makefile target 5 * fix default export severity for server 6 7 2.2.5 (05-10-2006): 2 8 * fix broken Install.sh, reported by Alexander Kraemer 3 9 * workaround for glob(3) sillyness on MacOS X (reported by David) -
trunk/dsys/comINSTALL
r40 r65 329 329 if test "x$mytest_file" = x; then 330 330 rcfile_perm=640; 331 rcfile_owner=`ls -ld ${yule_data} | awk '{print $3 }'` 332 rcfile_group=`ls -ld ${yule_data} | awk '{print $4 }'` 331 xgid=`(cat /etc/group; ypcat group) 2>/dev/null |\ 332 grep "^samhain:" | awk -F: '{ print $3; }'` 333 if test "x$xgid" = x; then 334 rcfile_owner=`ls -ld ${yule_data} | awk '{print $3 }'` 335 rcfile_group=`ls -ld ${yule_data} | awk '{print $4 }'` 336 else 337 rcfile_owner=`ls -ld ${yule_data} | awk '{print $3 }'` 338 rcfile_group=samhain 339 fi 333 340 else 334 341 mytest_file=`basename $mytest_file` … … 546 553 if test "x$mytest_file" = x; then 547 554 rcfile_perm=640; 548 rcfile_owner=`ls -ld ${yule_data} | awk '{print $3 }'` 549 rcfile_group=`ls -ld ${yule_data} | awk '{print $4 }'` 555 xgid=`(cat /etc/group; ypcat group) 2>/dev/null |\ 556 grep "^samhain:" | awk -F: '{ print $3; }'` 557 if test "x$xgid" = x; then 558 rcfile_owner=`ls -ld ${yule_data} | awk '{print $3 }'` 559 rcfile_group=`ls -ld ${yule_data} | awk '{print $4 }'` 560 else 561 rcfile_owner=`ls -ld ${yule_data} | awk '{print $3 }'` 562 rcfile_group=samhain 563 fi 550 564 else 551 565 mytest_file=`basename $mytest_file` -
trunk/rules.deb.in
r1 r65 70 70 dh_installdebconf 71 71 dh_installdocs 72 [ -f debian/tmp/usr/share/doc/@install_name@/MANUAL-2_ 0.html.tar ] && \72 [ -f debian/tmp/usr/share/doc/@install_name@/MANUAL-2_2.html.tar ] && \ 73 73 cd debian/tmp/usr/share/doc/@install_name@ && \ 74 tar xf MANUAL-2_ 0.html.tar && mv MANUAL-2_0manual.html && \75 rm -f MANUAL-2_ 0.html.tar74 tar xf MANUAL-2_2.html.tar && mv MANUAL-2_2 manual.html && \ 75 rm -f MANUAL-2_2.html.tar 76 76 dh_installexamples @top_srcdir@/scripts/example_pager.pl \ 77 77 @top_srcdir@/scripts/example_sms.pl \ … … 90 90 sed 's%/etc/init.d/@install_name@ start%:%' > postinst.tmp && \ 91 91 mv postinst.tmp postinst.debhelper 92 [ -f debian/postinst.debhelper ] && \ 93 cd debian && \ 94 cat postinst.debhelper | \ 95 sed 's%invoke-rc.d @install_name@ start%:%' > postinst.tmp && \ 96 mv postinst.tmp postinst.debhelper 92 97 [ -f debian/prerm.debhelper ] && \ 93 98 cd debian && \ 94 99 cat prerm.debhelper | \ 95 100 sed 's%/etc/init.d/@install_name@ stop%/etc/init.d/@install_name@ stop || echo service @install_name@ already stopped%' > prerm.tmp && \ 101 mv prerm.tmp prerm.debhelper 102 [ -f debian/prerm.debhelper ] && \ 103 cd debian && \ 104 cat prerm.debhelper | \ 105 sed 's%invoke-rc.d @install_name@ stop%invoke-rc.d @install_name@ stop || echo service @install_name@ already stopped%' > prerm.tmp && \ 96 106 mv prerm.tmp prerm.debhelper 97 107 # dh_installmanpages -
trunk/src/sh_error.c
r34 r65 1130 1130 class != AUD ) 1131 1131 #ifdef SH_WITH_SERVER 1132 || (flag_inet == S_TRUE) /* always log inet to export */ 1132 /* always log inet to export */ 1133 || (flag_inet == S_TRUE && sh.srvexport.name[0] != '\0') 1133 1134 #endif 1134 1135 /* sh.flag.isserver != GOOD && */ … … 1558 1559 flag_err_info = SL_TRUE; 1559 1560 #endif 1561 1562 #if defined(SH_WITH_SERVER) 1563 errFlags.exportlevel = SH_ERR_NOT; 1564 #else 1560 1565 errFlags.exportlevel = (SH_ERR_STAMP | SH_ERR_ERR | SH_ERR_SEVERE | 1561 1566 SH_ERR_FATAL); 1567 #endif 1562 1568 1563 1569 errFlags.log_class = 0xFFFF; -
trunk/src/sh_unix.c
r59 r65 3090 3090 KEY_LEN + 1); 3091 3091 3092 tmp2 = sh_util_safe_name (theFile->fullpath); 3093 sh_error_handle (level, FIL__, __LINE__, fstat_return, MSG_E_READ, 3094 tmp2); 3095 SH_FREE(tmp2); 3092 if ((theFile->check_mask & MODI_CHK) != 0) 3093 { 3094 tmp2 = sh_util_safe_name (theFile->fullpath); 3095 sh_error_handle (level, FIL__, __LINE__, fstat_return, MSG_E_READ, 3096 tmp2); 3097 SH_FREE(tmp2); 3098 } 3096 3099 } 3097 3100
Note:
See TracChangeset
for help on using the changeset viewer.