* Michael Biebl <[EMAIL PROTECTED]> [20080731 00:02]:
>>
>> GSSAPI is entirely optional (but it's very nice for people who already
>> have a kerberos infrastucture), so it seems reasonable to add the option
>> for rsyslog.  Perhaps it might be added as an 'rsyslog-gssapi' sub
>> package.
>
> A separate package would probably be necessary, to not drag in any  
> dependency on libkrb53.

Attached is a first stab at a patch.   The patch does the following:

    - defines the rsyslog-gssapi package in debian/control
    - modifies the debian/rsyslog.install file, removing wildcards to
      avoid inadvertently pulling in the *gss* plugins
    - adds a debian/rsyslog-gssapi.install file, specifying the gssapi
      related plugins for the rsyslog-gssapi package

I've never submitted a *packaging* related patch before, so I may have
missed something important or obvious.  Hopefully this will help though.
Let me know if there's anything I can do to help!

Ben

-- 
________________________________________________________________________
PGP fingerprint:      A131 F813 7A0F C5B7 E74D  C972 9118 A94D 6AF5 2019
--- orig/rsyslog-3.18.1/debian/control  2008-07-31 11:57:28.000000000 -0700
+++ rsyslog-3.18.1/debian/control       2008-07-31 11:44:44.000000000 -0700
@@ -2,7 +2,7 @@
 Section: admin
 Priority: important
 Maintainer: Michael Biebl <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5), quilt, autotools-dev, zlib1g-dev, 
libmysqlclient15-dev, libpq-dev
+Build-Depends: debhelper (>= 5), quilt, autotools-dev, zlib1g-dev, 
libmysqlclient15-dev, libpq-dev, libkrb5-dev
 Standards-Version: 3.8.0
 Vcs-Git: git://git.debian.org/git/users/biebl/rsyslog.git
 Vcs-Browser: http://git.debian.org/?p=users/biebl/rsyslog.git;a=summary
@@ -63,3 +63,12 @@
 Description: PostgreSQL output plugin for rsyslog
  This plugin allows rsyslog to write the syslog messages into a PostgreSQL 
  database.
+
+Package: rsyslog-gssapi
+Architecture: any
+Priority: extra
+Depends: ${shlibs:Depends}, ${misc:Depends}, rsyslog (= ${binary:Version}), ucf
+Recommends: krb5-user
+Description: GSSAPI input and output plugins for rsyslog
+ These plugins allow rsyslog to write and/or receive GSSAPI authenticated and
+ encrypted syslog messages.
--- orig/rsyslog-3.18.1/debian/rsyslog.install  2008-07-31 11:57:28.000000000 
-0700
+++ rsyslog-3.18.1/debian/rsyslog.install       2008-07-31 11:49:43.000000000 
-0700
@@ -1,6 +1,14 @@
 debian/rsyslog.conf /etc/
 debian/tmp/usr/sbin/
 debian/tmp/usr/share/man/
-debian/tmp/usr/lib/rsyslog/im*.so
-debian/tmp/usr/lib/rsyslog/lm*.so
+debian/tmp/usr/lib/rsyslog/imfile.so
+debian/tmp/usr/lib/rsyslog/imklog.so
+debian/tmp/usr/lib/rsyslog/immark.so
+debian/tmp/usr/lib/rsyslog/imtcp.so
+debian/tmp/usr/lib/rsyslog/imudp.so
+debian/tmp/usr/lib/rsyslog/imuxsock.so
+debian/tmp/usr/lib/rsyslog/lmnet.so
+debian/tmp/usr/lib/rsyslog/lmregexp.so
+debian/tmp/usr/lib/rsyslog/lmtcpclt.so
+debian/tmp/usr/lib/rsyslog/lmtcpsrv.so
 debian/tmp/usr/lib/rsyslog/ommail.so
--- orig/rsyslog-3.18.1/debian/rsyslog-gssapi.install   1969-12-31 
16:00:00.000000000 -0800
+++ rsyslog-3.18.1/debian/rsyslog-gssapi.install        2008-07-31 
11:46:51.000000000 -0700
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/rsyslog/imgssapi.so
+debian/tmp/usr/lib/rsyslog/lmgssutil.so
+debian/tmp/usr/lib/rsyslog/omgssapi.so

Attachment: pgpr8NhFhAHzl.pgp
Description: PGP signature

Reply via email to