1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Changeset 5096

Show
Ignore:
Timestamp:
05/28/09 20:51:27 (5 years ago)
Author:
wahwah
Message:

syslog_ng: converting to mgar v2 and using cswclassutils for SMF support

Changes done in a branch for review by the package maintainer.

Location:
csw/mgar/pkg/syslog_ng/branches/smf-via-classutils
Files:
4 removed
5 modified

Legend:

Unmodified
Added
Removed
  • csw/mgar/pkg/syslog_ng/branches/smf-via-classutils

    • Property svn:externals
      •  

        old new  
        1 gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v1 
         1gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2 
  • csw/mgar/pkg/syslog_ng/branches/smf-via-classutils/Makefile

    r3857 r5096  
    1010endef 
    1111 
    12 MASTER_SITES = http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/$(GARVERSION)/source/ 
     12MASTER_SITES = http://www.balabit.com/downloads/files/$(GARNAME)/open-source-edition/$(GARVERSION)/source/ 
    1313DISTFILES  = $(GARNAME)_$(GARVERSION).tar.gz 
    14 DISTFILES += $(call admfiles,CSWsyslogng, postinstall depend prototype) 
    15 DISTFILES += syslog-ng.conf.CSW 
     14DISTFILES += $(GARNAME).conf.CSW 
    1615DISTFILES += cswsyslog_ng 
     16 
     17CATALOGNAME = syslog_ng 
    1718 
    1819# We define upstream file regex so we can be notifed of new upstream software release 
    1920UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz 
    2021 
    21 SPKG_SOURCEURL = http://www.balabit.com/network-security/syslog-ng/ 
    22 SPKG_CLASSES = none cswinitsmf 
     22SPKG_SOURCEURL = http://www.balabit.com/network-security/$(GARNAME)/ 
     23 
     24SPKG_CLASSES = none cswcpsampleconf cswinitsmf 
     25PROTOTYPE_FILTER  = awk ' \ 
     26    $$$$3 ~ /\/init.d\/cswsyslog_ng$$$$/ { $$$$2 = "cswinitsmf" } \ 
     27    $$$$3 ~ /\/syslog-ng\.conf\.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } \ 
     28    { print }' 
    2329 
    2430PREREQUISITE_PKGS  = CSWeventlog 
    2531PREREQUISITE_PKGS += CSWggettext 
    2632PREREQUISITE_PKGS += CSWglib2 
     33PREREQUISITE_PKGS += CSWglib2devel 
    2734PREREQUISITE_PKGS += CSWtcpwrap 
     35PREREQUISITE_PKGS += CSWpkgconfig 
     36PREREQUISITE_PKGS += CSWgcc4core 
    2837 
    2938CONFIGURE_ARGS  = $(DIRPATHS) 
    3039CONFIGURE_ARGS += --enable-dynamic-linking 
    3140CONFIGURE_ARGS += --enable-spoof-source=no 
     41CONFIGURE_ARGS += --sysconfdir=/etc/opt/csw 
     42 
     43REQUIRED_PKGS  = CSWgcc4corert 
     44REQUIRED_PKGS += CSWeventlog 
     45REQUIRED_PKGS += CSWggettextrt 
     46REQUIRED_PKGS += CSWglib2 
     47REQUIRED_PKGS += CSWtcpwrap 
    3248 
    3349GARCOMPILER = GNU 
    34 #TEST_TARGET = check 
    3550TEST_SCRIPTS = 
    3651 
    3752# adding configuration file 
     53post-install-isa-sparcv8: post-install 
     54post-install-isa-sparcv9: post-install 
     55post-install-isa-i386: post-install 
     56post-install-isa-amd64: post-install 
     57 
    3858post-install: 
    39         ginstall -d $(DESTDIR)$(sysconfdir) 
    40         ginstall -m 444 $(WORKDIR)/syslog-ng.conf.CSW $(DESTDIR)$(sysconfdir)/syslog-ng.conf.CSW 
     59        ginstall -d $(DESTDIR)/etc/opt/csw 
     60        ginstall -m 444 $(WORKDIR)/$(GARNAME).conf.CSW \ 
     61                $(DESTDIR)/etc/opt/csw/$(GARNAME).conf.CSW 
    4162        ginstall -d $(DESTDIR)/etc/opt/csw/init.d 
    42         ginstall -m 755 files/cswsyslog_ng $(DESTDIR)/etc/opt/csw/init.d/cswsyslog_ng 
     63        ginstall -m 755 $(FILEDIR)/cswsyslog_ng \ 
     64                $(DESTDIR)/etc/opt/csw/init.d/cswsyslog_ng 
    4365 
    4466include gar/category.mk 
  • csw/mgar/pkg/syslog_ng/branches/smf-via-classutils/checksums

    r3857 r5096  
     1fd0f7ccdc627d08a00a2e57fdbfd51d8  download/cswsyslog_ng 
     269bad95775b98d26e52db8a8292e2790  download/syslog-ng.conf.CSW 
    13e5ca55796c11899739affa417ff8a71e  download/syslog-ng_2.0.10.tar.gz 
    2 6726e851fa8e6e6658584faaeaa6716d  download/CSWsyslogng.gspec 
    3 3de835dbfde225227a1ed36f548e1d34  download/CSWsyslogng.postinstall 
    4 479df38d9a0e3a31422cea79b287412b  download/CSWsyslogng.depend 
    5 d906b84aa704d887fc98179d49dd5db2  download/CSWsyslogng.prototype 
    6 ae942a41cbdc6fb0f8a4438d7f5a00d5  download/syslog-ng.conf.CSW 
    7 168ce024423e8dbee8c1597d8a1ef3ef  download/cswsyslog_ng 
  • csw/mgar/pkg/syslog_ng/branches/smf-via-classutils/files/cswsyslog_ng

    r2262 r5096  
    1010 
    1111DAEMON=/opt/csw/sbin/syslog-ng 
    12 OPTIONS="-f /opt/csw/etc/syslog-ng.conf" 
     12OPTIONS="-f /etc/opt/csw/syslog-ng.conf" 
    1313 
    1414case "$1" in 
    1515        start) 
    16                 if [ -f /opt/csw/etc/syslog-ng.conf -a -f /opt/csw/sbin/syslog-ng ]; then 
     16                if [ -f /etc/opt/csw/syslog-ng.conf -a -f /opt/csw/sbin/syslog-ng ]; then 
    1717                        echo 'syslog-ng service starting.' 
    1818                        # 
  • csw/mgar/pkg/syslog_ng/branches/smf-via-classutils/files/syslog-ng.conf.CSW

    r2104 r5096  
    3030filter f_filter1   { level(err) or 
    3131                     (level(notice) and facility (auth, kern)); }; 
    32 filter f_filter2   { level(err) or 
     32filter f_filter2   { level(info) or 
    3333                     (facility(kern) and level(notice)) or 
    3434                     (facility(daemon) and level(notice)) or