]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
deleted empty collectd rootfile
authorarne_f <arne_f@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Tue, 4 Mar 2008 18:39:29 +0000 (18:39 +0000)
committerarne_f <arne_f@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Tue, 4 Mar 2008 18:39:29 +0000 (18:39 +0000)
added netpbm (pnmtojpeg) for phpSANE
added phpSANE

git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1249 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

13 files changed:
config/netpbm/Makefile.config [new file with mode: 0644]
config/phpSANE/phpSANE.conf [new file with mode: 0644]
config/rootfiles/packages/collectd [deleted file]
config/rootfiles/packages/netpbm [new file with mode: 0644]
config/rootfiles/packages/phpSANE [new file with mode: 0644]
doc/packages-list.txt
lfs/netpbm [new file with mode: 0644]
lfs/phpSANE [new file with mode: 0644]
make.sh
src/paks/phpSANE/install.sh [new file with mode: 0644]
src/paks/phpSANE/uninstall.sh [new file with mode: 0644]
src/paks/phpSANE/update.sh [new file with mode: 0644]
src/patches/phpSANE-0.3.3-fixes.patch [new file with mode: 0755]

diff --git a/config/netpbm/Makefile.config b/config/netpbm/Makefile.config
new file mode 100644 (file)
index 0000000..dd5ae21
--- /dev/null
@@ -0,0 +1,587 @@
+####This file was automatically created by 'configure.'
+####Many variables are set twice -- a generic setting, then 
+####a system-specific override at the bottom of the file.
+####
+# This is a make file inclusion, to be included in all the Netpbm make
+# files.
+
+# This file is meant to contain variable settings that customize the
+# build for a particular target system configuration.
+
+# The distribution contains the file Makefile.config.in.  You edit
+# Makefile.config.in in ways relevant to your particular environment 
+# to create Makefile.config.  The "configure" program will do this
+# for you in simple cases.
+
+# Some of the variables that the including make file must set for this
+# file to work:
+#
+#  SRCDIR: The directory at the top of the Netpbm source tree.  Note that
+#  this is typically a relative directory, and it must be relative to the
+#  make file that includes this file.
+
+DEFAULT_TARGET = nonmerge
+#DEFAULT_TARGET = merge
+
+# Fiasco has some special requirements that make it fail to compile on
+# some systems, and since it isn't very important, just set this to "N"
+# and skip it on those systems unless you want to debug it and fix it.
+# OpenBSD:
+#BUILD_FIASCO = N
+BUILD_FIASCO = Y
+
+# The following are commands for the build process to use.  These values
+# do not get built into anything.
+
+# The C compiler (including macro preprocessor)
+#CC = gcc
+# Note that 'cc' is usually an alias for whatever is the main compiler
+# on a system, e.g. the GNU Compiler on Linux.
+CC = cc
+
+# The linker.
+LD = $(CC)
+#LD = ld
+#Tru64:
+#LD = cc
+#LD = gcc 
+
+#If the linker identified above is a compiler that invokes a linker
+#(as in 'cc foo.o -o foo'), set LINKERISCOMPILER.  The main difference is
+#that we expect a compiler to take linker options in the '-Wl,-opt1,val1'
+#syntax whereas the actual linker would take '-opt1 val1'.
+LINKERISCOMPILER=Y
+#If $(LD) is 'ld':
+#LINKERISCOMPILER=N
+
+#LINKER_CAN_DO_EXPLICIT_LIBRARY means the linker specified above can
+#take a library as just another link object argument, as in 'ld
+#pnmtojpeg.o /usr/local/lib/libjpeg.so ...'  as opposed to requiring a
+#-l option as in 'ld pnmtojpeg.o -L/usr/local/lib -l jpeg'.
+#This variable controls how 'libopt' gets built.  Note that with some
+#linkers, you can specify a shared library explicitly, but then it has
+#to live in that exact place at run time.  That's not good enough for us.
+
+LINKER_CAN_DO_EXPLICIT_LIBRARY=N
+#GNU:
+#LINKER_CAN_DO_EXPLICIT_LIBRARY=Y
+
+# This is the name of the header file that declares the types
+# uint32_t, etc.  This name is used as #include $(INTTYPES_H)  .
+# Set to null if the types come automatically without including anything.
+INTTYPES_H = <inttypes.h>
+# Linux libc5:
+#INTTYPES_H = <types.h>
+# Solaris:
+#INTTYPES_H = <sys/inttypes.h>
+# Others:
+#INTTYPES_H = <sys/stdint.h>
+#INTTYPES_H = <sys/types.h>
+# The automatically generated Netpbm version:
+#INTTYPES_H = "inttypes_netpbm.h"
+
+# CC and LD are for building the Netpbm programs, which are not necessarily
+# intended to run on the same system on which Make is running.  But when we 
+# build a build tool such as Libopt, it is meant to run only on the same 
+# system on which the Make is running.  The variables below define programs
+# to use to compile and link build tools.
+CC_FOR_BUILD = $(CC)
+LD_FOR_BUILD = $(LD)
+
+# MAKE is set automatically by Make to what was used to invoke Make.
+
+INSTALL = $(SRCDIR)/buildtools/install.sh
+#Solaris:
+#INSTALL = /usr/ucb/install
+#Tru64:
+#INSTALL = installbsd
+#OSF1:
+#INSTALL = $(SRCDIR)/buildtools/installosf
+#Red Hat Linux:
+#INSTALL = install
+
+# STRIPFLAG is the option you pass to the above install program to make it
+# strip unnecessary information out of binaries.
+STRIPFLAG = -s
+# If you don't want to strip the binaries, just leave it null:
+#STRIPFLAG = 
+
+SYMLINK = ln -s
+# At least some Windows environments don't have any concept of symbolic
+# links, but direct copies are usually a passable alternative.
+#SYMLINK = cp
+
+#MANPAGE_FORMAT is "nroff" or "cat".  It determines in what format the
+#pointer man pages are installed (ready to nroff, or ready to cat).  
+#A pointer man pages is just a single-paragraph pages that tells you there is
+#no man page for the program, to look at the HTML documentation instead.
+MANPAGE_FORMAT = nroff
+#MANPAGE_FORMAT = cat
+
+AR = ar
+RANLIB = ranlib
+# IRIX, SCO don't have Ranlib:
+#RANLIB = true
+LEX = flex
+# Solaris:
+# LEX = flex -e
+# Or just skip parts that need Lex:
+# LEX =
+
+# C compiler options 
+
+# gcc:
+# -ansi and -Werror should work too, but are not included
+# by default because there's no point in daring the build to fail.
+# -pedantic isn't a problem because it causes at worst a warning.
+#CFLAGS = -O3 -fast-math -pedantic \
+#          -Wall -Wno-uninitialized -Wmissing-declarations
+# The merged programs have a main_XXX subroutine instead of main(),
+# which would cause a warning with -Wmissing-declarations or 
+# -Wmissing-prototypes.
+#CFLAGS_MERGE = -Wno-missing-declarations -Wno-missing-prototypes
+# A user of DEC Tru64 4.0F in May 2000 needed -DLONG_32 for ppmtompeg,
+# but word size-sensitive code was removed from parallel.c in September 2004.
+# A user of Tru64 5.1A in July 2003 needed NOT to have -DLONG_32.  In
+# theory, you need this if on your system, long is 32 bits and int is not.
+# But it may be completely irrelevant today.
+#Tru64:
+#CFLAGS = -O2 -std1 -DLONG_32
+#CFLAGS = -O2 -std1
+#AIX:
+#CFLAGS= -O3
+#HP-UX:
+#CFLAGS= -O3 -fPIC
+#IRIX:
+#CFLAGS= -n32 -O3
+#Amiga with GNU compiler:
+#CFLAGS= -m68020-60 -ffast-math -mstackextend 
+# You can add -noixemul for Amiga and successfully compile most of the 
+# programs.  (Of the remaining ones, if you can supply your own strtod() 
+# function, most of them will build with -noixemul).  So try building 
+# with 'make --keep-going CADD=-noixemul' first, then just 'make' to build
+# everything that failed for lack of the ixemul library in the first step.
+# That way, the parts that don't required the ixemul library won't indicate
+# a dependency on it.
+#OpenBSD:
+#CFLAGS = -I/usr/local/include
+
+# EXE is a suffix that the linker puts on any executable it generates.
+# In cygwin, this is .exe and most programs deal with its existence without
+# us having to know about it.  Some don't though, so set this:
+
+EXE =
+#Cygwin, DJGPP/Windows:
+#EXE = .exe
+  
+# linker options.  
+
+# LDFLAGS is often set as an environment variable;  A setting here overrides
+# it.  So either make sure you want to override it, or do a "LDFLAGS +=" here.
+
+# Eunice users may want to use -noshare so that the executables can
+# run standalone:
+#LDFLAGS += -noshare
+#Tru64:
+# Russ Allberry says on 2001.06.09 that -oldstyle_liblookup may be necessary
+# to keep from finding an ancient system libjpeg.so that isn't compatible with
+# NetPBM.  Michael Long found that /usr/local/lib is not in the default
+# search path, or not soon enough, and he was getting an old libjpeg that
+# caused all the jpeg symbol references to be unresolved.  He had installed
+# a new libjpeg in /usr/local/lib.
+#LDFLAGS += -call_shared -oldstyle_liblookup -L/usr/local/lib
+#AIX:
+#LDFLAGS += -L /usr/pubsw/lib
+#HP-UX:
+#LDFLAGS += -Wl,+b,/usr/pubsw/lib
+#IRIX:
+#LDFLAGS += -n32
+#FreeBSD, OpenBSD:
+# (04.03.15 This may be a mistake.  LDFLAGS may already be set to this as
+#  an environment variable.  We used to override the environment variable
+#  here with LDFLAGS =, which would mean we had to override with the same 
+#  value it already had.  I suspect it will work fine with no LDFLAGS
+#  setting at all; need to confirm this on real FreeBSD and OpenBSD systems)
+#LDFLAGS += -L/usr/local/lib
+
+# Linker options for created Netpbm shared libraries.
+
+# Here, $(SONAME) resolves to the soname for the shared library being created.
+# The following are gcc options.  This works on GNU libc systems.
+LDSHLIB = -shared -Wl,-soname,$(SONAME)
+# You need -nostart instead of -shared on BeOS.  Though the BeOS compiler is
+# ostensibly gcc, it has the -nostart option, which is not mentioned in gcc
+# documentation and doesn't exist in at least one non-BeOS installation.
+# BeOS doesn't have sonames built in.
+#LDSHLIB = -nostart
+#LDSHLIB = -G
+# Solaris, SunOS with GNU Ld, SCO:
+# These systems have no soname option.
+#LDSHLIB = -shared
+# Solaris with Sun Ld:
+#LDSHLIB = -Wl,-Bdynamic,-G,-h,$(SONAME) 
+#Tru64:
+#LDSHLIB = -shared -expect_unresolved "*"
+#IRIX:
+#LDSHLIB = -shared -n32
+#AIX GNU compiler/linker:
+#LDSHLIB = -shared
+#AIX Visual Age C:
+#LDSHLIB = -qmkshrobj
+
+# LDRELOC is the command to combine two .o files (relocateable object files)
+# into a single .o file that can later be linked into something else.  NONE
+# means no such command is available.
+
+LDRELOC = NONE
+# GNU Ld:
+# Older GNU Ld misspells the option as --relocateable.  Newer GNU Ld
+# correctly spells it --relocatable.  The abbreviation --reloc works on
+# both.
+#LDRELOC = ld --reloc
+#LDRELOC = ld -r
+
+
+# On older systems, you have to make shared libraries out of position
+# independent code, so you need -fpic or fPIC here.  (The rule is: if
+# -fpic works, use it.  If it bombs, go to fPIC).  On newer systems,
+# it isn't necessary, but can save real memory at the expense of
+# execution speed.  Without position independent code, the library
+# loader may have to patch addresses into the executable text.  On an
+# older system, this would cause a program crash because the loader
+# would be writing into read-only shared memory.  But on newer
+# systems, the system silently creates a private mapping of the page
+# or segment being modified (the "copy on write" phenomenon).  So it
+# needs its own private real page frame.  In one experiment, A second
+# copy of Pbmtext used 16K less real memory when built with -fpic than
+# when built without.  2001.06.02.
+
+CFLAGS_SHLIB = 
+# Solaris or SunOS with gcc, and NetBSD:
+#CFLAGS_SHLIB = -fpic
+#CFLAGS_SHLIB = -fPIC
+# Sun compiler:
+#CFLAGS_SHLIB = -Kpic
+#CFLAGS_SHLIB = -KPIC
+
+# SHLIB_CLIB is the link option to include the C library in a shared library,
+# normally "-lc".  On typical systems, this serves no purpose.  On some,
+# though, it causes information about which C library to use to be recorded
+# in the shared library and thus choose the correct library among several or
+# avoid using an incompatible one.  But on some systems, the link fails.
+# On 2002.09.30, "John H. DuBois III" <spcecdt@armory.com> reports that on 
+# SCO OpenServer, he gets the following error message with -lc:
+#
+#  -lc; relocations referenced  ;  from file(s) /usr/ccs/lib/libc.so(random.o);
+#   fatal error: relocations remain against allocatable but non-writable 
+#   section: ; .text
+
+SHLIB_CLIB = -lc
+# SCO:
+SHLIB_CLIB =
+
+# On some systems you have to build into an executable the list of
+# directories where its dynamically linked libraries can be found at
+# run time.  This is typically done with a -R or -rpath linker
+# option.  Even on systems that don't require it, you might prefer to do
+# that rather than set up environment variables or configuration files
+# to tell the system where the libraries are.  A "Y" here means to put
+# the directory information in the executable at link time.
+
+NEED_RUNTIME_PATH = N
+# Solaris, SunOS, NetBSD, AIX:
+#NEED_RUNTIME_PATH = Y
+
+# RPATHOPTNAME is the option you use on the link command to specify
+# a runtime search path for a shared library.  It is meaningless unless
+# NEED_RUNTIME_PATH is Y.
+RPATHOPTNAME = -rpath
+
+# The following variables tell where your various libraries on which
+# Netpbm depends live.  The LIBxxx variable is a full file
+# specification of the link library (not necessarily the library used
+# at run time).  e.g. "/usr/local/lib/graphics/libpng.so".  It usually
+# doesn't matter if the library prefix and suffix are right -- you can
+# use "lib" and ".so" or ".a" regardless of what your system actually
+# uses because these just turn into "-L" and "-l" linker options
+# anyway.  ".a" implies a static library for some purposes, though.
+# If you don't have the library in question, use a value of NONE for
+# LIBxxx and the build will simply skip the programs that require that
+# library.  If the library is in your linker's (or the Netpbm build's)
+# default search path, leave off the directory part, e.g. "libpng.so".
+
+# The xxxHDR_DIR variable is the directory in which the interface
+# headers for the library live (e.g. /usr/include).  If they are in your
+# compiler's default search path, set this variable to null.
+
+# This is where the Netpbm shared libraries will reside when Netpbm is
+# fully installed.  In some configurations, the Netpbm builder builds
+# this information into the Netpbm executables.  This does NOT affect
+# where the Netpbm installer installs the libraries.  A null value
+# means the libraries are in a default search path used by the runtime
+# library loader.
+NETPBMLIB_RUNTIME_PATH = 
+#NETPBMLIB_RUNTIME_PATH = /usr/lib/netpbm
+
+# The TIFF library.  See above.  If you want to build the tiff
+# converters, you must have the tiff library already installed.
+
+TIFFLIB = NONE
+TIFFHDR_DIR =
+
+#TIFFLIB = libtiff.so
+#TIFFHDR_DIR = /usr/include/libtiff
+#NetBSD:
+#TIFFLIB = $(LOCALBASE)/lib/libtiff.so
+#TIFFHDR_DIR = $(LOCALBASE)/include
+# OSF, Tru64:
+#TIFFLIB = /usr/local1/DEC/lib/libtiff.so
+#TIFFHDR_DIR = /usr/local1/DEC/include
+
+# Some TIFF libraries do Jpeg and/or Z (flate) compression and thus any
+# program linked with the TIFF library needs a Jpeg and/or Z library.
+# Some TIFF libraries have such library statically linked in, but others
+# need it to be dynamically linked at program load time.
+# Make this 'N' if youf TIFF library doesn't need such dynamic linking.
+# As of 2005.01, the most usual build of the TIFF library appears to require
+# both.
+TIFFLIB_NEEDS_JPEG = Y
+TIFFLIB_NEEDS_Z = Y
+
+# The JPEG library.  See above.  If you want to build the jpeg
+# converters you must have the jpeg library already installed.
+
+# Tiff files can use JPEG compression, so the Tiff library can reference
+# the JPEG library.  If your Tiff library references a dynamic JPEG 
+# library, you must specify at least JPEGLIB here, or the Tiff
+# converters will not build.  Note that your Tiff library may have the
+# JPEG stuff statically linked in, in which case you won't need 
+# JPEGLIB in order to build the Tiff converters.
+
+JPEGLIB = NONE
+JPEGHDR_DIR =
+#JPEGLIB = libjpeg.so
+#JPEGHDR_DIR = /usr/include/jpeg
+# Netbsd:
+#JPEGLIB = ${LOCALBASE}/lib/libjpeg.so
+#JPEGHDR_DIR = ${LOCALBASE}/include
+# OSF, Tru64:
+#JPEGLIB = /usr/local1/DEC/libjpeg.so
+#JPEGHDR_DIR = /usr/local1/DEC/include
+# Typical:
+#JPEGLIB = /usr/local/lib/libjpeg.so
+#JPEGHDR_DIR = /usr/local/include
+# Don't build JPEG stuff:
+#JPEGLIB = NONE
+
+
+# The PNG library.  See above.  If you want to build the PNG
+# converters you must have the PNG library already installed.
+
+# The PNG library, by convention starting around April 2002, gets installed
+# with names that include a version number, such as libpng10.a and header
+# files in /usr/include/libpng10.
+# option.
+PNGLIB = NONE
+PNGHDR_DIR =
+PNGVER = 
+#PNGLIB = libpng$(PNGVER).so
+#PNGHDR_DIR = /usr/include/libpng$(PNGVER)
+# NetBSD:
+#PNGLIB = $(LOCALBASE)/lib/libpng$(PNGVER).so
+#PNGHDR_DIR = $(LOCALBASE)/include
+# OSF/Tru64:
+#PNGLIB = /usr/local1/DEC/lib/libpng$(PNGVER).so
+#PNGHDR_DIR = /usr/local1/DEC/include
+
+# The zlib compression library.  See above.  You need it to build
+# anything that needs the PNG library (see above).  If you selected
+# NONE for the PNG library, it doesn't matter what you specify here --
+# it won't get used.
+
+ZLIB = NONE
+ZHDR_DIR = 
+#ZLIB = libz.so
+
+# The JBIG lossless image compression library (aka JBIG-KIT):
+
+JBIGLIB = $(BUILDDIR)/converter/other/jbig/libjbig.a
+JBIGHDR_DIR = $(SRCDIR)/converter/other/jbig
+
+# The Jasper JPEG-2000 image compression library (aka JasPer):
+JASPERLIB = $(INTERNAL_JASPERLIB)
+JASPERHDR_DIR = $(INTERNAL_JASPERHDR_DIR)
+
+# And the Utah Raster Toolkit (aka URT aka RLE) library:
+
+URTLIB = $(BUILDDIR)/urt/librle.a
+URTHDR_DIR = $(SRCDIR)/urt
+
+# The Linux SVGA library (Svgalib) is a facility for displaying graphics
+# on the Linux console.  It is required by Ppmsvgalib.
+
+LINUXSVGALIB = NONE
+LINUXSVGAHDR_DIR = 
+
+#LINUXSVGALIB_DIR = 
+#LINUXSVGAHDR_DIR = /usr/include/vgalib
+
+# If you don't want any network functions, set OMIT_NETWORK to "y".
+# The only thing that requires network functions is the option in
+# ppmtompeg to run it on multiple computers simultaneously.  On some
+# systems network functions don't work or we haven't figured out how to 
+# make them work, or they just aren't worth the effort.  
+OMIT_NETWORK =
+#DJGPP/Windows, Tru64:
+#   (there's some minor header problem that prevents network functions from 
+#   building on Tru64 2000.10.06)
+#OMIT_NETWORK = Y
+
+# These are -l options to link in the network libraries.  Often, these are
+# built into the standard C library, so this can be null.  This is irrelevant
+# if OMIT_NETWORK is "y".
+
+NETWORKLD = 
+# Solaris, SunOS:
+#NETWORKLD = -lsocket -lnsl
+# SCO:
+#NETWORKLD = -lsocket, -lresolv
+
+VMS = 
+#VMS:
+#VMS = yes
+
+# The following variables are used only by 'make install' (and the
+# variants of it).  Paths here don't, for example, get built into any
+# programs.
+
+# This is where everything goes when you do 'make package', unless you
+# override it by setting 'pkgdir' on the Make command line.
+PKGDIR_DEFAULT = /tmp/netpbm
+
+# File permissions for installed files.
+# Note that on some systems (e.g. Solaris), 'install' can't use the 
+# mnemonic permissions - you have to use octal.
+
+# binaries (pbmmake, etc)
+INSTALL_PERM_BIN =  755       # u=rwx,go=rx
+# shared libraries (libpbm.so, etc)
+INSTALL_PERM_LIBD = 755       # u=rwx,go=rx
+# static libraries (libpbm.a, etc)
+INSTALL_PERM_LIBS = 644       # u=rw,go=r
+# header files (pbm.h, etc)
+INSTALL_PERM_HDR =  644       # u=rw,go=r
+# man pages (pbmmake.1, etc)
+INSTALL_PERM_MAN =  644       # u=rw,go=r
+# data files (pnmtopalm color maps, etc)
+INSTALL_PERM_DATA = 644       # u=rw,go=r
+
+# Specify the suffix that want the man pages to have.
+
+SUFFIXMANUALS1 = 1
+SUFFIXMANUALS3 = 3
+SUFFIXMANUALS5 = 5
+
+#NETPBMLIBTYPE tells the kind of libraries that will get built to hold the
+#Netpbm library functions.  The value is used only in make file tests.
+# "unixshared" means a unix-style shared library, typically named like 
+# libxyz.so.2.3
+NETPBMLIBTYPE = unixshared
+# "unixstatic" means a unix-style static library, (like libxyz.a)
+#NETPBMLIBTYPE = unixstatic
+# "dll" means a Windows DLL shared library
+#NETPBMLIBTYPE = dll
+# "dylib" means a Darwin/Mac OS shared library
+#NETPBMLIBTYPE = dylib
+
+#NETPBMLIBSUFFIX is the suffix used on whatever kind of library is 
+#selected above.  All this is used for is to construct library names.
+#The make files never examine the actual value.
+NETPBMLIBSUFFIX = so
+
+# "a" is the suffix for unix-style static libraries.  It is also
+# traditionally used for shared libraries on AIX.  The Visual Age C
+# manual says sometimes .so works on AIX, and GNU software for AIX
+# 5.1.0 does indeed use it.  In our experiments, it works fine if you
+# name the library file explicitly on the link, but isn't in the -l
+# search order.  If you name the library explicitly on the link, the
+# library must live in exactly the same position at run time, so we
+# can't use that.  Therefore, you cannot build both static and shared
+# libraries with AIX.  You have to choose.
+#NETPBMLIBSUFFIX = a
+# For HP-UX shared libraries:
+#NETPBMLIBSUFFIX = sl
+# Darwin/Mac OS shared library:
+#NETPBMLIBSUFFIX = dylib
+# Windows shared library:
+#NETPBMLIBSUFFIX = dll
+
+#STATICLIB_TOO is "y" to signify that you want a static library built
+#and installed in addition to whatever library type you specified by
+#NETPBMLIBTYPE.  If NETPBMLIBTYPE specified a static library,
+#STATICLIB_TOO simply has no effect.
+STATICLIB_TOO = y
+#STATICLIB_TOO = n
+
+#STATICLIBSUFFIX is the suffix that static libraries have.  It's
+#meaningless if you aren't building static libraries.
+STATICLIBSUFFIX = a
+
+#SHLIBPREFIXLIST is a blank-delimited list of prefixes that a filename
+#of a shared library may have on this system.  Traditionally, it's
+#just "lib", as in libc or libpbm.  On Windows, though, varying
+#prefixes are used when multiple alternative forms of a library are
+#available.  The first prefix in this list is what we use to name the
+#Netpbm shared libraries.
+#
+# This variable controls how 'libopt' gets built.
+#
+SHLIBPREFIXLIST = lib
+#Cygwin:
+#SHLIBPREFIXLIST = cyg lib
+
+NETPBMSHLIBPREFIX = $(firstword $(SHLIBPREFIXLIST))
+
+#DLLVER is used to version the DLLs built on cygwin or other
+#windowsish platforms.  We can't add this to LIBROOT, or we'd
+#version the static libs (which is bad).  We can't add this
+#at the end of the name (like unix does with so numbers) because
+#windows will only load dlls whose name ends in "dll".  So,
+#we have this variable, which becomes the end of the library "root" name
+#for DLLs only.
+#
+# This variable controls how 'libopt' gets built.
+#
+DLLVER =
+#Cygwin
+#DLLVER = $(NETPBM_MAJOR_RELEASE)
+
+#NETPBM_DOCURL is the URL of the main documentation page for Netpbm.
+#This is a directory which contains a file for each Netpbm program,
+#library, and file type.  E.g. The documentation for jpegtopnm might be in
+#http://netpbm.sourceforge.net/doc/jpegtopnm.html .  This value gets
+#installed in the man pages (which say no more than to read the webpage)
+#and in the Webman netpbm.url file.
+NETPBM_DOCURL = http://netpbm.sourceforge.net/doc/
+#For a system with no web access, but a local copy of the doc:
+#NETPBM_DOCURL = file:/usr/doc/netpbm/
+
+
+
+
+####Lines above were copied from Makefile.config.in by 'configure'.
+####Lines below were added by 'configure' based on the GNU platform.
+DEFAULT_TARGET = nonmerge
+NETPBMLIBTYPE=unixshared
+NETPBMLIBSUFFIX=so
+STATICLIB_TOO=y
+CFLAGS = -O3 -ffast-math  -pedantic -Wall -Wno-uninitialized -Wmissing-declarations -Wimplicit -Wwrite-strings -Wmissing-prototypes
+CFLAGS_MERGE = -Wno-missing-declarations -Wno-missing-prototypes
+LDRELOC = ld --reloc
+LINKER_CAN_DO_EXPLICIT_LIBRARY=Y
+LINKERISCOMPILER = Y
+TIFFLIB = libtiff.so
+JPEGLIB = libjpeg.so
+PNGLIB = libpng.so
+ZLIB = libz.so
+NETPBM_DOCURL = http://netpbm.sourceforge.net/doc/
diff --git a/config/phpSANE/phpSANE.conf b/config/phpSANE/phpSANE.conf
new file mode 100644 (file)
index 0000000..06824e1
--- /dev/null
@@ -0,0 +1,16 @@
+Listen 1003
+
+<VirtualHost *:1003>
+       
+       DocumentRoot /srv/web/phpSANE
+               
+       Include /etc/httpd/conf/conf.d/php*.conf
+       
+       <Directory /srv/web/phpSANE>
+               Options None
+               AllowOverride None
+               Order allow,deny
+               Allow from all
+       </Directory>
+       
+</VirtualHost>
diff --git a/config/rootfiles/packages/collectd b/config/rootfiles/packages/collectd
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/config/rootfiles/packages/netpbm b/config/rootfiles/packages/netpbm
new file mode 100644 (file)
index 0000000..717d69f
--- /dev/null
@@ -0,0 +1,627 @@
+#usr/local/netpbm/VERSION
+#usr/local/netpbm/README
+#usr/local/netpbm/include/pgm.h
+#usr/local/netpbm/include/mallocvar.h
+#usr/local/netpbm/include/bitio.h
+#usr/local/netpbm/include/pam.h
+#usr/local/netpbm/include/pbmfont.h
+#usr/local/netpbm/include/pnm.h
+#usr/local/netpbm/include/ppmfloyd.h
+#usr/local/netpbm/include/pbm.h
+#usr/local/netpbm/include/pammap.h
+#usr/local/netpbm/include/shhopt.h
+#usr/local/netpbm/include/pm_gamma.h
+#usr/local/netpbm/include/colorname.h
+#usr/local/netpbm/include/pm_system.h
+#usr/local/netpbm/include/nstring.h
+#usr/local/netpbm/include/pm_config.h
+#usr/local/netpbm/include/pm.h
+#usr/local/netpbm/include/ppm.h
+#usr/local/netpbm/include/ppmcmap.h
+#usr/local/netpbm/bin/pgmabel
+#usr/local/netpbm/bin/pbmtomgr
+#usr/local/netpbm/bin/pgmnoise
+#usr/local/netpbm/bin/ppmspread
+#usr/local/netpbm/bin/pbmtomda
+#usr/local/netpbm/bin/hdifftopam
+#usr/local/netpbm/bin/pnmcut
+#usr/local/netpbm/bin/ppmtouil
+#usr/local/netpbm/bin/pbmtopk
+#usr/local/netpbm/bin/pbmtocmuwm
+#usr/local/netpbm/bin/pamstack
+#usr/local/netpbm/bin/pnminterp
+#usr/local/netpbm/bin/pstopnm
+#usr/local/netpbm/bin/fitstopnm
+#usr/local/netpbm/bin/pbmtowbmp
+#usr/local/netpbm/bin/pamdeinterlace
+#usr/local/netpbm/bin/pnmremap
+#usr/local/netpbm/bin/rgb3toppm
+#usr/local/netpbm/bin/pgmbentley
+#usr/local/netpbm/bin/hipstopgm
+#usr/local/netpbm/bin/pbmtopi3
+#usr/local/netpbm/bin/pgmenhance
+#usr/local/netpbm/bin/pbmtoplot
+#usr/local/netpbm/bin/ilbmtoppm
+#usr/local/netpbm/bin/ppmshadow
+#usr/local/netpbm/bin/palmtopnm
+#usr/local/netpbm/bin/ppmchange
+#usr/local/netpbm/bin/pamchannel
+#usr/local/netpbm/bin/pnmsplit
+#usr/local/netpbm/bin/pamedge
+#usr/local/netpbm/bin/pnmrotate
+#usr/local/netpbm/bin/ppmtosixel
+#usr/local/netpbm/bin/fiascotopnm
+#usr/local/netpbm/bin/fstopgm
+#usr/local/netpbm/bin/pnmtosgi
+#usr/local/netpbm/bin/pbmtextps
+#usr/local/netpbm/bin/mtvtoppm
+#usr/local/netpbm/bin/pbmtoibm23xx
+#usr/local/netpbm/bin/sldtoppm
+#usr/local/netpbm/bin/pnmtofits
+#usr/local/netpbm/bin/gouldtoppm
+#usr/local/netpbm/bin/pnmtopnm
+#usr/local/netpbm/bin/ppmcie
+#usr/local/netpbm/bin/ppmtoicr
+#usr/local/netpbm/bin/pamtopnm
+#usr/local/netpbm/bin/tifftopnm
+#usr/local/netpbm/bin/g3topbm
+#usr/local/netpbm/bin/ppmcolors
+#usr/local/netpbm/bin/pbmtoascii
+#usr/local/netpbm/bin/pbmto4425
+#usr/local/netpbm/bin/sirtopnm
+#usr/local/netpbm/bin/pgmtexture
+#usr/local/netpbm/bin/asciitopgm
+#usr/local/netpbm/bin/pamcut
+#usr/local/netpbm/bin/ppmlabel
+#usr/local/netpbm/bin/ppmtogif
+#usr/local/netpbm/bin/neotoppm
+#usr/local/netpbm/bin/pnmgamma
+#usr/local/netpbm/bin/pnmtojbig
+#usr/local/netpbm/bin/ppmtv
+#usr/local/netpbm/bin/ppmquantall
+#usr/local/netpbm/bin/ppmmix
+#usr/local/netpbm/bin/ppmglobe
+#usr/local/netpbm/bin/pamscale
+#usr/local/netpbm/bin/qrttoppm
+#usr/local/netpbm/bin/xpmtoppm
+#usr/local/netpbm/bin/pnmtops
+#usr/local/netpbm/bin/zeisstopnm
+#usr/local/netpbm/bin/ppmmake
+#usr/local/netpbm/bin/pamperspective
+#usr/local/netpbm/bin/pgmminkowski
+#usr/local/netpbm/bin/rawtopgm
+#usr/local/netpbm/bin/pamtohtmltbl
+#usr/local/netpbm/bin/pnmmargin
+#usr/local/netpbm/bin/pnmtorast
+#usr/local/netpbm/bin/bmptoppm
+#usr/local/netpbm/bin/pbmtoepson
+#usr/local/netpbm/bin/pnmtoxwd
+#usr/local/netpbm/bin/pbmtolj
+#usr/local/netpbm/bin/pgmcrater
+#usr/local/netpbm/bin/ppmhist
+#usr/local/netpbm/bin/gemtopnm
+#usr/local/netpbm/bin/pamfile
+#usr/local/netpbm/bin/ppmtorgb3
+#usr/local/netpbm/bin/pnmquant
+#usr/local/netpbm/bin/ppmtopuzz
+#usr/local/netpbm/bin/ppmtobmp
+#usr/local/netpbm/bin/mrftopbm
+#usr/local/netpbm/bin/411toppm
+#usr/local/netpbm/bin/ppmtopict
+#usr/local/netpbm/bin/rletopnm
+#usr/local/netpbm/bin/pgmtopbm
+#usr/local/netpbm/bin/pampop9
+#usr/local/netpbm/bin/ppmdist
+#usr/local/netpbm/bin/ppmtoxpm
+#usr/local/netpbm/bin/mdatopbm
+#usr/local/netpbm/bin/jpegtopnm
+#usr/local/netpbm/bin/pnmtopng
+#usr/local/netpbm/bin/ppmtopi1
+#usr/local/netpbm/bin/pamseq
+#usr/local/netpbm/bin/sputoppm
+#usr/local/netpbm/bin/pcdovtoppm
+#usr/local/netpbm/bin/pbmtopgm
+#usr/local/netpbm/bin/pnmalias
+#usr/local/netpbm/bin/pbmtomacp
+#usr/local/netpbm/bin/pamoil
+#usr/local/netpbm/bin/ppmtoarbtxt
+#usr/local/netpbm/bin/pbmpage
+#usr/local/netpbm/bin/xbmtopbm
+#usr/local/netpbm/bin/pnmcomp
+#usr/local/netpbm/bin/pamtopfm
+#usr/local/netpbm/bin/icontopbm
+#usr/local/netpbm/bin/spctoppm
+#usr/local/netpbm/bin/ppmrainbow
+#usr/local/netpbm/bin/pgmtopgm
+#usr/local/netpbm/bin/winicontoppm
+#usr/local/netpbm/bin/pgmedge
+#usr/local/netpbm/bin/pnmmontage
+#usr/local/netpbm/bin/ppmtoyuv
+#usr/local/netpbm/bin/pnmarith
+#usr/local/netpbm/bin/pgmtolispm
+#usr/local/netpbm/bin/pgmhist
+#usr/local/netpbm/bin/pbmtox10bm
+#usr/local/netpbm/bin/ppmnorm
+#usr/local/netpbm/bin/infotopam
+#usr/local/netpbm/bin/pgmtoppm
+#usr/local/netpbm/bin/ppmrelief
+#usr/local/netpbm/bin/pgmramp
+#usr/local/netpbm/bin/pbmtodjvurle
+#usr/local/netpbm/bin/pnmstitch
+#usr/local/netpbm/bin/ximtoppm
+#usr/local/netpbm/bin/pbmtomrf
+#usr/local/netpbm/bin/pnmnoraw
+#usr/local/netpbm/bin/pamstretch
+#usr/local/netpbm/bin/ppmpat
+#usr/local/netpbm/bin/giftopnm
+#usr/local/netpbm/bin/pbmtozinc
+#usr/local/netpbm/bin/pgmmorphconv
+#usr/local/netpbm/bin/cmuwmtopbm
+#usr/local/netpbm/bin/pamgauss
+#usr/local/netpbm/bin/pamsumm
+#usr/local/netpbm/bin/ppmtojpeg
+#usr/local/netpbm/bin/pbmtopsg3
+#usr/local/netpbm/bin/pamslice
+#usr/local/netpbm/bin/pbmtoescp2
+#usr/local/netpbm/bin/pnmtopalm
+#usr/local/netpbm/bin/pi3topbm
+#usr/local/netpbm/bin/jbigtopnm
+#usr/local/netpbm/bin/sgitopnm
+#usr/local/netpbm/bin/pbmtoln03
+#usr/local/netpbm/bin/ppmtomap
+#usr/local/netpbm/bin/ybmtopbm
+#usr/local/netpbm/bin/pjtoppm
+#usr/local/netpbm/bin/pnmtopclxl
+#usr/local/netpbm/bin/pamtouil
+#usr/local/netpbm/bin/pbmtoepsi
+#usr/local/netpbm/bin/pbmtogem
+#usr/local/netpbm/bin/sbigtopgm
+#usr/local/netpbm/bin/pnmtotiffcmyk
+#usr/local/netpbm/bin/pgmslice
+#usr/local/netpbm/bin/ppmtoyuvsplit
+#usr/local/netpbm/bin/pc1toppm
+#usr/local/netpbm/bin/ppmrough
+#usr/local/netpbm/bin/bioradtopgm
+#usr/local/netpbm/bin/wbmptopbm
+#usr/local/netpbm/bin/pnmpad
+#usr/local/netpbm/bin/ppmbrighten
+#usr/local/netpbm/bin/pamtojpeg2k
+#usr/local/netpbm/bin/pbmtoatk
+#usr/local/netpbm/bin/pnmnlfilt
+#usr/local/netpbm/bin/pnmtile
+#usr/local/netpbm/bin/pbmtoppa
+#usr/local/netpbm/bin/tgatoppm
+#usr/local/netpbm/bin/pgmnorm
+#usr/local/netpbm/bin/pamflip
+#usr/local/netpbm/bin/pnmtosir
+#usr/local/netpbm/bin/pbmtogo
+#usr/local/netpbm/bin/lispmtopgm
+#usr/local/netpbm/bin/atktopbm
+#usr/local/netpbm/bin/pamdice
+#usr/local/netpbm/bin/manweb
+#usr/local/netpbm/bin/gemtopbm
+#usr/local/netpbm/bin/pamtotga
+#usr/local/netpbm/bin/pnmindex
+#usr/local/netpbm/bin/imgtoppm
+#usr/local/netpbm/bin/pamstretch-gen
+#usr/local/netpbm/bin/pnmflip
+#usr/local/netpbm/bin/pbmmake
+#usr/local/netpbm/bin/leaftoppm
+#usr/local/netpbm/bin/pamlookup
+#usr/local/netpbm/bin/pfmtopam
+#usr/local/netpbm/bin/pbmto10x
+#usr/local/netpbm/bin/ppmfade
+#usr/local/netpbm/bin/pktopbm
+#usr/local/netpbm/bin/pbmclean
+#usr/local/netpbm/bin/rawtoppm
+#usr/local/netpbm/bin/pammasksharpen
+#usr/local/netpbm/bin/eyuvtoppm
+#usr/local/netpbm/bin/pnmdepth
+#usr/local/netpbm/bin/escp2topbm
+#usr/local/netpbm/bin/ppmquant
+#usr/local/netpbm/bin/pbmupc
+#usr/local/netpbm/bin/ppmshift
+#usr/local/netpbm/bin/ppmtoleaf
+#usr/local/netpbm/bin/pgmtofs
+#usr/local/netpbm/bin/thinkjettopbm
+#usr/local/netpbm/bin/pnmtotiff
+#usr/local/netpbm/bin/pnmenlarge
+#usr/local/netpbm/bin/ppmtoppm
+#usr/local/netpbm/bin/pbmtonokia
+#usr/local/netpbm/bin/doc.url
+#usr/local/netpbm/bin/pbmtoicon
+#usr/local/netpbm/bin/pnmcrop
+#usr/local/netpbm/bin/ppmtopgm
+#usr/local/netpbm/bin/ppmtoneo
+#usr/local/netpbm/bin/rasttopnm
+#usr/local/netpbm/bin/pamsharpmap
+#usr/local/netpbm/bin/psidtopgm
+#usr/local/netpbm/bin/pgmkernel
+#usr/local/netpbm/bin/ppmtopjxl
+#usr/local/netpbm/bin/pbmtoptx
+#usr/local/netpbm/bin/ppmtopcx
+#usr/local/netpbm/bin/pnmhistmap
+#usr/local/netpbm/bin/pnmtoplainpnm
+#usr/local/netpbm/bin/pamsummcol
+#usr/local/netpbm/bin/pbmtoxbm
+#usr/local/netpbm/bin/pnmscale
+#usr/local/netpbm/bin/pnmfile
+#usr/local/netpbm/bin/pnmnorm
+#usr/local/netpbm/bin/pcxtoppm
+#usr/local/netpbm/bin/pamenlarge
+#usr/local/netpbm/bin/pnmpsnr
+#usr/local/netpbm/bin/mgrtopbm
+#usr/local/netpbm/bin/hpcdtoppm
+#usr/local/netpbm/bin/pnmconvol
+#usr/local/netpbm/bin/macptopbm
+#usr/local/netpbm/bin/pbmtomatrixorbital
+#usr/local/netpbm/bin/pbmtoybm
+#usr/local/netpbm/bin/ppmtopj
+#usr/local/netpbm/bin/pamditherbw
+#usr/local/netpbm/bin/pnmtofiasco
+#usr/local/netpbm/bin/pngtopnm
+#usr/local/netpbm/bin/anytopnm
+#usr/local/netpbm/bin/pbmpscale
+#usr/local/netpbm/bin/ppmtowinicon
+#usr/local/netpbm/bin/pnmtorle
+#usr/local/netpbm/bin/pbmtext
+#usr/local/netpbm/bin/pi1toppm
+#usr/local/netpbm/bin/pamtodjvurle
+#usr/local/netpbm/bin/pamsharpness
+#usr/local/netpbm/bin/ppmdither
+#usr/local/netpbm/bin/pamstereogram
+#usr/local/netpbm/bin/pnminvert
+#usr/local/netpbm/bin/pamcomp
+#usr/local/netpbm/bin/jpeg2ktopam
+#usr/local/netpbm/bin/pamtohdiff
+#usr/local/netpbm/bin/ppmtoilbm
+#usr/local/netpbm/bin/pnmpaste
+#usr/local/netpbm/bin/pgmoil
+#usr/local/netpbm/bin/pnmcat
+#usr/local/netpbm/bin/yuvsplittoppm
+#usr/local/netpbm/bin/brushtopbm
+#usr/local/netpbm/bin/ppmwheel
+#usr/local/netpbm/bin/bmptopnm
+#usr/local/netpbm/bin/ppmtoterm
+#usr/local/netpbm/bin/pbmtog3
+#usr/local/netpbm/bin/yuvtoppm
+#usr/local/netpbm/bin/ppmntsc
+#usr/local/netpbm/bin/pbmlife
+#usr/local/netpbm/bin/ppmtomitsu
+#usr/local/netpbm/bin/pbmtobbnbg
+#usr/local/netpbm/bin/ppm3d
+#usr/local/netpbm/bin/ppmcolormask
+#usr/local/netpbm/bin/pnmshear
+#usr/local/netpbm/bin/pnmscalefixed
+usr/local/netpbm/bin/pnmtojpeg
+#usr/local/netpbm/bin/ppmtoeyuv
+#usr/local/netpbm/bin/picttoppm
+#usr/local/netpbm/bin/pbmtolps
+#usr/local/netpbm/bin/pbmreduce
+#usr/local/netpbm/bin/pnmcolormap
+#usr/local/netpbm/bin/pnmtoddif
+#usr/local/netpbm/bin/ppmflash
+#usr/local/netpbm/bin/ppmtoacad
+#usr/local/netpbm/bin/ppmforge
+#usr/local/netpbm/bin/spottopgm
+#usr/local/netpbm/bin/pnmhisteq
+#usr/local/netpbm/bin/xwdtopnm
+#usr/local/netpbm/bin/pamendian
+#usr/local/netpbm/bin/pbmmask
+#usr/local/netpbm/bin/pamarith
+#usr/local/netpbm/bin/xvminitoppm
+#usr/local/netpbm/bin/ppmdim
+#usr/local/netpbm/bin/ppmtolj
+#usr/local/netpbm/bin/pamfunc
+#usr/local/netpbm/bin/pnmsmooth
+#usr/local/netpbm/bin/ddbugtopbm
+#usr/local/netpbm/bin/ppmtompeg
+#usr/local/netpbm/lib
+usr/lib/libnetpbm.so.10.26
+usr/lib/libnetpbm.so.10
+#usr/local/netpbm/link
+#usr/local/netpbm/link/libnetpbm.so
+#usr/local/netpbm/link/libnetpbm.a
+#usr/local/netpbm/man
+#usr/local/netpbm/man/man1
+#usr/local/netpbm/man/man1/pnmnorm.1
+#usr/local/netpbm/man/man1/pnmcut.1
+#usr/local/netpbm/man/man1/imgtoppm.1
+#usr/local/netpbm/man/man1/ppmtopcx.1
+#usr/local/netpbm/man/man1/pbmtoibm23xx.1
+#usr/local/netpbm/man/man1/gouldtoppm.1
+#usr/local/netpbm/man/man1/pnmalias.1
+#usr/local/netpbm/man/man1/xwdtopnm.1
+#usr/local/netpbm/man/man1/hipstopgm.1
+#usr/local/netpbm/man/man1/pnmtopalm.1
+#usr/local/netpbm/man/man1/pbmto4425.1
+#usr/local/netpbm/man/man1/pbmtoescp2.1
+#usr/local/netpbm/man/man1/ddbugtopbm.1
+#usr/local/netpbm/man/man1/macptopbm.1
+#usr/local/netpbm/man/man1/pbmtocmuwm.1
+#usr/local/netpbm/man/man1/pamstack.1
+#usr/local/netpbm/man/man1/pnmtotiffcmyk.1
+#usr/local/netpbm/man/man1/pgmtopbm.1
+#usr/local/netpbm/man/man1/bioradtopgm.1
+#usr/local/netpbm/man/man1/ppmtompeg.1
+#usr/local/netpbm/man/man1/411toppm.1
+#usr/local/netpbm/man/man1/pnmtojbig.1
+#usr/local/netpbm/man/man1/ppmdist.1
+#usr/local/netpbm/man/man1/ppmtopict.1
+#usr/local/netpbm/man/man1/pgmminkowski.1
+#usr/local/netpbm/man/man1/ppmflash.1
+#usr/local/netpbm/man/man1/pbmupc.1
+#usr/local/netpbm/man/man1/ppmforge.1
+#usr/local/netpbm/man/man1/ppmtorgb3.1
+#usr/local/netpbm/man/man1/sputoppm.1
+#usr/local/netpbm/man/man1/pbmpscale.1
+#usr/local/netpbm/man/man1/pbmtomacp.1
+#usr/local/netpbm/man/man1/pamdeinterlace.1
+#usr/local/netpbm/man/man1/pcdovtoppm.1
+#usr/local/netpbm/man/man1/pi1toppm.1
+#usr/local/netpbm/man/man1/infotopam.1
+#usr/local/netpbm/man/man1/ppmtolj.1
+#usr/local/netpbm/man/man1/ppmtoilbm.1
+#usr/local/netpbm/man/man1/ybmtopbm.1
+#usr/local/netpbm/man/man1/pbmtoptx.1
+#usr/local/netpbm/man/man1/ppmtomap.1
+#usr/local/netpbm/man/man1/pnmtopnm.1
+#usr/local/netpbm/man/man1/ppmtoacad.1
+#usr/local/netpbm/man/man1/pbmtomatrixorbital.1
+#usr/local/netpbm/man/man1/pnmconvol.1
+#usr/local/netpbm/man/man1/pktopbm.1
+#usr/local/netpbm/man/man1/pnmtorast.1
+#usr/local/netpbm/man/man1/pbmto10x.1
+#usr/local/netpbm/man/man1/palmtopnm.1
+#usr/local/netpbm/man/man1/ppmtoneo.1
+#usr/local/netpbm/man/man1/ppmdither.1
+#usr/local/netpbm/man/man1/pbmtoatk.1
+#usr/local/netpbm/man/man1/hpcdtoppm.1
+#usr/local/netpbm/man/man1/ppmtomitsu.1
+#usr/local/netpbm/man/man1/ppmcolors.1
+#usr/local/netpbm/man/man1/ppmmake.1
+#usr/local/netpbm/man/man1/pgmtofs.1
+#usr/local/netpbm/man/man1/pgmtopgm.1
+#usr/local/netpbm/man/man1/pgmhist.1
+#usr/local/netpbm/man/man1/pbmtopsg3.1
+#usr/local/netpbm/man/man1/ppmcie.1
+#usr/local/netpbm/man/man1/pbmtoplot.1
+#usr/local/netpbm/man/man1/pfmtopam.1
+#usr/local/netpbm/man/man1/asciitopgm.1
+#usr/local/netpbm/man/man1/ppmchange.1
+#usr/local/netpbm/man/man1/ppm3d.1
+#usr/local/netpbm/man/man1/pbmtoppa.1
+#usr/local/netpbm/man/man1/ppmfade.1
+#usr/local/netpbm/man/man1/pnmflip.1
+#usr/local/netpbm/man/man1/ppmcolormask.1
+#usr/local/netpbm/man/man1/ppmtopj.1
+#usr/local/netpbm/man/man1/pamtopnm.1
+#usr/local/netpbm/man/man1/pnmcat.1
+#usr/local/netpbm/man/man1/pc1toppm.1
+#usr/local/netpbm/man/man1/pstopnm.1
+#usr/local/netpbm/man/man1/pnmhisteq.1
+#usr/local/netpbm/man/man1/pnmtopclxl.1
+#usr/local/netpbm/man/man1/fitstopnm.1
+#usr/local/netpbm/man/man1/ppmtobmp.1
+#usr/local/netpbm/man/man1/pamcut.1
+#usr/local/netpbm/man/man1/ppmmix.1
+#usr/local/netpbm/man/man1/rgb3toppm.1
+#usr/local/netpbm/man/man1/ppmtowinicon.1
+#usr/local/netpbm/man/man1/pi3topbm.1
+#usr/local/netpbm/man/man1/psidtopgm.1
+#usr/local/netpbm/man/man1/pnmpaste.1
+#usr/local/netpbm/man/man1/ppmtogif.1
+#usr/local/netpbm/man/man1/ppmtoterm.1
+#usr/local/netpbm/man/man1/sgitopnm.1
+#usr/local/netpbm/man/man1/pbmtoepsi.1
+#usr/local/netpbm/man/man1/rawtoppm.1
+#usr/local/netpbm/man/man1/pnmpad.1
+#usr/local/netpbm/man/man1/pnmcomp.1
+#usr/local/netpbm/man/man1/pbmtonokia.1
+#usr/local/netpbm/man/man1/pnmtops.1
+#usr/local/netpbm/man/man1/pamarith.1
+#usr/local/netpbm/man/man1/pamstretch.1
+#usr/local/netpbm/man/man1/pgmbentley.1
+#usr/local/netpbm/man/man1/thinkjettopbm.1
+#usr/local/netpbm/man/man1/pbmtolps.1
+#usr/local/netpbm/man/man1/ximtoppm.1
+#usr/local/netpbm/man/man1/brushtopbm.1
+#usr/local/netpbm/man/man1/ilbmtoppm.1
+#usr/local/netpbm/man/man1/pamgauss.1
+#usr/local/netpbm/man/man1/ppmtoyuv.1
+#usr/local/netpbm/man/man1/pgmcrater.1
+#usr/local/netpbm/man/man1/pbmtomda.1
+#usr/local/netpbm/man/man1/ppmntsc.1
+#usr/local/netpbm/man/man1/pamtotga.1
+#usr/local/netpbm/man/man1/pamfile.1
+#usr/local/netpbm/man/man1/pnmcolormap.1
+#usr/local/netpbm/man/man1/pbmtopi3.1
+#usr/local/netpbm/man/man1/pamsumm.1
+#usr/local/netpbm/man/man1/pnmtofits.1
+#usr/local/netpbm/man/man1/pcxtoppm.1
+#usr/local/netpbm/man/man1/pnmpsnr.1
+#usr/local/netpbm/man/man1/pnmshear.1
+#usr/local/netpbm/man/man1/ppmtoicr.1
+#usr/local/netpbm/man/man1/ppmtv.1
+#usr/local/netpbm/man/man1/pgmramp.1
+#usr/local/netpbm/man/man1/pamditherbw.1
+#usr/local/netpbm/man/man1/ppmhist.1
+#usr/local/netpbm/man/man1/pamseq.1
+#usr/local/netpbm/man/man1/wbmptopbm.1
+#usr/local/netpbm/man/man1/pnmsplit.1
+#usr/local/netpbm/man/man1/pamtohtmltbl.1
+#usr/local/netpbm/man/man1/ppmtoyuvsplit.1
+#usr/local/netpbm/man/man1/pbmtextps.1
+#usr/local/netpbm/man/man1/winicontoppm.1
+#usr/local/netpbm/man/man1/pbmmask.1
+#usr/local/netpbm/man/man1/pnmtorle.1
+#usr/local/netpbm/man/man1/pgmtoppm.1
+#usr/local/netpbm/man/man1/pbmreduce.1
+#usr/local/netpbm/man/man1/giftopnm.1
+#usr/local/netpbm/man/man1/leaftoppm.1
+#usr/local/netpbm/man/man1/pbmtoln03.1
+#usr/local/netpbm/man/man1/pnmtotiff.1
+#usr/local/netpbm/man/man1/pamstereogram.1
+#usr/local/netpbm/man/man1/pamtojpeg2k.1
+#usr/local/netpbm/man/man1/pnmscalefixed.1
+#usr/local/netpbm/man/man1/sirtopnm.1
+#usr/local/netpbm/man/man1/pbmtoxbm.1
+#usr/local/netpbm/man/man1/pamtodjvurle.1
+#usr/local/netpbm/man/man1/spctoppm.1
+#usr/local/netpbm/man/man1/pnmtosgi.1
+#usr/local/netpbm/man/man1/pnmsmooth.1
+#usr/local/netpbm/man/man1/fstopgm.1
+#usr/local/netpbm/man/man1/pbmtoepson.1
+#usr/local/netpbm/man/man1/pbmtoascii.1
+#usr/local/netpbm/man/man1/pnmstitch.1
+#usr/local/netpbm/man/man1/pamtohdiff.1
+#usr/local/netpbm/man/man1/pnmtofiasco.1
+#usr/local/netpbm/man/man1/anytopnm.1
+#usr/local/netpbm/man/man1/pbmtobbnbg.1
+#usr/local/netpbm/man/man1/pnmhistmap.1
+#usr/local/netpbm/man/man1/ppmpat.1
+#usr/local/netpbm/man/man1/pbmpage.1
+#usr/local/netpbm/man/man1/ppmtoeyuv.1
+#usr/local/netpbm/man/man1/gemtopnm.1
+#usr/local/netpbm/man/man1/ppmtopgm.1
+#usr/local/netpbm/man/man1/pamcomp.1
+#usr/local/netpbm/man/man1/pbmtext.1
+#usr/local/netpbm/man/man1/rletopnm.1
+#usr/local/netpbm/man/man1/pnmmontage.1
+#usr/local/netpbm/man/man1/pbmtomgr.1
+#usr/local/netpbm/man/man1/zeisstopnm.1
+#usr/local/netpbm/man/man1/pjtoppm.1
+#usr/local/netpbm/man/man1/pbmtopk.1
+#usr/local/netpbm/man/man1/pamenlarge.1
+#usr/local/netpbm/man/man1/mrftopbm.1
+#usr/local/netpbm/man/man1/eyuvtoppm.1
+#usr/local/netpbm/man/man1/ppmglobe.1
+#usr/local/netpbm/man/man1/pamtopfm.1
+#usr/local/netpbm/man/man1/ppmtoxpm.1
+#usr/local/netpbm/man/man1/ppmtoleaf.1
+#usr/local/netpbm/man/man1/pnmtoddif.1
+#usr/local/netpbm/man/man1/ppmtosixel.1
+#usr/local/netpbm/man/man1/ppmshadow.1
+#usr/local/netpbm/man/man1/pbmtowbmp.1
+#usr/local/netpbm/man/man1/pgmabel.1
+#usr/local/netpbm/man/man1/sbigtopgm.1
+#usr/local/netpbm/man/man1/pbmtoicon.1
+#usr/local/netpbm/man/man1/pamtouil.1
+#usr/local/netpbm/man/man1/pbmtog3.1
+#usr/local/netpbm/man/man1/lispmtopgm.1
+#usr/local/netpbm/man/man1/pbmtomrf.1
+#usr/local/netpbm/man/man1/mdatopbm.1
+#usr/local/netpbm/man/man1/pgmtolispm.1
+#usr/local/netpbm/man/man1/ppmwheel.1
+#usr/local/netpbm/man/man1/pgmkernel.1
+#usr/local/netpbm/man/man1/ppmtopjxl.1
+#usr/local/netpbm/man/man1/g3topbm.1
+#usr/local/netpbm/man/man1/ppmrainbow.1
+#usr/local/netpbm/man/man1/pnminvert.1
+#usr/local/netpbm/man/man1/ppmspread.1
+#usr/local/netpbm/man/man1/pamfunc.1
+#usr/local/netpbm/man/man1/sldtoppm.1
+#usr/local/netpbm/man/man1/pnmremap.1
+#usr/local/netpbm/man/man1/pnmmargin.1
+#usr/local/netpbm/man/man1/pnmindex.1
+#usr/local/netpbm/man/man1/pnmtoxwd.1
+#usr/local/netpbm/man/man1/pnmtosir.1
+#usr/local/netpbm/man/man1/pgmmorphconv.1
+#usr/local/netpbm/man/man1/picttoppm.1
+#usr/local/netpbm/man/man1/pamlookup.1
+#usr/local/netpbm/man/man1/jpeg2ktopam.1
+#usr/local/netpbm/man/man1/mgrtopbm.1
+#usr/local/netpbm/man/man1/ppmquant.1
+#usr/local/netpbm/man/man1/pnmnlfilt.1
+#usr/local/netpbm/man/man1/ppmrough.1
+#usr/local/netpbm/man/man1/pbmtoybm.1
+#usr/local/netpbm/man/man1/spottopgm.1
+#usr/local/netpbm/man/man1/ppmtoppm.1
+#usr/local/netpbm/man/man1/neotoppm.1
+#usr/local/netpbm/man/man1/ppmbrighten.1
+#usr/local/netpbm/man/man1/pnmquant.1
+#usr/local/netpbm/man/man1/pamsummcol.1
+#usr/local/netpbm/man/man1/pamsharpness.1
+#usr/local/netpbm/man/man1/pbmclean.1
+#usr/local/netpbm/man/man1/fiascotopnm.1
+#usr/local/netpbm/man/man1/escp2topbm.1
+#usr/local/netpbm/man/man1/rasttopnm.1
+#usr/local/netpbm/man/man1/pnmscale.1
+#usr/local/netpbm/man/man1/pbmtogem.1
+#usr/local/netpbm/man/man1/pgmnoise.1
+#usr/local/netpbm/man/man1/pamedge.1
+#usr/local/netpbm/man/man1/pnmtile.1
+#usr/local/netpbm/man/man1/pampop9.1
+#usr/local/netpbm/man/man1/ppmlabel.1
+#usr/local/netpbm/man/man1/pamendian.1
+#usr/local/netpbm/man/man1/pamsharpmap.1
+#usr/local/netpbm/man/man1/pnmtopng.1
+#usr/local/netpbm/man/man1/pbmtogo.1
+#usr/local/netpbm/man/man1/ppmquantall.1
+#usr/local/netpbm/man/man1/pnmdepth.1
+#usr/local/netpbm/man/man1/pnmcrop.1
+#usr/local/netpbm/man/man1/atktopbm.1
+#usr/local/netpbm/man/man1/qrttoppm.1
+#usr/local/netpbm/man/man1/xpmtoppm.1
+#usr/local/netpbm/man/man1/xvminitoppm.1
+#usr/local/netpbm/man/man1/pamstretch-gen.1
+#usr/local/netpbm/man/man1/pamoil.1
+#usr/local/netpbm/man/man1/pbmlife.1
+#usr/local/netpbm/man/man1/ppmshift.1
+#usr/local/netpbm/man/man1/rawtopgm.1
+#usr/local/netpbm/man/man1/ppmrelief.1
+#usr/local/netpbm/man/man1/xbmtopbm.1
+#usr/local/netpbm/man/man1/pgmtexture.1
+#usr/local/netpbm/man/man1/pnmrotate.1
+#usr/local/netpbm/man/man1/tifftopnm.1
+#usr/local/netpbm/man/man1/pbmtodjvurle.1
+#usr/local/netpbm/man/man1/pbmtozinc.1
+#usr/local/netpbm/man/man1/tgatoppm.1
+#usr/local/netpbm/man/man1/pamperspective.1
+#usr/local/netpbm/man/man1/pamflip.1
+#usr/local/netpbm/man/man1/yuvtoppm.1
+#usr/local/netpbm/man/man1/pamscale.1
+#usr/local/netpbm/man/man1/ppmdim.1
+#usr/local/netpbm/man/man1/ppmtopi1.1
+#usr/local/netpbm/man/man1/cmuwmtopbm.1
+#usr/local/netpbm/man/man1/ppmtopuzz.1
+#usr/local/netpbm/man/man1/yuvsplittoppm.1
+#usr/local/netpbm/man/man1/pgmenhance.1
+#usr/local/netpbm/man/man1/hdifftopam.1
+#usr/local/netpbm/man/man1/jbigtopnm.1
+#usr/local/netpbm/man/man1/ppmtoarbtxt.1
+#usr/local/netpbm/man/man1/bmptopnm.1
+#usr/local/netpbm/man/man1/pamdice.1
+#usr/local/netpbm/man/man1/pbmtolj.1
+#usr/local/netpbm/man/man1/pbmmake.1
+#usr/local/netpbm/man/man1/pammasksharpen.1
+#usr/local/netpbm/man/man1/pngtopnm.1
+#usr/local/netpbm/man/man1/pnmtoplainpnm.1
+#usr/local/netpbm/man/man1/icontopbm.1
+#usr/local/netpbm/man/man1/pbmtopgm.1
+#usr/local/netpbm/man/man1/pamslice.1
+#usr/local/netpbm/man/man1/manweb.1
+#usr/local/netpbm/man/man1/jpegtopnm.1
+#usr/local/netpbm/man/man1/pnmgamma.1
+#usr/local/netpbm/man/man1/pnmtojpeg.1
+#usr/local/netpbm/man/man1/mtvtoppm.1
+#usr/local/netpbm/man/man1/pamchannel.1
+#usr/local/netpbm/man/man1/pbmtox10bm.1
+#usr/local/netpbm/man/web
+#usr/local/netpbm/man/web/netpbm.url
+#usr/local/netpbm/man/man5
+#usr/local/netpbm/man/man5/pgm.5
+#usr/local/netpbm/man/man5/pam.5
+#usr/local/netpbm/man/man5/ppm.5
+#usr/local/netpbm/man/man5/pbm.5
+#usr/local/netpbm/man/man5/pnm.5
+#usr/local/netpbm/man/man3
+#usr/local/netpbm/man/man3/libnetpbm.3
+#usr/local/netpbm/pkginfo
+#usr/local/netpbm/misc
+usr/local/netpbm/misc/pcxstd.ppm
+usr/local/netpbm/misc/palmgray2.map
+usr/local/netpbm/misc/rgb.txt
+usr/local/netpbm/misc/palmcolor8.map
+usr/local/netpbm/misc/palmgray1.map
+usr/local/netpbm/misc/palmgray4.map
diff --git a/config/rootfiles/packages/phpSANE b/config/rootfiles/packages/phpSANE
new file mode 100644 (file)
index 0000000..98a99f0
--- /dev/null
@@ -0,0 +1,22 @@
+#srv/web/phpSANE
+#srv/web/phpSANE/bilder
+srv/web/phpSANE/bilder/black.gif
+srv/web/phpSANE/bilder/clear.gif
+srv/web/phpSANE/bilder/de.gif
+srv/web/phpSANE/bilder/en.gif
+srv/web/phpSANE/bilder/logo.jpg
+srv/web/phpSANE/bilder/scan.jpg
+srv/web/phpSANE/config.php
+#srv/web/phpSANE/css
+srv/web/phpSANE/css/save.css
+srv/web/phpSANE/css/style.css
+srv/web/phpSANE/index.php
+#srv/web/phpSANE/javascript
+srv/web/phpSANE/javascript/position.js
+srv/web/phpSANE/language.php
+srv/web/phpSANE/menu.php
+srv/web/phpSANE/phpsane.php
+srv/web/phpSANE/save.php
+srv/web/phpSANE/scan.php
+srv/web/phpSANE/tmp
+etc/httpd/conf/vhosts.d/phpSANE.conf
index ccccfd552cf26fc6bd45bc5fed63683dd6a7317a..660ec76816c029d85cc5a1121f67db3b1fecc943 100644 (file)
 * ncurses-5.5
 * neon-0.25.5
 * net-tools-1.60
+* netpbm-10.26.46
 * newt-0.51.6
 * nfs-utils-1.1.1
 * nmap-4.03
 * pcre-6.7
 * perl-5.8.8
 * php-5.2.4
+* phpSANE-0.3.3
 * pkg-config-0.20
 * popt-1.10.4
 * portmap_5beta
diff --git a/lfs/netpbm b/lfs/netpbm
new file mode 100644 (file)
index 0000000..7ee4a19
--- /dev/null
@@ -0,0 +1,85 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# 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 3 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, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 10.26.46
+
+THISAPP    = netpbm-$(VER)
+DL_FILE    = $(THISAPP).tgz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = netpbm
+PAK_VER    = 1
+
+DEPS       = ""
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 37a071debfce1dd9596267448f4b56c8
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist: 
+       @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cp $(DIR_SRC)/config/netpbm/Makefile.config $(DIR_APP)
+       cd $(DIR_APP) && make
+       cd $(DIR_APP) && make package PKGDIR=/usr/local/netpbm
+       cp /usr/local/netpbm/lib/lib* /usr/lib
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/lfs/phpSANE b/lfs/phpSANE
new file mode 100644 (file)
index 0000000..5dad01d
--- /dev/null
@@ -0,0 +1,87 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# 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 3 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, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 0.3.3
+
+THISAPP    = phpSANE-$(VER)
+DL_FILE    = $(THISAPP).tar.bz2
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = phpSANE
+PAK_VER    = 1
+
+DEPS       = "sane netpbm"
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 48fd77f85555ad41382bb1e0d1e373b9
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist: 
+       @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP)/phpSANE && patch -N -p1 < $(DIR_SRC)/src/patches/$(THISAPP)-fixes.patch
+       cd $(DIR_APP)/phpSANE && ln -s phpsane.php index.php
+       @rm -rf /srv/web/phpSANE
+       cd $(DIR_APP) && mv -vf phpSANE /srv/web/
+       cp -vf $(DIR_SRC)/config/phpSANE/phpSANE.conf /etc/httpd/conf/vhosts.d/
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 27c6d86f1ddf4b92a38892bc0daa5e7096b239d0..ddf13c5bdc7f39f1f9a841691a5614b548a53d2d 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -542,6 +542,8 @@ buildipfire() {
   ipfiremake sdl
   ipfiremake qemu
   ipfiremake sane
+  ipfiremake netpbm
+  ipfiremake phpSANE
 }
 
 buildinstaller() {
diff --git a/src/paks/phpSANE/install.sh b/src/paks/phpSANE/install.sh
new file mode 100644 (file)
index 0000000..6368c6e
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire 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.                                      #
+#                                                                          #
+# IPFire 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 IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+extract_files
+/etc/init.d/apache reload
diff --git a/src/paks/phpSANE/uninstall.sh b/src/paks/phpSANE/uninstall.sh
new file mode 100644 (file)
index 0000000..e5b5d7f
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire 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.                                      #
+#                                                                          #
+# IPFire 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 IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+remove_files
diff --git a/src/paks/phpSANE/update.sh b/src/paks/phpSANE/update.sh
new file mode 100644 (file)
index 0000000..800823e
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire 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.                                      #
+#                                                                          #
+# IPFire 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 IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
diff --git a/src/patches/phpSANE-0.3.3-fixes.patch b/src/patches/phpSANE-0.3.3-fixes.patch
new file mode 100755 (executable)
index 0000000..d5b7357
--- /dev/null
@@ -0,0 +1,71 @@
+diff -Naur phpSANE_org/config.php phpSANE/config.php
+--- phpSANE_org/config.php     2005-02-21 07:05:00.000000000 +0100
++++ phpSANE/config.php 2008-03-04 14:44:30.000000000 +0100
+@@ -1,7 +1,7 @@
+ <?PHP
+ // CONFIG ------------------------------------------------------------------------------------
+ $SCANIMAGE="/usr/bin/scanimage";   //  auch mit
+-$PNMTOJPEG="/usr/bin/pnmtojpeg";   //  eigenen
++$PNMTOJPEG="/usr/local/netpbm/bin/pnmtojpeg";   //  eigenen
+ $OCR="/usr/bin/gocr";              //  Parametern
+ //$SAVE_PLACE="/srv/www/htdocs/web/phpSANE/";
+@@ -63,7 +63,7 @@
+ if($_GET['mode']) if($clear == 1) $mode="Color"; else $mode=$_GET['mode']; else $mode="Color";
+ if($_GET['resolution']) if($clear == 1) $resolution=100; else $resolution=$_GET['resolution']; else $resolution=100;
+ if($clear == 1) $negative="no"; else $negative=$_GET['negative'];
+-if($clear == 1) $quality_cal= "yes"; else $quality_cal=$_GET['quality_cal'];
++if($clear == 1) $quality_cal= "no"; else $quality_cal=$_GET['quality_cal'];
+ if($clear == 1) $first="";
+ //if($_GET['depth']) $depth=$_GET['depth']; else $depth="8";   // wers braucht
+ //$brightness=$_GET['brightness'];    // die werden von meinem scanner leider nicht unterstützt
+diff -Naur phpSANE_org/menu.php phpSANE/menu.php
+--- phpSANE_org/menu.php       2005-02-21 06:39:01.000000000 +0100
++++ phpSANE/menu.php   2008-03-04 15:03:12.000000000 +0100
+@@ -74,7 +74,7 @@
+ echo "<option value=\"Gray\" $selected_2>".$lang[$lang_id][16]."\n";
+ echo "<option value=\"Lineart\" $selected_3>".$lang[$lang_id][17]."\n";
+ echo "</SELECT></td>\n";
+-if(!$_GET['first']) { $first=1; $checked1="checked"; }
++//if(!$_GET['first']) { $first=1; $checked1="checked"; }
+ if($quality_cal=="yes") { $checked1="checked"; $first=1; } else { $checked=""; $first=1; }
+ echo "<input type=hidden name=\"first\" value=\"$first\">\n";
+ echo "<td align=\"right\" class=\"text_padd\">".$lang[$lang_id][21]."&nbsp;<INPUT type=\"checkbox\" name=\"quality_cal\" value=\"yes\" ".$checked1."></td>\n";
+diff -Naur phpSANE_org/scan.php phpSANE/scan.php
+--- phpSANE_org/scan.php       2005-02-21 07:06:19.000000000 +0100
++++ phpSANE/scan.php   2008-03-04 15:57:37.000000000 +0100
+@@ -75,25 +75,25 @@
+ if($action == $lang[$lang_id][27]) {
+ if($format == "jpg") {
+-$cmd_scan=$cmd_scan." | pnmtojpeg --quality=100 > ".$file_scan;
+-$scan_yes=`$cmd_scan`;
+-echo "<script language=\"JavaScript\" type=\"text/javascript\">\n";
+-echo "window.open(\"save.php?file=".$file_scan."&lang_id=".$lang_id."\",\"_blank\", \"width=400,height=100,left=320,top=200,scrollbars=no,location=no,status=no,menubar=no\");\n";
+-echo "</script>\n";
+-} else {
++$cmd_scan=$cmd_scan." | $PNMTOJPEG --quality=100 > ".$file_scan;
++} 
++if($format == "tif") {
++$cmd_scan=$cmd_scan." --format=tiff > ".$file_scan;
++}
++if($format == "pnm") {
+ $cmd_scan=$cmd_scan." > ".$file_scan;
++} 
+ $scan_yes=`$cmd_scan`;
+ echo "<script language=\"JavaScript\" type=\"text/javascript\">\n";
+-echo "window.open(\"save.php?file=".$file_scan."%26lang_id=".$lang_id."\",\"_blank\", \"width=400,height=100,left=320,top=200,scrollbars=no,location=no,status=no,menubar=no\");\n";
++echo "window.open(\"save.php?file=".$file_scan."&lang_id=".$lang_id."\",\"_blank\", \"width=400,height=200,left=320,top=200,scrollbars=no,location=no,status=no,menubar=no\");\n";
+ echo "</script>\n";
+ }
+-}
+ if($action == $lang[$lang_id][26]) {
+ $cmd_scan=$cmd_scan." | ".$OCR." - > ".$file.".txt";
+ $scan_yes=`$cmd_scan`;
+ echo "<script language=\"JavaScript\" type=\"text/javascript\">\n";
+-echo "window.open(\"save.php?file=".$file.".txt%26lang_id=".$lang_id."\",\"_blank\", \"width=400,height=100,left=320,top=200,scrollbars=no,location=no,status=no,menubar=no\");\n";
++echo "window.open(\"save.php?file=".$file.".txt&lang_id=".$lang_id."\",\"_blank\", \"width=400,height=100,left=320,top=200,scrollbars=no,location=no,status=no,menubar=no\");\n";
+ echo "</script>\n";
+ }
+ }