Re: FESCo wants to know what you use i686 packages for

2022-04-06 Thread Nathanael Noblet
Hello,

   I didn't think I needed i386 personally. In fact due to this thread I 
removed many i386 packages left on my machine. Just today I plugged in an 
'IronKey' device. Its an encrypted USB drive. When plugged in a read only like 
mount is mounted, like a CD. On it is a binary to unlock the device. It no 
longer works, I get an "unable to execute ./ironkey: No such file or directory" 
likely because I'm now missing the i386 libraries or other requirements.

Sincerely,
-- 
Nathanael
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: c++ std=c++14 in EPEL7

2019-12-14 Thread Nathanael Noblet


> On Dec 14, 2019, at 10:46 AM, Stephan Bergmann  wrote:
> 
> On 14/12/2019 18:00, Nathanael Noblet wrote:
>>   Not strictly a fedora devel question but I’m hoping all the experience and 
>> knowledge will be able to help. I need a newer poppler in epel 7. I’ve 
>> managed to bring it up to 0.68. However moving past that results in a 
>> compilation error. It seems the compiler (?) needs to support the c++14 
>> standard. I’m using devtoolset-8 to get gcc 8.3.1 and from what I can find 
>> via google, this really should support c++14 (in this case 
>> std::string_literals). However when it compiles it sets the std to c++1y 
>> which was an alias for the draft of c++14 from what I can gather. If I go 
>> into a mock shell however and manually run it with --std=c++14 it still 
>> fails. When I grep through the includes for each it seems both have 
>> definitions for them but it still fails. Can anyone supplement what I have 
>> wrong here? Should c++ 8.3.1 be able to handle std::string_literals? It 
>> somewhat confuses me that people are talking about the compiler and not some 
>> library supporting it. Any pointers/help would be appreciated. Here’s a 
>> snippet of the build log.
> 
> Are you sure that the below /usr/bin/c++ really points to the devtoolset-8 
> GCC?  GCC 8 (or rather, its accompanying libstdc++) should be new enough to 
> support string_literals (see "User-defined literals for  and 
> " at 
> <https://en.cppreference.com/w/cpp/compiler_support#C.2B.2B14_library_features>).

You are correct that I had the BuildRequires for devtoolset-8 but in double 
checking realized that I hadn’t enabled it prior to building!!! I was confused 
because when I went into the shell and enabled it and manually changed the 
command below it still failed so was confused by that. Now that I’ve added the 
proper call in the build section it is building. It still fails but not because 
of that anymore so I can move on to my next steps. Thanks for your help!

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


c++ std=c++14 in EPEL7

2019-12-14 Thread Nathanael Noblet
Hello,

  Not strictly a fedora devel question but I’m hoping all the experience and 
knowledge will be able to help. I need a newer poppler in epel 7. I’ve managed 
to bring it up to 0.68. However moving past that results in a compilation 
error. It seems the compiler (?) needs to support the c++14 standard. I’m using 
devtoolset-8 to get gcc 8.3.1 and from what I can find via google, this really 
should support c++14 (in this case std::string_literals). However when it 
compiles it sets the std to c++1y which was an alias for the draft of c++14 
from what I can gather. If I go into a mock shell however and manually run it 
with --std=c++14 it still fails. When I grep through the includes for each it 
seems both have definitions for them but it still fails. Can anyone supplement 
what I have wrong here? Should c++ 8.3.1 be able to handle 
std::string_literals? It somewhat confuses me that people are talking about the 
compiler and not some library supporting it. Any pointers/help would be 
appreciated. Here’s a snippet of the build log.


/usr/bin/c++  -Dpoppler_EXPORTS -I/builddir/build/BUILD/poppler-0.73.0 
-I/builddir/build/BUILD/poppler-0.73.0/fofi 
-I/builddir/build/BUILD/poppler-0.73.0/goo 
-I/builddir/build/BUILD/poppler-0.73.0/poppler 
-I/builddir/build/BUILD/poppler-0.73.0/build 
-I/builddir/build/BUILD/poppler-0.73.0/build/poppler -I/usr/include/freetype2 
-I/usr/include/openjpeg-2.3  -Wall -Wextra -Wpedantic -Wno-unused-parameter 
-Wcast-align -Wformat-security -Wframe-larger-than=65536 -Wlogical-op 
-Wmissing-format-attribute -Wnon-virtual-dtor -Woverloaded-virtual 
-Wmissing-declarations -Wundef -Wzero-as-null-pointer-constant -fno-exceptions 
-fno-check-new -fno-common -D_DEFAULT_SOURCE -O2 -g -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic 
-DQT_NO_DEBUG -fPIC   -I/usr/include/nss3 -I/usr/include/nspr4 -pthread 
-std=c++1y -o CMakeFiles/poppler.dir/fofi/FoFiType1.cc.o -c 
/builddir/build/BUILD/poppler-0.73.0/fofi/FoFiType1.cc
/builddir/build/BUILD/poppler-0.73.0/goo/gfile.cc:70:22: error: 
'string_literals' is not a namespace-name
 using namespace std::string_literals;
  ^
/builddir/build/BUILD/poppler-0.73.0/goo/gfile.cc:70:37: error: expected 
namespace-name before ';' token
 using namespace std::string_literals;
 ^
/builddir/build/BUILD/poppler-0.73.0/goo/gfile.cc: In function 'FILE* 
openFile(const char*, const char*)':
/builddir/build/BUILD/poppler-0.73.0/goo/gfile.cc:369:38: error: unable to find 
string literal operator 'operator"" s'
   const std::string modeStr = mode + "e”s;

Thanks in advance for anyone able to shed some light on this for me.

Sincerely,
— 
Nathanael


___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Compiling with AddressSanitizer

2019-07-17 Thread Nathanael Noblet
Hello,

   I have been using a library for awhile now and have been thinking of 
submitting it to Fedora. Part of what I have been doing with it was compiling 
it using -fsanitize=address and leak etc. I’m kinda wondering about how that is 
handled with Fedora packages. Are we able to / should we provide library 
package versions that are compiled against these kinds of sanitizers? Or if 
someone wants to do that they should recompile the RPM with those flags and use 
it locally?

Sincerely,
— 
Nathanael
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: nginx modules

2018-12-30 Thread Nathanael Noblet
So you replaced the entire NGINX system rpm with yours + the module? There’s no 
other way to get this stuff in Fedora/EPEL?

— 
Nathanael

> On Dec 27, 2018, at 3:41 PM, Nico Kadel-Garcia  wrote:
> 
> You’re right, nginx modules require the nginx source code. The last time I 
> did one, I wound up building my own nginx SRPM, built much like different 
> versions of mysql or Mariadb have been published to live in the same system 
> locations, different rpm names, with Provedes and Requires and Conflicts set 
> to match.
> 
> Sent from my iPhone
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


nginx modules

2018-12-27 Thread Nathanael Noblet
Hello,

  I recently wanted to add a modsecurity nginx module but in researching how to 
build modules for nginx it seems you need the sources (not devel/headers) of 
nginx and then build from the nginx source directory. Is that correct? It does 
seem that there aren’t any of the 3rd party nginx modules available as rpms for 
Fedora/EPEL so I’m wondering if there are guidelines for building modules for 
nginx?

Sincerely
— 
Nathanael
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: [HEADS UP] Removal of systemd-units

2018-01-30 Thread Nathanael Noblet

> beanstalkd   gnat jjh

Updated in epel7 - rawhide was fine already

Oddly, dspam which is the package I updated earlier today wasn't on this list 
and has the Requires/BuildRequires of systemd-units. Not sure why it isn't on 
your list. However it could mean that if you remove systemd-units some packages 
will break at that point instead.

I've also updated dspam in epel7 now
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: [HEADS UP] Removal of systemd-units

2018-01-30 Thread Nathanael Noblet
Apologies, I no longer have the email with the list of packages and 
maintainers. However I’ve updated dspam in rawhide.

— 
Nathanael
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Is it possible to upload new sources of a package from a URL?

2017-09-25 Thread Nathanael Noblet

> On Sep 25, 2017, at 5:38 PM, Tim Landscheidt  wrote:
> 
> Hedayat Vatankhah  wrote:
> 
>> […]
>> Yes, but even if I'm forced to download locally, it is much
>> better than being forced to upload it again. (Also, note
>> that the current process doesn't prevent MITM if it happens
>> when I download the source).
>> Also, it is easier to schedule the download for a time when
>> it is cheaper (or free), but it'd be harder to do it for an
>> upload since it requires authentication.
> 
>> […]
> 
> If data volume is expensive or difficult for you, you could
> look into renting a (virtual) private server and then devel-
> oping there via ssh.  Offers usually start at less than
> $ 5,-/month.  (I'm not aware of free solutions; it's proba-
> bly easier to solicit donations for one's own server than to
> get access on someone else's.)
> 

Servers at digital ocean are billable by minute I think. They’re online in 55 
seconds. I’m sure there are multiple providers like that.

— 
Nathanael
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Fedora 24 Mass Rebuild

2016-02-06 Thread Nathanael Noblet

> On Feb 5, 2016, at 11:08 PM, Dennis Gilmore  wrote:
> 
> The Mass Rebuild has been completed, 16129 builds have been tagged into f24, 
> there s currently 1155 failed builds that need to be addressed by the package 
> maintainers. FTBFS bugs will be filed shortly.

Awesome! Two questions.

#1) If one of my packages failed the rpmlint check but I accidentally deleted 
the email, is it there a way to find which one?

#2) Not sure how the rpmlint notification system is setup, but I found it odd 
that I received notification of packages that passed. Really why send those? Or 
is it something I can configure what type of notification I would want?

— 
Nathanael



smime.p7s
Description: S/MIME cryptographic signature
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org


Re: wayland in rawhide

2015-11-12 Thread Nathanael Noblet

> On Nov 12, 2015, at 8:10 AM, Tom Hughes  wrote:
> 
> On 12/11/15 00:58, David Airlie wrote:
> 
>> Close all remaining feature parity gaps between the Wayland and the X11 
>> session:
>> 
>> input methods
>> on-screen keyboard
>> hi-dpi support
>> clipboard proxy for xwayland
>> attached modal dialogs
>> tablet support
>> startup notification
>> touch proxy for xwayland
>> accessibility features
>> output rotation
>> 
>> These are just the missing features (never mind dialog boxes in wierd places 
>> bugs)
>> and it doesn't even contain the USB output hotplugging, or secondary GPU 
>> output use cases.
> 
> You forgot primary selection/middle click paste, which was what made me go 
> back to X when I tried it in F23.
> 

So I upgraded to F23 just around Alpha or Beta can’t remember and I’ve 
experienced some odd mouse / copy paste behaviour. I haven’t yet filed a bug 
but now I’m wondering… How do I know if I’m using Wayland? I’ve never 
specifically configured it so anything I’m experiencing in a normal GNOME 3 
session is either ‘normal’ but I don’t like it, configurable change that has a 
different default or some weird bug… I’d like to know if I’m somehow not using 
X anymore, and that’s the problem.

— 
Nathanael

smime.p7s
Description: S/MIME cryptographic signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[dspam/epel7] fix for bug #1193177

2015-02-19 Thread Nathanael Noblet
commit 5c59161ddb065986a94a97e6d2275e6cc86718a5
Author: Nathanael d. Noblet nathan...@noblet.ca
Date:   Thu Feb 19 22:58:04 2015 -0700

fix for bug #1193177

 dspam-sqlite3_drv.patch | 51 +
 dspam.spec  |  7 ++-
 2 files changed, 57 insertions(+), 1 deletion(-)
---
diff --git a/dspam-sqlite3_drv.patch b/dspam-sqlite3_drv.patch
new file mode 100644
index 000..95b6264
--- /dev/null
+++ b/dspam-sqlite3_drv.patch
@@ -0,0 +1,51 @@
+diff -up ./src/sqlite3_drv.c.sdg ./src/sqlite3_drv.c
+--- ./src/sqlite3_drv.c.sdg2015-02-16 12:18:49.0 -0500
 ./src/sqlite3_drv.c2015-02-16 13:28:52.0 -0500
+@@ -435,6 +435,13 @@ _ds_setall_spamrecords (DSPAM_CTX * CTX,
+ return EUNKNOWN;
+   }
+ 
++  if ((sqlite3_exec(s-dbh, BEGIN, NULL, NULL, NULL)) != SQLITE_OK)
++  {
++buffer_destroy (query);
++LOGDEBUG (_ds_setall_spamrecords: BEGIN transaction failed);
++return EINVAL;
++  }
++
+   ds_diction_getstat(diction, s-control_token, control);
+ 
+   snprintf (queryhead, sizeof (queryhead),
+@@ -521,6 +528,7 @@ _ds_setall_spamrecords (DSPAM_CTX * CTX,
+   LOGDEBUG (_ds_setall_spamrecords: unable to run query: %s, 
query-data);
+   ds_diction_close(ds_c);
+   buffer_destroy(query);
++sqlite3_exec(s-dbh, ROLLBACK, NULL, NULL, NULL);
+   return EFAILURE;
+ }
+   }
+@@ -552,11 +560,17 @@ _ds_setall_spamrecords (DSPAM_CTX * CTX,
+   _sqlite_drv_query_error (err, query-data);
+   LOGDEBUG (_ds_setall_spamrecords: unable to run query: %s, 
query-data);
+   buffer_destroy(query);
++  sqlite3_exec(s-dbh, ROLLBACK, NULL, NULL, NULL);
+   return EFAILURE;
+ }
+   }
+ 
+   buffer_destroy (query);
++  if ((sqlite3_exec(s-dbh, COMMIT, NULL, NULL, NULL)) != SQLITE_OK)
++  {
++LOGDEBUG (_ds_setall_spamrecords: COMMIT transaction failed);
++return EINVAL;
++  }
+   return 0;
+ }
+ 
+@@ -1336,7 +1350,7 @@ _sqlite_drv_query_error (const char *err
+ fclose (file);
+   }
+ 
+-  free((char *)error);
++  sqlite3_free((char *)error);
+   return;
+ }
diff --git a/dspam.spec b/dspam.spec
index e6e90ee..044909f 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -12,7 +12,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:9%{?dist}
+Release:10%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -28,6 +28,7 @@ Patch2: dspam-3.9.0-dspamsock.patch
 Patch3: dspam-default-server-port.patch
 Patch4: dspam-3.10.2.exim.patch
 Patch5: dspam-recipient-corruption.patch
+Patch7: dspam-sqlite3_drv.patch
 
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
@@ -142,6 +143,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %patch3 -p0
 %patch4 -p0
 %patch5 -p1
+%patch7 -p1
 
 %build
 
@@ -371,6 +373,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Feb 19 2015 Nathanael Noblet nathan...@gnat.ca - 3.10.2-10
+- Fix for bug #1193177
+
 * Thu May 23 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-9
 - Patch for recipient corruption bug
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/el6] fix #1193177

2015-02-19 Thread Nathanael Noblet
commit 2b5cd1d6eafb5324e8f600ba78bf31f4af557958
Author: Nathanael d. Noblet nathan...@noblet.ca
Date:   Thu Feb 19 23:02:59 2015 -0700

fix #1193177

 dspam-sqlite3_drv.patch | 51 +
 dspam.spec  |  8 +++-
 2 files changed, 58 insertions(+), 1 deletion(-)
---
diff --git a/dspam-sqlite3_drv.patch b/dspam-sqlite3_drv.patch
new file mode 100644
index 000..95b6264
--- /dev/null
+++ b/dspam-sqlite3_drv.patch
@@ -0,0 +1,51 @@
+diff -up ./src/sqlite3_drv.c.sdg ./src/sqlite3_drv.c
+--- ./src/sqlite3_drv.c.sdg2015-02-16 12:18:49.0 -0500
 ./src/sqlite3_drv.c2015-02-16 13:28:52.0 -0500
+@@ -435,6 +435,13 @@ _ds_setall_spamrecords (DSPAM_CTX * CTX,
+ return EUNKNOWN;
+   }
+ 
++  if ((sqlite3_exec(s-dbh, BEGIN, NULL, NULL, NULL)) != SQLITE_OK)
++  {
++buffer_destroy (query);
++LOGDEBUG (_ds_setall_spamrecords: BEGIN transaction failed);
++return EINVAL;
++  }
++
+   ds_diction_getstat(diction, s-control_token, control);
+ 
+   snprintf (queryhead, sizeof (queryhead),
+@@ -521,6 +528,7 @@ _ds_setall_spamrecords (DSPAM_CTX * CTX,
+   LOGDEBUG (_ds_setall_spamrecords: unable to run query: %s, 
query-data);
+   ds_diction_close(ds_c);
+   buffer_destroy(query);
++sqlite3_exec(s-dbh, ROLLBACK, NULL, NULL, NULL);
+   return EFAILURE;
+ }
+   }
+@@ -552,11 +560,17 @@ _ds_setall_spamrecords (DSPAM_CTX * CTX,
+   _sqlite_drv_query_error (err, query-data);
+   LOGDEBUG (_ds_setall_spamrecords: unable to run query: %s, 
query-data);
+   buffer_destroy(query);
++  sqlite3_exec(s-dbh, ROLLBACK, NULL, NULL, NULL);
+   return EFAILURE;
+ }
+   }
+ 
+   buffer_destroy (query);
++  if ((sqlite3_exec(s-dbh, COMMIT, NULL, NULL, NULL)) != SQLITE_OK)
++  {
++LOGDEBUG (_ds_setall_spamrecords: COMMIT transaction failed);
++return EINVAL;
++  }
+   return 0;
+ }
+ 
+@@ -1336,7 +1350,7 @@ _sqlite_drv_query_error (const char *err
+ fclose (file);
+   }
+ 
+-  free((char *)error);
++  sqlite3_free((char *)error);
+   return;
+ }
diff --git a/dspam.spec b/dspam.spec
index c442814..66f37ab 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -12,7 +12,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:5%{?dist}
+Release:6%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -27,6 +27,8 @@ Source99:   dspam-filter-requires.sh
 Patch1: dspam-3.9.0-docs.patch
 Patch2: dspam-3.9.0-dspamsock.patch
 Patch3: dspam-recipient-corruption.patch
+Patch7: dspam-sqlite3_drv.patch
+
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
 Buildroot:  %(mktemp -ud 
%{_tmppath}/%{name}-%{version}-%{release}-XX)
@@ -140,6 +142,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %patch1 -p0
 %patch2 -p0
 %patch3 -p1
+%patch7 -p1
 
 %build
 
@@ -379,6 +382,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Feb 19 2015 Nathanael Noblet nathan...@gnat.ca - 3.10.2-6
+- Fix for bug #1193177
+
 * Fri Jan 30 2015 Nathanael Noblet nathan...@gnat.ca - 3.10.2-5
 - Updated dspamc permissions - fixes bug #1185489
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f21] (2 commits) ...fix for bug #1193177

2015-02-19 Thread Nathanael Noblet
Summary of changes:

  c812025... suid on dspamc (*)
  4c051d2... fix for bug #1193177 (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f20] (2 commits) ...fix for bug #1193177

2015-02-19 Thread Nathanael Noblet
Summary of changes:

  c812025... suid on dspamc (*)
  4c051d2... fix for bug #1193177 (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam] fix for bug #1193177

2015-02-19 Thread Nathanael Noblet
commit 4c051d2c99954df459397a9f83762f7bad7fbcf0
Author: Nathanael d. Noblet nathan...@noblet.ca
Date:   Thu Feb 19 22:52:10 2015 -0700

fix for bug #1193177

 dspam-sqlite3_drv.patch | 51 +
 dspam.spec  |  7 ++-
 2 files changed, 57 insertions(+), 1 deletion(-)
---
diff --git a/dspam-sqlite3_drv.patch b/dspam-sqlite3_drv.patch
new file mode 100644
index 000..95b6264
--- /dev/null
+++ b/dspam-sqlite3_drv.patch
@@ -0,0 +1,51 @@
+diff -up ./src/sqlite3_drv.c.sdg ./src/sqlite3_drv.c
+--- ./src/sqlite3_drv.c.sdg2015-02-16 12:18:49.0 -0500
 ./src/sqlite3_drv.c2015-02-16 13:28:52.0 -0500
+@@ -435,6 +435,13 @@ _ds_setall_spamrecords (DSPAM_CTX * CTX,
+ return EUNKNOWN;
+   }
+ 
++  if ((sqlite3_exec(s-dbh, BEGIN, NULL, NULL, NULL)) != SQLITE_OK)
++  {
++buffer_destroy (query);
++LOGDEBUG (_ds_setall_spamrecords: BEGIN transaction failed);
++return EINVAL;
++  }
++
+   ds_diction_getstat(diction, s-control_token, control);
+ 
+   snprintf (queryhead, sizeof (queryhead),
+@@ -521,6 +528,7 @@ _ds_setall_spamrecords (DSPAM_CTX * CTX,
+   LOGDEBUG (_ds_setall_spamrecords: unable to run query: %s, 
query-data);
+   ds_diction_close(ds_c);
+   buffer_destroy(query);
++sqlite3_exec(s-dbh, ROLLBACK, NULL, NULL, NULL);
+   return EFAILURE;
+ }
+   }
+@@ -552,11 +560,17 @@ _ds_setall_spamrecords (DSPAM_CTX * CTX,
+   _sqlite_drv_query_error (err, query-data);
+   LOGDEBUG (_ds_setall_spamrecords: unable to run query: %s, 
query-data);
+   buffer_destroy(query);
++  sqlite3_exec(s-dbh, ROLLBACK, NULL, NULL, NULL);
+   return EFAILURE;
+ }
+   }
+ 
+   buffer_destroy (query);
++  if ((sqlite3_exec(s-dbh, COMMIT, NULL, NULL, NULL)) != SQLITE_OK)
++  {
++LOGDEBUG (_ds_setall_spamrecords: COMMIT transaction failed);
++return EINVAL;
++  }
+   return 0;
+ }
+ 
+@@ -1336,7 +1350,7 @@ _sqlite_drv_query_error (const char *err
+ fclose (file);
+   }
+ 
+-  free((char *)error);
++  sqlite3_free((char *)error);
+   return;
+ }
diff --git a/dspam.spec b/dspam.spec
index 71a1a3e..2da7bb9 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -12,7 +12,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:15%{?dist}
+Release:16%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -28,6 +28,7 @@ Patch2: dspam-3.9.0-dspamsock.patch
 Patch3: dspam-default-server-port.patch
 Patch4: dspam-3.10.2.exim.patch
 Patch5: dspam-recipient-corruption.patch
+Patch6: dspam-sqlite3_drv.patch
 
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
@@ -142,6 +143,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %patch3 -p0
 %patch4 -p0
 %patch5 -p1
+%patch6 -p0
 
 %build
 
@@ -371,6 +373,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Feb 19 2015 Nathanael Noblet nathan...@gnat.ca - 3.10.2-16
+- Fix for bug #1193177 - Sqlite3 free
+
 * Thu Jan 22 2015 Nathanael Noblet nathan...@gnat.ca - 3.10.2-15
 - Set dspamc suid bits
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f22] fix for bug #1193177

2015-02-19 Thread Nathanael Noblet
Summary of changes:

  4c051d2... fix for bug #1193177 (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/el6] fix bug #1185489

2015-01-30 Thread Nathanael Noblet
commit 9b9d084e9ffeef5120ff5917d47f64563d537ba6
Author: Nathanael d. Noblet nathan...@noblet.ca
Date:   Fri Jan 30 12:20:29 2015 -0700

fix bug #1185489

 dspam.spec |7 +--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/dspam.spec b/dspam.spec
index 538a891..c442814 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -12,7 +12,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:4%{?dist}
+Release:5%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -329,7 +329,7 @@ exit 0
 
 %files client
 %defattr(-, root,root,-)
-%{_bindir}/dspamc
+%attr(%{dspam_mode},%{dspam_user},%{mail_group}) %{_bindir}/dspamc
 
 %files libs
 %defattr(-,root,root,-)
@@ -379,6 +379,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Fri Jan 30 2015 Nathanael Noblet nathan...@gnat.ca - 3.10.2-5
+- Updated dspamc permissions - fixes bug #1185489
+
 * Thu May 23 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-4
 - Fix recipient corruption bug
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam] suid on dspamc

2015-01-22 Thread Nathanael Noblet
commit c812025373760c26e5f7de87963bba6c8fda5046
Author: Nathanael d. Noblet nathan...@noblet.ca
Date:   Thu Jan 22 10:48:32 2015 -0700

suid on dspamc

 dspam.spec |7 +--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/dspam.spec b/dspam.spec
index 559b13b..71a1a3e 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -12,7 +12,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:14%{?dist}
+Release:15%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -320,7 +320,7 @@ exit 0
 
 %files client
 %defattr(-, root,root,-)
-%{_bindir}/dspamc
+%attr(%{dspam_mode},%{dspam_user},%{mail_group}) %{_bindir}/dspamc
 
 %files libs
 %defattr(-,root,root,-)
@@ -371,6 +371,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Jan 22 2015 Nathanael Noblet nathan...@gnat.ca - 3.10.2-15
+- Set dspamc suid bits
+
 * Mon Jan 19 2015 Nathanael Noblet nathan...@gnat.ca - 3.10.2-14
 - Update cron script to not require mysql_config which is not provided by 
mariadb
 - Fixes bug #1183256
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam] fix bug 1183256

2015-01-19 Thread Nathanael Noblet
commit 284fefda30a778a9220cd0bd5155fc784ee1b0a9
Author: Nathanael d. Noblet nathan...@noblet.ca
Date:   Mon Jan 19 11:23:30 2015 -0700

fix bug 1183256

 dspam-cron |6 +++---
 dspam.spec |6 +-
 2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/dspam-cron b/dspam-cron
index ad92777..54abb56 100644
--- a/dspam-cron
+++ b/dspam-cron
@@ -128,15 +128,15 @@ clean_mysql_drv() {
read_dspam_params MySQLServer${PROFILE} MySQLPort${PROFILE} 
MySQLUser${PROFILE} MySQLPass${PROFILE} MySQLDb${PROFILE} 
MySQLCompress${PROFILE}  \
[ -n ${MySQLServer} -a -n ${MySQLUser} -a -n ${MySQLDb} ]
then
-   if [ ! -e ${MYSQL_BIN_DIR}/mysql_config ]
+   if [ ! -e ${MYSQL_BIN_DIR}/mysql ]
then
echo Can not run MySQL purge script:
-   echo   ${MYSQL_BIN_DIR}/mysql_config does not exist
+   echo   ${MYSQL_BIN_DIR}/mysql does not exist
return 1
fi
DSPAM_MySQL_PURGE_SQL=
DSPAM_MySQL_PURGE_SQL_FILES=
-   DSPAM_MySQL_VER=$(${MYSQL_BIN_DIR}/mysql_config --version | sed 
s:[^0-9.]*::g)
+   DSPAM_MySQL_VER=$(${MYSQL_BIN_DIR}/mysql --version | sed -n 
s:^.*[\t ]Distrib[^0-9]*\([0-9.]*\).*:\1:p)
DSPAM_MySQL_MAJOR=$(echo ${DSPAM_MySQL_VER} | cut -d. -f1)
DSPAM_MySQL_MINOR=$(echo ${DSPAM_MySQL_VER} | cut -d. -f2)
DSPAM_MySQL_MICRO=$(echo ${DSPAM_MySQL_VER} | cut -d. -f3)
diff --git a/dspam.spec b/dspam.spec
index f4cf354..559b13b 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -12,7 +12,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:13%{?dist}
+Release:14%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -371,6 +371,10 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Mon Jan 19 2015 Nathanael Noblet nathan...@gnat.ca - 3.10.2-14
+- Update cron script to not require mysql_config which is not provided by 
mariadb
+- Fixes bug #1183256
+
 * Sat Aug 16 2014 Fedora Release Engineering rel-...@lists.fedoraproject.org 
- 3.10.2-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f21] fix bug 1183256

2015-01-19 Thread Nathanael Noblet
Summary of changes:

  284fefd... fix bug 1183256 (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f20] (3 commits) ...fix bug 1183256

2015-01-19 Thread Nathanael Noblet
Summary of changes:

  12b2d8e... - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass (*)
  c550a90... - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_M (*)
  284fefd... fix bug 1183256 (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator] fix bug #1109575

2014-11-19 Thread Nathanael Noblet
commit 8cf0c97424524878341208f814216c83ec78c258
Author: Nathanael d. Noblet nathan...@noblet.ca
Date:   Wed Nov 19 22:01:49 2014 -0700

fix bug #1109575

 w3c-markup-validator-apache24.patch |   24 
 w3c-markup-validator.spec   |9 +++--
 2 files changed, 31 insertions(+), 2 deletions(-)
---
diff --git a/w3c-markup-validator-apache24.patch 
b/w3c-markup-validator-apache24.patch
new file mode 100644
index 000..eb2df02
--- /dev/null
+++ b/w3c-markup-validator-apache24.patch
@@ -0,0 +1,24 @@
+--- validator-1.3.org/httpd/conf/httpd.conf2012-03-12 09:03:14.0 
-0600
 validator-1.3/httpd/conf/httpd.conf2014-11-19 21:56:53.442003796 
-0700
+@@ -56,6 +56,8 @@
+   #SetEnvftp_proxy   http://proxy:3128
+   #SetEnvno_proxylocaldomain
+   #SetEnvFTP_PASSIVE 1
++
++  Require all granted
+ /LocationMatch
+
+ # This is the directory where you have the validator's *.html, *.css etc 
files.
+@@ -91,6 +93,12 @@
+   ExpiresByType application/javascript A2592000
+   ExpiresByType application/ecmascript A2592000
+   /IfModule
++
++  # New Apache 2.4 access controls
++  Require all granted
++  # Needed because the w3c validator files still contain legacy expression.
++  # http://stackoverflow.com/a/17479214/966703
++  SSILegacyExprParser on
+ /Directory
+
+ # Atom news feed
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index 0acc213..875cf87 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -2,7 +2,7 @@
 
 Name:   w3c-markup-validator
 Version:1.3
-Release:8%{?dist}
+Release:9%{?dist}
 Summary:W3C Markup Validator
 
 Group:  Applications/Internet
@@ -21,6 +21,7 @@ Patch2: %{name}-1.0-valid-icons.patch
 # Not upstreamable,
 # https://www.redhat.com/archives/fedora-legal-list/2009-February/msg00020.html
 Patch3: %{name}-1.3-iso-html.patch
+Patch4: %{name}-apache24.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -47,7 +48,6 @@ Requires:   xhtml1-dtds = 1.0-20020801.1
 %descriptionlibs
 SGML and XML DTDs for the W3C Markup Validator.
 
-
 %prep
 %setup -q -n validator-%{version}
 
@@ -60,6 +60,8 @@ rm htdocs/images/markup_validation_service.psd
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+
 find . -type f -name *.orig -delete # patch backup files
 
 mv htdocs/sgml-lib .
@@ -150,6 +152,9 @@ done
 
 
 %changelog
+* Wed Nov 19 2014 Nathanael Noblet nathan...@gnat.ca - 1.3-9
+- Fix for bug #1109575 based off submitted patch
+
 * Sun Jun 08 2014 Fedora Release Engineering rel-...@lists.fedoraproject.org 
- 1.3-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator/f21] fix bug #1109575

2014-11-19 Thread Nathanael Noblet
Summary of changes:

  8cf0c97... fix bug #1109575 (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator/f20] (2 commits) ...fix bug #1109575

2014-11-19 Thread Nathanael Noblet
Summary of changes:

  636442e... - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass (*)
  8cf0c97... fix bug #1109575 (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator] fix invalid changelog date so it'll stop complaining

2014-11-19 Thread Nathanael Noblet
commit 84de490578e03e777be5df92b71ae1bd5a57f186
Author: Nathanael d. Noblet nathan...@noblet.ca
Date:   Wed Nov 19 22:06:03 2014 -0700

fix invalid changelog date so it'll stop complaining

 w3c-markup-validator.spec |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index 875cf87..938d51b 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -293,7 +293,7 @@ done
 * Fri Sep 23 2005 Ville Skyttä ville.sky...@iki.fi - 0.7.0-1
 - 0.7.0.
 
-* Fri Apr  7 2005 Michael Schwendt mschwendt[AT]users.sf.net - 0.6.7-2
+* Thu Apr  7 2005 Michael Schwendt mschwendt[AT]users.sf.net - 0.6.7-2
 - rebuilt
 
 * Sun Jul 25 2004 Ville Skyttä ville.sky...@iki.fi - 0:0.6.7-0.fdr.1
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

File Config-General-2.56.tar.gz uploaded to lookaside cache by gnat

2014-05-05 Thread Nathanael Noblet
A file has been added to the lookaside cache for perl-Config-General:

8cf9dd044d016f27b4dc26077606736d  Config-General-2.56.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[perl-Config-General] upstream release

2014-05-05 Thread Nathanael Noblet
commit 88435397324584dad7e066a21f3163d865da7048
Author: Nathanael d. Noblet nathan...@noblet.ca
Date:   Mon May 5 15:18:10 2014 -0600

upstream release

 perl-Config-General.spec |7 +--
 sources  |2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/perl-Config-General.spec b/perl-Config-General.spec
index e5681fc..e0fe4e9 100644
--- a/perl-Config-General.spec
+++ b/perl-Config-General.spec
@@ -1,6 +1,6 @@
 Name:   perl-Config-General
-Version:2.52
-Release:2%{?dist}
+Version:2.56
+Release:1%{?dist}
 Summary:Generic configuration module for Perl
 
 Group:  Development/Libraries
@@ -85,6 +85,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon May 05 2014 Nathanael Noblet nathan...@noblet.ca - 2.56-1
+- Upstream new release
+
 * Sat Aug 03 2013 Fedora Release Engineering rel-...@lists.fedoraproject.org 
- 2.52-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index e9f0ceb..8634cff 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-eb79f2322a89d5bdc16bab236bfd58cf  Config-General-2.52.tar.gz
+8cf9dd044d016f27b4dc26077606736d  Config-General-2.56.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Re: default file system, was: Comparison to Workstation Technical Specification

2014-03-03 Thread Nathanael Noblet

On 03/02/2014 10:55 PM, Chris Murphy wrote:

On Mar 2, 2014, at 9:35 PM, Nathanael Noblet nathan...@gnat.ca wrote:


On 03/01/2014 04:57 PM, Chris Murphy wrote:

The servers were rented with a Fedora produced default/automatic/guided 
partitioning layout? If not, your example is out of scope. We are only talking 
about this context specifically, not arbitrary examples for shrinking a file 
system. The Fedora automatic/guided partition layout is a rootfs of 50GB, and 
any significant additional space goes to a separate /home. So you're saying 
you'd shrink a 50GB rootfs for encrypted data, rather than blow away the /home 
LV, make a new LV, encrypt it, then format it?

They were CentOS 6 machines. So perhaps the defaults are different however this 
is something that happened to me and not being able to shrink a fs would have 
been problematic / costly for me. Granted the default there was /boot / and 
swap so I had a 900G / and nothing else thus the shrinking of the / fs. So I 
suppose that if the servers were fedora and had a /home LV this particular 
situation wouldn't have been an issue.

I just wanted to point out that shrinking a partition is a valid use case is 
all. In our current default fedora layout I could still accomplish what I 
needed. But shrinking a fs is a valid use case…

Fair enough, and I'm not suggesting shrink is invalid for that matter. I merely 
want to understand the actual requirement because there may be better ways to 
address it.


Given the XFS shrinking issue it might even be nice to not allocate ALL 
storage, create /, swap and /home without taking up all storage and then let 
people enlarge what they need…

It's an interesting suggestion. But does this really apply to the target 
audience of users who are a.) using a GUI installer, and b.) choosing to use an 
automatic/guided partitioning layout? Is that sort of user likely to jump into 
a resize operation from the command line post-install? Why wouldn't they just 
use Manual Partitioning?

What you suggest might seem plausible for Server. But I don't think that's a 
good idea for Workstation, to burden the user with an incomplete partition 
layout that (silently) proposes they complete or customize it post-install.


Yeah, sorry my suggestion wasn't a blanket statement - in fact I wasn't 
even thinking in terms of Server vs Workstations. For *sure* for the 
Workstation product where one is using the GUI and accepting defaults 
using all available space makes sense. Again I wasn't even thinking of 
that. Just that some defaults have implications especially if I'm not 
the one doing the install. If some datacenter just fires off an install 
or uses some image from the default server install I'm in the same 
unshrinkable fs boat regardless of how I would have done the install 
myself. Sometimes we assume the defaults are used by 'naive' users using 
a GUI where they could just as easily be used by massive organizations 
with thousands of servers with highly trained staff because well it 
doesn't matter to them. default is default...


--
Nathanael
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: default file system, was: Comparison to Workstation Technical Specification

2014-03-02 Thread Nathanael Noblet

On 03/01/2014 04:57 PM, Chris Murphy wrote:
The servers were rented with a Fedora produced 
default/automatic/guided partitioning layout? If not, your example is 
out of scope. We are only talking about this context specifically, not 
arbitrary examples for shrinking a file system. The Fedora 
automatic/guided partition layout is a rootfs of 50GB, and any 
significant additional space goes to a separate /home. So you're 
saying you'd shrink a 50GB rootfs for encrypted data, rather than blow 
away the /home LV, make a new LV, encrypt it, then format it?


They were CentOS 6 machines. So perhaps the defaults are different 
however this is something that happened to me and not being able to 
shrink a fs would have been problematic / costly for me. Granted the 
default there was /boot / and swap so I had a 900G / and nothing else 
thus the shrinking of the / fs. So I suppose that if the servers were 
fedora and had a /home LV this particular situation wouldn't have been 
an issue.


I just wanted to point out that shrinking a partition is a valid use 
case is all. In our current default fedora layout I could still 
accomplish what I needed. But shrinking a fs is a valid use case...


Given the XFS shrinking issue it might even be nice to not allocate ALL 
storage, create /, swap and /home without taking up all storage and then 
let people enlarge what they need...


--
Nathanael
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: default file system, was: Comparison to Workstation Technical Specification

2014-03-01 Thread Nathanael Noblet

On 03/01/2014 02:18 PM, Chris Murphy wrote:

On Mar 1, 2014, at 1:19 PM, Jon jdisn...@gmail.com wrote:


The inability to shrink or reduce XFS is rather disappointing. I've
seen a few sarcastic remarks along the lines of (paraphrased): why
would anyone ever want to shrink a volume?

In the context of server, and default installs, why is a valid question.



People do shrink volumes, and this lack of flexibility is an important
consideration I feel was ignored in the Server WG decision.

What is the use case for volume shrinking in a server context? Dual boot is a 
total edge case for servers.
Recently I had a client who required that some data be on an encrypted 
partition. The servers were rented from a datacenter instead of being 
cloud based etc. As such you don't have access to the kickstart used to 
initialize and install the OS. So we had to shrink the rootfs to make 
room for a new lvm partition for the data. I've had to do that a handful 
of times for various reasons but the above is the most recent.


--
Nathanael
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[perl-SGML-Parser-OpenSP/epel7] re-added ppc64 arch

2014-02-11 Thread Nathanael Noblet
commit 6f7d67fa865c7b511b39a3b626e77a21ea038b29
Author: Nathanael D. Noblet nathan...@noblet.ca
Date:   Tue Feb 11 10:12:11 2014 -0700

re-added ppc64 arch

 perl-SGML-Parser-OpenSP.spec |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/perl-SGML-Parser-OpenSP.spec b/perl-SGML-Parser-OpenSP.spec
index 74f0c92..595129c 100644
--- a/perl-SGML-Parser-OpenSP.spec
+++ b/perl-SGML-Parser-OpenSP.spec
@@ -1,6 +1,6 @@
 Name:   perl-SGML-Parser-OpenSP
 Version:0.994
-Release:15%{?dist}
+Release:16%{?dist}
 Summary:Perl interface to the OpenSP SGML and XML parser
 
 License:GPL+ or Artistic
@@ -13,7 +13,6 @@ BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  opensp-devel
-ExcludeArch:ppc64
 Requires:   perl(Class::Accessor)
 Requires:  perl(:MODULE_COMPAT_%(eval `%{__perl} -V:version`; echo $version))
 
@@ -57,6 +56,9 @@ make test
 
 
 %changelog
+* Tue Feb 11 2014 Nathanael Noblet nathan...@gnat.ca - 0.991-16
+- Re-include ppc64 arch
+
 * Tue Jan 28 2014 Nathanael Noblet nathan...@gnat.ca - 0.994-15
 - Exclude ppc64 due to missing deps
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[perl-SGML-Parser-OpenSP/epel7] updated changelog/releasever

2014-01-28 Thread Nathanael Noblet
commit 71d7cfedab6d554d26fb65a5d77d8554e301da9c
Author: Nathanael D. Noblet nathan...@noblet.ca
Date:   Tue Jan 28 09:15:51 2014 -0700

updated changelog/releasever

 perl-SGML-Parser-OpenSP.spec |5 -
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/perl-SGML-Parser-OpenSP.spec b/perl-SGML-Parser-OpenSP.spec
index 1a077ec..74f0c92 100644
--- a/perl-SGML-Parser-OpenSP.spec
+++ b/perl-SGML-Parser-OpenSP.spec
@@ -1,6 +1,6 @@
 Name:   perl-SGML-Parser-OpenSP
 Version:0.994
-Release:14%{?dist}
+Release:15%{?dist}
 Summary:Perl interface to the OpenSP SGML and XML parser
 
 License:GPL+ or Artistic
@@ -57,6 +57,9 @@ make test
 
 
 %changelog
+* Tue Jan 28 2014 Nathanael Noblet nathan...@gnat.ca - 0.994-15
+- Exclude ppc64 due to missing deps
+
 * Thu Feb 14 2013 Fedora Release Engineering rel-...@lists.fedoraproject.org 
- 0.994-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[perl-SGML-Parser-OpenSP/epel7] exclude ppc64 for now as perl-class-accessor is unavailable

2014-01-28 Thread Nathanael Noblet
commit 09acd6327d876e6d1126ebed87ae9e1e1ec84c27
Author: Nathanael D. Noblet nathan...@noblet.ca
Date:   Tue Jan 28 09:14:44 2014 -0700

exclude ppc64 for now as perl-class-accessor is unavailable

 perl-SGML-Parser-OpenSP.spec |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/perl-SGML-Parser-OpenSP.spec b/perl-SGML-Parser-OpenSP.spec
index 35b0e52..1a077ec 100644
--- a/perl-SGML-Parser-OpenSP.spec
+++ b/perl-SGML-Parser-OpenSP.spec
@@ -13,6 +13,7 @@ BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  opensp-devel
+ExcludeArch:ppc64
 Requires:   perl(Class::Accessor)
 Requires:  perl(:MODULE_COMPAT_%(eval `%{__perl} -V:version`; echo $version))
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator/f20] Fix bug 1057718

2014-01-24 Thread Nathanael Noblet
commit 09f48f3c503e32625f1ec100cee4183076625e73
Author: Nathanael D. Noblet nathan...@noblet.ca
Date:   Fri Jan 24 13:49:12 2014 -0700

Fix bug 1057718

 w3c-markup-validator.spec |5 -
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index 49ca523..df20320 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -2,7 +2,7 @@
 
 Name:   w3c-markup-validator
 Version:1.3
-Release:6%{?dist}
+Release:7%{?dist}
 Summary:W3C Markup Validator
 
 Group:  Applications/Internet
@@ -150,6 +150,9 @@ done
 
 
 %changelog
+* Fri Jan 24 2014 Nathanael Noblet nathan...@gnat.ca - 1.3-7
+- Rebuilt to fix perl dependencies bug #1057718
+
 * Sun Aug 04 2013 Fedora Release Engineering rel-...@lists.fedoraproject.org 
- 1.3-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator] Fix bug 1057718

2014-01-24 Thread Nathanael Noblet
Summary of changes:

  09f48f3... Fix bug 1057718 (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Re: Vagrant in Fedora

2013-11-28 Thread Nathanael Noblet
Sorry for the cross + top post however I figured perhaps -devel folks 
may have some ideas as to what is going on belowl


On 10/17/2013 06:36 AM, Alex Drahon wrote:

On 16/10/13 23:54, Nathanael D. Noblet wrote:

On 10/15/2013 01:06 PM, Alex Drahon wrote:


Hope some of you can test it.


After doing a vagrant up --provider=kvm I get prompted via polkit and 
then the terminal output is as follows:



[gnat@iridium kvm]$ vagrant up --provider=kvm
Bringing machine 'default' up with 'kvm' provider...
[default] Importing base box 'precise32'...
WARNING: Nokogiri was built against LibXML version 2.9.0, but has 
dynamically loaded 2.9.1
qemu-img: 
/home/gnat/.vagrant.d/tmp/storage-pool/box-disk1-1381964017.img: 
error while converting raw: Permission denied


/usr/share/gems/gems/vagrant-kvm-0.1.4/lib/vagrant-kvm/driver/driver.rb:145:in 
`lookup_volume_by_name': Call to virStorageVolLookupByName failed: 
Storage volume not found: no storage vol with matching name 
'box-disk1-1381964017.img' (Libvirt::RetrieveError)


OK, what it means is that you got the polkit prompt, which gave you 
access to libvirtd, but then the storage pool in 
/home/gnat/.vagrant.d/tmp/storage-pool/ was created by libvirt with 
root as the owner so when vagrant calls qemu-img (without root 
privileges) it fails. Bad testing on my side again...


So a couple days ago I started trying to get this working again. 
Something else must be going on. The first problem I had was that 
kvm/libvirt couldn't read .vmdk vagrant images. I converted them to 
qcow2, and then ran vagrant as root. This skips the whole polkit step 
however I get a similar error message as root.


[root@mba Vagrant]# vagrant up --provider=kvm
Bringing machine 'default' up with 'kvm' provider...
[default] Importing base box 'f19'...
qemu-img: /root/.vagrant.d/tmp/storage-pool/box-disk1-1385699731.img: 
error while converting raw: No such file or directory


/usr/share/gems/gems/vagrant-kvm-0.1.4/lib/vagrant-kvm/driver/driver.rb:145:in 
`lookup_volume_by_name': Call to virStorageVolLookupByName failed: 
Storage volume not found: no storage vol with matching name 
'box-disk1-1385699731.img' (Libvirt::RetrieveError)


So I don't think this is a polkit/libvirt error persay as much as it is 
something isn't creating whatever img its looking for. Anyone have any 
ideas as to what could be causing this issue?


--
Nathanael
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Screen blackened

2013-09-23 Thread Nathanael Noblet

On 09/23/2013 06:18 AM, Ville Skyttä wrote:

FWIW looks like the kernel 3.11.1 update fixed this for me (ASUS N56VZ).
I think it fixed it for me as well. Asus K56CA. It flickers but at least 
I don't have to adjust the brightness to unlock the screen.

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: EPEL help needed with a C++ app

2013-07-31 Thread Nathanael Noblet

On 07/31/2013 11:29 PM, Manuel Wolfshant wrote:


It fails on all archs. It just happened that the PPC build was the first
one that died.


Well I'm fresh out of ideas.. :(


___
epel-devel mailing list
epel-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/epel-devel


Re: The official way to upgrade F18 to F19

2013-05-29 Thread Nathanael Noblet

On 05/29/2013 07:12 PM, Kevin Fenzi wrote:

If folks think we shouldn't make 'fedup --network 19' work now to
upgrade people to branched/prerelease, please scream. ;) Otherwise it
will be the case from now on.


Hello,

  I usually upgrade my main laptop and workstation to Fedora Beta X. 
This time around I tried in vain to find the magic incantation via 
google. So I downloaded the ISO, and did an ISO update then yum 
distro-sync. I would *love* if fedup allowed us to use a Alpha or Beta 
without knowing the incantation.


  I'm indifferent to the 'should we protect users'. I wouldn't 
necessarily say its needed, and I'd prefer to not have to know the 
'magic' name F19Beta or 19-beta or whatever. If its decided to protect 
users I'd go for a command line switch --allow-pre-release or something. 
Mainly because then fedup -h would display it and then the default could 
be left as is to only use released branches.


  Either way though consider this a scream for it to allow upgrades to 
prereleases...!!!


--
Gnat

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

[dspam/el5] fix recipient corruption

2013-05-23 Thread Nathanael Noblet
commit d1b150721864a95dca3750e37874320c3a925763
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu May 23 10:00:52 2013 -0600

fix recipient corruption

 dspam-recipient-corruption.patch |   30 ++
 dspam.spec   |7 ++-
 2 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/dspam-recipient-corruption.patch b/dspam-recipient-corruption.patch
new file mode 100644
index 000..2704ab5
--- /dev/null
+++ b/dspam-recipient-corruption.patch
@@ -0,0 +1,30 @@
+commit cbed19764df8ecc1469f739ca33eb92aa3f67584
+Author: Allan Ievers aimail-dspam_us...@rearden.com
+Date:   Thu May 10 23:07:30 2012 +0200
+
+Fix recipient corrpution when releasing a message from quarantine
+
+MFM: 1 day
+Bug-ID: none
+Bug-Reported-By: Allan Ievers aimail-dspam_us...@rearden.com
+Security: none
+
+diff --git a/src/dspam.c b/src/dspam.c
+index 7afc038..2100c9e 100644
+--- a/src/dspam.c
 b/src/dspam.c
+@@ -1,4 +1,4 @@
+-/* $Id: dspam.c,v 1.412 2011/11/10 00:26:00 tomhendr Exp $ */
++/* $Id: dspam.c,v 1.413 2012/05/10 23:03:25 sbajic Exp $ */
+ 
+ /*
+  DSPAM
+@@ -500,7 +500,7 @@ process_message (
+ }
+ 
+ /* Change also the mail recipient */
+-ATX-recipient = CTX-username;
++strcpy(ATX-recipient, CTX-username);
+ 
+   }
+ }
diff --git a/dspam.spec b/dspam.spec
index 37aeffb..7e83edf 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -12,7 +12,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:3%{?dist}
+Release:4%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -26,6 +26,7 @@ Source7:  dspam-tmpfiles
 Source99:   dspam-filter-requires.sh
 Patch1: dspam-3.9.0-docs.patch
 Patch2: dspam-3.9.0-dspamsock.patch
+Patch3: dspam-recipient-corruption.patch
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
 Buildroot:  %(mktemp -ud 
%{_tmppath}/%{name}-%{version}-%{release}-XX)
@@ -138,6 +139,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %setup -q
 %patch1 -p0
 %patch2 -p0
+%patch3 -p1
 
 %build
 
@@ -377,6 +379,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu May 23 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-4
+- Fix recipient corruption bug
+
 * Wed May 15 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-3
 - set hardened build to add PIE option since dspam can be long running bug 
#954345
 - properly fixes #657357 - PostgreSQL purge script works
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/el6] Fix recipient corruption

2013-05-23 Thread Nathanael Noblet
commit 73fd10d3d9d9ca30d653d343dd2c9f2fd0460abe
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu May 23 09:58:35 2013 -0600

Fix recipient corruption

 dspam-recipient-corruption.patch |   30 ++
 dspam.spec   |7 ++-
 2 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/dspam-recipient-corruption.patch b/dspam-recipient-corruption.patch
new file mode 100644
index 000..2704ab5
--- /dev/null
+++ b/dspam-recipient-corruption.patch
@@ -0,0 +1,30 @@
+commit cbed19764df8ecc1469f739ca33eb92aa3f67584
+Author: Allan Ievers aimail-dspam_us...@rearden.com
+Date:   Thu May 10 23:07:30 2012 +0200
+
+Fix recipient corrpution when releasing a message from quarantine
+
+MFM: 1 day
+Bug-ID: none
+Bug-Reported-By: Allan Ievers aimail-dspam_us...@rearden.com
+Security: none
+
+diff --git a/src/dspam.c b/src/dspam.c
+index 7afc038..2100c9e 100644
+--- a/src/dspam.c
 b/src/dspam.c
+@@ -1,4 +1,4 @@
+-/* $Id: dspam.c,v 1.412 2011/11/10 00:26:00 tomhendr Exp $ */
++/* $Id: dspam.c,v 1.413 2012/05/10 23:03:25 sbajic Exp $ */
+ 
+ /*
+  DSPAM
+@@ -500,7 +500,7 @@ process_message (
+ }
+ 
+ /* Change also the mail recipient */
+-ATX-recipient = CTX-username;
++strcpy(ATX-recipient, CTX-username);
+ 
+   }
+ }
diff --git a/dspam.spec b/dspam.spec
index a4e2e23..538a891 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -12,7 +12,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:3%{?dist}
+Release:4%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -26,6 +26,7 @@ Source7:  dspam-tmpfiles
 Source99:   dspam-filter-requires.sh
 Patch1: dspam-3.9.0-docs.patch
 Patch2: dspam-3.9.0-dspamsock.patch
+Patch3: dspam-recipient-corruption.patch
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
 Buildroot:  %(mktemp -ud 
%{_tmppath}/%{name}-%{version}-%{release}-XX)
@@ -138,6 +139,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %setup -q
 %patch1 -p0
 %patch2 -p0
+%patch3 -p1
 
 %build
 
@@ -377,6 +379,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu May 23 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-4
+- Fix recipient corruption bug
+
 * Wed May 15 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-3
 - set hardened build to add PIE option since dspam can be long running bug 
#954345
 - properly fixes #657357 - PostgreSQL purge script works
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f17] fix recipient corruption

2013-05-23 Thread Nathanael Noblet
commit 8fbe8b99b59df459b94748816a795b4284f7e3cf
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu May 23 09:56:22 2013 -0600

fix recipient corruption

 dspam-recipient-corruption.patch |   30 ++
 dspam.spec   |6 +-
 2 files changed, 35 insertions(+), 1 deletions(-)
---
diff --git a/dspam-recipient-corruption.patch b/dspam-recipient-corruption.patch
new file mode 100644
index 000..2704ab5
--- /dev/null
+++ b/dspam-recipient-corruption.patch
@@ -0,0 +1,30 @@
+commit cbed19764df8ecc1469f739ca33eb92aa3f67584
+Author: Allan Ievers aimail-dspam_us...@rearden.com
+Date:   Thu May 10 23:07:30 2012 +0200
+
+Fix recipient corrpution when releasing a message from quarantine
+
+MFM: 1 day
+Bug-ID: none
+Bug-Reported-By: Allan Ievers aimail-dspam_us...@rearden.com
+Security: none
+
+diff --git a/src/dspam.c b/src/dspam.c
+index 7afc038..2100c9e 100644
+--- a/src/dspam.c
 b/src/dspam.c
+@@ -1,4 +1,4 @@
+-/* $Id: dspam.c,v 1.412 2011/11/10 00:26:00 tomhendr Exp $ */
++/* $Id: dspam.c,v 1.413 2012/05/10 23:03:25 sbajic Exp $ */
+ 
+ /*
+  DSPAM
+@@ -500,7 +500,7 @@ process_message (
+ }
+ 
+ /* Change also the mail recipient */
+-ATX-recipient = CTX-username;
++strcpy(ATX-recipient, CTX-username);
+ 
+   }
+ }
diff --git a/dspam.spec b/dspam.spec
index 8a6859b..f947f1d 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -27,7 +27,7 @@ Patch1: dspam-3.9.0-docs.patch
 Patch2: dspam-3.9.0-dspamsock.patch
 Patch3: dspam-default-server-port.patch
 Patch4: dspam-3.10.2.exim.patch
-
+Patch5: dspam-recipient-corruption.patch
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
 Buildroot:  %(mktemp -ud 
%{_tmppath}/%{name}-%{version}-%{release}-XX)
@@ -140,6 +140,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %patch2 -p0
 %patch3 -p0
 %patch4 -p0
+$patch5 -p1
 
 %build
 
@@ -381,6 +382,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu May 23 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-5
+- Fix recipient corruption bug
+
 * Wed May 15 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-4
 - set hardened build to add PIE option since dspam can be long running bug 
#954345
 - properly fixes #657357 - PostgreSQL purge script works
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f18] fix recipient corruption

2013-05-23 Thread Nathanael Noblet
commit c291fa0a1b62b1dd06200ad72c238efc6c5c19df
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu May 23 09:54:44 2013 -0600

fix recipient corruption

 dspam-recipient-corruption.patch |   30 ++
 dspam.spec   |7 ++-
 2 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/dspam-recipient-corruption.patch b/dspam-recipient-corruption.patch
new file mode 100644
index 000..2704ab5
--- /dev/null
+++ b/dspam-recipient-corruption.patch
@@ -0,0 +1,30 @@
+commit cbed19764df8ecc1469f739ca33eb92aa3f67584
+Author: Allan Ievers aimail-dspam_us...@rearden.com
+Date:   Thu May 10 23:07:30 2012 +0200
+
+Fix recipient corrpution when releasing a message from quarantine
+
+MFM: 1 day
+Bug-ID: none
+Bug-Reported-By: Allan Ievers aimail-dspam_us...@rearden.com
+Security: none
+
+diff --git a/src/dspam.c b/src/dspam.c
+index 7afc038..2100c9e 100644
+--- a/src/dspam.c
 b/src/dspam.c
+@@ -1,4 +1,4 @@
+-/* $Id: dspam.c,v 1.412 2011/11/10 00:26:00 tomhendr Exp $ */
++/* $Id: dspam.c,v 1.413 2012/05/10 23:03:25 sbajic Exp $ */
+ 
+ /*
+  DSPAM
+@@ -500,7 +500,7 @@ process_message (
+ }
+ 
+ /* Change also the mail recipient */
+-ATX-recipient = CTX-username;
++strcpy(ATX-recipient, CTX-username);
+ 
+   }
+ }
diff --git a/dspam.spec b/dspam.spec
index d0e2804..a9e3025 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -12,7 +12,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:6%{?dist}
+Release:7%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -27,6 +27,7 @@ Patch1: dspam-3.9.0-docs.patch
 Patch2: dspam-3.9.0-dspamsock.patch
 Patch3: dspam-default-server-port.patch
 Patch4: dspam-3.10.2.exim.patch
+Patch5: dspam-recipient-corruption.patch
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
 Buildroot:  %(mktemp -ud 
%{_tmppath}/%{name}-%{version}-%{release}-XX)
@@ -139,6 +140,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %patch2 -p0
 %patch3 -p0
 %patch4 -p0
+%patch5 -p1
 
 %build
 
@@ -368,6 +370,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu May 23 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-7
+- Fix recipient corruption patch
+
 * Wed May 15 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-6
 - set hardened build to add PIE option since dspam can be long running bug 
#954345
 - properly fixes #657357 - PostgreSQL purge script works
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f19] fix recipient corruption

2013-05-23 Thread Nathanael Noblet
commit 3148973a1b3bd7fcd393a2ca26652a1ec9d1290a
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu May 23 09:51:27 2013 -0600

fix recipient corruption

 dspam-recipient-corruption.patch |   30 ++
 dspam.spec   |8 +++-
 2 files changed, 37 insertions(+), 1 deletions(-)
---
diff --git a/dspam-recipient-corruption.patch b/dspam-recipient-corruption.patch
new file mode 100644
index 000..2704ab5
--- /dev/null
+++ b/dspam-recipient-corruption.patch
@@ -0,0 +1,30 @@
+commit cbed19764df8ecc1469f739ca33eb92aa3f67584
+Author: Allan Ievers aimail-dspam_us...@rearden.com
+Date:   Thu May 10 23:07:30 2012 +0200
+
+Fix recipient corrpution when releasing a message from quarantine
+
+MFM: 1 day
+Bug-ID: none
+Bug-Reported-By: Allan Ievers aimail-dspam_us...@rearden.com
+Security: none
+
+diff --git a/src/dspam.c b/src/dspam.c
+index 7afc038..2100c9e 100644
+--- a/src/dspam.c
 b/src/dspam.c
+@@ -1,4 +1,4 @@
+-/* $Id: dspam.c,v 1.412 2011/11/10 00:26:00 tomhendr Exp $ */
++/* $Id: dspam.c,v 1.413 2012/05/10 23:03:25 sbajic Exp $ */
+ 
+ /*
+  DSPAM
+@@ -500,7 +500,7 @@ process_message (
+ }
+ 
+ /* Change also the mail recipient */
+-ATX-recipient = CTX-username;
++strcpy(ATX-recipient, CTX-username);
+ 
+   }
+ }
diff --git a/dspam.spec b/dspam.spec
index 1fe25c5..e6e90ee 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -12,7 +12,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:8%{?dist}
+Release:9%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -27,6 +27,8 @@ Patch1: dspam-3.9.0-docs.patch
 Patch2: dspam-3.9.0-dspamsock.patch
 Patch3: dspam-default-server-port.patch
 Patch4: dspam-3.10.2.exim.patch
+Patch5: dspam-recipient-corruption.patch
+
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
 Buildroot:  %(mktemp -ud 
%{_tmppath}/%{name}-%{version}-%{release}-XX)
@@ -139,6 +141,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %patch2 -p0
 %patch3 -p0
 %patch4 -p0
+%patch5 -p1
 
 %build
 
@@ -368,6 +371,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu May 23 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-9
+- Patch for recipient corruption bug
+
 * Wed May 15 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-8
 - set hardened build to add PIE option since dspam can be long running
 - bug #954345
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam] fix recipient corruption

2013-05-23 Thread Nathanael Noblet
Summary of changes:

  3148973... fix recipient corruption (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam: 1/2] fixed bugs #657357 and #954345

2013-05-15 Thread Nathanael Noblet
commit b6f84d3fed56ce66a500e87149f37728aea5559e
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Wed May 15 09:35:36 2013 -0600

fixed bugs #657357 and #954345

 dspam-cron |2 +-
 dspam.spec |8 +++-
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/dspam-cron b/dspam-cron
index a513b26..ad92777 100644
--- a/dspam-cron
+++ b/dspam-cron
@@ -239,7 +239,7 @@ clean_pgsql_drv() {
[ -n ${PgSQLServer} -a -n ${PgSQLUser} -a -n ${PgSQLDb} ]
then
DSPAM_PgSQL_PURGE_SQL=
-   DSPAM_PgSQL_PURGE_SQL_FILES=pgsql/pe-purge pgsql/purge
+   DSPAM_PgSQL_PURGE_SQL_FILES=pgsql/purge-pe pgsql/purge
 
#
# We first search for the purge scripts in the directory the 
user has
diff --git a/dspam.spec b/dspam.spec
index 1df1324..09262f2 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -7,11 +7,12 @@
 %global dspam_mode  2511
 %global dspam_web_docroot %{_localstatedir}/www/dspam
 %global __perl_requires %{SOURCE99}
+%global _hardened_build 1
 
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:6%{?dist}
+Release:7%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -367,6 +368,11 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Wed May 15 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-7
+- set hardened build to add PIE option since dspam can be long running
+- bug #954345
+- properly fixes #657357 - PostgreSQL purge script works
+
 * Thu Jan 17 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-6
 - Attempting to fix purge bug #657357
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam: 2/2] merged rebuild

2013-05-15 Thread Nathanael Noblet
commit e4d8635e2d4b14cae68cd14624dde0a3c7c826de
Merge: b6f84d3 5628b9b
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Wed May 15 09:36:43 2013 -0600

merged rebuild

 dspam.spec |7 +--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --cc dspam.spec
index 09262f2,a9c109c..1fe25c5
--- a/dspam.spec
+++ b/dspam.spec
@@@ -12,7 -11,7 +12,7 @@@
  Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
  Name:   dspam
  Version:3.10.2
--Release:7%{?dist}
++Release:8%{?dist}
  License:GPLv2
  Group:  System Environment/Daemons
  Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@@ -368,11 -367,9 +368,14 @@@ exit 
  %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
  
  %changelog
- * Wed May 15 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-7
++* Wed May 15 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-8
 +- set hardened build to add PIE option since dspam can be long running
 +- bug #954345
 +- properly fixes #657357 - PostgreSQL purge script works
 +
+ * Wed Feb 13 2013 Fedora Release Engineering 
rel-...@lists.fedoraproject.org - 3.10.2-7
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+ 
  * Thu Jan 17 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-6
  - Attempting to fix purge bug #657357
  
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f18] fixed bugs #657357 and #954345

2013-05-15 Thread Nathanael Noblet
commit 9b0286684f31ddcef056f61cac336155c62130e9
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Wed May 15 09:51:14 2013 -0600

fixed bugs #657357 and #954345

 dspam-cron |   48 ++--
 dspam.spec |7 ++-
 2 files changed, 8 insertions(+), 47 deletions(-)
---
diff --git a/dspam-cron b/dspam-cron
index 26e0ae3..1f08bb3 100644
--- a/dspam-cron
+++ b/dspam-cron
@@ -239,7 +239,7 @@ clean_pgsql_drv() {
[ -n ${PgSQLServer} -a -n ${PgSQLUser} -a -n ${PgSQLDb} ]
then
DSPAM_PgSQL_PURGE_SQL=
-   DSPAM_PgSQL_PURGE_SQL_FILES=pgsql_pe-purge
+DSPAM_PgSQL_PURGE_SQL_FILES=pgsql/purge-pe pgsql/purge
 
#
# We first search for the purge scripts in the directory the 
user has
@@ -347,7 +347,7 @@ clean_sqlite3_drv() {
then
DSPAM_SQLite3_PURGE_SQL=
[ -f ${DSPAM_CONFIGDIR}/config/sqlite3_purge.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_CONFIGDIR}/config/sqlite3_purge.sql
-   [ -f ${DSPAM_CONFIGDIR}/sqlite3_purge.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_CONFIGDIR}/sqlite3_purge.sql
+[ -f ${DSPAM_PURGE_SCRIPT_DIR}/sqlite3/purge-3.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_PURGE_SCRIPT_DIR}/sqlite3/purge-3.sql
 
if [ -z ${DSPAM_SQLite3_PURGE_SQL} ]
then
@@ -377,47 +377,6 @@ clean_sqlite3_drv() {
 
 
 #
-# Function to clean DSPAM SQLite  3.0 data
-#
-clean_sqlite_drv() {
-   #
-   # SQLite
-   #
-   [ ${VERBOSE} = true ]  echo Running SQLite v2 storage driver 
data cleanup
-   if  [ ${USE_SQL_PURGE} = true ]
-   then
-   DSPAM_SQLite_PURGE_SQL=
-   [ -f ${DSPAM_CONFIGDIR}/config/sqlite_purge.sql ]  
DSPAM_SQLite_PURGE_SQL=${DSPAM_CONFIGDIR}/config/sqlite_purge.sql
-   [ -f ${DSPAM_CONFIGDIR}/sqlite_purge.sql ]  
DSPAM_SQLite_PURGE_SQL=${DSPAM_CONFIGDIR}/sqlite_purge.sql
-
-   if [ -z ${DSPAM_SQLite_PURGE_SQL} ]
-   then
-   echo Can not run SQLite purge script:
-   echo   No sqlite_purge SQL script found
-   return 1
-   fi
-
-   if [ ! -e ${SQLITE_BIN_DIR}/sqlite ]
-   then
-   echo Can not run SQLite purge script:
-   echo   ${SQLITE_BIN_DIR}/sqlite does not exist
-   return 1
-   fi
-
-   # Run the SQLite purge script and vacuum
-   find ${DSPAM_HOMEDIR} -name *.sdb -print | while read name
-   do
-   ${SQLITE_BIN_DIR}/sqlite ${name}  
${DSPAM_SQLite_PURGE_SQL} /dev/null
-   # Enable the next line if you don't vacuum in the purge 
script
-   # echo vacuum; | ${SQLITE_BIN_DIR}/sqlite ${name} 
/dev/null
-   done 1/dev/null 21
-   return 0
-   fi
-
-}
-
-
-#
 # Use a lock file to prevent multiple runs at the same time
 #
 DSPAM_CRON_LOCKFILE=/var/run/$(basename $0 .sh).pid
@@ -737,9 +696,6 @@ if ( set -o noclobber; echo $$  
${DSPAM_CRON_LOCKFILE}) 2 /dev/null; then
sqlite3_drv)
clean_sqlite3_drv
;;
-   sqlite_drv)
-   clean_sqlite_drv
-   ;;
*)
RUN_FULL_DSPAM_CLEAN=YES
echo Unknown storage ${foo} driver
diff --git a/dspam.spec b/dspam.spec
index 25754e1..d0e2804 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -7,11 +7,12 @@
 %global dspam_mode  2511
 %global dspam_web_docroot %{_localstatedir}/www/dspam
 %global __perl_requires %{SOURCE99}
+%global _hardened_build 1
 
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:5%{?dist}
+Release:6%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -367,6 +368,10 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Wed May 15 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-6
+- set hardened build to add PIE option since dspam can be long running bug 
#954345
+- properly fixes #657357 - PostgreSQL purge script works
+
 * Thu Nov 29 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-5
 - Fix dspam-web.conf file to work with httpd 2.4 and 2.2 bug#871396
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/el6] fixed bugs #657357 and #954345

2013-05-15 Thread Nathanael Noblet
commit 47df07f460e42b98bfe35cd5757902f9d709ec96
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Wed May 15 10:12:27 2013 -0600

fixed bugs #657357 and #954345

 dspam-cron |   48 ++--
 dspam.spec |7 ++-
 2 files changed, 8 insertions(+), 47 deletions(-)
---
diff --git a/dspam-cron b/dspam-cron
index 26e0ae3..4f3afc4 100644
--- a/dspam-cron
+++ b/dspam-cron
@@ -239,7 +239,7 @@ clean_pgsql_drv() {
[ -n ${PgSQLServer} -a -n ${PgSQLUser} -a -n ${PgSQLDb} ]
then
DSPAM_PgSQL_PURGE_SQL=
-   DSPAM_PgSQL_PURGE_SQL_FILES=pgsql_pe-purge
+   DSPAM_PgSQL_PURGE_SQL_FILES=pgsql/purge-pe pgsql/purge
 
#
# We first search for the purge scripts in the directory the 
user has
@@ -347,7 +347,7 @@ clean_sqlite3_drv() {
then
DSPAM_SQLite3_PURGE_SQL=
[ -f ${DSPAM_CONFIGDIR}/config/sqlite3_purge.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_CONFIGDIR}/config/sqlite3_purge.sql
-   [ -f ${DSPAM_CONFIGDIR}/sqlite3_purge.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_CONFIGDIR}/sqlite3_purge.sql
+[ -f ${DSPAM_PURGE_SCRIPT_DIR}/sqlite3/purge-3.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_PURGE_SCRIPT_DIR}/sqlite3/purge-3.sql
 
if [ -z ${DSPAM_SQLite3_PURGE_SQL} ]
then
@@ -377,47 +377,6 @@ clean_sqlite3_drv() {
 
 
 #
-# Function to clean DSPAM SQLite  3.0 data
-#
-clean_sqlite_drv() {
-   #
-   # SQLite
-   #
-   [ ${VERBOSE} = true ]  echo Running SQLite v2 storage driver 
data cleanup
-   if  [ ${USE_SQL_PURGE} = true ]
-   then
-   DSPAM_SQLite_PURGE_SQL=
-   [ -f ${DSPAM_CONFIGDIR}/config/sqlite_purge.sql ]  
DSPAM_SQLite_PURGE_SQL=${DSPAM_CONFIGDIR}/config/sqlite_purge.sql
-   [ -f ${DSPAM_CONFIGDIR}/sqlite_purge.sql ]  
DSPAM_SQLite_PURGE_SQL=${DSPAM_CONFIGDIR}/sqlite_purge.sql
-
-   if [ -z ${DSPAM_SQLite_PURGE_SQL} ]
-   then
-   echo Can not run SQLite purge script:
-   echo   No sqlite_purge SQL script found
-   return 1
-   fi
-
-   if [ ! -e ${SQLITE_BIN_DIR}/sqlite ]
-   then
-   echo Can not run SQLite purge script:
-   echo   ${SQLITE_BIN_DIR}/sqlite does not exist
-   return 1
-   fi
-
-   # Run the SQLite purge script and vacuum
-   find ${DSPAM_HOMEDIR} -name *.sdb -print | while read name
-   do
-   ${SQLITE_BIN_DIR}/sqlite ${name}  
${DSPAM_SQLite_PURGE_SQL} /dev/null
-   # Enable the next line if you don't vacuum in the purge 
script
-   # echo vacuum; | ${SQLITE_BIN_DIR}/sqlite ${name} 
/dev/null
-   done 1/dev/null 21
-   return 0
-   fi
-
-}
-
-
-#
 # Use a lock file to prevent multiple runs at the same time
 #
 DSPAM_CRON_LOCKFILE=/var/run/$(basename $0 .sh).pid
@@ -737,9 +696,6 @@ if ( set -o noclobber; echo $$  
${DSPAM_CRON_LOCKFILE}) 2 /dev/null; then
sqlite3_drv)
clean_sqlite3_drv
;;
-   sqlite_drv)
-   clean_sqlite_drv
-   ;;
*)
RUN_FULL_DSPAM_CLEAN=YES
echo Unknown storage ${foo} driver
diff --git a/dspam.spec b/dspam.spec
index db60f70..a4e2e23 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -7,11 +7,12 @@
 %global dspam_mode  2511
 %global dspam_web_docroot %{_localstatedir}/www/dspam
 %global __perl_requires %{SOURCE99}
+%global _hardened_build 1
 
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:2%{?dist}
+Release:3%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -376,6 +377,10 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Wed May 15 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-3
+- set hardened build to add PIE option since dspam can be long running bug 
#954345
+- properly fixes #657357 - PostgreSQL purge script works
+
 * Sun Oct 7 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-2
 - require perl(Mail::MboxParser)
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/el5] fixed bugs #657357 and #954345

2013-05-15 Thread Nathanael Noblet
commit dfe0f5813431eac5a852603b3122024e8e46c3f9
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Wed May 15 10:17:24 2013 -0600

fixed bugs #657357 and #954345

 dspam-cron |   48 
 dspam.spec |7 ++-
 2 files changed, 10 insertions(+), 45 deletions(-)
---
diff --git a/dspam-cron b/dspam-cron
index 26e0ae3..ad92777 100644
--- a/dspam-cron
+++ b/dspam-cron
@@ -148,9 +148,9 @@ clean_mysql_drv() {
# For the 4.1-optimized version see:
# http://securitydot.net/txt/id/32/type/articles/
# Version = 3.9.0 of DSPAM do already include a better 
purge script.
-   DSPAM_MySQL_PURGE_SQL_FILES=mysql_purge-4.1-optimized 
mysql_purge-4.1
+   DSPAM_MySQL_PURGE_SQL_FILES=mysql/purge-4.1-optimized 
mysql/purge-4.1
else
-   DSPAM_MySQL_PURGE_SQL_FILES=mysql_purge
+   DSPAM_MySQL_PURGE_SQL_FILES=mysql/purge
 
fi
 
@@ -239,7 +239,7 @@ clean_pgsql_drv() {
[ -n ${PgSQLServer} -a -n ${PgSQLUser} -a -n ${PgSQLDb} ]
then
DSPAM_PgSQL_PURGE_SQL=
-   DSPAM_PgSQL_PURGE_SQL_FILES=pgsql_pe-purge
+   DSPAM_PgSQL_PURGE_SQL_FILES=pgsql/purge-pe pgsql/purge
 
#
# We first search for the purge scripts in the directory the 
user has
@@ -348,6 +348,7 @@ clean_sqlite3_drv() {
DSPAM_SQLite3_PURGE_SQL=
[ -f ${DSPAM_CONFIGDIR}/config/sqlite3_purge.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_CONFIGDIR}/config/sqlite3_purge.sql
[ -f ${DSPAM_CONFIGDIR}/sqlite3_purge.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_CONFIGDIR}/sqlite3_purge.sql
+   [ -f ${DSPAM_PURGE_SCRIPT_DIR}/sqlite3/purge-3.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_PURGE_SCRIPT_DIR}/sqlite3/purge-3.sql
 
if [ -z ${DSPAM_SQLite3_PURGE_SQL} ]
then
@@ -377,47 +378,6 @@ clean_sqlite3_drv() {
 
 
 #
-# Function to clean DSPAM SQLite  3.0 data
-#
-clean_sqlite_drv() {
-   #
-   # SQLite
-   #
-   [ ${VERBOSE} = true ]  echo Running SQLite v2 storage driver 
data cleanup
-   if  [ ${USE_SQL_PURGE} = true ]
-   then
-   DSPAM_SQLite_PURGE_SQL=
-   [ -f ${DSPAM_CONFIGDIR}/config/sqlite_purge.sql ]  
DSPAM_SQLite_PURGE_SQL=${DSPAM_CONFIGDIR}/config/sqlite_purge.sql
-   [ -f ${DSPAM_CONFIGDIR}/sqlite_purge.sql ]  
DSPAM_SQLite_PURGE_SQL=${DSPAM_CONFIGDIR}/sqlite_purge.sql
-
-   if [ -z ${DSPAM_SQLite_PURGE_SQL} ]
-   then
-   echo Can not run SQLite purge script:
-   echo   No sqlite_purge SQL script found
-   return 1
-   fi
-
-   if [ ! -e ${SQLITE_BIN_DIR}/sqlite ]
-   then
-   echo Can not run SQLite purge script:
-   echo   ${SQLITE_BIN_DIR}/sqlite does not exist
-   return 1
-   fi
-
-   # Run the SQLite purge script and vacuum
-   find ${DSPAM_HOMEDIR} -name *.sdb -print | while read name
-   do
-   ${SQLITE_BIN_DIR}/sqlite ${name}  
${DSPAM_SQLite_PURGE_SQL} /dev/null
-   # Enable the next line if you don't vacuum in the purge 
script
-   # echo vacuum; | ${SQLITE_BIN_DIR}/sqlite ${name} 
/dev/null
-   done 1/dev/null 21
-   return 0
-   fi
-
-}
-
-
-#
 # Use a lock file to prevent multiple runs at the same time
 #
 DSPAM_CRON_LOCKFILE=/var/run/$(basename $0 .sh).pid
diff --git a/dspam.spec b/dspam.spec
index 428a5ed..37aeffb 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -7,11 +7,12 @@
 %global dspam_mode  2511
 %global dspam_web_docroot %{_localstatedir}/www/dspam
 %global __perl_requires %{SOURCE99}
+%global _hardened_build 1
 
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:2%{?dist}
+Release:3%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -376,6 +377,10 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Wed May 15 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-3
+- set hardened build to add PIE option since dspam can be long running bug 
#954345
+- properly fixes #657357 - PostgreSQL purge script works
+
 * Sun Oct 7 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-2
 - require perl(Mail::MboxParser)
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman

[dspam/f19] (2 commits) ...merged rebuild

2013-05-15 Thread Nathanael Noblet
Summary of changes:

  b6f84d3... fixed bugs #657357 and #954345 (*)
  e4d8635... merged rebuild (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f17] fixed bugs #657357 and #954345

2013-05-15 Thread Nathanael Noblet
commit b63805ba3956ca41a40db9a0471b0ae84e0ab9d4
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Wed May 15 09:56:30 2013 -0600

fixed bugs #657357 and #954345

 dspam-cron |   48 ++--
 dspam.spec |7 ++-
 2 files changed, 8 insertions(+), 47 deletions(-)
---
diff --git a/dspam-cron b/dspam-cron
index 26e0ae3..ad10113 100644
--- a/dspam-cron
+++ b/dspam-cron
@@ -239,7 +239,7 @@ clean_pgsql_drv() {
[ -n ${PgSQLServer} -a -n ${PgSQLUser} -a -n ${PgSQLDb} ]
then
DSPAM_PgSQL_PURGE_SQL=
-   DSPAM_PgSQL_PURGE_SQL_FILES=pgsql_pe-purge
+   DSPAM_PgSQL_PURGE_SQL_FILES=pgsql/purge-pe pgsql/purge
 
#
# We first search for the purge scripts in the directory the 
user has
@@ -347,7 +347,7 @@ clean_sqlite3_drv() {
then
DSPAM_SQLite3_PURGE_SQL=
[ -f ${DSPAM_CONFIGDIR}/config/sqlite3_purge.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_CONFIGDIR}/config/sqlite3_purge.sql
-   [ -f ${DSPAM_CONFIGDIR}/sqlite3_purge.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_CONFIGDIR}/sqlite3_purge.sql
+   [ -f ${DSPAM_PURGE_SCRIPT_DIR}/sqlite3/purge-3.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_PURGE_SCRIPT_DIR}/sqlite3/purge-3.sql
 
if [ -z ${DSPAM_SQLite3_PURGE_SQL} ]
then
@@ -377,47 +377,6 @@ clean_sqlite3_drv() {
 
 
 #
-# Function to clean DSPAM SQLite  3.0 data
-#
-clean_sqlite_drv() {
-   #
-   # SQLite
-   #
-   [ ${VERBOSE} = true ]  echo Running SQLite v2 storage driver 
data cleanup
-   if  [ ${USE_SQL_PURGE} = true ]
-   then
-   DSPAM_SQLite_PURGE_SQL=
-   [ -f ${DSPAM_CONFIGDIR}/config/sqlite_purge.sql ]  
DSPAM_SQLite_PURGE_SQL=${DSPAM_CONFIGDIR}/config/sqlite_purge.sql
-   [ -f ${DSPAM_CONFIGDIR}/sqlite_purge.sql ]  
DSPAM_SQLite_PURGE_SQL=${DSPAM_CONFIGDIR}/sqlite_purge.sql
-
-   if [ -z ${DSPAM_SQLite_PURGE_SQL} ]
-   then
-   echo Can not run SQLite purge script:
-   echo   No sqlite_purge SQL script found
-   return 1
-   fi
-
-   if [ ! -e ${SQLITE_BIN_DIR}/sqlite ]
-   then
-   echo Can not run SQLite purge script:
-   echo   ${SQLITE_BIN_DIR}/sqlite does not exist
-   return 1
-   fi
-
-   # Run the SQLite purge script and vacuum
-   find ${DSPAM_HOMEDIR} -name *.sdb -print | while read name
-   do
-   ${SQLITE_BIN_DIR}/sqlite ${name}  
${DSPAM_SQLite_PURGE_SQL} /dev/null
-   # Enable the next line if you don't vacuum in the purge 
script
-   # echo vacuum; | ${SQLITE_BIN_DIR}/sqlite ${name} 
/dev/null
-   done 1/dev/null 21
-   return 0
-   fi
-
-}
-
-
-#
 # Use a lock file to prevent multiple runs at the same time
 #
 DSPAM_CRON_LOCKFILE=/var/run/$(basename $0 .sh).pid
@@ -737,9 +696,6 @@ if ( set -o noclobber; echo $$  
${DSPAM_CRON_LOCKFILE}) 2 /dev/null; then
sqlite3_drv)
clean_sqlite3_drv
;;
-   sqlite_drv)
-   clean_sqlite_drv
-   ;;
*)
RUN_FULL_DSPAM_CLEAN=YES
echo Unknown storage ${foo} driver
diff --git a/dspam.spec b/dspam.spec
index 83e5b61..8a6859b 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -7,11 +7,12 @@
 %global dspam_mode  2511
 %global dspam_web_docroot %{_localstatedir}/www/dspam
 %global __perl_requires %{SOURCE99}
+%global _hardened_build 1
 
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:3%{?dist}
+Release:4%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -380,6 +381,10 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Wed May 15 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-4
+- set hardened build to add PIE option since dspam can be long running bug 
#954345
+- properly fixes #657357 - PostgreSQL purge script works
+
 * Thu Nov 29 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-3
 - Fix dspam-web.conf file to work with httpd 2.4 and 2.2 bug#871396
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Re: looking for co-maintainer / new owner

2013-04-20 Thread Nathanael Noblet

On Apr 20, 2013, at 12:32 AM, Dan Mashal wrote:
 As a Blackberry owner of the 9930 and the Z10 I will be happy to help.

Perfect, ACLs approved. I started to update to the 0.18.4 release from 0.18.3 
However they changed some of the udev rules and I wanted to make sure I knew 
why before I fixed the spec. Once that is done it should basically be maintance 
free till 0.19 is released.

thanks for signing up

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: dnf installs cron.hourly

2013-03-16 Thread Nathanael Noblet

On 03/15/2013 05:00 PM, Neal Becker wrote:


Almost makes me wonder if a system like that on my android is needed, where it
tells me when I install that the app may use services that cost me money.



I had an Android phone that did this. However I can't remember if it was 
the HTC Desire Z / G2 or the Galaxy Nexus, and ultimately I'm thinking 
that it was likely something the Play store did, not the phone...


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

[dspam] attempted fix for bug 657357 (Unable to find purge scripts)

2013-01-17 Thread Nathanael Noblet
commit 395665fa5ea3da9e111527e39d47f2a4fc52c2ef
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu Jan 17 13:40:01 2013 -0700

attempted fix for bug 657357 (Unable to find purge scripts)

 dspam-cron |   48 
 dspam.spec |5 -
 2 files changed, 8 insertions(+), 45 deletions(-)
---
diff --git a/dspam-cron b/dspam-cron
index 26e0ae3..a513b26 100644
--- a/dspam-cron
+++ b/dspam-cron
@@ -148,9 +148,9 @@ clean_mysql_drv() {
# For the 4.1-optimized version see:
# http://securitydot.net/txt/id/32/type/articles/
# Version = 3.9.0 of DSPAM do already include a better 
purge script.
-   DSPAM_MySQL_PURGE_SQL_FILES=mysql_purge-4.1-optimized 
mysql_purge-4.1
+   DSPAM_MySQL_PURGE_SQL_FILES=mysql/purge-4.1-optimized 
mysql/purge-4.1
else
-   DSPAM_MySQL_PURGE_SQL_FILES=mysql_purge
+   DSPAM_MySQL_PURGE_SQL_FILES=mysql/purge
 
fi
 
@@ -239,7 +239,7 @@ clean_pgsql_drv() {
[ -n ${PgSQLServer} -a -n ${PgSQLUser} -a -n ${PgSQLDb} ]
then
DSPAM_PgSQL_PURGE_SQL=
-   DSPAM_PgSQL_PURGE_SQL_FILES=pgsql_pe-purge
+   DSPAM_PgSQL_PURGE_SQL_FILES=pgsql/pe-purge pgsql/purge
 
#
# We first search for the purge scripts in the directory the 
user has
@@ -348,6 +348,7 @@ clean_sqlite3_drv() {
DSPAM_SQLite3_PURGE_SQL=
[ -f ${DSPAM_CONFIGDIR}/config/sqlite3_purge.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_CONFIGDIR}/config/sqlite3_purge.sql
[ -f ${DSPAM_CONFIGDIR}/sqlite3_purge.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_CONFIGDIR}/sqlite3_purge.sql
+   [ -f ${DSPAM_PURGE_SCRIPT_DIR}/sqlite3/purge-3.sql ]  
DSPAM_SQLite3_PURGE_SQL=${DSPAM_PURGE_SCRIPT_DIR}/sqlite3/purge-3.sql
 
if [ -z ${DSPAM_SQLite3_PURGE_SQL} ]
then
@@ -377,47 +378,6 @@ clean_sqlite3_drv() {
 
 
 #
-# Function to clean DSPAM SQLite  3.0 data
-#
-clean_sqlite_drv() {
-   #
-   # SQLite
-   #
-   [ ${VERBOSE} = true ]  echo Running SQLite v2 storage driver 
data cleanup
-   if  [ ${USE_SQL_PURGE} = true ]
-   then
-   DSPAM_SQLite_PURGE_SQL=
-   [ -f ${DSPAM_CONFIGDIR}/config/sqlite_purge.sql ]  
DSPAM_SQLite_PURGE_SQL=${DSPAM_CONFIGDIR}/config/sqlite_purge.sql
-   [ -f ${DSPAM_CONFIGDIR}/sqlite_purge.sql ]  
DSPAM_SQLite_PURGE_SQL=${DSPAM_CONFIGDIR}/sqlite_purge.sql
-
-   if [ -z ${DSPAM_SQLite_PURGE_SQL} ]
-   then
-   echo Can not run SQLite purge script:
-   echo   No sqlite_purge SQL script found
-   return 1
-   fi
-
-   if [ ! -e ${SQLITE_BIN_DIR}/sqlite ]
-   then
-   echo Can not run SQLite purge script:
-   echo   ${SQLITE_BIN_DIR}/sqlite does not exist
-   return 1
-   fi
-
-   # Run the SQLite purge script and vacuum
-   find ${DSPAM_HOMEDIR} -name *.sdb -print | while read name
-   do
-   ${SQLITE_BIN_DIR}/sqlite ${name}  
${DSPAM_SQLite_PURGE_SQL} /dev/null
-   # Enable the next line if you don't vacuum in the purge 
script
-   # echo vacuum; | ${SQLITE_BIN_DIR}/sqlite ${name} 
/dev/null
-   done 1/dev/null 21
-   return 0
-   fi
-
-}
-
-
-#
 # Use a lock file to prevent multiple runs at the same time
 #
 DSPAM_CRON_LOCKFILE=/var/run/$(basename $0 .sh).pid
diff --git a/dspam.spec b/dspam.spec
index 25754e1..dd9eeb5 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:5%{?dist}
+Release:6%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -367,6 +367,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Jan 17 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-6
+- Attempting to fix purge bug #657357
+
 * Thu Nov 29 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-5
 - Fix dspam-web.conf file to work with httpd 2.4 and 2.2 bug#871396
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam] its 2013 not 2012...

2013-01-17 Thread Nathanael Noblet
commit 9f286801023a0b93de781e8fa445d8a750b24590
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu Jan 17 13:40:42 2013 -0700

its 2013 not 2012...

 dspam.spec |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/dspam.spec b/dspam.spec
index dd9eeb5..1df1324 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -367,7 +367,7 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
-* Thu Jan 17 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-6
+* Thu Jan 17 2013 Nathanael Noblet nathan...@gnat.ca - 3.10.2-6
 - Attempting to fix purge bug #657357
 
 * Thu Nov 29 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-5
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f16] httpd 2.4 config fix

2012-11-29 Thread Nathanael Noblet
commit dc1ea023fa870c6f042154189bf939319cb9a269
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu Nov 29 10:55:57 2012 -0700

httpd 2.4 config fix

 dspam-web.conf |7 +--
 dspam.spec |5 -
 2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/dspam-web.conf b/dspam-web.conf
index e2d9274..ff40890 100644
--- a/dspam-web.conf
+++ b/dspam-web.conf
@@ -14,10 +14,13 @@
 #SSLCertificateKeyFile /etc/pki/tls/private/hostname.key 
 
 Directory /var/www/dspam
-AllowOverride   None
-Options -Indexes +ExecCGI
+AllowOverride  None
+   IfModule !mod_authz_core.c
+# Apache 2.2
 Order   allow,deny
 Allow   from all
+/IfModule
+Options -Indexes +ExecCGI
 AuthTypeBasic
 AuthNameDSPAM WebUI login
 AuthUserFile/var/www/dspam-passwd
diff --git a/dspam.spec b/dspam.spec
index b2bf889..db5d6da 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:2%{?dist}
+Release:3%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -379,6 +379,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Nov 29 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-3
+- Fix dspam-web.conf file to work with httpd 2.4 and 2.2 bug#871396
+
 * Sun Oct 7 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-2
 - Add exim patch
 - Require perl(Mail::MboxParser) fixes bug #622502
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f18] httpd 2.4 config fix

2012-11-29 Thread Nathanael Noblet
commit 508f9810d6822204a75bbdfcaf92a649eee99e24
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu Nov 29 10:55:57 2012 -0700

httpd 2.4 config fix

 dspam-web.conf |7 +--
 dspam.spec |5 -
 2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/dspam-web.conf b/dspam-web.conf
index e2d9274..ff40890 100644
--- a/dspam-web.conf
+++ b/dspam-web.conf
@@ -14,10 +14,13 @@
 #SSLCertificateKeyFile /etc/pki/tls/private/hostname.key 
 
 Directory /var/www/dspam
-AllowOverride   None
-Options -Indexes +ExecCGI
+AllowOverride  None
+   IfModule !mod_authz_core.c
+# Apache 2.2
 Order   allow,deny
 Allow   from all
+/IfModule
+Options -Indexes +ExecCGI
 AuthTypeBasic
 AuthNameDSPAM WebUI login
 AuthUserFile/var/www/dspam-passwd
diff --git a/dspam.spec b/dspam.spec
index 9b2e601..25754e1 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:4%{?dist}
+Release:5%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -367,6 +367,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Nov 29 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-5
+- Fix dspam-web.conf file to work with httpd 2.4 and 2.2 bug#871396
+
 * Thu Oct 11 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-4
 - Removed chkconfig and use systemd macros
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam] httpd 2.4 config fix

2012-11-29 Thread Nathanael Noblet
Summary of changes:

  508f981... httpd 2.4 config fix (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f18] Use systemd scriptlets

2012-10-11 Thread Nathanael Noblet
commit f0351dc9ad5eed397b2087cd781ac85b014f4f60
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu Oct 11 11:07:03 2012 -0600

Use systemd scriptlets

 dspam.spec |   18 +++---
 1 files changed, 3 insertions(+), 15 deletions(-)
---
diff --git a/dspam.spec b/dspam.spec
index c79f9e1..2d66943 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -263,25 +263,13 @@ done
 %{__install} -Dp -m 0644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/
 
 %post
-if [ $1 -eq 1 ] ; then 
-# Initial installation 
-/bin/systemctl daemon-reload /dev/null 21 || :
-fi
+%systemd_post dspam.service
 
 %preun
-if [ $1 -eq 0 ] ; then
-# Package removal, not upgrade
-/bin/systemctl --no-reload disable dspam.service  /dev/null 21 || :
-/bin/systemctl stop dspam.service  /dev/null 21 || :
-fi
+%systemd_preun dspam.service
 
 %postun
-/bin/systemctl daemon-reload /dev/null 21 || :
-if [ $1 -ge 1 ] ; then
-   /sbin/chkconfig --del httpd /dev/null 21 || :
-# Package upgrade, not uninstall
-/bin/systemctl try-restart dspam.service /dev/null 21 || :
-fi
+%systemd_postun_with_restart dspam.service
 
 %pre libs
 getent group %{dspam_user} /dev/null || groupadd -r %{dspam_user}
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam] Use systemd scriptlets

2012-10-11 Thread Nathanael Noblet
Summary of changes:

  f0351dc... Use systemd scriptlets (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f18] bump release ver previously forgotten

2012-10-11 Thread Nathanael Noblet
commit 3c5e8a62d01c0db47fa239cad637b147e1fbfff2
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu Oct 11 11:17:57 2012 -0600

bump release ver previously forgotten

 dspam.spec |5 -
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/dspam.spec b/dspam.spec
index 2d66943..9b2e601 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:3%{?dist}
+Release:4%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -367,6 +367,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Oct 11 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-4
+- Removed chkconfig and use systemd macros
+
 * Sun Oct 7 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-3
 - Add exim patch
 - Require perl(Mail::MboxParser) fixes bug #622502
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam] bump release ver previously forgotten

2012-10-11 Thread Nathanael Noblet
Summary of changes:

  3c5e8a6... bump release ver previously forgotten (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/el5] fix missing require

2012-10-08 Thread Nathanael Noblet
commit 4ed621f6881a007e1ac2cebb92e1d613d9f56a35
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Oct 8 00:14:58 2012 -0600

fix missing require

 dspam.spec |6 +-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/dspam.spec b/dspam.spec
index 93ae57d..428a5ed 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:1%{?dist}
+Release:2%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -40,6 +40,7 @@ Requires:   dspam-libs = %{version}-%{release}
 Requires(post): chkconfig
 Requires(preun):chkconfig
 Requires(preun):initscripts
+Requires:   perl(Mail::MboxParser)
 
 %description
 The DSPAM agent masquerades as the email server's local delivery agent
@@ -375,6 +376,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Sun Oct 7 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-2
+- require perl(Mail::MboxParser)
+
 * Wed May 2 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-1
 - new upstream release
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/el6] fix missing require

2012-10-08 Thread Nathanael Noblet
commit c2dd3d1ca4c14f4117414b4f3f3f5d0cf177c6cb
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Oct 8 00:13:34 2012 -0600

fix missing require

 dspam.spec |6 +-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/dspam.spec b/dspam.spec
index c1d345c..db60f70 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:1%{?dist}
+Release:2%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -40,6 +40,7 @@ Requires:   dspam-libs = %{version}-%{release}
 Requires(post): chkconfig
 Requires(preun):chkconfig
 Requires(preun):initscripts
+Requires:   perl(Mail::MboxParser)
 
 %description
 The DSPAM agent masquerades as the email server's local delivery agent
@@ -375,6 +376,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Sun Oct 7 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-2
+- require perl(Mail::MboxParser)
+
 * Wed May 2 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-1
 - new upstream release
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f16] add exim patch, fix requires

2012-10-08 Thread Nathanael Noblet
commit 2c3ba6487512d928b1ee6a05bfc27a527c3d9f5e
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Oct 8 00:08:22 2012 -0600

add exim patch, fix requires

 .gitignore  |1 +
 dspam-3.10.2.exim.patch |   35 +++
 dspam.spec  |   12 +---
 3 files changed, 45 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3916ccd..fa1c4e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ dspam-3.9.0.tar.gz
 dspam-3.10.0.tar.gz
 /dspam-3.10.1.tar.gz
 /dspam-3.10.2.tar.gz
+/.project
diff --git a/dspam-3.10.2.exim.patch b/dspam-3.10.2.exim.patch
new file mode 100644
index 000..f3031c2
--- /dev/null
+++ b/dspam-3.10.2.exim.patch
@@ -0,0 +1,35 @@
+--- doc/exim.txt   2011-08-16 17:38:30.0 -0500
 doc/exim.txt_NEW   2012-08-02 10:06:19.405528304 -0500
+@@ -40,11 +40,17 @@
+ 
+   command = /usr/local/bin/dspam --deliver=innocent --user 
$local_part@$domain -- %u
+ 
+-Finally, you will need to configure and compile DSPAM. DSPAM will most likely
+-end up calling exim again for delivery, using the spam-scanned protocol to
+-identify scanned messages. The most common example is:
+-
+-   ./configure --with-delivery-agent=/usr/sbin/exim -oMr spam-scanned
++Finally, you will need to configure and compile DSPAM. You can configure
++DSPAM with the appropriate LDA using --with-delivery-agent= at configure
++time or by specifying TrustedDeliveryAgent in dspam.conf. DSPAM will most
++likely end up calling exim again for delivery, using the spam-scanned
++protocol to identify scanned messages. The most common example is:
++
++   ./configure --with-delivery-agent=/usr/sbin/exim -oMr spam-scanned -oi
++
++Note: DSPAM expects the LDA to NOT provide the line with a single dot (.)
++processing to indicate the end of data that a MTA must provide to meet the
++SMTP RFC, hence the -oi option to exim above.
+ 
+ RUNNING WITHOUT PRIVILEGED EXIM USERS
+
+--- src/dspam.conf.in  2012-04-11 13:48:33.0 -0500
 src/dspam.conf.in_NEW  2012-08-02 10:09:38.235559835 -0500
+@@ -43,7 +43,7 @@
+ # Other popular configurations:
+ #TrustedDeliveryAgent /usr/cyrus/bin/deliver# Cyrus
+ #TrustedDeliveryAgent /bin/maildrop # Maildrop
+-#TrustedDeliveryAgent /usr/local/sbin/exim -oMr spam-scanned # Exim
++#TrustedDeliveryAgent /usr/local/sbin/exim -oMr spam-scanned -oi # Exim
+ #
+ TrustedDeliveryAgent @delivery_agent@
diff --git a/dspam.spec b/dspam.spec
index 88c5335..723455c 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:1%{?dist}
+Release:2%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -35,10 +35,11 @@ BuildRequires:  mysql-devel
 BuildRequires:  postgresql-devel
 BuildRequires:  sqlite-devel
 BuildRequires:  openldap-devel
-BuildRequires: systemd-units
+BuildRequires:  systemd-units
 
 Requires:   dspam-libs = %{version}-%{release}
-Requires(post):systemd-sysv
+Requires(post): systemd-sysv
+Requires:   perl(Mail::MboxParser)
 
 %description
 The DSPAM agent masquerades as the email server's local delivery agent
@@ -135,6 +136,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %patch1 -p0
 %patch2 -p0
 %patch3 -p0
+%patch4 -p0
 
 %build
 
@@ -375,6 +377,10 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Sun Oct 7 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-2
+- Add exim patch
+- Require perl(Mail::MboxParser) fixes bug #622502
+
 * Wed May 2 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-1
 - New upstream release
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f17] add exim patch, fix requires

2012-10-08 Thread Nathanael Noblet
commit 32a021d2b73e470ab65b4422822909e99a96186e
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Sun Oct 7 23:58:53 2012 -0600

add exim patch, fix requires

 .gitignore  |1 +
 dspam-3.10.2.exim.patch |   35 +++
 dspam.spec  |   16 
 3 files changed, 48 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3916ccd..fa1c4e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ dspam-3.9.0.tar.gz
 dspam-3.10.0.tar.gz
 /dspam-3.10.1.tar.gz
 /dspam-3.10.2.tar.gz
+/.project
diff --git a/dspam-3.10.2.exim.patch b/dspam-3.10.2.exim.patch
new file mode 100644
index 000..f3031c2
--- /dev/null
+++ b/dspam-3.10.2.exim.patch
@@ -0,0 +1,35 @@
+--- doc/exim.txt   2011-08-16 17:38:30.0 -0500
 doc/exim.txt_NEW   2012-08-02 10:06:19.405528304 -0500
+@@ -40,11 +40,17 @@
+ 
+   command = /usr/local/bin/dspam --deliver=innocent --user 
$local_part@$domain -- %u
+ 
+-Finally, you will need to configure and compile DSPAM. DSPAM will most likely
+-end up calling exim again for delivery, using the spam-scanned protocol to
+-identify scanned messages. The most common example is:
+-
+-   ./configure --with-delivery-agent=/usr/sbin/exim -oMr spam-scanned
++Finally, you will need to configure and compile DSPAM. You can configure
++DSPAM with the appropriate LDA using --with-delivery-agent= at configure
++time or by specifying TrustedDeliveryAgent in dspam.conf. DSPAM will most
++likely end up calling exim again for delivery, using the spam-scanned
++protocol to identify scanned messages. The most common example is:
++
++   ./configure --with-delivery-agent=/usr/sbin/exim -oMr spam-scanned -oi
++
++Note: DSPAM expects the LDA to NOT provide the line with a single dot (.)
++processing to indicate the end of data that a MTA must provide to meet the
++SMTP RFC, hence the -oi option to exim above.
+ 
+ RUNNING WITHOUT PRIVILEGED EXIM USERS
+
+--- src/dspam.conf.in  2012-04-11 13:48:33.0 -0500
 src/dspam.conf.in_NEW  2012-08-02 10:09:38.235559835 -0500
+@@ -43,7 +43,7 @@
+ # Other popular configurations:
+ #TrustedDeliveryAgent /usr/cyrus/bin/deliver# Cyrus
+ #TrustedDeliveryAgent /bin/maildrop # Maildrop
+-#TrustedDeliveryAgent /usr/local/sbin/exim -oMr spam-scanned # Exim
++#TrustedDeliveryAgent /usr/local/sbin/exim -oMr spam-scanned -oi # Exim
+ #
+ TrustedDeliveryAgent @delivery_agent@
diff --git a/dspam.spec b/dspam.spec
index f745697..6cace29 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:1%{?dist}
+Release:2%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -24,7 +24,9 @@ Source8:dspam-systemd
 Source99:   dspam-filter-requires.sh
 Patch1: dspam-3.9.0-docs.patch
 Patch2: dspam-3.9.0-dspamsock.patch
-Patch3:dspam-default-server-port.patch
+Patch3: dspam-default-server-port.patch
+Patch4: dspam-3.10.2.exim.patch
+
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
 Buildroot:  %(mktemp -ud 
%{_tmppath}/%{name}-%{version}-%{release}-XX)
@@ -35,10 +37,11 @@ BuildRequires:  mysql-devel
 BuildRequires:  postgresql-devel
 BuildRequires:  sqlite-devel
 BuildRequires:  openldap-devel
-BuildRequires: systemd-units
+BuildRequires:  systemd-units
 
 Requires:   dspam-libs = %{version}-%{release}
-Requires(post):systemd-sysv
+Requires(post): systemd-sysv
+Requires:   perl(Mail::MboxParser)
 
 %description
 The DSPAM agent masquerades as the email server's local delivery agent
@@ -135,6 +138,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %patch1 -p0
 %patch2 -p0
 %patch3 -p0
+%patch4 -p0
 
 %build
 
@@ -376,6 +380,10 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Sun Oct 7 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-2
+- Add exim patch
+- Require perl(Mail::MboxParser) fixes bug #622502
+
 * Wed May 2 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-1
 - New upstream release
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f18] (3 commits) ...add exim patch and fix bug 622502

2012-10-08 Thread Nathanael Noblet
Summary of changes:

  dd99fa3... ignore eclipse project files
  d41e9df... Merge branch 'master' of ssh://g...@pkgs.fedoraproject.org/
  be45028... add exim patch and fix bug 622502
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f18: 1/3] ignore eclipse project files

2012-10-08 Thread Nathanael Noblet
commit dd99fa310620c957ff861aa173554e4a208ced31
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu Aug 2 13:04:01 2012 -0600

ignore eclipse project files

 .gitignore |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3916ccd..7e03bca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ dspam-3.9.0.tar.gz
 dspam-3.10.0.tar.gz
 /dspam-3.10.1.tar.gz
 /dspam-3.10.2.tar.gz
+.project
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f18: 2/3] Merge branch 'master' of ssh://g...@pkgs.fedoraproject.org/dspam.git

2012-10-08 Thread Nathanael Noblet
commit d41e9df204a8fea5082275cafcc691cc86426136
Merge: dd99fa3 4189c8b
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Sun Oct 7 23:26:35 2012 -0600

Merge branch 'master' of ssh://g...@pkgs.fedoraproject.org/dspam.git

 dspam.spec |5 -
 1 files changed, 4 insertions(+), 1 deletions(-)
---
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f18: 3/3] add exim patch and fix bug 622502

2012-10-08 Thread Nathanael Noblet
commit be45028815d8b485ee71151d9677ff4a621af086
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Sun Oct 7 23:44:53 2012 -0600

add exim patch and fix bug 622502

 dspam-3.10.2.exim.patch |   35 +++
 dspam.spec  |   11 +--
 2 files changed, 44 insertions(+), 2 deletions(-)
---
diff --git a/dspam-3.10.2.exim.patch b/dspam-3.10.2.exim.patch
new file mode 100644
index 000..f3031c2
--- /dev/null
+++ b/dspam-3.10.2.exim.patch
@@ -0,0 +1,35 @@
+--- doc/exim.txt   2011-08-16 17:38:30.0 -0500
 doc/exim.txt_NEW   2012-08-02 10:06:19.405528304 -0500
+@@ -40,11 +40,17 @@
+ 
+   command = /usr/local/bin/dspam --deliver=innocent --user 
$local_part@$domain -- %u
+ 
+-Finally, you will need to configure and compile DSPAM. DSPAM will most likely
+-end up calling exim again for delivery, using the spam-scanned protocol to
+-identify scanned messages. The most common example is:
+-
+-   ./configure --with-delivery-agent=/usr/sbin/exim -oMr spam-scanned
++Finally, you will need to configure and compile DSPAM. You can configure
++DSPAM with the appropriate LDA using --with-delivery-agent= at configure
++time or by specifying TrustedDeliveryAgent in dspam.conf. DSPAM will most
++likely end up calling exim again for delivery, using the spam-scanned
++protocol to identify scanned messages. The most common example is:
++
++   ./configure --with-delivery-agent=/usr/sbin/exim -oMr spam-scanned -oi
++
++Note: DSPAM expects the LDA to NOT provide the line with a single dot (.)
++processing to indicate the end of data that a MTA must provide to meet the
++SMTP RFC, hence the -oi option to exim above.
+ 
+ RUNNING WITHOUT PRIVILEGED EXIM USERS
+
+--- src/dspam.conf.in  2012-04-11 13:48:33.0 -0500
 src/dspam.conf.in_NEW  2012-08-02 10:09:38.235559835 -0500
+@@ -43,7 +43,7 @@
+ # Other popular configurations:
+ #TrustedDeliveryAgent /usr/cyrus/bin/deliver# Cyrus
+ #TrustedDeliveryAgent /bin/maildrop # Maildrop
+-#TrustedDeliveryAgent /usr/local/sbin/exim -oMr spam-scanned # Exim
++#TrustedDeliveryAgent /usr/local/sbin/exim -oMr spam-scanned -oi # Exim
+ #
+ TrustedDeliveryAgent @delivery_agent@
diff --git a/dspam.spec b/dspam.spec
index e7103bf..c79f9e1 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.2
-Release:2%{?dist}
+Release:3%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -24,7 +24,8 @@ Source8:dspam-systemd
 Source99:   dspam-filter-requires.sh
 Patch1: dspam-3.9.0-docs.patch
 Patch2: dspam-3.9.0-dspamsock.patch
-Patch3:dspam-default-server-port.patch
+Patch3: dspam-default-server-port.patch
+Patch4: dspam-3.10.2.exim.patch
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
 Buildroot:  %(mktemp -ud 
%{_tmppath}/%{name}-%{version}-%{release}-XX)
@@ -39,6 +40,7 @@ BuildRequires:systemd-units
 
 Requires:   dspam-libs = %{version}-%{release}
 Requires(post):systemd-sysv
+Requires:  perl(Mail::MboxParser)
 
 %description
 The DSPAM agent masquerades as the email server's local delivery agent
@@ -135,6 +137,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %patch1 -p0
 %patch2 -p0
 %patch3 -p0
+%patch4 -p0
 
 %build
 
@@ -376,6 +379,10 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Sun Oct 7 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-3
+- Add exim patch
+- Require perl(Mail::MboxParser) fixes bug #622502
+
 * Wed Jul 18 2012 Fedora Release Engineering rel-...@lists.fedoraproject.org 
- 3.10.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam] (3 commits) ...add exim patch and fix bug 622502

2012-10-08 Thread Nathanael Noblet
Summary of changes:

  dd99fa3... ignore eclipse project files (*)
  d41e9df... Merge branch 'master' of ssh://g...@pkgs.fedoraproject.org/ (*)
  be45028... add exim patch and fix bug 622502 (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f16] add the patch to the spec

2012-10-08 Thread Nathanael Noblet
commit ab705f123d0311b0fe4527b66cabedcaf5694988
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Oct 8 00:32:16 2012 -0600

add the patch to the spec

 dspam.spec |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/dspam.spec b/dspam.spec
index 723455c..b2bf889 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -24,7 +24,9 @@ Source8:dspam-systemd
 Source99:   dspam-filter-requires.sh
 Patch1: dspam-3.9.0-docs.patch
 Patch2: dspam-3.9.0-dspamsock.patch
-Patch3:dspam-default-server-port.patch
+Patch3: dspam-default-server-port.patch
+Patch4: dspam-3.10.2.exim.patch
+
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
 Buildroot:  %(mktemp -ud 
%{_tmppath}/%{name}-%{version}-%{release}-XX)
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator/el5] Remove un-needed patch

2012-06-25 Thread Nathanael Noblet
commit 810dd49e0529b75ea643c35af136553b3076167e
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Jun 25 12:02:43 2012 -0600

Remove un-needed patch

 w3c-markup-validator-0.8.6-hanextra.patch |   59 -
 w3c-markup-validator.spec |9 ++--
 2 files changed, 5 insertions(+), 63 deletions(-)
---
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index 8fec29a..92798f0 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -1,6 +1,6 @@
 Name:   w3c-markup-validator
 Version:0.8.6
-Release:3%{?dist}
+Release:4%{?dist}
 Summary:W3C Markup Validator
 
 Group:  Applications/Internet
@@ -19,8 +19,7 @@ Patch2: %{name}-0.8.6-valid-icons.patch
 # Not upstreamable,
 # https://www.redhat.com/archives/fedora-legal-list/2009-February/msg00020.html
 Patch3: %{name}-0.8.6-iso-html.patch
-# Not upstreamable, kept until Encode::HanExtra is packaged
-Patch4: %{name}-0.8.6-hanextra.patch
+
 # Post 0.8.6 upstream
 Patch5: %{name}-0.8.6-xmlenc.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -65,7 +64,6 @@ rm htdocs/images/markup_validation_service.psd
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
 mv htdocs/sgml-lib .
 
@@ -149,6 +147,9 @@ done
 
 
 %changelog
+* Mon Jun 25 2012 Nathanael Noblet nathan...@gnat.ca - 0.8.6-4
+- Removed non-needed hans patch as it has been packaged
+
 * Tue Apr 13 2010 Nathanael Noblet nathan...@gnat.ca - 0.8.6-3
 - actually fix symlink to xhtml1-dtds
 - adjust xhtml1-dtds requirement
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator/el6] Remove un-needed patch

2012-06-25 Thread Nathanael Noblet
commit 6d1295c0d913afc117082d60031eb77f198490cb
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Jun 25 12:00:52 2012 -0600

Remove un-needed patch

 w3c-markup-validator-1.0-hanextra.patch |   59 ---
 w3c-markup-validator.spec   |9 +++--
 2 files changed, 5 insertions(+), 63 deletions(-)
---
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index bccf9bb..b6c631c 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -1,6 +1,6 @@
 Name:   w3c-markup-validator
 Version:1.0
-Release:1%{?dist}
+Release:2%{?dist}
 Summary:W3C Markup Validator
 
 Group:  Applications/Internet
@@ -19,8 +19,7 @@ Patch2: %{name}-1.0-valid-icons.patch
 # Not upstreamable,
 # https://www.redhat.com/archives/fedora-legal-list/2009-February/msg00020.html
 Patch3: %{name}-0.8.6-iso-html.patch
-# Not upstreamable, kept until Encode::HanExtra is packaged
-Patch4: %{name}-1.0-hanextra.patch
+
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:  noarch
@@ -58,7 +57,6 @@ rm htdocs/images/markup_validation_service.psd
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
 mv htdocs/sgml-lib .
 
@@ -145,6 +143,9 @@ done
 
 
 %changelog
+* Mon Jun 25 2012 Nathanael Noblet nathan...@gnat.ca - 1.0-2
+- Removed non-needed hans patch as it has been packaged
+
 * Fri Jun 18 2010 Ville Skyttä ville.sky...@iki.fi - 1.0-1
 - Update to 1.0, XML encoding fix applied upstream.
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator/f15] Remove un-needed patch

2012-06-25 Thread Nathanael Noblet
commit 7d87dc1169c5eeb8164869154fe545dde9eacc7f
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Jun 25 11:59:43 2012 -0600

Remove un-needed patch

 w3c-markup-validator-1.0-hanextra.patch |   59 ---
 w3c-markup-validator.spec   |9 +++--
 2 files changed, 5 insertions(+), 63 deletions(-)
---
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index 6d20f5f..1681b0c 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -2,7 +2,7 @@
 
 Name:   w3c-markup-validator
 Version:1.2
-Release:3%{?dist}
+Release:4%{?dist}
 Summary:W3C Markup Validator
 
 Group:  Applications/Internet
@@ -21,8 +21,7 @@ Patch2: %{name}-1.0-valid-icons.patch
 # Not upstreamable,
 # https://www.redhat.com/archives/fedora-legal-list/2009-February/msg00020.html
 Patch3: %{name}-0.8.6-iso-html.patch
-# Not upstreamable, kept until Encode::HanExtra is packaged
-Patch4: %{name}-1.0-hanextra.patch
+
 # From upstream post-1.2 hg (commit 3214)
 Patch5: %{name}-1.2-perl512-warnings.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -63,7 +62,6 @@ rm htdocs/images/markup_validation_service.psd
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 %patch5 -p1
 find . -type f -name *.orig -delete # patch backup files
 
@@ -152,6 +150,9 @@ done
 
 
 %changelog
+* Mon Jun 25 2012 Nathanael Noblet nathan...@gnat.ca - 1.2-4
+- Removed non-needed hans patch as it has been packaged
+
 * Tue Mar 15 2011 Ville Skyttä ville.sky...@iki.fi - 1.2-3
 - Filter unsatisfied perl(W3C::Validator::EventHandler) self-dependency.
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator/f16] Remove un-needed patch

2012-06-25 Thread Nathanael Noblet
commit c71731d6b2bbb6da7553edd0886044d732fd4561
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Jun 25 11:58:44 2012 -0600

Remove un-needed patch

 w3c-markup-validator-1.0-hanextra.patch |   59 ---
 w3c-markup-validator.spec   |9 +++--
 2 files changed, 5 insertions(+), 63 deletions(-)
---
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index 6d20f5f..1681b0c 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -2,7 +2,7 @@
 
 Name:   w3c-markup-validator
 Version:1.2
-Release:3%{?dist}
+Release:4%{?dist}
 Summary:W3C Markup Validator
 
 Group:  Applications/Internet
@@ -21,8 +21,7 @@ Patch2: %{name}-1.0-valid-icons.patch
 # Not upstreamable,
 # https://www.redhat.com/archives/fedora-legal-list/2009-February/msg00020.html
 Patch3: %{name}-0.8.6-iso-html.patch
-# Not upstreamable, kept until Encode::HanExtra is packaged
-Patch4: %{name}-1.0-hanextra.patch
+
 # From upstream post-1.2 hg (commit 3214)
 Patch5: %{name}-1.2-perl512-warnings.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -63,7 +62,6 @@ rm htdocs/images/markup_validation_service.psd
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 %patch5 -p1
 find . -type f -name *.orig -delete # patch backup files
 
@@ -152,6 +150,9 @@ done
 
 
 %changelog
+* Mon Jun 25 2012 Nathanael Noblet nathan...@gnat.ca - 1.2-4
+- Removed non-needed hans patch as it has been packaged
+
 * Tue Mar 15 2011 Ville Skyttä ville.sky...@iki.fi - 1.2-3
 - Filter unsatisfied perl(W3C::Validator::EventHandler) self-dependency.
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator/f17] Remove un-needed patch

2012-06-25 Thread Nathanael Noblet
commit 49c4d1ceb3ebf84e691e53f4a5eaedcd30ca15ed
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Jun 25 11:57:05 2012 -0600

Remove un-needed patch

 w3c-markup-validator-1.0-hanextra.patch |   59 ---
 w3c-markup-validator.spec   |9 +++--
 2 files changed, 5 insertions(+), 63 deletions(-)
---
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index 594cb41..47a605a 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -2,7 +2,7 @@
 
 Name:   w3c-markup-validator
 Version:1.2
-Release:4%{?dist}
+Release:5%{?dist}
 Summary:W3C Markup Validator
 
 Group:  Applications/Internet
@@ -21,8 +21,7 @@ Patch2: %{name}-1.0-valid-icons.patch
 # Not upstreamable,
 # https://www.redhat.com/archives/fedora-legal-list/2009-February/msg00020.html
 Patch3: %{name}-0.8.6-iso-html.patch
-# Not upstreamable, kept until Encode::HanExtra is packaged
-Patch4: %{name}-1.0-hanextra.patch
+
 # From upstream post-1.2 hg (commit 3214)
 Patch5: %{name}-1.2-perl512-warnings.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -63,7 +62,6 @@ rm htdocs/images/markup_validation_service.psd
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 %patch5 -p1
 find . -type f -name *.orig -delete # patch backup files
 
@@ -152,6 +150,9 @@ done
 
 
 %changelog
+* Mon Jun 25 2012 Nathanael Noblet nathan...@gnat.ca - 1.2-5
+- Removed non-needed hans patch as it has been packaged
+
 * Sat Jan 14 2012 Fedora Release Engineering rel-...@lists.fedoraproject.org 
- 1.2-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator] remove un-needed patch (Encode::HanExtra) as it has been packaged

2012-06-25 Thread Nathanael Noblet
commit 6ee11641b14ba49d1c42abe1e056f6146f60b4b5
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Jun 25 11:47:47 2012 -0600

remove un-needed patch (Encode::HanExtra) as it has been packaged

 w3c-markup-validator-1.0-hanextra.patch |   59 ---
 w3c-markup-validator.spec   |9 +++--
 2 files changed, 5 insertions(+), 63 deletions(-)
---
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index 594cb41..47a605a 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -2,7 +2,7 @@
 
 Name:   w3c-markup-validator
 Version:1.2
-Release:4%{?dist}
+Release:5%{?dist}
 Summary:W3C Markup Validator
 
 Group:  Applications/Internet
@@ -21,8 +21,7 @@ Patch2: %{name}-1.0-valid-icons.patch
 # Not upstreamable,
 # https://www.redhat.com/archives/fedora-legal-list/2009-February/msg00020.html
 Patch3: %{name}-0.8.6-iso-html.patch
-# Not upstreamable, kept until Encode::HanExtra is packaged
-Patch4: %{name}-1.0-hanextra.patch
+
 # From upstream post-1.2 hg (commit 3214)
 Patch5: %{name}-1.2-perl512-warnings.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -63,7 +62,6 @@ rm htdocs/images/markup_validation_service.psd
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 %patch5 -p1
 find . -type f -name *.orig -delete # patch backup files
 
@@ -152,6 +150,9 @@ done
 
 
 %changelog
+* Mon Jun 25 2012 Nathanael Noblet nathan...@gnat.ca - 1.2-5
+- Removed non-needed hans patch as it has been packaged
+
 * Sat Jan 14 2012 Fedora Release Engineering rel-...@lists.fedoraproject.org 
- 1.2-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator/el5] fix spec file parse error no require hints

2012-06-25 Thread Nathanael Noblet
commit a24742768c6f7ea52da6a287ae252a84308f15c9
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Jun 25 12:47:33 2012 -0600

fix spec file parse error no require hints

 w3c-markup-validator.spec |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index 92798f0..c7bbd41 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -29,7 +29,7 @@ BuildRequires:  %{__perl}
 BuildRequires:  xz
 Requires:   httpd
 Requires:   %{name}-libs = %{version}
-Requires(hint): perl(HTML::Tidy)
+Requires:   perl(HTML::Tidy)
 
 %description
 The W3C Markup Validator checks documents like HTML and XHTML for
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator/el6] require hinting is no longer supported

2012-06-25 Thread Nathanael Noblet
commit 70a9f2edda2df4a65c72ed105564f99599ba320d
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Jun 25 12:58:31 2012 -0600

require hinting is no longer supported

 w3c-markup-validator.spec |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index b6c631c..0527759 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -28,7 +28,7 @@ Requires:   httpd
 Requires:   %{name}-libs = %{version}
 # Not autodetected
 Requires:   perl(XML::LibXML) = 1.70
-Requires(hint): perl(HTML::Tidy)
+Requires:   perl(HTML::Tidy)
 
 %description
 The W3C Markup Validator checks documents like HTML and XHTML for
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[w3c-markup-validator/el6] fixed non-applying patch

2012-06-25 Thread Nathanael Noblet
commit ce00d6b0f1cbfc7968ecc416c6d6b1a6a96c4f45
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Mon Jun 25 13:12:58 2012 -0600

fixed non-applying patch

 w3c-markup-validator-0.8.5-iso-html.patch |   12 
 w3c-markup-validator-1.0-iso-html.patch   |   13 +
 w3c-markup-validator.spec |2 +-
 3 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/w3c-markup-validator-1.0-iso-html.patch 
b/w3c-markup-validator-1.0-iso-html.patch
new file mode 100644
index 000..d38af8b
--- /dev/null
+++ b/w3c-markup-validator-1.0-iso-html.patch
@@ -0,0 +1,13 @@
+--- validator-1.0/htdocs/sgml-lib/sgml.soc 2010-06-14 16:11:50.0 
-0600
 validator-1.0/htdocs/sgml-lib/sgml.soc 2012-06-25 12:56:42.741885237 
-0600
+@@ -107,10 +107,6 @@
+ 
+ -- ISO-HTML --
+ 
+-PUBLIC ISO/IEC 15445:2000//DTD HyperText Markup Language//EN
+-   ISO-HTML/15445.dtd
+-PUBLIC ISO/IEC 15445:2000//DTD HTML//EN
+-   ISO-HTML/15445.dtd
+ PUBLIC -//W3C//ENTITIES Full Latin 1//EN//HTML
+REC-html401-19991224/HTMLlat1.ent
+ PUBLIC -//W3C//ENTITIES Symbolic//EN//HTML
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index 0527759..4aab39e 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -18,7 +18,7 @@ Patch1: %{name}-1.0-syspaths.patch
 Patch2: %{name}-1.0-valid-icons.patch
 # Not upstreamable,
 # https://www.redhat.com/archives/fedora-legal-list/2009-February/msg00020.html
-Patch3: %{name}-0.8.6-iso-html.patch
+Patch3: %{name}-1.0-iso-html.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

File w3c-markup-validator-1.3.tar.xz uploaded to lookaside cache by gnat

2012-06-25 Thread Nathanael Noblet
A file has been added to the lookaside cache for w3c-markup-validator:

04611f5b7f70f02ff5ceeb57f510080c  w3c-markup-validator-1.3.tar.xz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

File dspam-3.10.2.tar.gz uploaded to lookaside cache by gnat

2012-05-02 Thread Nathanael Noblet
A file has been added to the lookaside cache for dspam:

0e0e405d3284485b2a43f47eaf6b09bb  dspam-3.10.2.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f17] bump upstream version

2012-05-02 Thread Nathanael Noblet
commit 7accda0717895f62e4f2d0a2e129ca0f44251a0d
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Wed May 2 09:39:02 2012 -0600

bump upstream version

 .gitignore |1 +
 dspam.spec |7 +--
 sources|2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c04f94d..3916ccd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 dspam-3.9.0.tar.gz
 dspam-3.10.0.tar.gz
 /dspam-3.10.1.tar.gz
+/dspam-3.10.2.tar.gz
diff --git a/dspam.spec b/dspam.spec
index f8f1f23..f745697 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -10,8 +10,8 @@
 
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
-Version:3.10.1
-Release:8%{?dist}
+Version:3.10.2
+Release:1%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -376,6 +376,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Wed May 2 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-1
+- New upstream release
+
 * Thu Feb 23 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.1-8
 - Change default server port to 10024 so dspam starts up by default
 
diff --git a/sources b/sources
index 57ed40b..58fd81e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b8b57f7f4ce31de86fa13a656d3bf936  dspam-3.10.1.tar.gz
+0e0e405d3284485b2a43f47eaf6b09bb  dspam-3.10.2.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f17] adjust documentation for 3.10.2

2012-05-02 Thread Nathanael Noblet
commit b105366785c0d973ae3d7461255af0a627c3f615
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Wed May 2 10:03:11 2012 -0600

adjust documentation for 3.10.2

 dspam-3.9.0-docs.patch |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/dspam-3.9.0-docs.patch b/dspam-3.9.0-docs.patch
index 46f6bb9..acb1eb4 100644
--- a/dspam-3.9.0-docs.patch
+++ b/dspam-3.9.0-docs.patch
@@ -40,6 +40,6 @@
  
 -virtual_transport = lmtp:unix:/tmp/dspam.sock
 +virtual_transport = lmtp:unix:/var/run/dspam/dspam.sock
- virtual_mailbox_domains   = example.com
+ virtual_mailbox_domains   = example.org
  virtual_mailbox_maps  = mysql:/etc/postfix/vmailbox.cf
  
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam] (2 commits) ...adjust documentation for 3.10.2

2012-05-02 Thread Nathanael Noblet
Summary of changes:

  7accda0... bump upstream version (*)
  b105366... adjust documentation for 3.10.2 (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/el5] new upstream

2012-05-02 Thread Nathanael Noblet
commit b9f81aa0f357f71339e2e1afc50dca3d4da68663
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Wed May 2 10:27:10 2012 -0600

new upstream

 dspam-3.9.0-docs.patch |2 +-
 dspam.spec |7 +--
 sources|2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/dspam-3.9.0-docs.patch b/dspam-3.9.0-docs.patch
index 46f6bb9..acb1eb4 100644
--- a/dspam-3.9.0-docs.patch
+++ b/dspam-3.9.0-docs.patch
@@ -40,6 +40,6 @@
  
 -virtual_transport = lmtp:unix:/tmp/dspam.sock
 +virtual_transport = lmtp:unix:/var/run/dspam/dspam.sock
- virtual_mailbox_domains   = example.com
+ virtual_mailbox_domains   = example.org
  virtual_mailbox_maps  = mysql:/etc/postfix/vmailbox.cf
  
diff --git a/dspam.spec b/dspam.spec
index 3268ba0..93ae57d 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -10,8 +10,8 @@
 
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
-Version:3.10.1
-Release:3%{?dist}
+Version:3.10.2
+Release:1%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -375,6 +375,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Wed May 2 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-1
+- new upstream release
+
 * Tue Jan 3 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.1-3
 - revert logrotate issue
 
diff --git a/sources b/sources
index 57ed40b..58fd81e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b8b57f7f4ce31de86fa13a656d3bf936  dspam-3.10.1.tar.gz
+0e0e405d3284485b2a43f47eaf6b09bb  dspam-3.10.2.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f15] new upstream release

2012-05-02 Thread Nathanael Noblet
commit 668fc196d5d86b305e61dd692d3dfc2c97b6b9dc
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Wed May 2 09:39:02 2012 -0600

new upstream release

 .gitignore |2 +-
 dspam-3.9.0-docs.patch |2 +-
 dspam.spec |7 +--
 sources|2 +-
 4 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b369bb4..dc7f580 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-dspam-3.9.0.tar.gz
+/dspam-3.10.2.tar.gz
diff --git a/dspam-3.9.0-docs.patch b/dspam-3.9.0-docs.patch
index 46f6bb9..acb1eb4 100644
--- a/dspam-3.9.0-docs.patch
+++ b/dspam-3.9.0-docs.patch
@@ -40,6 +40,6 @@
  
 -virtual_transport = lmtp:unix:/tmp/dspam.sock
 +virtual_transport = lmtp:unix:/var/run/dspam/dspam.sock
- virtual_mailbox_domains   = example.com
+ virtual_mailbox_domains   = example.org
  virtual_mailbox_maps  = mysql:/etc/postfix/vmailbox.cf
  
diff --git a/dspam.spec b/dspam.spec
index e2338d0..e8501ad 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -10,8 +10,8 @@
 
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
-Version:3.10.1
-Release:5%{?dist}
+Version:3.10.2
+Release:1%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -375,6 +375,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Wed May 2 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-1
+- New upstream release
+
 * Sat Dec 3 2011 Nathanael Noblet nathan...@gnat.ca - 3.10.1-5
 - test enabling of clamav option
 
diff --git a/sources b/sources
index 57ed40b..58fd81e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b8b57f7f4ce31de86fa13a656d3bf936  dspam-3.10.1.tar.gz
+0e0e405d3284485b2a43f47eaf6b09bb  dspam-3.10.2.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f16] bump upstream version

2012-05-02 Thread Nathanael Noblet
commit b0203d52c02e2defe505d371638313a2df3c10a5
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Wed May 2 09:39:02 2012 -0600

bump upstream version

 .gitignore |1 +
 dspam.spec |8 
 sources|2 +-
 3 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c04f94d..3916ccd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 dspam-3.9.0.tar.gz
 dspam-3.10.0.tar.gz
 /dspam-3.10.1.tar.gz
+/dspam-3.10.2.tar.gz
diff --git a/dspam.spec b/dspam.spec
index a70fb65..94daf7c 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -10,8 +10,13 @@
 
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
+ HEAD
 Version:3.10.1
 Release:6%{?dist}
+===
+Version:3.10.2
+Release:1%{?dist}
+ 7accda0... bump upstream version
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -375,6 +380,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Wed May 2 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.2-1
+- New upstream release
+
 * Thu Feb 23 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.1-6
 - Change default server port to 10024 so dspam starts up by default
 
diff --git a/sources b/sources
index 57ed40b..58fd81e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b8b57f7f4ce31de86fa13a656d3bf936  dspam-3.10.1.tar.gz
+0e0e405d3284485b2a43f47eaf6b09bb  dspam-3.10.2.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f16] adjust documentation for 3.10.2

2012-05-02 Thread Nathanael Noblet
commit 12ed6f6a876a64831c6580588f4cd7767a98ccd6
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Wed May 2 10:03:11 2012 -0600

adjust documentation for 3.10.2

 dspam-3.9.0-docs.patch |2 +-
 dspam.spec |5 -
 2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/dspam-3.9.0-docs.patch b/dspam-3.9.0-docs.patch
index 46f6bb9..acb1eb4 100644
--- a/dspam-3.9.0-docs.patch
+++ b/dspam-3.9.0-docs.patch
@@ -40,6 +40,6 @@
  
 -virtual_transport = lmtp:unix:/tmp/dspam.sock
 +virtual_transport = lmtp:unix:/var/run/dspam/dspam.sock
- virtual_mailbox_domains   = example.com
+ virtual_mailbox_domains   = example.org
  virtual_mailbox_maps  = mysql:/etc/postfix/vmailbox.cf
  
diff --git a/dspam.spec b/dspam.spec
index 94daf7c..88c5335 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -10,13 +10,8 @@
 
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
- HEAD
-Version:3.10.1
-Release:6%{?dist}
-===
 Version:3.10.2
 Release:1%{?dist}
- 7accda0... bump upstream version
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f17] set default port to 10024 so dspam can start by default on fedora

2012-02-23 Thread Nathanael Noblet
commit 7556af1a191d754e49c77abc02f06daea9471d4f
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu Feb 23 09:09:06 2012 -0700

set default port to 10024 so dspam can start by default on fedora

 dspam-default-server-port.patch |   13 +
 dspam.spec  |8 +++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/dspam-default-server-port.patch b/dspam-default-server-port.patch
new file mode 100644
index 000..4305a38
--- /dev/null
+++ b/dspam-default-server-port.patch
@@ -0,0 +1,13 @@
+--- src/dspam.conf.in.org  2012-02-23 09:00:22.376282372 -0700
 src/dspam.conf.in  2012-02-23 09:01:34.488000499 -0700
+@@ -802,7 +802,9 @@
+ # interfaces.
+ #
+ #ServerHost   127.0.0.1
+-#ServerPort   24
++#Default port is 24, however the fedora dspam package doesn't run as root
++#therfore wouldn't start by default
++ServerPort10024
+ #ServerQueueSize  32
+ #ServerPID/var/run/dspam.pid
+ 
diff --git a/dspam.spec b/dspam.spec
index 843c431..f8f1f23 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.1
-Release:7%{?dist}
+Release:8%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -24,6 +24,7 @@ Source8:dspam-systemd
 Source99:   dspam-filter-requires.sh
 Patch1: dspam-3.9.0-docs.patch
 Patch2: dspam-3.9.0-dspamsock.patch
+Patch3:dspam-default-server-port.patch
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
 Buildroot:  %(mktemp -ud 
%{_tmppath}/%{name}-%{version}-%{release}-XX)
@@ -133,6 +134,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %setup -q
 %patch1 -p0
 %patch2 -p0
+%patch3 -p0
 
 %build
 
@@ -165,6 +167,7 @@ sed -i 
's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 
 %{__make} OPTIMIZE=%{optflags} -fPIC -DPIC
 
+
 %install
 %{__rm} -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL=install -p
@@ -373,6 +376,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Feb 23 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.1-8
+- Change default server port to 10024 so dspam starts up by default
+
 * Tue Jan 17 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.1-7
 - Enable systemd's PrivateTmp feature for added security
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam/f16] Set ServerPort to 10024 so dspam can start by default

2012-02-23 Thread Nathanael Noblet
commit 18ef4138049bc86a5c51f0749befd0d63b20a3dd
Author: Nathanael D. Noblet nathan...@gnat.ca
Date:   Thu Feb 23 09:28:31 2012 -0700

Set ServerPort to 10024 so dspam can start by default

 dspam-default-server-port.patch |   13 +
 dspam.spec  |7 ++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/dspam-default-server-port.patch b/dspam-default-server-port.patch
new file mode 100644
index 000..4305a38
--- /dev/null
+++ b/dspam-default-server-port.patch
@@ -0,0 +1,13 @@
+--- src/dspam.conf.in.org  2012-02-23 09:00:22.376282372 -0700
 src/dspam.conf.in  2012-02-23 09:01:34.488000499 -0700
+@@ -802,7 +802,9 @@
+ # interfaces.
+ #
+ #ServerHost   127.0.0.1
+-#ServerPort   24
++#Default port is 24, however the fedora dspam package doesn't run as root
++#therfore wouldn't start by default
++ServerPort10024
+ #ServerQueueSize  32
+ #ServerPID/var/run/dspam.pid
+ 
diff --git a/dspam.spec b/dspam.spec
index 0a8adaa..a70fb65 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:   dspam
 Version:3.10.1
-Release:5%{?dist}
+Release:6%{?dist}
 License:GPLv2
 Group:  System Environment/Daemons
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -24,6 +24,7 @@ Source8:dspam-systemd
 Source99:   dspam-filter-requires.sh
 Patch1: dspam-3.9.0-docs.patch
 Patch2: dspam-3.9.0-dspamsock.patch
+Patch3:dspam-default-server-port.patch
 URL:http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
 Buildroot:  %(mktemp -ud 
%{_tmppath}/%{name}-%{version}-%{release}-XX)
@@ -133,6 +134,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %setup -q
 %patch1 -p0
 %patch2 -p0
+%patch3 -p0
 
 %build
 
@@ -373,6 +375,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Feb 23 2012 Nathanael Noblet nathan...@gnat.ca - 3.10.1-6
+- Change default server port to 10024 so dspam starts up by default
+
 * Sat Dec 3 2011 Nathanael Noblet nathan...@gnat.ca - 3.10.1-5
 - test enabling of clamav option
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[dspam] set default port to 10024 so dspam can start by default on fedora

2012-02-23 Thread Nathanael Noblet
Summary of changes:

  7556af1... set default port to 10024 so dspam can start by default on  (*)

(*) This commit already existed in another branch; no separate mail sent
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Re: Thunderbird/Lightening as Calendar

2012-02-17 Thread Nathanael Noblet

On 02/17/2012 05:07 AM, Luca Botti wrote:

well, actually is thunderbird-lightning, because lighning as a separate
application is no more. Now it lives as a thunderbird plugin.
Regards


Yeah I understood that part but still wondering why it isn't an option 
for calendar. Is it missing capabilities? Accepting certain 
urls/formats? Maybe it has to support the evo-data backend or something? 
Or is it simply missing a config file to let gnome know that it is capable?



--
Nathanael
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Unity For Fedora (As in OpenSUSE or Arch)

2012-02-01 Thread Nathanael Noblet

On 02/01/2012 05:00 PM, Adam Williamson wrote:

On 2012-02-01 11:39, Florian Müllner wrote:


Because the integrated experience means that there is a fixed set of
system items with a defined order. Extensions can be used to hack the
intended experience (which includes adding non-official icons in the
top bar), but it's nothing we want normal applications to do.
Applications are encouraged to interact with the message tray (== the
autohiding bottom panel) via freedesktop notifications (yay,
cross-desktop! ;-)


Yay cross-desktop maybe, but still a freaking disaster from a UI point
of view, and the only thing I really dislike about GNOME 3 (when I was
forced to drop to Xfce for a couple of days last week, the old-school
notifications were the only things I preferred). That sometimes-hidden,
erratically-triggered notification area *never* seems to do what I
actually want it to do. It shows up when I don't want it, it doesn't
show up when there's something on it I probably actually needed to see,
the icons on it fly around like space invaders and take two or hree
clicks to get rid of, transmission 'torrent completed' notifications
stack to the moon and back...it's just not nice.

I realize this isn't a very constructive mail, and the point has been
raised before, but I'm hoping at some point the sheer weight of
complaints will cause someone more creative than myself to actually come
up with a notification system for GNOME 3 which satisfies the GNOME
design team and *also* does not suck.


Me too. I can't stand that bottom corner area. I can't stand how they 
fly around left and right like they are dodging my mouse. Do I right 
click left click... some stick around forever... Seriously annoying.

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: The question of rolling release?

2012-01-24 Thread Nathanael Noblet

On 01/24/2012 06:30 PM, Rahul Sundaram wrote:

I dont think there is a massive user base waiting for a rolling release
really. Rolling release automatically implies a level of disruption
periodically everytime a major component is bumped up. Esp for binary
distros, this isn't that great a user experience. I would participate in
such a effort but I don't buy the idea of this as a trend


I'd be interested in a rolling release iff updates weren't disruptive. 
Considering each release usually comes with *some* issues. Sometimes 
regular updates has issues (for example eclipse updates regularly causes 
me issues - no hard feelings). However if that happened regularly as the 
release rolled on... I'd be finding an alternative. I like to choose 
when to upgrade because I know when my schedule matches.


So far I've seen lots of discussion about can we do it, but no proposal 
nor any real set of why it would be better. Does it reduce packaging 
work? Does it do X Y Z? Why would I *want* a rolling release?


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: service version disclosure

2012-01-08 Thread Nathanael Noblet

On 01/08/2012 01:46 PM, Reindl Harald wrote:



Am 08.01.2012 21:06, schrieb Ian Pilcher:

On 01/06/2012 11:31 PM, Reindl Harald wrote:

yes, i know it is security by obscurity
but does it hurt?


Yes, it hurts.

It hurts every time we make life a little more difficult to satisfy
someone's misguided idea of securitee.  I refer you to the
Transportation Security Administration if you have any doubt of this.


there are no misguided ideas

EVERY security specialist will tell you that you should never
disclose details, versions, configurations - NEVER if you
can avoid it

you need an example?

* disclose as defaults do OS, Apache-Version und PHP-Version
* what needs an attacker to do?
* receive ANY page, analyze the header
* after that he knows EXACTLY what exploits are working

if you do NOT disclose this informations he must try every
possible exploit - this will only happen if you diretly
targeted

but in the real world there are thousands of bots searching
for vulerable services 24 hours a day on the whole web
and if a signature matches someone is getting notified

if you are not aware of this fact i recommend you some
education in security!

SSH was here only an example
i meant GENERALLY how fedora/RHEL is dealing with defaults
___

this is a worst-case example of a ubuntu-server and the
default footer if a directory-listing (only after authentication
but a software-source i know which i do not disclose here)

Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 mod_python/3.3.1 Python/2.5.2 
PHP/5.2.4-2ubuntu5.14 with Suhosin-Patch
mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8 Server at  Port 80

and such things are only happening if maintainers do not choose
defaults with care - if you are too late with a security update
or there is a known vulerability with no updates yet you are
blowing out that you are vulnerable which is the same as a
documentation how to get hacked!


So from my logs. Not a probe first, just plain trying to get data using 
a hopeful exploit. They don't care what version of anything I'm running.


/chronoPopup.php?PERIOD=../../../../../../../../../../etc/passwd%00 HTTP 
Response 200

/chronoPopup.php?PERIOD=/etc/passwd HTTP Response 200

/chronoPopup.php?PERIOD=/../../../../../../../../../../proc/self/environ%00 
HTTP Response 200


/chronoPopup.php?PERIOD=../../../../../../../../../../proc/self/environ 
HTTP Response 200
/chronoPopup.php?PERIOD=../../../../../../../../../../etc/passwd 
HTTP Response 200


/chronoPopup.php?PERIOD=/../../../../../../../../../../etc/passwd%00 
HTTP Response 200
/chronoPopup.php?PERIOD=/../../../../../../../../../../etc/passwd 
HTTP Response 200


I realize it looks like they got the files they wanted, but in reality 
it ignored the request and sent the data it always does...


In any case, I still get tons of requests for Default.aspx, as well as a 
whole host of requests for IIS vulnerabilities. Even though I run Linux 
and Apache. Hiding the version changes nothing. The software doing all 
this scanning simply *tries* to exploit, not find out exploitable 
machines so it can tell some random human to then run a script against 
it


--
Nathanael d. Noblet
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: service version disclosure

2012-01-08 Thread Nathanael Noblet

On 01/08/2012 04:24 PM, Reindl Harald wrote:

and you think that some random examples prove anything?
some webserver logs are showing nothing about real exploits

there was and there will be exploits you will never see
in your webserver-log because if they worked CODE was
executed in the context of your webserver

fact is that nobody out there needs to know your software-version
for something useful and one of the most important rules in
server-administration disable and disclose ANYTHING which is not
explicit needed to prevent exploit-cases you can not imagine
while configure your machine


Umm aren't you saying precisely what everyone is saying?

fact is that nobody out there needs to know your software-version for 
something useful


Which was the point of my weblog examples. I am aware that it means 
nothing except someone tried something. The fact is people don't need 
the software version to exploit. So displaying changes nothing. That 
seems to be the point of this thread.

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

  1   2   3   >