Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymilter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
misc
pymilter
Commits
91183641
Commit
91183641
authored
16 years ago
by
Stuart Gathman
Browse files
Options
Downloads
Patches
Plain Diff
Fedora release
parent
577c0bd1
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
miltermodule.c
+5
-2
5 additions, 2 deletions
miltermodule.c
pymilter.spec
+6
-5
6 additions, 5 deletions
pymilter.spec
with
11 additions
and
7 deletions
miltermodule.c
+
5
−
2
View file @
91183641
...
...
@@ -35,6 +35,9 @@ $ python setup.py help
libraries=["milter","smutil","resolv"]
* $Log$
* Revision 1.15 2008/12/13 20:29:56 customdesigned
* Split off milter applications.
*
* Revision 1.14 2008/12/04 19:43:00 customdesigned
* Doc updates.
*
...
...
@@ -1146,8 +1149,8 @@ milter_replacebody(PyObject *self, PyObject *args) {
ctx
=
_find_context
(
self
);
if
(
ctx
==
NULL
)
return
NULL
;
t
=
PyEval_SaveThread
();
return
_thread_return
(
t
,
smfi_replacebody
(
ctx
,
bodyp
,
bodylen
),
"cannot replace message body"
);
return
_thread_return
(
t
,
smfi_replacebody
(
ctx
,
(
unsigned
char
*
)
bodyp
,
bodylen
),
"cannot replace message body"
);
}
static
char
milter_setpriv__doc__
[]
=
...
...
This diff is collapsed.
Click to expand it.
pymilter.spec
+
6
−
5
View file @
91183641
%define __python python2.4
%define __python python
#define __python python2.4
%define version 0.9.0
%define release 1
.el4
%define release 1
%{dist}
%define libdir %{_libdir}/pymilter
%define name pymilter
%define redhat7 0
...
...
@@ -9,11 +10,11 @@ Summary: Python interface to sendmail milter API
Name: %{name}
Version: %{version}
Release: %{release}
Source: %{name}-%{version}.tar.gz
Source:
http://downloads.sf.net/pymilter/
%{name}-%{version}.tar.gz
#Patch: %{name}-%{version}.patch
License: GPLv2+
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-
build
root
BuildRoot: %{_tmppath}/%{name}-
%{version}-%{release}-
root
Vendor: Stuart D. Gathman <stuart@bmsi.com>
Url: http://www.bmsi.com/python/milter.html
Requires: %{__python} >= 2.4, sendmail >= 8.13
...
...
@@ -61,7 +62,7 @@ EOF
%endif
chmod a+x $RPM_BUILD_ROOT%{libdir}/start.sh
%if !%{redhat7}
#
grep '.pyc$' INSTALLED_FILES | sed -e 's/c$/o/' >>INSTALLED_FILES
grep '.pyc$' INSTALLED_FILES | sed -e 's/c$/o/' >>INSTALLED_FILES
%endif
# start.sh is used by spfmilter and milter, and could be used by
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment