Bug 162414

Summary: [PATCH] sysutils/syslog-ng: misc. fixes
Product: Ports & Packages Reporter: Jimmy Olgeni <olgeni>
Component: Individual Port(s)Assignee: Cy Schubert <cy>
Status: Closed FIXED    
Severity: Affects Only Me CC: cy
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
syslog-ng-3.3.1_2.patch none

Description Jimmy Olgeni freebsd_committer freebsd_triage 2011-11-09 21:40:10 UTC
- Fix installation and removal of default configuration: the package installs syslog-ng.conf.sample, but the port installs syslog-ng.conf.dist which is also used in the @unexec test.

- Remove empty sgml directory in DOCSDIR (which was not installed by the package and produced warnings on pkg-delete).

- Install patterndb.d directory from pkg-plist, and use @dirrmtry to remove it.

- Building without libnet produced this log while configuring:

===>  Configuring for syslog-ng-3.3.1_1
--cflags: not found
--cflags: not found
--libs: not found
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel

...so I moved the libnet stuff under the WITH_SPOOF section.

- Pet portlint where applicable (mainly whitespace issues).
- Fix "date created" in comment :)

PR probably applies to syslog-ng-devel too.

portlint complains about:

FATAL: Package conflicts with itself. You should remove "syslog-ng-[0-9]*" from CONFLICTS.

but I didn't dare to touch it since there are a few syslog-ng ports around.

Port maintainer (cy@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-11-09 21:40:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cy

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-06-19 06:12:39 UTC
cy          2012-06-19 05:12:27 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/syslog-ng   Makefile pkg-plist 
  Log:
  Miscellaneous fixes:
  
  - Fix installation and removal of default configuration: the package
    installs syslog-ng.conf.sample, but the port installs syslog-ng.conf.dist
    which is also used in the @unexec test.
  
  - Remove empty sgml directory in DOCSDIR (which was not installed by the
    package and produced warnings on pkg-delete).
  
  - Install patterndb.d directory from pkg-plist, and use @dirrmtry to remove it.
  
  - Building without libnet.
  
  PR:             ports/162414
  Submitted by:   olgeni
  
  Revision  Changes    Path
  1.52      +18 -16    ports/sysutils/syslog-ng/Makefile
  1.13      +3 -3      ports/sysutils/syslog-ng/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Cy Schubert 2012-06-19 06:15:37 UTC
Hi Jimmy,

Committed to syslog-ng. I'll do the same to syslog-ng-devel. Thanks.


-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-06-20 05:50:28 UTC
cy          2012-06-20 04:50:12 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/syslog-ng-devel Makefile pkg-plist 
  Log:
  MF sysutils/syslog-ng:
  
  Miscellaneous fixes:
  
  - Fix installation and removal of default configuration: the package
    installs syslog-ng.conf.sample, but the port installs syslog-ng.conf.dist
    which is also used in the @unexec test.
  
  - Remove empty sgml directory in DOCSDIR (which was not installed by the
    package and produced warnings on pkg-delete).
  
  - Install patterndb.d directory from pkg-plist, and use @dirrmtry to remove it.
  
  - Building without libnet.
  
  PR:             ports/162414
  Submitted by:   olgeni
  
  Revision  Changes    Path
  1.57      +16 -15    ports/sysutils/syslog-ng-devel/Makefile
  1.20      +3 -3      ports/sysutils/syslog-ng-devel/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Cy Schubert freebsd_committer freebsd_triage 2012-06-20 05:50:39 UTC
State Changed
From-To: open->closed

Committed to sysutils/syslog-ng and sysutils/syslog-ng-devel.