diff options
Diffstat (limited to 'spamassassin-courier')
-rw-r--r-- | spamassassin-courier/AuthCourier.pm | 5 | ||||
-rw-r--r-- | spamassassin-courier/PKGBUILD | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/spamassassin-courier/AuthCourier.pm b/spamassassin-courier/AuthCourier.pm index cadd660e5..a9e136eae 100644 --- a/spamassassin-courier/AuthCourier.pm +++ b/spamassassin-courier/AuthCourier.pm @@ -76,13 +76,16 @@ sub getpwnam { # it's moral equivalent until Sam patches these as per my request... my $uid = $results{'UID'} || CORE::getpwnam($name); + # the same seems to be true for the GID + my $gid = $results{'GID'} || CORE::getgrnam($name); + # stop some naf 'uninitialized' errors ... return wantarray ? ('','','','','','','') : undef unless $uid; # uid 0 = root !!! return wantarray ? ( $results{'USERNAME'}, $results{'PASSWD'}, int($uid), - int($results{'GID'}), + int($gid), $results{'QUOTA'}, $results{'COMMENT'}, $results{'GCOS'}, diff --git a/spamassassin-courier/PKGBUILD b/spamassassin-courier/PKGBUILD index cc4461582..a488eef83 100644 --- a/spamassassin-courier/PKGBUILD +++ b/spamassassin-courier/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: Manolis Tzanidakis pkgname=spamassassin-courier pkgver=3.4.2 -pkgrel='4' +pkgrel=5 pkgdesc="A mail filter to identify spam - patched for courier-mta." arch=('i686' 'x86_64') license=('APACHE' 'GPL2') @@ -35,7 +35,7 @@ sha512sums=('85e3d78bb885ad1d0bf2066d1bc919d6ad5e9f86795069397e7c28cc1ba02870566 '7e44370e9433134816db51681de388618f8b00f27e9229b673ca7da5821b6bfc27dfc9f6f7387ef18d1d310ea03a4569f46cae3089bba91dd71692b9eee8c8e4' 'bd5a00a7b6aefa97c31b60de38afe6d2d8de11b6535e41c01a47d3e6269e043f048a281af80144de1528abe20a6becc4b3e673cabe4edd8f5921d5942d653227' 'a99c5ba2aca337798c1d0f4f895a7ef4b83658e11b274df2c2b402679c12bf7a8a9ee3d04cd71f77b2f97f2bda0e89410f4555e9cdcc1c2e9507d0efb28364b6' - '7e130f113792931efce6f7ec33f46e1448e1170d5919ad4e5396318d8e395d6d913f34e7b5165751062419bae117f11e7363884e7196a31846a02ebcdd5e428c' + 'd0918776bb595b6386672e62e752a8b24f88c57f351cedf73e6dc4dcdee29b449fa773b6ec08c68ed9d56c7a5784273ac0d56c1b6ab30fc8bd2080f3371c2149' 'c0333a744dc2e6e34e341dea4242c2a9337c015fe0e918ede1c24051f7f6992f260bb1329b86ae7d884d9287497c25eab13602a024be45e901d14d1faad74b3d') provides=("spamassassin=${pkgver}") conflicts=('spamassassin') |