diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-07-25 12:54:56 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-07-25 12:54:56 +0000 |
commit | 6641b036e88e388c76e987838c74465a9296002d (patch) | |
tree | 559881d78314c19d163ea5bde0a1263f9f649dc9 /app-admin | |
parent | masked halflife for licensing etc (diff) | |
download | historical-6641b036e88e388c76e987838c74465a9296002d.tar.gz historical-6641b036e88e388c76e987838c74465a9296002d.tar.bz2 historical-6641b036e88e388c76e987838c74465a9296002d.zip |
version bump and cleanup of stuff
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/msyslog/ChangeLog | 17 | ||||
-rw-r--r-- | app-admin/msyslog/files/digest-msyslog-1.08a-r2 | 1 | ||||
-rw-r--r-- | app-admin/msyslog/files/digest-msyslog-1.08a-r3 | 2 | ||||
-rw-r--r-- | app-admin/msyslog/files/digest-msyslog-1.08e | 2 | ||||
-rw-r--r-- | app-admin/msyslog/files/msyslog-1.08a-gentoo.diff | 608 | ||||
-rw-r--r-- | app-admin/msyslog/files/msyslog-confd | 8 | ||||
-rw-r--r-- | app-admin/msyslog/files/msyslog-init | 22 | ||||
-rw-r--r-- | app-admin/msyslog/files/msyslog.conf | 73 | ||||
-rw-r--r-- | app-admin/msyslog/msyslog-1.08a-r3.ebuild (renamed from app-admin/msyslog/msyslog-1.08a-r2.ebuild) | 32 | ||||
-rw-r--r-- | app-admin/msyslog/msyslog-1.08e.ebuild | 65 |
10 files changed, 102 insertions, 728 deletions
diff --git a/app-admin/msyslog/ChangeLog b/app-admin/msyslog/ChangeLog index 494b0203bcf0..d7aafe78e27e 100644 --- a/app-admin/msyslog/ChangeLog +++ b/app-admin/msyslog/ChangeLog @@ -1,6 +1,21 @@ # ChangeLog for app-admin/msyslog # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/ChangeLog,v 1.3 2002/05/04 01:22:36 woodchip Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/ChangeLog,v 1.4 2002/07/25 12:54:55 seemant Exp $ + +*msyslog-1.08e (25 Jul 2002) + + 25 Jul 2002; Seemant Kulleen <seemant@gentoo.org> msyslog-1.08e.ebuild : + + Version bump. + +*msyslog-1.08a-r3 (25 Jul 2002) + + 25 Jul 2002; Seemant Kulleen <seemant@gentoo.org> msyslog-1.08a-r3.ebuild + files/msyslog-{confd,init} files/msyslog.conf + files/msyslog-1.08a-gentoo.diff : + + Moved the stuff out of files, and into a tar.bz2 that is on the mirrors + instead. *msyslog-1.08a-r2 (3 May 2002) diff --git a/app-admin/msyslog/files/digest-msyslog-1.08a-r2 b/app-admin/msyslog/files/digest-msyslog-1.08a-r2 deleted file mode 100644 index 2206ebbe54f3..000000000000 --- a/app-admin/msyslog/files/digest-msyslog-1.08a-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 76a3501b89c2a90a336242ac2b325891 msyslog-v1.08a.tgz 125179 diff --git a/app-admin/msyslog/files/digest-msyslog-1.08a-r3 b/app-admin/msyslog/files/digest-msyslog-1.08a-r3 new file mode 100644 index 000000000000..304b6d1b0423 --- /dev/null +++ b/app-admin/msyslog/files/digest-msyslog-1.08a-r3 @@ -0,0 +1,2 @@ +MD5 76a3501b89c2a90a336242ac2b325891 msyslog-v1.08a.tgz 125179 +MD5 7ec892c816c25f17b1d2b37443a0230b msyslog-1.08a-gentoo.diff.tar.bz2 5705 diff --git a/app-admin/msyslog/files/digest-msyslog-1.08e b/app-admin/msyslog/files/digest-msyslog-1.08e new file mode 100644 index 000000000000..c58bc2f35002 --- /dev/null +++ b/app-admin/msyslog/files/digest-msyslog-1.08e @@ -0,0 +1,2 @@ +MD5 c3700571c675d8896c643c276f5e2dad msyslog-v1.08e-src.tar.gz 132082 +MD5 de3d616729a4804cad3d67e3f06119ba msyslog-1.08e-gentoo.diff.tar.bz2 5593 diff --git a/app-admin/msyslog/files/msyslog-1.08a-gentoo.diff b/app-admin/msyslog/files/msyslog-1.08a-gentoo.diff deleted file mode 100644 index 6601cbc227c5..000000000000 --- a/app-admin/msyslog/files/msyslog-1.08a-gentoo.diff +++ /dev/null @@ -1,608 +0,0 @@ -diff -ur msyslog-v1.08a.orig/src/modules/Makefile.in msyslog-v1.08a/src/modules/Makefile.in ---- msyslog-v1.08a.orig/src/modules/Makefile.in Mon Dec 3 15:31:14 2001 -+++ msyslog-v1.08a/src/modules/Makefile.in Sat Jan 12 22:32:05 2002 -@@ -29,13 +29,12 @@ - # - - CC= @CC@ --LD= ld - CFLAGS= @CFLAGS@ - DCCFLAGS= @DCCFLAGS@ - CPPFLAGS= -I.. @CPPFLAGS@ - - INSTALL= @INSTALL@ --INSTALL_LIBDIR= @prefix@/lib/alat -+INSTALL_LIBDIR= @prefix@/lib - - MLIBNAME= @MLIBNAME@ - MSRCS= @MSRCS@ -@@ -49,7 +48,7 @@ - $(MLIBNAME): $(MSRCS) $(HASH_SRCS) ../config.h - $(CC) $(CFLAGS) $(CPPFLAGS) $(DCCFLAGS) -c $(HASH_SRCS) - $(CC) $(CFLAGS) $(CPPFLAGS) $(DCCFLAGS) -c $(MSRCS) -- $(LD) $(SHARED_PARAMS) -o $(MLIBNAME) $(MOBJS) $(HASH_OBJS) -+ $(CC) $(SHARED_PARAMS) -o $(MLIBNAME) $(MOBJS) $(HASH_OBJS) - - all: $(MLIBNAME) - -diff -ur msyslog-v1.08a.orig/src/examples/syslog.conf.peo msyslog-v1.08a/src/examples/syslog.conf.peo ---- msyslog-v1.08a.orig/src/examples/syslog.conf.peo Mon Dec 3 15:31:14 2001 -+++ msyslog-v1.08a/src/examples/syslog.conf.peo Sat Jan 12 16:51:19 2002 -@@ -1,3 +1,3 @@ - # Protect a log of classic module --auth.info %peo -l -k /var/ssyslog/.var.log.authlog.key %classic /var/log/authlog -+auth.info %peo -l -k /var/lib/msyslog/.var.log.authlog.key %classic /var/log/authlog - -diff -ur msyslog-v1.08a.orig/src/modules/om_peo.c msyslog-v1.08a/src/modules/om_peo.c ---- msyslog-v1.08a.orig/src/modules/om_peo.c Mon Dec 3 15:31:14 2001 -+++ msyslog-v1.08a/src/modules/om_peo.c Sat Jan 12 16:53:15 2002 -@@ -156,7 +156,7 @@ - * INIT -- Initialize om_peo - * args: - * -- * -k <keyfile> (default: /var/ssyslog/.var.log.messages) -+ * -k <keyfile> (default: /var/lib/msyslog/.var.log.messages) - * -l line number corruption detect mode - * (generates a strcat(keyfile, ".mac") file) - * -m <hash_method> md5, rmd160, or sha1 (default: sha1) -diff -ur msyslog-v1.08a.orig/src/peo/hash.c msyslog-v1.08a/src/peo/hash.c ---- msyslog-v1.08a.orig/src/peo/hash.c Mon Dec 3 15:31:14 2001 -+++ msyslog-v1.08a/src/peo/hash.c Sat Jan 12 16:57:18 2002 -@@ -73,7 +73,7 @@ - #endif - - --char *default_keyfile = "/var/ssyslog/.var.log.messages.key"; -+char *default_keyfile = "/var/lib/msyslog/.var.log.messages.key"; - char *hmstr[] = { /* enum order */ - "md5", - "rmd160", -diff -ur msyslog-v1.08a.orig/src/peo/peochk.c msyslog-v1.08a/src/peo/peochk.c ---- msyslog-v1.08a.orig/src/peo/peochk.c Mon Dec 3 15:31:14 2001 -+++ msyslog-v1.08a/src/peo/peochk.c Sat Jan 12 16:59:23 2002 -@@ -45,7 +45,7 @@ - * - * defaults: - * logfile: /var/log/messages -- * keyfile: /var/ssyslog/.var.log.messages.key -+ * keyfile: /var/lib/msyslog/.var.log.messages.key - * hash_method: sha1 - * - * NOTES: -@@ -475,12 +475,12 @@ - if (keyfile == default_keyfile && logfile != default_logfile) { - char *tmp; - -- if ( (tmp = strallocat("/var/ssyslog/", logfile)) == NULL) { -+ if ( (tmp = strallocat("/var/lib/msyslog/", logfile)) == NULL) { - release(); - perror("buffer for keyfile"); - exit(-1); - } -- strdot(tmp+13); -+ strdot(tmp+strlen("/var/lib/msyslog/")); - if ( (keyfile = strallocat(tmp, ".key")) == NULL) { - free(tmp); - release(); -diff -ur msyslog-v1.08a.orig/src/syslogd.h msyslog-v1.08a/src/syslogd.h ---- msyslog-v1.08a.orig/src/syslogd.h Mon Dec 3 15:31:14 2001 -+++ msyslog-v1.08a/src/syslogd.h Sat Jan 12 17:02:48 2002 -@@ -64,7 +64,7 @@ - /* #warning using _PATH_KLOG "/dev/klog" */ - #endif - --#define _PATH_LOGCONF "/etc/syslog.conf" -+#define _PATH_LOGCONF "/etc/msyslog/msyslog.conf" - - /* - * Debug reporting levels -diff -ur msyslog-v1.08a.orig/configure msyslog-v1.08a/configure ---- msyslog-v1.08a.orig/configure Mon Dec 3 15:31:14 2001 -+++ msyslog-v1.08a/configure Sun Jan 13 16:07:14 2002 -@@ -3586,7 +3586,7 @@ - prefix=$ac_default_prefix - fi - cat >>confdefs.h <<EOF --#define INSTALL_LIBDIR "$prefix/lib/alat" -+#define INSTALL_LIBDIR "$prefix/lib" - EOF - - echo "$as_me:3592: checking wheter optreset is needed" >&5 -@@ -3745,7 +3745,7 @@ - EOF - - MAIN_CPPFLAGS="-Xlinker -E"; -- SHARED_PARAMS="-Bshareable" -+ SHARED_PARAMS="-shared" - DCCFLAGS="" - cat >>confdefs.h <<\EOF - #define _GNU_SOURCE 1 -@@ -3833,7 +3833,7 @@ - # Name of pidfile - if test "$UNAME" = "Linux" ; then - cat >>confdefs.h <<\EOF --#define PID_FILE "syslogd.pid" -+#define PID_FILE "msyslogd.pid" - EOF - - else -diff -ur msyslog-v1.08a.orig/src/examples/im_bsd.8 msyslog-v1.08a/src/examples/im_bsd.8 ---- msyslog-1.08a.orig/src/man/im_bsd.8 -+++ msyslog-1.08a/src/man/im_bsd.8 -@@ -53,7 +53,7 @@ - .Pp - .Sh SEE ALSO - .Xr syslog 3 , --.Xr syslog.conf 5 , -+.Xr msyslog.conf 5 , - .Xr im_doors 8 , - .Xr im_linux 8 , - .Xr im_streams 8 , -@@ -69,7 +69,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/im_doors.8 msyslog-v1.08a/src/examples/im_doors.8 ---- msyslog-1.08a.orig/src/man/im_doors.8 -+++ msyslog-1.08a/src/man/im_doors.8 -@@ -75,7 +75,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/im_linux.8 msyslog-v1.08a/src/examples/im_linux.8 ---- msyslog-1.08a.orig/src/man/im_linux.8 -+++ msyslog-1.08a/src/man/im_linux.8 -@@ -116,7 +116,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/im_streams.8 msyslog-v1.08a/src/examples/im_streams.8 ---- msyslog-1.08a.orig/src/man/im_streams.8 -+++ msyslog-1.08a/src/man/im_streams.8 -@@ -75,7 +75,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/im_tcp.8 msyslog-v1.08a/src/examples/im_tcp.8 ---- msyslog-1.08a.orig/src/man/im_tcp.8 -+++ msyslog-1.08a/src/man/im_tcp.8 -@@ -87,7 +87,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/im_udp.8 msyslog-v1.08a/src/examples/im_udp.8 ---- msyslog-1.08a.orig/src/man/im_udp.8 -+++ msyslog-1.08a/src/man/im_udp.8 -@@ -90,7 +90,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/im_unix.8 msyslog-v1.08a/src/examples/im_unix.8 ---- msyslog-1.08a.orig/src/man/im_unix.8 -+++ msyslog-1.08a/src/man/im_unix.8 -@@ -77,7 +77,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/om_classic.8 msyslog-v1.08a/src/examples/om_classic.8 ---- msyslog-1.08a.orig/src/man/om_classic.8 -+++ msyslog-1.08a/src/man/om_classic.8 -@@ -40,7 +40,7 @@ - .Ar filename | user{,user} | * | @hostname - .Sh DESCRIPTION - If there is no module mentioned in a --.Xr syslog.conf 5 -+.Xr msyslog.conf 5 - line, - .Xr om_classic 8 - is used. -@@ -79,7 +79,7 @@ - .Pp - .Sh SEE ALSO - .Xr syslog 3 , --.Xr syslog.conf 5 , -+.Xr msyslog.conf 5 , - .Xr om_mysql 8 , - .Xr om_peo 8 , - .Xr om_pgsql 8 , -@@ -96,7 +96,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/om_mysql.8 msyslog-v1.08a/src/examples/om_mysql.8 ---- msyslog-1.08a.orig/src/man/om_mysql.8 -+++ msyslog-1.08a/src/man/om_mysql.8 -@@ -58,7 +58,7 @@ - .It Fl p Ar password - The plaintext password for this MySQL user. Thus it is recommended NOT to - leave --.Xr syslog.conf 5 -+.Xr msyslog.conf 5 - world readable if this module is used. - .It Fl d Ar database - The database name to use on the specified MySQL server. -@@ -96,7 +96,7 @@ - features. - .Sh SEE ALSO - .Xr syslog 3 , --.Xr syslog.conf 5 , -+.Xr msyslog.conf 5 , - .Xr om_classic 8 , - .Xr om_peo 8 , - .Xr om_pgsql 8 , -@@ -117,7 +117,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/om_peo.8 msyslog-v1.08a/src/examples/om_peo.8 ---- msyslog-1.08a.orig/src/man/om_peo.8 -+++ msyslog-1.08a/src/man/om_peo.8 -@@ -51,7 +51,7 @@ - .Bl -tag -width Ds - .It Fl k Ar keyfile - Specify the key file pathname; the default is --.Pa /var/ssyslog/.var.log.messages.key -+.Pa /var/lib/msyslog/.var.log.messages.key - .It Fl l - This option enables the line corrupted detection mode; - the module generates two keys, the first explained above and a second -@@ -79,12 +79,12 @@ - If you want to protect the - .Pa /var/log/authlog - file you should edit the --.Pa /etc/syslog.conf -+.Pa /etc/msyslog/msyslog.conf - file (see --.Xr syslog.conf 5 -+.Xr msyslog.conf 5 - ) and add a line with something like this: - .Pp --.Dl auth.info %peo -l -k /var/ssyslog/.var.log.authlog.key %classic /var/log/authlog -+.Dl auth.info %peo -l -k /var/lib/msyslog/.var.log.authlog.key %classic /var/log/authlog - .Pp - You should generate the initial key with - .Xr peochk 8 -@@ -93,7 +93,7 @@ - .Sh SEE ALSO - .Li Vcr and Peo Revised documentation - http://www.corest.com/papers/peo.ps - .Xr syslog 3 , --.Xr syslog.conf 5 , -+.Xr msyslog.conf 5 , - .Xr om_classic 8 , - .Xr om_mysql 8 , - .Xr om_pgsql 8 , -@@ -110,28 +110,28 @@ - .Pp - .Dl *.err /var/log/messages - .Pp --.Dl *.err %peo -k /var/ssyslog/.var.log.messages.key -+.Dl *.err %peo -k /var/lib/msyslog/.var.log.messages.key - .Pp - the following is wrong either: - .Pp - .Dl *.err %classic /var/log/messages - .Pp --.Dl *.err %peo -k /var/ssyslog/.var.log.messages.key -+.Dl *.err %peo -k /var/lib/msyslog/.var.log.messages.key - .Pp - The correct line is: - .Pp --.Dl *.err %classic /var/log/messages %peo -k /var/ssyslog/.var.log.messages.key -+.Dl *.err %classic /var/log/messages %peo -k /var/lib/msyslog/.var.log.messages.key - .Pp - or - .Pp --.Dl *.err %peo -k /var/ssyslog/.var.log.messages.key %classic /var/log/messages -+.Dl *.err %peo -k /var/lib/msyslog/.var.log.messages.key %classic /var/log/messages - .It - Submit bugs at this project's Sourceforge Bug reporting system at: - http://sourceforge.net/tracker/?func=add&group_id=25741&atid=385117 - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/om_pgsql.8 msyslog-v1.08a/src/examples/om_pgsql.8 ---- msyslog-1.08a.orig/src/man/om_pgsql.8 -+++ msyslog-1.08a/src/man/om_pgsql.8 -@@ -57,7 +57,7 @@ - .It Fl p Ar password - The plaintext password for this PostgreSQL user. Thus it is recommended NOT to - leave --.Xr syslog.conf 5 -+.Xr msyslog.conf 5 - world readable if this module is used. - .It Fl d Ar database - The database name to use on the specified PostgreSQL server. -@@ -67,7 +67,7 @@ - Create the table. - .Sh EXAMPLES - Example entry for --.Xr syslog.conf 5 -+.Xr msyslog.conf 5 - : - .Pp - .Bd -literal -@@ -93,7 +93,7 @@ - can be any text format smaller than 128 and 1024 chars respectively. - .Sh SEE ALSO - .Xr syslog 3 , --.Xr syslog.conf 5 , -+.Xr msyslog.conf 5 , - .Xr om_classic 8 , - .Xr om_mysql 8 , - .Xr om_peo 8 , -@@ -114,7 +114,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/om_regex.8 msyslog-v1.08a/src/examples/om_regex.8 ---- msyslog-1.08a.orig/src/man/om_regex.8 -+++ msyslog-1.08a/src/man/om_regex.8 -@@ -64,7 +64,7 @@ - .Ed - .Sh SEE ALSO - .Xr syslog 3 , --.Xr syslog.conf 5 , -+.Xr msyslog.conf 5 , - .Xr om_classic 8 , - .Xr om_mysql 8 , - .Xr om_peo 8 , -@@ -83,7 +83,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/om_tcp.8 msyslog-v1.08a/src/examples/om_tcp.8 ---- msyslog-1.08a.orig/src/man/om_tcp.8 -+++ msyslog-1.08a/src/man/om_tcp.8 -@@ -66,14 +66,14 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El - .Sh SEE ALSO - .Xr im_tcp 8 , - .Xr syslog 3 , --.Xr syslog.conf 5 , -+.Xr msyslog.conf 5 , - .Xr om_classic 8 , - .Xr om_mysql 8 , - .Xr om_peo 8 , -diff -ur msyslog-v1.08a.orig/src/examples/peochk.8 msyslog-v1.08a/src/examples/peochk.8 ---- msyslog-1.08a.orig/src/man/peochk.8 -+++ msyslog-1.08a/src/man/peochk.8 -@@ -92,7 +92,7 @@ - Specify the key pathname (this file is used by the - .Em peo output module - to generate a hash key from the last logged message); the default is --.Pa /var/ssyslogd/xxx.key -+.Pa /var/lib/msyslog/xxx.key - where - .Pa xxx - is -@@ -146,16 +146,16 @@ - .Pp - .It - Edit --.Xr syslog.conf 5 -+.Xr msyslog.conf 5 - file and enable - .Em peo output module - with something like this: - .Pp --.Dl auth.info %classic /var/log/authlog %peo -m rmd160 -l -k /var/ssyslog/.var.log.authlog.key -+.Dl auth.info %classic /var/log/authlog %peo -m rmd160 -l -k /var/lib/msyslog/.var.log.authlog.key - .Pp - .It - Inform new changes on --.Xr syslog.conf 5 -+.Xr msyslog.conf 5 - to - .Xr syslogd 8 : - .Pp -@@ -180,7 +180,7 @@ - ). - .El - .Sh SEE ALSO --.Xr syslog.conf 5 , -+.Xr msyslog.conf 5 , - .Xr om_peo 8 , - .Xr syslogd 8 - .Sh BUGS -@@ -189,6 +189,6 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. -diff -ur msyslog-v1.08a.orig/src/examples/syslog.conf.5 msyslog-v1.08a/src/examples/syslog.conf.5 ---- msyslog-1.08a.orig/src/man/syslog.conf.5 -+++ msyslog-1.08a/src/man/syslog.conf.5 -@@ -1,4 +1,4 @@ --.\" $CoreSDI: syslog.conf.5,v 1.7.2.1.2.1.4.6 2001/11/20 09:56:23 alejo Exp $ -+.\" $CoreSDI:msyslog.conf.5,v 1.7.2.1.2.1.4.6 2001/11/20 09:56:23 alejo Exp $ - .\" - .\" Copyright (c) 1990, 1991, 1993 - .\" The Regents of the University of California. All rights reserved. -@@ -27,15 +27,15 @@ - .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - .\" SUCH DAMAGE. - .\" --.\" from: @(#)syslog.conf.5 8.1 (Berkeley) 6/9/93 --.\" $OpenBSD: syslog.conf.5,v 1.4 1997/11/09 09:45:04 todd Exp $ --.\" $NetBSD: syslog.conf.5,v 1.4 1996/01/02 17:41:46 perry Exp $ -+.\" from: @(#msyslog.conf.5 8.1 (Berkeley) 6/9/93 -+.\" $OpenBSD:msyslog.conf.5,v 1.4 1997/11/09 09:45:04 todd Exp $ -+.\" $NetBSD:msyslog.conf.5,v 1.4 1996/01/02 17:41:46 perry Exp $ - .\" - .Dd June 9, 1993 - .Dt SYSLOG.CONF 5 - .Os Core-SDI - .Sh NAME --.Nm syslog.conf -+.Nm msyslog.conf - .Nd - .Xr syslogd 8 - configuration file -@@ -314,8 +314,8 @@ - .Ed - .El - .Sh FILES --.Bl -tag -width /etc/syslog.conf -compact --.It Pa /etc/syslog.conf -+.Bl -tag -width /etc/msyslog/msyslog.conf -compact -+.It Pa /etc/msyslog/msyslog.conf - The - .Xr syslogd 8 - configuration file. -@@ -364,7 +364,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/syslogd.8 msyslog-v1.08a/src/examples/syslogd.8 ---- msyslog-1.08a.orig/src/man/syslogd.8 -+++ msyslog-1.08a/src/man/syslogd.8 -@@ -72,7 +72,7 @@ - .It Fl f Ar config_file - Specify the pathname of an alternate configuration file; - the default is --.Pa /etc/syslog.conf . -+.Pa /etc/msyslog/msyslog.conf . - .It Fl m Ar mark_interval - Select the number of minutes between ``mark'' messages; - the default is 20 minutes. -@@ -116,7 +116,7 @@ - receives a hangup signal. - For information on the format of the configuration file, - see --.Xr syslog.conf 5 . -+.Xr msyslog.conf 5 . - .Pp - .Nm Syslogd - creates the file -@@ -168,7 +168,7 @@ - socket to log standard messages. - .Sh FILES - .Bl -tag -width /var/run/syslog.pid -compact --.It Pa /etc/syslog.conf -+.It Pa /etc/msyslog/msyslog.conf - The configuration file. - .It Pa /var/run/syslog.pid - The process id of current -@@ -182,7 +182,7 @@ - .El - .Sh SEE ALSO - .Xr syslog 3 , --.Xr syslog.conf 5 , -+.Xr msyslog.conf 5 , - .Xr im_bsd 8 , - .Xr im_doors 8 , - .Xr im_linux 8 , -@@ -210,6 +210,6 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. -diff -ur msyslog-v1.08a.orig/src/examples/im_file.8 msyslog-v1.08a/src/examples/im_file.8 ---- msyslog-1.08a.orig/src/man/im_file.8 -+++ msyslog-1.08a/src/man/im_file.8 -@@ -86,7 +86,7 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El -diff -ur msyslog-v1.08a.orig/src/examples/om_udp.8 msyslog-v1.08a/src/examples/om_udp.8 ---- msyslog-1.08a.orig/src/man/om_udp.8 -+++ msyslog-1.08a/src/man/om_udp.8 -@@ -64,13 +64,13 @@ - You may also report them directly to the authors; send an email to - core.devel.alat@corest.com, describing the problem the most you can, - containing also machine description, hardware description, the --configuration file (/etc/syslog.conf), the OS description, and the -+configuration file (/etc/msyslog/msyslog.conf), the OS description, and the - invoking command line. - The more you describe the bug, the faster we can fix it. - .El - .Sh SEE ALSO - .Xr syslog 3 , --.Xr syslog.conf 5 , -+.Xr msyslog.conf 5 , - .Xr om_classic 8 , - .Xr om_mysql 8 , - .Xr om_peo 8 , diff --git a/app-admin/msyslog/files/msyslog-confd b/app-admin/msyslog/files/msyslog-confd deleted file mode 100644 index b1b9fedcf88a..000000000000 --- a/app-admin/msyslog/files/msyslog-confd +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/files/msyslog-confd,v 1.2 2002/05/04 01:22:36 woodchip Exp $ - -# Config file for /etc/init.d/msyslog - -# Passed to /usr/sbin/msyslogd... -MSYSLOG_OPTS="-i unix /dev/log -i linux" diff --git a/app-admin/msyslog/files/msyslog-init b/app-admin/msyslog/files/msyslog-init deleted file mode 100644 index e0fe4c6c1702..000000000000 --- a/app-admin/msyslog/files/msyslog-init +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/files/msyslog-init,v 1.3 2002/05/04 01:22:36 woodchip Exp $ - -depend() { - need clock - provide logger -} - -start() { - ebegin "Starting msyslog" - start-stop-daemon --start --quiet --exec /usr/sbin/msyslogd -- ${MSYSLOG_OPTS} - eend $? "Failed to start msyslog" -} - -stop() { - ebegin "Stopping msyslog" - start-stop-daemon --stop --quiet --pidfile /var/run/msyslogd.pid - eend $? "Failed to stop msyslog" -} - diff --git a/app-admin/msyslog/files/msyslog.conf b/app-admin/msyslog/files/msyslog.conf deleted file mode 100644 index a2c1c7c68a29..000000000000 --- a/app-admin/msyslog/files/msyslog.conf +++ /dev/null @@ -1,73 +0,0 @@ -# /etc/msyslog/msyslog.conf: configuration file for msyslogd. -# -# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/files/msyslog.conf,v 1.2 2002/05/04 01:22:36 woodchip Exp $ -# -# Msyslog uses a slightly different syntax than the old syslogd. -# See below and in /usr/share/doc/msyslog/examples for samples -# and documentation. See also the manpages for msyslog.conf(5), -# msyslogd(8), and the output modules: om_mysql(8), om_regex(8), -# om_pgsql(8), om_classic(8). -# -# The logfiles you specify with %classic must exist beforehand; -# they will not be auto-created. - - -# The default enables these two standard logfiles. -*.*;auth,authpriv.none %classic /var/log/syslog -*.warn;mark.*;auth,authpriv.none %classic /var/log/messages - -# Emergencies are sent to everybody currently logged in. -*.emerg %classic * - -# The named pipe /dev/xconsole is for the `xconsole' utility. -# To use it, you must invoke `xconsole' with the `-file' option: -# $ xconsole -file /dev/xconsole [...] -*.warn %classic |/dev/xconsole - -# This puts everything into one file. -#*.* %classic /var/log/all - -# Sending messages to a virtual console. -#*.*;auth,authpriv.none %classic /dev/tty8 - -# Logging by facility. -#auth,authpriv.* %classic /var/log/auth.log -#cron.* %classic /var/log/cron.log -#daemon.* %classic /var/log/daemon.log -#ftp.* %classic /var/log/ftp.log -#kern.* %classic /var/log/kern.log -#lpr.* %classic /var/log/lpr.log -#mail.* %classic /var/log/mail.log -#news.* %classic /var/log/news.log -#syslog.* %classic /var/log/syslog.log -#user.* %classic /var/log/user.log -#uucp.* %classic /var/log/uucp.log - -# Logging for the mail system. -#mail.info %classic /var/log/mail.info -#mail.warn %classic /var/log/mail.warn -#mail.err %classic /var/log/mail.err - -# Logging for INN news system. -#news.crit %classic /var/log/news/news.crit -#news.err %classic /var/log/news/news.err -#news.notice %classic /var/log/news/news.notice - -# Send messages to central logging host through UDP transport. -# See im_udp(8) for how to set up the server. -#*.* %classic @loghost - -# Logging to an SQL database. SECURITY ALERT. Since the mysql/postgresql -# passwords need to appear here, this file should not be world readable! -# --- -# Log to server logger.mydomain.edu through MySQL -#*.* %mysql -s logger.mydomain.edu -u loguser -p loguserpassword -d syslogDB -t syslogTB -# -# Log to server logger.mydomain.edu through MySQL, using DELAYED inserts -#*.* %mysql -D -s logger.mydomain.edu -u loguser -p loguserpassword -d syslogDB -t syslogTB -# -# Log to server logger.mydomain.edu thru PGSQL -#*.* %pgsql -s logger.mydomain.edu -u loguser -p loguserpassword -d syslogDB -t syslogTB - -# Protect a log of classic module. -#auth.info %peo -l -k /var/lib/msyslog/.var.log.authlog.key %classic /var/log/authlog diff --git a/app-admin/msyslog/msyslog-1.08a-r2.ebuild b/app-admin/msyslog/msyslog-1.08a-r3.ebuild index 1ea305bcdac3..7f4f57ceb17c 100644 --- a/app-admin/msyslog/msyslog-1.08a-r2.ebuild +++ b/app-admin/msyslog/msyslog-1.08a-r3.ebuild @@ -1,23 +1,26 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/msyslog-1.08a-r2.ebuild,v 1.3 2002/07/17 20:43:17 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/msyslog-1.08a-r3.ebuild,v 1.1 2002/07/25 12:54:55 seemant Exp $ +MY_P=${PN}-v${PV} +S=${WORKDIR}/${MY_P} +S2=${WORKDIR}/${PN}-gentoo DESCRIPTION="Flexible and easy to integrate syslog with modularized input/output" HOMEPAGE="http://www.core-sdi.com/download/download1.html" -SRC_URI="http://community.corest.com/pub/${PN}/${PN}-v${PV}.tgz" -SLOT="0" -S=${WORKDIR}/${PN}-v${PV} +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz + mirror://gentoo/${P}-gentoo.diff.tar.bz2" -RDEPEND="virtual/glibc mysql? ( >=dev-db/mysql-3.23 ) postgres? ( >=dev-db/postgresql-7 )" -DEPEND="virtual/glibc" -KEYWORDS="x86" -LICENSE="BSD" SLOT="0" +LICENSE="BSD" +KEYWORDS="x86" + +DEPEND="mysql? ( >=dev-db/mysql-3.23 ) + postgres? ( >=dev-db/postgresql-7 )" src_unpack() { unpack ${A} ; cd ${S} # fix paths for pidfile, config file, libdir, logdir, manpages, etc... - patch -p1 < ${FILESDIR}/${PN}-${PV}-gentoo.diff || die "bad patchfile" + patch -p1 < ${S2}/${P}-gentoo.diff || die "bad patchfile" } src_compile() { @@ -25,10 +28,9 @@ src_compile() { use mysql || myconf="${myconf} --without-mysql" use postgres || myconf="${myconf} --without-pgsql" - ./configure \ - --prefix=/usr \ + econf \ --with-daemon-name=msyslogd \ - --host=${CHOST} ${myconf} || die "bad ./configure" + ${myconf} || die "bad ./configure" emake || die "compile problem" } @@ -50,9 +52,9 @@ src_install() { QUICK_INSTALL README src/TODO doc/* docinto examples ; dodoc src/examples/* - insinto /etc/msyslog ; doins ${FILESDIR}/msyslog.conf - insinto /etc/conf.d ; newins ${FILESDIR}/msyslog-confd msyslog - exeinto /etc/init.d ; newexe ${FILESDIR}/msyslog-init msyslog + insinto /etc/msyslog ; doins ${S2}/msyslog.conf + insinto /etc/conf.d ; newins ${S2}/msyslog-confd msyslog + exeinto /etc/init.d ; newexe ${S2}/msyslog-init msyslog } pkg_postinst() { diff --git a/app-admin/msyslog/msyslog-1.08e.ebuild b/app-admin/msyslog/msyslog-1.08e.ebuild new file mode 100644 index 000000000000..9aa4d304e7a4 --- /dev/null +++ b/app-admin/msyslog/msyslog-1.08e.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-admin/msyslog/msyslog-1.08e.ebuild,v 1.1 2002/07/25 12:54:56 seemant Exp $ + +MY_P=${PN}-v${PV} +S=${WORKDIR}/${MY_P} +S2=${WORKDIR}/${PN}-gentoo +DESCRIPTION="Flexible and easy to integrate syslog with modularized input/output" +HOMEPAGE="http://www.core-sdi.com/download/download1.html" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz + mirror://gentoo/${P}-gentoo.diff.tar.bz2" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="x86" + +DEPEND="mysql? ( >=dev-db/mysql-3.23 ) + postgres? ( >=dev-db/postgresql-7 )" + +src_unpack() { + unpack ${A} ; cd ${S} + # fix paths for pidfile, config file, libdir, logdir, manpages, etc... + patch -p1 < ${S2}/${P}-gentoo.diff || die "bad patchfile" +} + +src_compile() { + local myconf + use mysql || myconf="${myconf} --without-mysql" + use postgres || myconf="${myconf} --without-pgsql" + + econf \ + --with-daemon-name=msyslogd \ + ${myconf} || die "bad ./configure" + + emake || die "compile problem" +} + +src_install() { + dodir /var/lib/msyslog + dosbin src/msyslogd src/peo/peochk + + exeinto /usr/lib + doexe src/modules/lib${PN}.so.${PV/a/} + ( cd ${D}/usr/lib ; ln -s lib${PN}.so.${PV/a/} lib${PN}.so ) + + # rename these puppies... + mv src/man/syslogd.8 src/man/msyslogd.8 + mv src/man/syslog.conf.5 src/man/msyslog.conf.5 + doman src/man/*.[85] + + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS \ + QUICK_INSTALL README src/TODO doc/* + docinto examples ; dodoc src/examples/* + + insinto /etc/msyslog ; doins ${S2}/msyslog.conf + insinto /etc/conf.d ; newins ${S2}/msyslog-confd msyslog + exeinto /etc/init.d ; newexe ${S2}/msyslog-init msyslog +} + +pkg_postinst() { + # the default /etc/msyslog/msyslog.conf uses these, so make sure + # it 'just works' for those who wont bother changing the config. + touch ${ROOT}/var/log/messages + touch ${ROOT}/var/log/syslog +} |