[csw-devel] SF.net SVN: gar:[19118] csw/mgar/pkg/apg/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Aug 30 15:21:44 CEST 2012


Revision: 19118
          http://gar.svn.sourceforge.net/gar/?rev=19118&view=rev
Author:   dmichelsen
Date:     2012-08-30 13:21:43 +0000 (Thu, 30 Aug 2012)
Log Message:
-----------
apg/trunk: Add some fixes

Modified Paths:
--------------
    csw/mgar/pkg/apg/trunk/Makefile
    csw/mgar/pkg/apg/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/apg/trunk/files/0001-Fix-Makefile-for-Solaris-use.patch

Removed Paths:
-------------
    csw/mgar/pkg/apg/trunk/files/CSWapg.gspec

Modified: csw/mgar/pkg/apg/trunk/Makefile
===================================================================
--- csw/mgar/pkg/apg/trunk/Makefile	2012-08-30 13:03:59 UTC (rev 19117)
+++ csw/mgar/pkg/apg/trunk/Makefile	2012-08-30 13:21:43 UTC (rev 19118)
@@ -1,6 +1,6 @@
 NAME = apg
 VERSION = 2.2.3
-GARTYPE = v1
+GARTYPE = v2
 CATEGORIES = utils
 
 DESCRIPTION = Automated Password Generator
@@ -9,12 +9,16 @@
 
 MASTER_SITES = http://www.adel.nursat.kz/apg/download/
 DISTFILES  = $(NAME)-$(VERSION).tar.gz
-DISTFILES += $(call admfiles,CSWapg)
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = download/$(NAME)-(\d+(?:\.\d+)*).tar.gz
-UPSTREAM_MASTER_SITES = http://www.adel.nursat.kz/apg/download.shtml
+PATCHFILES += 0001-Fix-Makefile-for-Solaris-use.patch
 
-CONFIGURE_ARGS = $(DIRPATHS)
+# There is no configure
+CONFIGURE_SCRIPTS =
 
+# There is no testsuite
+TEST_SCRIPTS =
+
+INSTALL_OVERRIDE_VARS += INSTALL_PREFIX
+INSTALL_OVERRIDE_VAR_INSTALL_PREFIX = $(DESTDIR)$(prefix)
+
 include gar/category.mk

Modified: csw/mgar/pkg/apg/trunk/checksums
===================================================================
--- csw/mgar/pkg/apg/trunk/checksums	2012-08-30 13:03:59 UTC (rev 19117)
+++ csw/mgar/pkg/apg/trunk/checksums	2012-08-30 13:21:43 UTC (rev 19118)
@@ -1,2 +1 @@
-3b3fc4f11e90635519fe627c1137c9ac  download/apg-2.2.3.tar.gz
-1619c4d431490f91c920252a65b7a263  download/CSWapg.gspec
+3b3fc4f11e90635519fe627c1137c9ac  apg-2.2.3.tar.gz

Added: csw/mgar/pkg/apg/trunk/files/0001-Fix-Makefile-for-Solaris-use.patch
===================================================================
--- csw/mgar/pkg/apg/trunk/files/0001-Fix-Makefile-for-Solaris-use.patch	                        (rev 0)
+++ csw/mgar/pkg/apg/trunk/files/0001-Fix-Makefile-for-Solaris-use.patch	2012-08-30 13:21:43 UTC (rev 19118)
@@ -0,0 +1,34 @@
+From 641c70d613ebbcbb0b1a915fa3da32f68b5a71ad Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Thu, 30 Aug 2012 15:11:03 +0200
+Subject: [PATCH] Fix Makefile for Solaris use
+
+---
+ Makefile |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index c8dab03..1caa900 100644
+--- a/Makefile
++++ b/Makefile
+@@ -6,7 +6,7 @@ CC = gcc
+ ##################################################################
+ # Compilation flags
+ # You should comment the line below for AIX+native cc
+-FLAGS = -Wall
++#FLAGS = -Wall
+ 
+ ##################################################################
+ # Libraries
+@@ -65,7 +65,7 @@ APGD_MAN_DIR = /man/man8
+ # Solaris
+ #
+ # Uncoment line below for Solaris
+-#CS_LIBS = -lnsl -lsocket
++CS_LIBS = -lnsl -lsocket
+ 
+ ####################################################################
+ # QNX RTP 6.1.0
+-- 
+1.7.10.3
+

Deleted: csw/mgar/pkg/apg/trunk/files/CSWapg.gspec
===================================================================
--- csw/mgar/pkg/apg/trunk/files/CSWapg.gspec	2012-08-30 13:03:59 UTC (rev 19117)
+++ csw/mgar/pkg/apg/trunk/files/CSWapg.gspec	2012-08-30 13:21:43 UTC (rev 19118)
@@ -1,5 +0,0 @@
-%var            bitname apg
-%var            pkgname CSWapg
-%var            arch all
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright	url file://%{WORKSRC}/COPYING

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list