Bug 60395 - FIX and update ports: qmail-scanner
Summary: FIX and update ports: qmail-scanner
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergei Kolobov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-19 11:30 UTC by jfkimura
Modified: 2004-01-03 00:14 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (3.67 KB, patch)
2003-12-19 11:30 UTC, jfkimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jfkimura 2003-12-19 11:30:15 UTC
It became abnormal to install qmail-scanner into my PC.
A revision was necessary about the following items.

 1.Addition of QMAILSCAN_QUEUEBINARY
	Appointment of -- qmail-queue-binary became /usr/local/bin.
	I tried to change it to needing it with /var/qmail/bin as a default.

 2.A change of a patch file
	When there is not appointment of a soft-headed mission,
	   mkdir becomes an error in FreeBSD 4.9 (Perl version 5.005_03)
	   in qmail-scanner-queue.template.
	I revised it to solve this. (like a permission mode 0755)

 3.A change of pkg-plist
	I revise that there is the file makes '1' at the time of deinstall.

 4.A change of pkg-install
	Because a script did not work by a lack of authority justly, I added a hand.
	(because qmail-scanner-queue-version.txt quarantine-attachments.db was not generated)


And,

In addition, I added the following for convenience.

 * Addition of QMAILSCAN_LANG
	It is convenient to update it in portupgrade.	
	Just like: MAILSCAN_LANG=ja_JP.EUC


When this ports does not do setuid for /usr/bin/suidperl
 when it is carried out in Perl version 5.005_03, I become an introduction error.
This is thing previous work business and thinks that one to display
 a necessary thing by a message is preferable.
	# chmod 4711 /usr/bin/suidperl

Fix: Check:
	FreeBSD 4.9-RELEASE
	FreeBSD 5.1-RELEASE

==== Begin here
How-To-Repeat: 
[FreeBSD 4.9 RELEASE]
Sending standard test message - no viruses...
Not enough arguments for mkdir at /usr/local/bin/qmail-scanner-queue.pl line 299, near ""$scandir/tmp") "
BEGIN not safe after errors--compilation aborted at /usr/local/bin/qmail-scanner-queue.pl line 1017.
qmail-inject: fatal: qq temporary problem (#4.3.0)
Bad error. qmail-inject died
*** Error code 1

etc..
Comment 1 Sergei Kolobov freebsd_committer freebsd_triage 2003-12-19 13:57:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sergei

I am working on this with the maintainer.
Comment 2 Sergei Kolobov freebsd_committer freebsd_triage 2003-12-29 18:07:25 UTC
State Changed
From-To: open->feedback

pkg-plist patch was committed. 
Still waiting maintainer's feedback on the rest of the changes.
Comment 3 Sergei Kolobov freebsd_committer freebsd_triage 2004-01-03 00:13:12 UTC
State Changed
From-To: feedback->closed

According to the maintainer, these issues have been addressed 
during recent upgrade to 1.20.  

Please submit another PR if you still have problems with the port.