Modify

Opened 11 years ago

Closed 11 years ago

#34 closed defect (fixed)

ulogd lacks base plugins

Reported by: viny_meuh Owned by: nico
Priority: normal Milestone: 1.0-rc4
Component: packages Version: 1.0
Keywords: ulogd Cc:

Description

Package ulogd 1.23-1 lacks base plugins ( ulogd_BASE.so, etc ..)
Moreover, ulogd init script name doesn't begin with a S so doesn't automatically start at boot.

Here a patch correcting theses problems:

===================================================================
--- whiterussian/openwrt/package/ulogd/Makefile (révision 2389)
+++ whiterussian/openwrt/package/ulogd/Makefile (copie de travail)
@@ -4,7 +4,7 @@

 PKG_NAME:=ulogd
 PKG_VERSION:=1.23
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_MD5SUM:=fa3dfcaacf31855626d5b731b04a077f

 PKG_SOURCE_URL:=ftp://ftp.netfilter.org/pub/ulogd/ \
@@ -92,8 +92,15 @@
        install -d -m0755 $(IDIR_ULOGD)/etc/default
        install -m0644 ./files/ulogd.default $(IDIR_ULOGD)/etc/default/ulogd
        install -d -m0755 $(IDIR_ULOGD)/etc/init.d
-       install -m0755 ./files/ulogd.init $(IDIR_ULOGD)/etc/init.d/ulogd
+       install -m0755 ./files/ulogd.init $(IDIR_ULOGD)/etc/init.d/S49ulogd
        install -d -m0755 $(IDIR_ULOGD)/usr/sbin
        cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/ulogd $(IDIR_ULOGD)/usr/sbin/
+       install -d -m0755 $(IDIR_ULOGD)/usr/lib/ulogd
+       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/ulogd/ulogd_BASE.so    $(IDIR_ULOGD)/usr/lib/ulogd/
+       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/ulogd/ulogd_LOCAL.so   $(IDIR_ULOGD)/usr/lib/ulogd/
+       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/ulogd/ulogd_LOGEMU.so  $(IDIR_ULOGD)/usr/lib/ulogd/
+       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/ulogd/ulogd_OPRINT.so  $(IDIR_ULOGD)/usr/lib/ulogd/
+       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/ulogd/ulogd_PWSNIFF.so $(IDIR_ULOGD)/usr/lib/ulogd/
+       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/ulogd/ulogd_SYSLOG.so  $(IDIR_ULOGD)/usr/lib/ulogd/
        $(RSTRIP) $(IDIR_ULOGD)
        $(IPKG_BUILD) $(IDIR_ULOGD) $(PACKAGE_DIR)

Attachments (1)

ulogd_Makefile.patch (1.5 KB) - added by viny_meuh 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by viny_meuh

comment:1 Changed 11 years ago by nico

  • Milestone set to 1.0-rc4
  • Owner changed from developers to nico

comment:2 Changed 11 years ago by nico

  • Resolution set to fixed
  • Status changed from new to closed

The BASE plugin was included in the main ulogd package. All other plugins were added to a separate ulog-mod-extra package. The startup script was enabled at boot, with priority 49 (S49ulogd).

I believe the problems have been fixed by:

Thanks for your report

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.