diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-27 18:28:39 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-27 18:28:39 +0000 |
commit | 0cb11752d17fedb36673b9a05c2cb2b5bdb1fd27 (patch) | |
tree | b90ff2d803391a0ddbacad36ebc65e4e742d3b96 /app-admin/sysklogd | |
parent | Removed imlib dependency (bug #249077, thanks Dustin Polke), added pkg-config... (diff) | |
download | historical-0cb11752d17fedb36673b9a05c2cb2b5bdb1fd27.tar.gz historical-0cb11752d17fedb36673b9a05c2cb2b5bdb1fd27.tar.bz2 historical-0cb11752d17fedb36673b9a05c2cb2b5bdb1fd27.zip |
old
Package-Manager: portage-2.2_rc16/cvs/Linux 2.6.27.4 x86_64
Diffstat (limited to 'app-admin/sysklogd')
-rw-r--r-- | app-admin/sysklogd/Manifest | 16 | ||||
-rw-r--r-- | app-admin/sysklogd/files/sysklogd-1.4.1-2.6.headers.patch | 867 | ||||
-rw-r--r-- | app-admin/sysklogd/files/sysklogd-1.4.1-SO_BSDCOMPAT.patch | 72 | ||||
-rw-r--r-- | app-admin/sysklogd/files/sysklogd-1.4.1-mips.patch | 12 | ||||
-rw-r--r-- | app-admin/sysklogd/sysklogd-1.4.1-r11.ebuild | 51 | ||||
-rw-r--r-- | app-admin/sysklogd/sysklogd-1.4.2_pre20051017.ebuild | 69 | ||||
-rw-r--r-- | app-admin/sysklogd/sysklogd-1.4.2_pre20061230-r1.ebuild | 65 | ||||
-rw-r--r-- | app-admin/sysklogd/sysklogd-1.4.2_pre20061230.ebuild | 65 |
8 files changed, 4 insertions, 1213 deletions
diff --git a/app-admin/sysklogd/Manifest b/app-admin/sysklogd/Manifest index 5b597b719b75..18302eb5679a 100644 --- a/app-admin/sysklogd/Manifest +++ b/app-admin/sysklogd/Manifest @@ -1,14 +1,11 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX sysklogd-1.4.1-2.6.headers.patch 25062 RMD160 8b0b177d2a3741e452243f465158110bf981dcf6 SHA1 b45f5a5ecf6354ac83245aaf5b91cad9a640488c SHA256 206aa506b0943e24b5f5305c669ddcfe88a72fc18e221b6eaf087cefb39c50d6 -AUX sysklogd-1.4.1-SO_BSDCOMPAT.patch 2523 RMD160 be25a8670bc2653344e4a8412feb0649ab3885d1 SHA1 a3025dc6468ed132d325b038f32107637cb5c5e9 SHA256 e86b24d2f8312b2d4ccfc1d0bb14c5e4553494732758170ba3efae0713eef8b9 AUX sysklogd-1.4.1-accept.patch 292 RMD160 27b857446e00e6f90576efebccc5c5d316978758 SHA1 3cb2a4e61a53d8f217b6eaa05822d1910fa34e26 SHA256 b0aca8d3a1c3421348f74be265aa4c9b2528c9114bd22a0b849a9efcef37e1d3 AUX sysklogd-1.4.1-caen-owl-klogd-drop-root.diff 4320 RMD160 f3eff69313d7cd804ad0ce1b5aee7ac13e6fc47d SHA1 81c28ccbf5eb86ccfee983ed668372e9f92d110a SHA256 c09d92c25b9c99b9dc16aee67fdb59bb4f97784a8552eae92f53b3fe5aa3772e AUX sysklogd-1.4.1-caen-owl-syslogd-bind.diff 2844 RMD160 e41aa49291dd4612ff2c40e0528bf2f562cd9055 SHA1 00807634163321b0af931f71bd530a874071acbe SHA256 0ffbf96cc96e6502ddfaedd517520966de02411059b21dfe092819772279173b AUX sysklogd-1.4.1-caen-owl-syslogd-drop-root.diff 2907 RMD160 042b1087132290356606bf1b48f693fba99221d0 SHA1 9701989490748b0c5a1727e0fc459179d0e350a8 SHA256 0f08fecee20d69021dce3b9dc2b901c4509f9501f804f0fd88445e7751d9a16a AUX sysklogd-1.4.1-ksym-headers.patch 481 RMD160 7bdca2d72cdb1c1acf8b1cd346a08748a182d29d SHA1 f39f019fa95436291d05d06fa66bb036dd393dc7 SHA256 cf5f2673f303e556dbe816c818802e71d04e566d5b2f2683ad19857650ecf230 -AUX sysklogd-1.4.1-mips.patch 363 RMD160 1ea8316ee6d38b7049581882b91490f515ac0eb9 SHA1 b834fc373a108194e086436c3030d4081e99113e SHA256 b5369c61e9c169ab8ee6a82c0f4f7678f001403098bc233a5139e4045dc4d22c AUX sysklogd-1.4.1-punt-SO_BSDCOMPAT.patch 641 RMD160 d74e697fb671bd09751d704f7a61d1534396b00a SHA1 d594fa11793e87e85637640f272ac539d50d3aaa SHA256 f08817a6974dbb3d331a4a6f1793a213862b16feff16bddd5ba320d9b63bd04c AUX sysklogd-1.4.1-querymod.patch 10599 RMD160 cedf716eddae02391be3b88f2013a13eadff767d SHA1 2512a7a2e9110082515fe4dda87d53749108e7e0 SHA256 a6033fd938b5febacad4f8ce056a3e17ed8942e861849744730e266b0ede9770 AUX sysklogd-1.4.2-caen-owl-klogd-drop-root.diff 4315 RMD160 eb257b55725ddac95e231073e1bd017ee228a159 SHA1 40a4830ee390f6335c80671074a6a9e9acdf8ca7 SHA256 f316586561ec40eb185bb83b6e785185b9e33b8290767336cdab626767f88060 @@ -22,23 +19,18 @@ AUX syslog-cron 658 RMD160 e157e9ca0592bca51c626c11d86ab889cdf4f684 SHA1 89b6f7b AUX syslog.conf 2332 RMD160 1b3ee0e7bee6098849379fe7cbb31101f401c9bb SHA1 48713c205b4b6032c49bb55e607c3051d380d24d SHA256 1b5f4782d958760de5842a34471676892624df8e972c07148d598bb7128b79e8 AUX syslogd-listfiles 2759 RMD160 c5991ba76e451ca43a1cf7d92addda8dec15055c SHA1 02c83fad8baccebec3e169a43c4c68ef974e83da SHA256 8622d5efba7bcbaa912f689cde94d6d331dfd1b53701be7bf6bfc06e57fe3a98 AUX syslogd-listfiles.8 2540 RMD160 338e2e6313f7ff0b7f5939ee4297000e91927084 SHA1 de78aaf915b04b9a557e60d77cf0d8df5053576b SHA256 e8e624d7efef7e2c74be3f87cf3708fe25334feb6e759705d1560001df81c145 -DIST sysklogd-1.4.1-cvs-20051017.patch.gz 11006 RMD160 7ab9d246106c262e8983d0e927167e73b6c1fb70 SHA1 7af5d0c2acdac5041ab7c367108434444f8fb8a8 SHA256 bbc08f11de085880eee1b1ba715a86515f6a500de51e01f4e7fb287c850b984a DIST sysklogd-1.4.1-cvs-20061230.patch.bz2 12584 RMD160 50dd59916af80b84618b98229cfafc21b547d2c0 SHA1 385301f964025633e2033f856b196f5e7a3e9236 SHA256 4ca2fd34dacd1c10018b6a786c24faa392d6fef57607e240e3bcaf925231e2b2 DIST sysklogd-1.4.1.tar.gz 81784 RMD160 5e60f1294c45932915a3dcd1018cdc02d005a3e0 SHA1 093775da0e429d0768cf195ceb20fdd6d96aeeea SHA256 44357e0fae8c8f0e315bf130b4e86a4f96b91d66eeb4e473def4ce8336fff102 DIST sysklogd-1.5.tar.gz 86557 RMD160 1839516cbb112ccff9987fec8c954d2f2696d301 SHA1 070cce745b023f2ce7ca7d9888af434d6d61c236 SHA256 6169b8e91d29288e90404f01462b69e7f2afb1161aa419826fe4736c7f9eb773 DIST sysklogd_1.5-3.diff.gz 24368 RMD160 347d67d23de1435c28498b737a17754f59e2b7fa SHA1 00704a376e0a50dd15f066d185207684790117ec SHA256 80662200cdd32860ce43fd4cb725a73d0ff9744a34a037f5bfe9ffadb8505822 -EBUILD sysklogd-1.4.1-r11.ebuild 1437 RMD160 b7db590d1cb67fb2dd6ac969a2b9ceee00d13fa5 SHA1 4e4a11c386c81b75dee37e556427aa9baa07d1f4 SHA256 dc9d01ed4331c17c294a1fe8e65e47608c247b1843228109b0262b2ff72284b2 -EBUILD sysklogd-1.4.2_pre20051017.ebuild 2016 RMD160 9d6b5b8dbdb9184a16085ea8220452eedb1b44a4 SHA1 de5b52044b5c3c5c128d16550cf996ba6312745a SHA256 93b3bcf34ccb58f0dac41c190034f674c5442c74600326ba6a29eec8c8790bc4 -EBUILD sysklogd-1.4.2_pre20061230-r1.ebuild 1819 RMD160 18bbc6859a62dfde7044e46ddb86ad7fe6cf1163 SHA1 67d3786ce46cdb77c4d7f9de3bad360fb220aa4a SHA256 36ec97a6728e09f474f3b28997734a6bcf1afcafd1d84dd3247b9264c840b5ec EBUILD sysklogd-1.4.2_pre20061230-r2.ebuild 1867 RMD160 f14a1b9034fe8a27db08dff38256d7a34e4e869a SHA1 f62f5f39a0baca3743cbf4c62416561b4fd0364e SHA256 f76e3acf45f2c2dbd60644057dbe12d2da517e7030875579adb919b363af32fb -EBUILD sysklogd-1.4.2_pre20061230.ebuild 1814 RMD160 e3a83276db1e5f1945148ee3a896615cbd75f0d6 SHA1 1db0ee1cce7198290a0915ac2f452f3b03651ee2 SHA256 fe9cf8c3c94a56e882ec4b7438cb59c04a2a32b66b379e6bfda96aa2aa9db77e EBUILD sysklogd-1.5.ebuild 1650 RMD160 67c7dc0b6a9103a6fd72950c46a1bc6f3888afb9 SHA1 c11008101ad374b28f0835d1219004ff4218ea5a SHA256 8979e63539deb21e5bdb93c0dcddd95746bdaa62ab4068b6b9de3753b8fa3dd0 MISC ChangeLog 10701 RMD160 b0ec3dd11dc661f1cb9ae1575d5a2e87e113dec6 SHA1 eb36ebdfbd59ac4b3be95259ad2aadffb4ca5b88 SHA256 c481d3d637d86058903a62ce5e70337e4ada9ecb1085fd8e264f516cc6dac827 MISC metadata.xml 165 RMD160 84307ea324cd4f0f46d52f2fa096a1873e2fbe53 SHA1 c7b83ef947fe7e8273cc512fee9bba06586a58f9 SHA256 23a8851c12bd4cf7cf0528250ad5605be6b0780bbec0c51331d6d2c618c13f6a -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.7 (GNU/Linux) +Version: GnuPG v2.0.9 (GNU/Linux) -iD8DBQFISrYvj9hvisErhMIRAiQhAJ4/yEgXYLktiizLZbwoKI7Wh+K5RQCglvke -t/uO+5N8JLjNNXdNxYbIWfc= -=9VHN +iEYEARECAAYFAkku5t0ACgkQ67wieSYcaxdTiwCgjfh5cAySnVKV3Gpng6rnv+8i +/dEAn08B/VUlTm8tDcKrrz3K+k9DFa2z +=+WIc -----END PGP SIGNATURE----- diff --git a/app-admin/sysklogd/files/sysklogd-1.4.1-2.6.headers.patch b/app-admin/sysklogd/files/sysklogd-1.4.1-2.6.headers.patch deleted file mode 100644 index 251f9b1015c1..000000000000 --- a/app-admin/sysklogd/files/sysklogd-1.4.1-2.6.headers.patch +++ /dev/null @@ -1,867 +0,0 @@ -Author: Tim Yamin <plasmaroo@gentoo.org> -Patch: Patched for 2.6.0 headers. Please note that these changes - won't work on pure vanilla 2.6 headers. - -Author: Kelledin <kelledin@users.sourceforge.net> -Purpose: klogd (from sysklogd-1.4.1) uses an antiquated method of - tracing module symbols by seeking through /dev/kmem. Not only - is this obsolete, it incurs a possible race condition and - often does not work on 64-bit platforms. This patch updates - klogd to use the newer, safer query_module() function. - ---- sysklogd-1.4.1/ksym_mod.c 2000-09-12 22:15:28.000000000 +0100 -+++ sysklogd-1.4.1-plasmaroo/ksym_mod.c 2004-01-19 20:15:16.000000000 +0000 -@@ -80,9 +80,33 @@ - * Changed llseek() to lseek64() in order to skip a libc warning. - */ - -- - /* Includes. */ -+ - #include <stdlib.h> -+#include <time.h> -+#include <signal.h> -+#include <linux/version.h> -+ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,1) -+ -+ #include <linux/signal.h> -+ #include <linux/spinlock.h> -+ -+ #define __KERNEL__ -+ #include <asm/posix_types.h> -+ #undef __KERNEL_STRICT_NAMES -+ #include <linux/types.h> -+ -+ #ifndef LIST_POISON1 -+ #undef _LINUX_LIST_H -+ #include <linux/list.h> -+ #endif -+ #include <asm/semaphore.h> -+ #undef __KERNEL__ -+ #include "module.h" -+ -+#endif -+ - #include <malloc.h> - #include <unistd.h> - #include <signal.h> -diff -Naur sysklogd-1.4.1/module.h sysklogd-1.4.1.plasmaroo/module.h ---- sysklogd-1.4.1/module.h 1970-01-01 01:00:00.000000000 +0100 -+++ sysklogd-1.4.1.plasmaroo/module.h 2004-02-07 22:56:47.000000000 +0000 -@@ -0,0 +1,415 @@ -+/* -+ * Dynamic loading of modules into the kernel. -+ * -+ * Rewritten by Richard Henderson <rth@tamu.edu> Dec 1996 -+ */ -+ -+#ifndef _LINUX_MODULE_H -+#define _LINUX_MODULE_H -+ -+#include <linux/config.h> -+#include <linux/spinlock.h> -+#include <linux/list.h> -+ -+#ifdef __GENKSYMS__ -+# define _set_ver(sym) sym -+# undef MODVERSIONS -+# define MODVERSIONS -+#else /* ! __GENKSYMS__ */ -+# if !defined(MODVERSIONS) && defined(EXPORT_SYMTAB) -+# define _set_ver(sym) sym -+# include <linux/modversions.h> -+# endif -+#endif /* __GENKSYMS__ */ -+ -+#include <asm/atomic.h> -+ -+/* Don't need to bring in all of uaccess.h just for this decl. */ -+struct exception_table_entry; -+ -+/* Used by get_kernel_syms, which is obsolete. */ -+struct kernel_sym -+{ -+ unsigned long value; -+ char name[60]; /* should have been 64-sizeof(long); oh well */ -+}; -+ -+struct module_symbol -+{ -+ unsigned long value; -+ const char *name; -+}; -+ -+struct module_ref -+{ -+ struct module *dep; /* "parent" pointer */ -+ struct module *ref; /* "child" pointer */ -+ struct module_ref *next_ref; -+}; -+ -+/* TBD */ -+struct module_persist; -+ -+struct module -+{ -+ unsigned long size_of_struct; /* == sizeof(module) */ -+ struct module *next; -+ const char *name; -+ unsigned long size; -+ -+ union -+ { -+ atomic_t usecount; -+ long pad; -+ } uc; /* Needs to keep its size - so says rth */ -+ -+ unsigned long flags; /* AUTOCLEAN et al */ -+ -+ unsigned nsyms; -+ unsigned ndeps; -+ -+ struct module_symbol *syms; -+ struct module_ref *deps; -+ struct module_ref *refs; -+ int (*init)(void); -+ void (*cleanup)(void); -+ const struct exception_table_entry *ex_table_start; -+ const struct exception_table_entry *ex_table_end; -+#ifdef __alpha__ -+ unsigned long gp; -+#endif -+ /* Members past this point are extensions to the basic -+ module support and are optional. Use mod_member_present() -+ to examine them. */ -+ const struct module_persist *persist_start; -+ const struct module_persist *persist_end; -+ int (*can_unload)(void); -+ int runsize; /* In modutils, not currently used */ -+ const char *kallsyms_start; /* All symbols for kernel debugging */ -+ const char *kallsyms_end; -+ const char *archdata_start; /* arch specific data for module */ -+ const char *archdata_end; -+ const char *kernel_data; /* Reserved for kernel internal use */ -+}; -+ -+struct module_info -+{ -+ unsigned long addr; -+ unsigned long size; -+ unsigned long flags; -+ long usecount; -+}; -+ -+/* Bits of module.flags. */ -+ -+#define MOD_UNINITIALIZED 0 -+#define MOD_RUNNING 1 -+#define MOD_DELETED 2 -+#define MOD_AUTOCLEAN 4 -+#define MOD_VISITED 8 -+#define MOD_USED_ONCE 16 -+#define MOD_JUST_FREED 32 -+#define MOD_INITIALIZING 64 -+ -+/* Values for query_module's which. */ -+ -+#define QM_MODULES 1 -+#define QM_DEPS 2 -+#define QM_REFS 3 -+#define QM_SYMBOLS 4 -+#define QM_INFO 5 -+ -+/* Can the module be queried? */ -+#define MOD_CAN_QUERY(mod) (((mod)->flags & (MOD_RUNNING | MOD_INITIALIZING)) && !((mod)->flags & MOD_DELETED)) -+ -+/* When struct module is extended, we must test whether the new member -+ is present in the header received from insmod before we can use it. -+ This function returns true if the member is present. */ -+ -+#define mod_member_present(mod,member) \ -+ ((unsigned long)(&((struct module *)0L)->member + 1) \ -+ <= (mod)->size_of_struct) -+ -+/* -+ * Ditto for archdata. Assumes mod->archdata_start and mod->archdata_end -+ * are validated elsewhere. -+ */ -+#define mod_archdata_member_present(mod, type, member) \ -+ (((unsigned long)(&((type *)0L)->member) + \ -+ sizeof(((type *)0L)->member)) <= \ -+ ((mod)->archdata_end - (mod)->archdata_start)) -+ -+ -+/* Check if an address p with number of entries n is within the body of module m */ -+#define mod_bound(p, n, m) ((unsigned long)(p) >= ((unsigned long)(m) + ((m)->size_of_struct)) && \ -+ (unsigned long)((p)+(n)) <= (unsigned long)(m) + (m)->size) -+ -+/* Backwards compatibility definition. */ -+ -+#define GET_USE_COUNT(module) (atomic_read(&(module)->uc.usecount)) -+ -+/* Poke the use count of a module. */ -+ -+#define __MOD_INC_USE_COUNT(mod) \ -+ (atomic_inc(&(mod)->uc.usecount), (mod)->flags |= MOD_VISITED|MOD_USED_ONCE) -+#define __MOD_DEC_USE_COUNT(mod) \ -+ (atomic_dec(&(mod)->uc.usecount), (mod)->flags |= MOD_VISITED) -+#define __MOD_IN_USE(mod) \ -+ (mod_member_present((mod), can_unload) && (mod)->can_unload \ -+ ? (mod)->can_unload() : atomic_read(&(mod)->uc.usecount)) -+ -+/* Indirect stringification. */ -+ -+#define __MODULE_STRING_1(x) #x -+#define __MODULE_STRING(x) __MODULE_STRING_1(x) -+ -+/* Generic inter module communication. -+ * -+ * NOTE: This interface is intended for small amounts of data that are -+ * passed between two objects and either or both of the objects -+ * might be compiled as modules. Do not over use this interface. -+ * -+ * If more than two objects need to communicate then you probably -+ * need a specific interface instead of abusing this generic -+ * interface. If both objects are *always* built into the kernel -+ * then a global extern variable is good enough, you do not need -+ * this interface. -+ * -+ * Keith Owens <kaos@ocs.com.au> 28 Oct 2000. -+ */ -+ -+#ifdef __KERNEL__ -+#define HAVE_INTER_MODULE -+extern void inter_module_register(const char *, struct module *, const void *); -+extern void inter_module_unregister(const char *); -+extern const void *inter_module_get(const char *); -+extern const void *inter_module_get_request(const char *, const char *); -+extern void inter_module_put(const char *); -+ -+struct inter_module_entry { -+ struct list_head list; -+ const char *im_name; -+ struct module *owner; -+ const void *userdata; -+}; -+ -+extern int try_inc_mod_count(struct module *mod); -+#endif /* __KERNEL__ */ -+ -+#if defined(MODULE) && !defined(__GENKSYMS__) -+ -+/* Embedded module documentation macros. */ -+ -+/* For documentation purposes only. */ -+ -+#define MODULE_AUTHOR(name) \ -+const char __module_author[] __attribute__((section(".modinfo"))) = \ -+"author=" name -+ -+#define MODULE_DESCRIPTION(desc) \ -+const char __module_description[] __attribute__((section(".modinfo"))) = \ -+"description=" desc -+ -+/* Could potentially be used by kmod... */ -+ -+#define MODULE_SUPPORTED_DEVICE(dev) \ -+const char __module_device[] __attribute__((section(".modinfo"))) = \ -+"device=" dev -+ -+/* Used to verify parameters given to the module. The TYPE arg should -+ be a string in the following format: -+ [min[-max]]{b,h,i,l,s} -+ The MIN and MAX specifiers delimit the length of the array. If MAX -+ is omitted, it defaults to MIN; if both are omitted, the default is 1. -+ The final character is a type specifier: -+ b byte -+ h short -+ i int -+ l long -+ s string -+*/ -+ -+#define MODULE_PARM(var,type) \ -+const char __module_parm_##var[] \ -+__attribute__((section(".modinfo"))) = \ -+"parm_" __MODULE_STRING(var) "=" type -+ -+#define MODULE_PARM_DESC(var,desc) \ -+const char __module_parm_desc_##var[] \ -+__attribute__((section(".modinfo"))) = \ -+"parm_desc_" __MODULE_STRING(var) "=" desc -+ -+/* -+ * MODULE_DEVICE_TABLE exports information about devices -+ * currently supported by this module. A device type, such as PCI, -+ * is a C-like identifier passed as the first arg to this macro. -+ * The second macro arg is the variable containing the device -+ * information being made public. -+ * -+ * The following is a list of known device types (arg 1), -+ * and the C types which are to be passed as arg 2. -+ * pci - struct pci_device_id - List of PCI ids supported by this module -+ * isapnp - struct isapnp_device_id - List of ISA PnP ids supported by this module -+ * usb - struct usb_device_id - List of USB ids supported by this module -+ */ -+#define MODULE_GENERIC_TABLE(gtype,name) \ -+static const unsigned long __module_##gtype##_size \ -+ __attribute__ ((unused)) = sizeof(struct gtype##_id); \ -+static const struct gtype##_id * __module_##gtype##_table \ -+ __attribute__ ((unused)) = name -+ -+/* -+ * The following license idents are currently accepted as indicating free -+ * software modules -+ * -+ * "GPL" [GNU Public License v2 or later] -+ * "GPL v2" [GNU Public License v2] -+ * "GPL and additional rights" [GNU Public License v2 rights and more] -+ * "Dual BSD/GPL" [GNU Public License v2 or BSD license choice] -+ * "Dual MPL/GPL" [GNU Public License v2 or Mozilla license choice] -+ * -+ * The following other idents are available -+ * -+ * "Proprietary" [Non free products] -+ * -+ * There are dual licensed components, but when running with Linux it is the -+ * GPL that is relevant so this is a non issue. Similarly LGPL linked with GPL -+ * is a GPL combined work. -+ * -+ * This exists for several reasons -+ * 1. So modinfo can show license info for users wanting to vet their setup -+ * is free -+ * 2. So the community can ignore bug reports including proprietary modules -+ * 3. So vendors can do likewise based on their own policies -+ */ -+ -+#define MODULE_LICENSE(license) \ -+static const char __module_license[] __attribute__((section(".modinfo"))) = \ -+"license=" license -+ -+/* Define the module variable, and usage macros. */ -+extern struct module __this_module; -+ -+#define THIS_MODULE (&__this_module) -+#define MOD_INC_USE_COUNT __MOD_INC_USE_COUNT(THIS_MODULE) -+#define MOD_DEC_USE_COUNT __MOD_DEC_USE_COUNT(THIS_MODULE) -+#define MOD_IN_USE __MOD_IN_USE(THIS_MODULE) -+ -+#include <linux/version.h> -+static const char __module_kernel_version[] __attribute__((section(".modinfo"))) = -+"kernel_version=" UTS_RELEASE; -+#ifdef MODVERSIONS -+static const char __module_using_checksums[] __attribute__((section(".modinfo"))) = -+"using_checksums=1"; -+#endif -+ -+#else /* MODULE */ -+ -+#define MODULE_AUTHOR(name) -+#define MODULE_LICENSE(license) -+#define MODULE_DESCRIPTION(desc) -+#define MODULE_SUPPORTED_DEVICE(name) -+#define MODULE_PARM(var,type) -+#define MODULE_PARM_DESC(var,desc) -+ -+/* Create a dummy reference to the table to suppress gcc unused warnings. Put -+ * the reference in the .data.exit section which is discarded when code is built -+ * in, so the reference does not bloat the running kernel. Note: cannot be -+ * const, other exit data may be writable. -+ */ -+#define MODULE_GENERIC_TABLE(gtype,name) \ -+static const struct gtype##_id * __module_##gtype##_table \ -+ __attribute__ ((unused, __section__(".data.exit"))) = name -+ -+#ifndef __GENKSYMS__ -+ -+#define THIS_MODULE NULL -+#define MOD_INC_USE_COUNT do { } while (0) -+#define MOD_DEC_USE_COUNT do { } while (0) -+#define MOD_IN_USE 1 -+ -+extern struct module *module_list; -+ -+#endif /* !__GENKSYMS__ */ -+ -+#endif /* MODULE */ -+ -+#define MODULE_DEVICE_TABLE(type,name) \ -+ MODULE_GENERIC_TABLE(type##_device,name) -+ -+/* Export a symbol either from the kernel or a module. -+ -+ In the kernel, the symbol is added to the kernel's global symbol table. -+ -+ In a module, it controls which variables are exported. If no -+ variables are explicitly exported, the action is controled by the -+ insmod -[xX] flags. Otherwise, only the variables listed are exported. -+ This obviates the need for the old register_symtab() function. */ -+ -+#if defined(__GENKSYMS__) -+ -+/* We want the EXPORT_SYMBOL tag left intact for recognition. */ -+ -+#elif !defined(AUTOCONF_INCLUDED) -+ -+#define __EXPORT_SYMBOL(sym,str) error config_must_be_included_before_module -+#define EXPORT_SYMBOL(var) error config_must_be_included_before_module -+#define EXPORT_SYMBOL_NOVERS(var) error config_must_be_included_before_module -+#define EXPORT_SYMBOL_GPL(var) error config_must_be_included_before_module -+ -+#elif !defined(CONFIG_MODULES) -+ -+#define __EXPORT_SYMBOL(sym,str) -+#define EXPORT_SYMBOL(var) -+#define EXPORT_SYMBOL_NOVERS(var) -+#define EXPORT_SYMBOL_GPL(var) -+ -+#elif !defined(EXPORT_SYMTAB) -+ -+#define __EXPORT_SYMBOL(sym,str) error this_object_must_be_defined_as_export_objs_in_the_Makefile -+#define EXPORT_SYMBOL(var) error this_object_must_be_defined_as_export_objs_in_the_Makefile -+#define EXPORT_SYMBOL_NOVERS(var) error this_object_must_be_defined_as_export_objs_in_the_Makefile -+#define EXPORT_SYMBOL_GPL(var) error this_object_must_be_defined_as_export_objs_in_the_Makefile -+ -+#else -+ -+#define __EXPORT_SYMBOL(sym, str) \ -+const char __kstrtab_##sym[] \ -+__attribute__((section(".kstrtab"))) = str; \ -+const struct module_symbol __ksymtab_##sym \ -+__attribute__((section("__ksymtab"))) = \ -+{ (unsigned long)&sym, __kstrtab_##sym } -+ -+#define __EXPORT_SYMBOL_GPL(sym, str) \ -+const char __kstrtab_##sym[] \ -+__attribute__((section(".kstrtab"))) = "GPLONLY_" str; \ -+const struct module_symbol __ksymtab_##sym \ -+__attribute__((section("__ksymtab"))) = \ -+{ (unsigned long)&sym, __kstrtab_##sym } -+ -+#if defined(MODVERSIONS) || !defined(CONFIG_MODVERSIONS) -+#define EXPORT_SYMBOL(var) __EXPORT_SYMBOL(var, __MODULE_STRING(var)) -+#define EXPORT_SYMBOL_GPL(var) __EXPORT_SYMBOL_GPL(var, __MODULE_STRING(var)) -+#else -+#define EXPORT_SYMBOL(var) __EXPORT_SYMBOL(var, __MODULE_STRING(__VERSIONED_SYMBOL(var))) -+#define EXPORT_SYMBOL_GPL(var) __EXPORT_SYMBOL(var, __MODULE_STRING(__VERSIONED_SYMBOL(var))) -+#endif -+ -+#define EXPORT_SYMBOL_NOVERS(var) __EXPORT_SYMBOL(var, __MODULE_STRING(var)) -+ -+#endif /* __GENKSYMS__ */ -+ -+#ifdef MODULE -+/* Force a module to export no symbols. */ -+#define EXPORT_NO_SYMBOLS __asm__(".section __ksymtab\n.previous") -+#else -+#define EXPORT_NO_SYMBOLS -+#endif /* MODULE */ -+ -+#ifdef CONFIG_MODULES -+#define SET_MODULE_OWNER(some_struct) do { (some_struct)->owner = THIS_MODULE; } while (0) -+#else -+#define SET_MODULE_OWNER(some_struct) do { } while (0) -+#endif -+ -+#endif /* _LINUX_MODULE_H */ -diff -Naur sysklogd-1.4.1/ksym_mod.c sysklogd-1.4.1-querymodules/ksym_mod.c ---- sysklogd-1.4.1/ksym_mod.c 2000-09-12 16:15:28.000000000 -0500 -+++ sysklogd-1.4.1-querymodules/ksym_mod.c 2003-10-03 23:18:05.000000000 -0500 -@@ -122,6 +122,8 @@ - #define getsyms get_kernel_syms - #endif /* __GLIBC__ */ - -+extern int query_module(const char *, int, void *, size_t, size_t *); -+ - /* Variables static to this module. */ - struct sym_table - { -@@ -142,7 +144,7 @@ - }; - - static int num_modules = 0; --struct Module *sym_array_modules = (struct Module *) 0; -+struct Module *sym_array_modules = NULL; - - static int have_modules = 0; - -@@ -155,8 +157,8 @@ - - /* Function prototypes. */ - static void FreeModules(void); --static int AddSymbol(struct Module *mp, unsigned long, char *); --static int AddModule(unsigned long, char *); -+static int AddSymbol(struct Module *mp, unsigned long, const char *); -+static int AddModule(char *); - static int symsort(const void *, const void *); - - -@@ -179,81 +181,106 @@ - extern int InitMsyms() - - { -- auto int rtn, -- tmp; -+ auto size_t rtn; -+ auto int tmp; -+ -+ auto char **mod_table; -+ -+ char *modbuf = NULL, -+ *newbuf; - -- auto struct kernel_sym *ksym_table, -- *p; -+ int modsize = 32, -+ result; - - - /* Initialize the kernel module symbol table. */ - FreeModules(); - -+ /* -+ * New style symbol table parser. This uses the newer query_module -+ * function rather than the old obsolete hack of stepping thru -+ * /dev/kmem. -+ */ - - /* -- * The system call which returns the kernel symbol table has -- * essentialy two modes of operation. Called with a null pointer -- * the system call returns the number of symbols defined in the -- * the table. -- * -- * The second mode of operation is to pass a valid pointer to -- * the call which will then load the current symbol table into -- * the memory provided. -- * -- * Returning the symbol table is essentially an all or nothing -- * proposition so we need to pre-allocate enough memory for the -- * complete table regardless of how many symbols we need. -- * -- * Bummer. -+ * First, we query for the list of loaded modules. We may -+ * have to grow our buffer in size. - */ -- if ( (rtn = getsyms((struct kernel_sym *) 0)) < 0 ) -- { -- if ( errno == ENOSYS ) -- Syslog(LOG_INFO, "No module symbols loaded - " -- "kernel modules not enabled.\n"); -- else -+ do { -+ modsize+=modsize; -+ newbuf=realloc(modbuf, modsize); -+ -+ if (newbuf==NULL) { -+ /* Uh-oh... */ - Syslog(LOG_ERR, "Error loading kernel symbols " \ - "- %s\n", strerror(errno)); -+ if (modbuf!=NULL) free(modbuf); -+ return(0); -+ } -+ -+ modbuf=newbuf; -+ -+ result=query_module(NULL, QM_MODULES, modbuf, modsize, &rtn); -+ -+ if (result<0 && errno!=ENOSPC) { -+ Syslog(LOG_ERR, "Error querying loaded modules " \ -+ "- %s\n", strerror(errno)); -+ free(modbuf); -+ return(0); -+ } -+ } while (result<0); -+ -+ if ( rtn <= 0 ) { -+ /* No modules??? */ -+ Syslog(LOG_INFO, "No module symbols loaded - " -+ "modules disabled?\n"); -+ free(modbuf); - return(0); - } - if ( debugging ) - fprintf(stderr, "Loading kernel module symbols - " - "Size of table: %d\n", rtn); - -- ksym_table = (struct kernel_sym *) malloc(rtn * \ -- sizeof(struct kernel_sym)); -- if ( ksym_table == (struct kernel_sym *) 0 ) -+ mod_table = (char **) malloc(rtn * sizeof(char *)); -+ if ( mod_table == NULL ) - { - Syslog(LOG_WARNING, " Failed memory allocation for kernel " \ - "symbol table.\n"); -+ free(modbuf); - return(0); - } -- if ( (rtn = getsyms(ksym_table)) < 0 ) -+ -+ sym_array_modules = (struct Module *) malloc(rtn * sizeof(struct Module)); -+ if ( sym_array_modules == NULL ) - { -- Syslog(LOG_WARNING, "Error reading kernel symbols - %s\n", \ -- strerror(errno)); -+ Syslog(LOG_WARNING, " Failed memory allocation for kernel " \ -+ "symbol table.\n"); -+ free(mod_table); -+ free(modbuf); - return(0); - } - -- - /* - * Build a symbol table compatible with the other one used by - * klogd. - */ -- tmp = rtn; -- p = ksym_table; -- while ( tmp-- ) -+ newbuf=modbuf; -+ for (tmp=rtn-1; tmp>=0; tmp--) - { -- if ( !AddModule(p->value, p->name) ) -+ mod_table[tmp]=newbuf; -+ newbuf+=(strlen(newbuf)+1); -+ if ( !AddModule(mod_table[tmp]) ) - { - Syslog(LOG_WARNING, "Error adding kernel module table " - "entry.\n"); -- free(ksym_table); -+ free(mod_table); -+ free(modbuf); - return(0); - } -- ++p; - } - -+ have_modules = 1; -+ - /* Sort the symbol tables in each module. */ - for (rtn = tmp= 0; tmp < num_modules; ++tmp) - { -@@ -271,7 +299,8 @@ - Syslog(LOG_INFO, "Loaded %d %s from %d module%s", rtn, \ - (rtn == 1) ? "symbol" : "symbols", \ - num_modules, (num_modules == 1) ? "." : "s."); -- free(ksym_table); -+ free(mod_table); -+ free(modbuf); - return(1); - } - -@@ -316,23 +345,23 @@ - - /* Check to see if the module symbol tables need to be cleared. */ - have_modules = 0; -- if ( num_modules == 0 ) -- return; -- - -- for (nmods= 0; nmods < num_modules; ++nmods) -- { -- mp = &sym_array_modules[nmods]; -- if ( mp->num_syms == 0 ) -- continue; -+ if (sym_array_modules != NULL) { -+ for (nmods= 0; nmods < num_modules; ++nmods) -+ { -+ mp = &sym_array_modules[nmods]; -+ if ( mp->num_syms == 0 ) -+ continue; - -- for (nsyms= 0; nsyms < mp->num_syms; ++nsyms) -- free(mp->sym_array[nsyms].name); -- free(mp->sym_array); -+ for (nsyms= 0; nsyms < mp->num_syms; ++nsyms) -+ free(mp->sym_array[nsyms].name); -+ free(mp->sym_array); -+ } -+ -+ free(sym_array_modules); -+ sym_array_modules = NULL; - } - -- free(sym_array_modules); -- sym_array_modules = (struct Module *) 0; - num_modules = 0; - return; - } -@@ -344,23 +373,25 @@ - * Purpose: This function is responsible for adding a module to - * the list of currently loaded modules. - * -- * Arguements: (unsigned long) address, (char *) symbol -- * -- * address:-> The address of the module. -+ * Arguments: (char *) symbol - * - * symbol:-> The name of the module. - * - * Return: int - **************************************************************************/ - --static int AddModule(address, symbol) -- -- unsigned long address; -+static int AddModule(symbol) - - char *symbol; - - { -- auto int memfd; -+ size_t rtn; -+ size_t i; -+ const char *cbuf; -+ int symsize=128; -+ int result; -+ struct module_symbol *symbuf=NULL, -+ *newbuf; - - auto struct Module *mp; - -@@ -368,78 +399,75 @@ - /* Return if we have loaded the modules. */ - if ( have_modules ) - return(1); -+ -+ /* We already have space for the module. */ -+ mp = &sym_array_modules[num_modules]; -+ -+ if (query_module(symbol, QM_INFO, &sym_array_modules[num_modules].module, -+ sizeof(struct module), &rtn)<0) -+ { -+ Syslog(LOG_WARNING, "Error reading module info for %s.\n", -+ symbol); -+ return(0); -+ } -+ -+ /* Save the module name. */ -+ mp->name = strdup(symbol); -+ if ( mp->name == NULL ) -+ return(0); -+ -+ mp->num_syms = 0; -+ mp->sym_array = NULL; -+ ++num_modules; - - /* -- * The following section of code is responsible for determining -- * whether or not we are done reading the list of modules. -+ * First, we query for the list of exported symbols. We may -+ * have to grow our buffer in size. - */ -- if ( symbol[0] == '#' ) -- { -+ do { -+ symsize+=symsize; -+ newbuf=realloc(symbuf, symsize); - -- if ( symbol[1] == '\0' ) -- { -- /* -- * A symbol which consists of a # sign only -- * signifies a a resident kernel segment. When we -- * hit one of these we are done reading the -- * module list. -- */ -- have_modules = 1; -- return(1); -- } -- /* Allocate space for the module. */ -- sym_array_modules = (struct Module *) \ -- realloc(sym_array_modules, \ -- (num_modules+1) * sizeof(struct Module)); -- if ( sym_array_modules == (struct Module *) 0 ) -- { -- Syslog(LOG_WARNING, "Cannot allocate Module array.\n"); -+ if (newbuf==NULL) { -+ /* Uh-oh... */ -+ Syslog(LOG_ERR, "Error loading kernel symbols " \ -+ "- %s\n", strerror(errno)); -+ if (symbuf!=NULL) free(symbuf); - return(0); - } -- mp = &sym_array_modules[num_modules]; - -- if ( (memfd = open("/dev/kmem", O_RDONLY)) < 0 ) -- { -- Syslog(LOG_WARNING, "Error opening /dev/kmem\n"); -- return(0); -- } -- if ( lseek64(memfd, address, SEEK_SET) < 0 ) -- { -- Syslog(LOG_WARNING, "Error seeking in /dev/kmem\n"); -- Syslog(LOG_WARNING, "Symbol %s, value %08x\n", symbol, address); -- return(0); -- } -- if ( read(memfd, \ -- (char *)&sym_array_modules[num_modules].module, \ -- sizeof(struct module)) < 0 ) -- { -- Syslog(LOG_WARNING, "Error reading module " -- "descriptor.\n"); -- return(0); -- } -- close(memfd); -+ symbuf=newbuf; -+ -+ result=query_module(symbol, QM_SYMBOLS, symbuf, symsize, &rtn); - -- /* Save the module name. */ -- mp->name = (char *) malloc(strlen(&symbol[1]) + 1); -- if ( mp->name == (char *) 0 ) -+ if (result<0 && errno!=ENOSPC) { -+ Syslog(LOG_ERR, "Error querying symbol list for %s " \ -+ "- %s\n", symbol, strerror(errno)); -+ free(symbuf); - return(0); -- strcpy(mp->name, &symbol[1]); -+ } -+ } while (result<0); - -- mp->num_syms = 0; -- mp->sym_array = (struct sym_table *) 0; -- ++num_modules; -- return(1); -- } -- else -- { -- if (num_modules > 0) -- mp = &sym_array_modules[num_modules - 1]; -- else -- mp = &sym_array_modules[0]; -- AddSymbol(mp, address, symbol); -+ if ( rtn < 0 ) { -+ /* No symbols??? */ -+ Syslog(LOG_INFO, "No module symbols loaded - unknown error.\n"); -+ free(symbuf); -+ return(0); - } - -+ cbuf=(char *)symbuf; -+ -+ for (i=0; i<rtn; i++) { -+ if (num_modules > 0) -+ mp = &sym_array_modules[num_modules - 1]; -+ else -+ mp = &sym_array_modules[0]; -+ -+ AddSymbol(mp, symbuf[i].value, -+ cbuf+(unsigned long)(symbuf[i].name)); -+ } - -+ free(symbuf); - return(1); - } - -@@ -471,7 +499,7 @@ - - unsigned long address; - -- char *symbol; -+ const char *symbol; - - { - auto int tmp; diff --git a/app-admin/sysklogd/files/sysklogd-1.4.1-SO_BSDCOMPAT.patch b/app-admin/sysklogd/files/sysklogd-1.4.1-SO_BSDCOMPAT.patch deleted file mode 100644 index c027f2784553..000000000000 --- a/app-admin/sysklogd/files/sysklogd-1.4.1-SO_BSDCOMPAT.patch +++ /dev/null @@ -1,72 +0,0 @@ ---- sysklogd-1.4.1/syslogd.c.orig 2003-09-01 22:00:04.172556504 +0200 -+++ sysklogd-1.4.1/syslogd.c 2003-09-01 22:04:33.503611960 +0200 -@@ -1212,6 +1212,44 @@ - #endif - - #ifdef SYSLOG_INET -+/* This is from a patch by Mikael Pettersson <mikpe@csd.uu.se> to -+ fix HAVE_SO_BSDCOMPAT issues with 2.5+ kernels and Erlang/OTP. -+ */ -+#if defined(__linux__) -+#include <sys/utsname.h> -+static int should_use_so_bsdcompat() -+{ -+ static int init_done; -+ static int so_bsdcompat_is_obsolete; -+ -+ if (!init_done) { -+ struct utsname utsname; -+ unsigned int version, patchlevel; -+ -+ init_done = 1; -+ if (uname(&utsname) < 0) { -+ fprintf(stderr, "uname: %s\r\n", strerror(errno)); -+ return 1; -+ } -+ /* Format is <version>.<patchlevel>.<sublevel><extraversion> -+ where the first three are unsigned integers and the last -+ is an arbitrary string. We only care about the first two. */ -+ if (sscanf(utsname.release, "%u.%u", &version, &patchlevel) != 2) { -+ fprintf(stderr, "uname: unexpected release '%s'\r\n", -+ utsname.release); -+ return 1; -+ } -+ /* SO_BSCOMPAT is deprecated and triggers warnings in 2.5 -+ kernels. It is a no-op in 2.4 but not in 2.2 kernels. */ -+ if (version > 2 || (version == 2 && patchlevel >= 5)) -+ so_bsdcompat_is_obsolete = 1; -+ } -+ return !so_bsdcompat_is_obsolete; -+} -+#else /* __linux__ */ -+#define should_use_so_bsdcompat() 1 -+#endif /* __linux__ */ -+ - static int create_inet_socket() - { - int fd, on = 1; -@@ -1232,14 +1270,16 @@ - close(fd); - return -1; - } -- /* We need to enable BSD compatibility. Otherwise an attacker -- * could flood our log files by sending us tons of ICMP errors. -- */ -- if (setsockopt(fd, SOL_SOCKET, SO_BSDCOMPAT, \ -- (char *) &on, sizeof(on)) < 0) { -- logerror("setsockopt(BSDCOMPAT), suspending inet"); -- close(fd); -- return -1; -+ if (should_use_so_bsdcompat()) { -+ /* We need to enable BSD compatibility. Otherwise an attacker -+ * could flood our log files by sending us tons of ICMP errors. -+ */ -+ if (setsockopt(fd, SOL_SOCKET, SO_BSDCOMPAT, \ -+ (char *) &on, sizeof(on)) < 0) { -+ logerror("setsockopt(BSDCOMPAT), suspending inet"); -+ close(fd); -+ return -1; -+ } - } - if (bind(fd, (struct sockaddr *) &sin, sizeof(sin)) < 0) { - logerror("bind, suspending inet"); diff --git a/app-admin/sysklogd/files/sysklogd-1.4.1-mips.patch b/app-admin/sysklogd/files/sysklogd-1.4.1-mips.patch deleted file mode 100644 index 6cffe07272ee..000000000000 --- a/app-admin/sysklogd/files/sysklogd-1.4.1-mips.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- sysklogd/ksym_mod.c -+++ sysklogd/ksym_mod.c -@@ -93,6 +93,9 @@ - #include <linux/time.h> - #include <linux/module.h> - #else /* __GLIBC__ */ -+#ifdef __mips__ -+#include <linux/linkage.h> -+#endif - #include <linux/module.h> - extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence)); - extern int get_kernel_syms __P ((struct kernel_sym *__table)); diff --git a/app-admin/sysklogd/sysklogd-1.4.1-r11.ebuild b/app-admin/sysklogd/sysklogd-1.4.1-r11.ebuild deleted file mode 100644 index e1e97a327329..000000000000 --- a/app-admin/sysklogd/sysklogd-1.4.1-r11.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sysklogd/sysklogd-1.4.1-r11.ebuild,v 1.7 2007/02/11 13:10:14 vapier Exp $ - -inherit eutils - -DESCRIPTION="Standard log daemons" -HOMEPAGE="http://www.infodrom.org/projects/sysklogd/" -SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/daemons/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" -IUSE="" -RESTRICT="test" - -DEPEND="" -RDEPEND="dev-lang/perl - sys-apps/debianutils" -PROVIDE="virtual/logger" - -src_unpack() { - unpack ${A} - - cd "${S}" - sed -i \ - -e "s:-O3:${CFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE:" \ - Makefile || die "sed CFLAGS" - - # Handle SO_BSDCOMPAT being depricated in 2.5+ kernels. - epatch "${FILESDIR}"/${P}-SO_BSDCOMPAT.patch - epatch "${FILESDIR}"/${P}-2.6.headers.patch - epatch "${FILESDIR}"/${PN}-1.4.1-mips.patch -} - -src_compile() { - emake LDFLAGS="" || die -} - -src_install() { - dosbin syslogd klogd "${FILESDIR}"/syslogd-listfiles || die "dosbin" - doman *.[1-9] "${FILESDIR}"/syslogd-listfiles.8 - exeinto /etc/cron.daily - newexe "${FILESDIR}"/syslog-cron syslog.cron - dodoc ANNOUNCE CHANGES MANIFEST NEWS README.1st README.linux - dodoc "${FILESDIR}"/syslog.conf - insinto /etc - doins "${FILESDIR}"/syslog.conf - newinitd "${FILESDIR}"/sysklogd.rc6 sysklogd - newconfd "${FILESDIR}"/sysklogd.confd sysklogd -} diff --git a/app-admin/sysklogd/sysklogd-1.4.2_pre20051017.ebuild b/app-admin/sysklogd/sysklogd-1.4.2_pre20051017.ebuild deleted file mode 100644 index 7b91205ad1fc..000000000000 --- a/app-admin/sysklogd/sysklogd-1.4.2_pre20051017.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sysklogd/sysklogd-1.4.2_pre20051017.ebuild,v 1.5 2007/02/11 13:10:14 vapier Exp $ - -inherit eutils - -CVS_DATE="20051017" -MY_P=${PN}-1.4.1 -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Standard log daemons" -HOMEPAGE="http://www.infodrom.org/projects/sysklogd/" -SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/daemons/${MY_P}.tar.gz - http://dev.gentoo.org/~merlin/${MY_P}-cvs-${CVS_DATE}.patch.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 s390 sh sparc x86" -IUSE="" -RESTRICT="test" - -DEPEND="" -RDEPEND="dev-lang/perl - sys-apps/debianutils" -PROVIDE="virtual/logger" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${MY_P}-accept.patch - - # CVS patch / effectively version to 1.4.2 - epatch "${WORKDIR}/${MY_P}-cvs-${CVS_DATE}.patch" - - # CAEN/OWL security patches - epatch "${FILESDIR}/${MY_P}-caen-owl-syslogd-bind.diff" - epatch "${FILESDIR}/${MY_P}-caen-owl-syslogd-drop-root.diff" - epatch "${FILESDIR}/${MY_P}-caen-owl-klogd-drop-root.diff" - - # Handle SO_BSDCOMPAT being depricated in 2.5+ kernels. - epatch "${FILESDIR}/${MY_P}-SO_BSDCOMPAT.patch" - - # http://linuxfromscratch.org/pipermail/patches/2003-October/000432.html - epatch "${FILESDIR}/${MY_P}-querymod.patch" - - sed -i -e "/PATCHLEVEL/s:1:1+cvs20051017:" version.h - - sed -i \ - -e "s:-O3:${CFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE:" \ - Makefile || die "sed CFLAGS" -} - -src_compile() { - emake LDFLAGS="${LDFLAGS}" || die -} - -src_install() { - dosbin syslogd klogd "${FILESDIR}"/syslogd-listfiles || die "dosbin" - doman *.[1-9] "${FILESDIR}"/syslogd-listfiles.8 - exeinto /etc/cron.daily - newexe "${FILESDIR}"/syslog-cron syslog.cron - dodoc ANNOUNCE CHANGES MANIFEST NEWS README.1st README.linux - dodoc "${FILESDIR}"/syslog.conf - insinto /etc - doins "${FILESDIR}"/syslog.conf - newinitd "${FILESDIR}"/sysklogd.rc6 sysklogd - newconfd "${FILESDIR}"/sysklogd.confd sysklogd -} diff --git a/app-admin/sysklogd/sysklogd-1.4.2_pre20061230-r1.ebuild b/app-admin/sysklogd/sysklogd-1.4.2_pre20061230-r1.ebuild deleted file mode 100644 index 75671c341045..000000000000 --- a/app-admin/sysklogd/sysklogd-1.4.2_pre20061230-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sysklogd/sysklogd-1.4.2_pre20061230-r1.ebuild,v 1.1 2007/05/01 12:49:04 uberlord Exp $ - -inherit eutils flag-o-matic - -CVS_DATE=${PV#*_pre} -MY_P=${PN}-1.4.1 - -DESCRIPTION="Standard log daemons" -HOMEPAGE="http://www.infodrom.org/projects/sysklogd/" -SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/daemons/${MY_P}.tar.gz - mirror://gentoo/${MY_P}-cvs-${CVS_DATE}.patch.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86" -IUSE="" -RESTRICT="test" - -DEPEND="" -RDEPEND="dev-lang/perl - sys-apps/debianutils" -PROVIDE="virtual/logger" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${WORKDIR}"/${MY_P}-cvs-${CVS_DATE}.patch - - epatch "${FILESDIR}"/${MY_P}-accept.patch - epatch "${FILESDIR}"/${MY_P}-querymod.patch - epatch "${FILESDIR}"/${MY_P}-punt-SO_BSDCOMPAT.patch - epatch "${FILESDIR}"/${MY_P}-ksym-headers.patch - - # CAEN/OWL security patches - epatch "${FILESDIR}"/${MY_P}-caen-owl-syslogd-bind.diff - epatch "${FILESDIR}"/${MY_P}-caen-owl-syslogd-drop-root.diff - epatch "${FILESDIR}"/${MY_P}-caen-owl-klogd-drop-root.diff - - append-lfs-flags - sed -i \ - -e "s:-O3:${CFLAGS}:" \ - Makefile || die "sed CFLAGS" -} - -src_compile() { - emake LDFLAGS="${LDFLAGS}" || die -} - -src_install() { - dosbin syslogd klogd "${FILESDIR}"/syslogd-listfiles || die "dosbin" - doman *.[1-9] "${FILESDIR}"/syslogd-listfiles.8 - exeinto /etc/cron.daily - newexe "${FILESDIR}"/syslog-cron syslog.cron - dodoc ANNOUNCE CHANGES MANIFEST NEWS README.1st README.linux - dodoc "${FILESDIR}"/syslog.conf - insinto /etc - doins "${FILESDIR}"/syslog.conf - newinitd "${FILESDIR}"/sysklogd.rc6 sysklogd - newconfd "${FILESDIR}"/sysklogd.confd sysklogd -} diff --git a/app-admin/sysklogd/sysklogd-1.4.2_pre20061230.ebuild b/app-admin/sysklogd/sysklogd-1.4.2_pre20061230.ebuild deleted file mode 100644 index 2f072eb5aabe..000000000000 --- a/app-admin/sysklogd/sysklogd-1.4.2_pre20061230.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sysklogd/sysklogd-1.4.2_pre20061230.ebuild,v 1.12 2007/06/27 17:21:03 armin76 Exp $ - -inherit eutils flag-o-matic - -CVS_DATE=${PV#*_pre} -MY_P=${PN}-1.4.1 - -DESCRIPTION="Standard log daemons" -HOMEPAGE="http://www.infodrom.org/projects/sysklogd/" -SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/daemons/${MY_P}.tar.gz - mirror://gentoo/${MY_P}-cvs-${CVS_DATE}.patch.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86" -IUSE="" -RESTRICT="test" - -DEPEND="" -RDEPEND="dev-lang/perl - sys-apps/debianutils" -PROVIDE="virtual/logger" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${WORKDIR}"/${MY_P}-cvs-${CVS_DATE}.patch - - epatch "${FILESDIR}"/${MY_P}-accept.patch - epatch "${FILESDIR}"/${MY_P}-querymod.patch - epatch "${FILESDIR}"/${MY_P}-punt-SO_BSDCOMPAT.patch - epatch "${FILESDIR}"/${MY_P}-ksym-headers.patch - - # CAEN/OWL security patches - epatch "${FILESDIR}"/${MY_P}-caen-owl-syslogd-bind.diff - epatch "${FILESDIR}"/${MY_P}-caen-owl-syslogd-drop-root.diff - epatch "${FILESDIR}"/${MY_P}-caen-owl-klogd-drop-root.diff - - append-lfs-flags - sed -i \ - -e "s:-O3:${CFLAGS}:" \ - Makefile || die "sed CFLAGS" -} - -src_compile() { - emake LDFLAGS="${LDFLAGS}" || die -} - -src_install() { - dosbin syslogd klogd "${FILESDIR}"/syslogd-listfiles || die "dosbin" - doman *.[1-9] "${FILESDIR}"/syslogd-listfiles.8 - exeinto /etc/cron.daily - newexe "${FILESDIR}"/syslog-cron syslog.cron - dodoc ANNOUNCE CHANGES MANIFEST NEWS README.1st README.linux - dodoc "${FILESDIR}"/syslog.conf - insinto /etc - doins "${FILESDIR}"/syslog.conf - newinitd "${FILESDIR}"/sysklogd.rc6 sysklogd - newconfd "${FILESDIR}"/sysklogd.confd sysklogd -} |