[csw-devel] SF.net SVN: gar:[17247] csw/mgar/pkg

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Wed Feb 29 11:31:45 CET 2012


Revision: 17247
          http://gar.svn.sourceforge.net/gar/?rev=17247&view=rev
Author:   cgrzemba
Date:     2012-02-29 10:31:45 +0000 (Wed, 29 Feb 2012)
Log Message:
-----------
foomatic-filters/trunk: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/foomatic-filters/
    csw/mgar/pkg/foomatic-filters/branches/
    csw/mgar/pkg/foomatic-filters/tags/
    csw/mgar/pkg/foomatic-filters/trunk/
    csw/mgar/pkg/foomatic-filters/trunk/Makefile
    csw/mgar/pkg/foomatic-filters/trunk/files/
    csw/mgar/pkg/foomatic-filters/trunk/files/0001-sanitize-data-type-process.c.patch


Property changes on: csw/mgar/pkg/foomatic-filters/trunk
___________________________________________________________________
Added: svn:ignore
   + work
checksums


Added: csw/mgar/pkg/foomatic-filters/trunk/Makefile
===================================================================
--- csw/mgar/pkg/foomatic-filters/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/foomatic-filters/trunk/Makefile	2012-02-29 10:31:45 UTC (rev 17247)
@@ -0,0 +1,36 @@
+# $Id: Makefile 13420 2011-02-20 21:04:03Z bdwalton $
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = foomatic-filters
+VERSION = 4.0.12
+GARTYPE = v2
+CATEGORIES = utils
+
+DESCRIPTION = Cups printer driver for non postscript printers
+define BLURB
+  Foomatic is a database-driven system for integrating free software printer drivers with common spoolers under Unix. It supports CUPS, LPRng, LPD, GNUlpr, Solaris LP, PPR, PDQ, CPS, and direct printing with every free software printer driver known to us and every printer known to work with these drivers.
+endef
+
+MASTER_SITES = http://www.openprinting.org/download/foomatic/
+DISTFILES  = $(DISTNAME).tar.gz
+# GARCOMPILER = GNU
+GARCOMPILER = SOS12U3
+
+PACKAGING_PLATFORMS = solaris10-i386 solaris10-sparc
+PATCHFILES += 0001-sanitize-data-type-process.c.patch
+
+PACKAGES = CSWfoomatic-filters
+OBSOLETED_BY_CSWfoomatic-filters = CSWfoomaticfilters CSWhpijs
+SPKG_DESC_CSWfoomatic-filters = $(DESCRIPTION) foomatic
+RUNTIME_DEP_PKGS_CSWfoomatic-filters += CSWlibdbus1-3
+
+CHECKPKG_OVERRIDES_CSWfoomatic-filters += file-with-bad-content|/usr/local|root/opt/csw/bin/foomatic-rip
+CHECKPKG_OVERRIDES_CSWfoomatic-filters += file-with-bad-content|/usr/local|root/opt/csw/lib/cups/backend/beh
+CHECKPKG_OVERRIDES_CSWfoomatic-filters += file-with-bad-content|/usr/local|root/etc/opt/csw/foomatic/filter.conf
+CHECKPKG_OVERRIDES_CSWfoomatic-filters += file-with-bad-content|/usr/local|root/etc/opt/csw/foomatic/filter.conf.sample
+CHECKPKG_OVERRIDES_CSWfoomatic-filters += file-with-bad-content|/usr/share|root/opt/csw/bin/foomatic-rip
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+include gar/category.mk
+

Added: csw/mgar/pkg/foomatic-filters/trunk/files/0001-sanitize-data-type-process.c.patch
===================================================================
--- csw/mgar/pkg/foomatic-filters/trunk/files/0001-sanitize-data-type-process.c.patch	                        (rev 0)
+++ csw/mgar/pkg/foomatic-filters/trunk/files/0001-sanitize-data-type-process.c.patch	2012-02-29 10:31:45 UTC (rev 17247)
@@ -0,0 +1,40 @@
+From 10a38e3a17a28a05eba93883690cc76f68aa1817 Mon Sep 17 00:00:00 2001
+From: Carsten Grzemba <cgrzemba at opencsw.org>
+Date: Tue, 28 Feb 2012 08:28:32 +0100
+Subject: [PATCH] sanitize data type process.c
+
+---
+ process.c |    6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/process.c b/process.c
+index f5763bd..d5a7709 100644
+--- a/process.c
++++ b/process.c
+@@ -90,7 +90,7 @@ void kill_all_processes()
+     clear_proc_list();
+ }
+ 
+-static int _start_process(const char *name,
++static pid_t _start_process(const char *name,
+                           int (*proc_func)(FILE *, FILE *, void *),
+                           void *user_arg, FILE **pipe_in, FILE **pipe_out,
+                           int createprocessgroup)
+@@ -182,12 +182,12 @@ int exec_command(FILE *in, FILE *out, void *cmd)
+     return EXIT_PRNERR_NORETRY_BAD_SETTINGS;
+ }
+ 
+-int start_system_process(const char *name, const char *command, FILE **fdin, FILE **fdout)
++pid_t start_system_process(const char *name, const char *command, FILE **fdin, FILE **fdout)
+ {
+     return _start_process(name, exec_command, (void*)command, fdin, fdout, 1);
+ }
+ 
+-int start_process(const char *name, int (*proc_func)(FILE *, FILE *, void *), void *user_arg, FILE **fdin, FILE **fdout)
++pid_t start_process(const char *name, int (*proc_func)(FILE *, FILE *, void *), void *user_arg, FILE **fdin, FILE **fdout)
+ {
+     return _start_process(name, proc_func, user_arg, fdin, fdout, 0);
+ }
+-- 
+1.7.9
+

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