Bug 55825 - qhacc port checksum mismatch
Summary: qhacc port checksum mismatch
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-21 00:00 UTC by Ruslan Babayev
Modified: 2003-08-22 15:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruslan Babayev 2003-08-21 00:00:21 UTC
	Checksum mismatch for qhacc-2.9.1.tar.gz

Fix: 

update the port checksum;
	check qhacc-2.9.1.tar.gz on sourceforge (may be trojaned?)
How-To-Repeat: 	cd /usr/ports/finance/qhacc
	make install
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2003-08-21 00:14:45 UTC
Hi,

On Wed, Aug 20, 2003 at 05:59:52PM -0500, Ruslan Babayev wrote:
> 	update the port checksum;
> 	check qhacc-2.9.1.tar.gz on sourceforge (may be trojaned?)

Hmm, it seems that software author re-rolled the tarball.

-Kirill
Comment 2 tkato 2003-08-22 14:22:13 UTC
On Wed, 20 Aug 2003 16:20:08 -0700 (PDT)
Kirill Ponomarew <krion@FreeBSD.org> wrote:

>  Hmm, it seems that software author re-rolled the tarball.

I've confirmed that several missing headers are appended
into tarball.

Here is a patch for updating port.


diff -urN /usr/ports/finance/qhacc/Makefile finance/qhacc/Makefile
--- /usr/ports/finance/qhacc/Makefile	Tue Aug 19 01:52:23 2003
+++ finance/qhacc/Makefile	Thu Aug 21 14:51:02 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	qhacc
 PORTVERSION=	2.9.1
+PORTREVISION=	1
 CATEGORIES=	finance
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -28,9 +29,6 @@
 INSTALLS_SHLIB=	yes
 
 STRIP=		# none
-
-post-extract:
-	@${CP} -f ${FILESDIR}/xmlplugin.h ${WRKSRC}/plugins/xml
 
 post-patch:
 	@${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
diff -urN /usr/ports/finance/qhacc/distinfo finance/qhacc/distinfo
--- /usr/ports/finance/qhacc/distinfo	Tue Aug 19 01:52:24 2003
+++ finance/qhacc/distinfo	Thu Aug 21 14:51:47 2003
@@ -1 +1 @@
-MD5 (qhacc-2.9.1.tar.gz) = 67ddb65c89424bf684b1dca998d0a212
+MD5 (qhacc-2.9.1.tar.gz) = 1e8b88a7ee1978bdcc7915ca9915a945
diff -urN /usr/ports/finance/qhacc/files/xmlplugin.h finance/qhacc/files/xmlplugin.h
--- /usr/ports/finance/qhacc/files/xmlplugin.h	Mon Aug 18 17:54:01 2003
+++ finance/qhacc/files/xmlplugin.h	Thu Jan  1 09:00:00 1970
@@ -1,52 +0,0 @@
-/************************* * * * * * * * * * * * * ***************************
-    Copyright (c) 1999-2003 Ryan Bobko
-                       ryan@ostrich-emulators.com
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.     
-************************** * * * * * * * * * * * * **************************/
-
-#ifndef XMLIMPORTER_H
-#define XMLIMPORTER_H
-
-#include "localfileplugin.h"
-
-#include <stdlib.h>
-#include <tree.h>
-#include <xmlmemory.h>
-#include <parser.h>
-
-class XMLDBPlugin : public LocalFileDBPlugin {
- public:
-	XMLDBPlugin();
-	virtual ~XMLDBPlugin();
-
-	virtual bool load( QHacc * eng, const QString& home, QString& error );
-	virtual bool save( const QString&, bool, QString& );
-
-	virtual QString description() const;
-	static QString sdescription();
-
-	virtual QString understands() const; // what QHACC_HOME keywords do I know?
-	static QString sunderstands(); // what QHACC_HOME keywords do I know?
-
- protected:
-	void writeTable( QHaccResultSet& data, const char ** lbls, uint lblcnt,
-									 xmlDocPtr tree, xmlNsPtr ns, const QString& label ) const;
-	void readTable( QHaccResultSet& data, const char ** lbls,
-									uint lblcnt, xmlNodePtr cur, xmlDocPtr doc, 
-									const QString& label ) const;
-};
-
-#endif
Comment 3 Kirill Ponomarev freebsd_committer freebsd_triage 2003-08-22 15:09:58 UTC
State Changed
From-To: open->closed

Committed, thanks!