[Fedora-directory-commits] esc/src/app/eginstall Makefile, NONE, 1.1 eginstall.c, NONE, 1.1 instlib.c, NONE, 1.1 instlib.h, NONE, 1.1
by Doctor Conrad
Author: jmagne
Update of /cvs/dirsec/esc/src/app/eginstall
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15643
Added Files:
Makefile eginstall.c instlib.c instlib.h
Log Message:
Initial revision.
--- NEW FILE Makefile ---
#! gmake
#
# BEGIN COPYRIGHT BLOCK
# 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; version 2 of the License.
#
# 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., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA.
#
# Copyright (C) 2005 Red Hat, Inc.
# All rights reserved.
# END COPYRIGHT BLOCK
CORE_DEPTH = ../../..
include $(CORE_DEPTH)/coreconf/config.mk
DIST = $(CORE_DEPTH)/dist/$(OBJDIR_NAME)
ifeq ($(OS_ARCH), WINNT)
WINNT = 1
endif
ifeq ($(OS_ARCH), Darwin)
MACOS = 1
endif
ifndef BUILD_OPT
ifdef WINNT
CFLAGS = -Z7
else
CFLAGS = -g
endif
CFLAGS += -DDEBUG
endif
ifdef WINNT
LIBS = \
version.lib \
Setupapi.lib \
Advapi32.lib \
$(NULL)
all: $(OBJDIR_NAME)/eginstall.exe
import:
@echo "Nothing to Import"
clean:
rm -f $(OBJDIR_NAME)/eginstall.exe $(OBJDIR_NAME)/eginstall.obj
libs: $(OBJDIR_NAME)/eginstall.exe
install:
mkdir -p $(DIST)/coolkey_drivers/egate/
cp $(OBJDIR_NAME)/eginstall.exe $(DIST)/coolkey_drivers/egate/
$(OBJDIR_NAME)/eginstall.exe: $(OBJDIR_NAME)/eginstall.obj
mkdir -p $(OBJDIR_NAME)
cl $(CFLAGS) -o $(OBJDIR_NAME)/eginstall.exe $(OBJDIR_NAME)/eginstall.obj $(LIBS)
# /link /subsystem:WINDOWS
editbin /subsystem:WINDOWS $(OBJDIR_NAME)/eginstall.exe
$(OBJDIR_NAME)/eginstall.obj: eginstall.c
mkdir -p $(OBJDIR_NAME)
cl -c -Fo$@ -DWINDOWS $(CFLAGS) eginstall.c
else
# MAC & Linux PC/SC-lite installer
ifdef MACOS
LIBS += -framework Security -framework Carbon
CFLAGS += -DMAC
RESTART = $(OBJDIR_NAME)/pcscd_restart
endif
COMMON_OBJS=$(OBJDIR_NAME)/instlib.o
all: $(OBJDIR_NAME)/eginstall $(RESTART)
import:
@echo "Nothing to Import"
clean:
rm -f $(OBJDIR_NAME)/eginstall $(COMMON_OBJS) $(OBJDIR_NAME)/eginstall.o $(OBJDIR_NAME)/pcscd_restart.sh $(OBJDIR_NAME)/pcscd_restart $(OBJDIR_NAME)/pcscd_restart.o
libs: $(OBJDIR_NAME)/eginstall $(RESTART)
install: libs
mkdir -p $(DIST)/coolkey_drivers/
cp $(OBJDIR_NAME)/eginstall $(DIST)/coolkey_drivers/
ifdef MACOS
cp $(OBJDIR_NAME)/pcscd_restart $(DIST)/coolkey_drivers/
rm -f $(OBJDIR_NAME)/"COOL Key Install"
ln $(OBJDIR_NAME)/eginstall $(OBJDIR_NAME)/"COOL Key Install"
rm -f $(DIST)/coolkey_drivers/"COOL Key Install"
ln $(DIST)/coolkey_drivers/eginstall $(DIST)/coolkey_drivers/"COOL Key Install"
endif
$(OBJDIR_NAME)/%.o: %.c
mkdir -p $(OBJDIR_NAME)
cc -c -o $@ $(CFLAGS) $<
$(OBJDIR_NAME)/eginstall: $(OBJDIR_NAME)/eginstall.o $(COMMON_OBJS)
mkdir -p $(OBJDIR_NAME)
cc -o $(OBJDIR_NAME)/eginstall $< $(COMMON_OBJS) $(LIBS)
$(OBJDIR_NAME)/pcscd_restart: $(OBJDIR_NAME)/pcscd_restart.o $(COMMON_OBJS)
mkdir -p $(OBJDIR_NAME)
cc -o $(OBJDIR_NAME)/pcscd_restart $< $(COMMON_OBJS) $(LIBS)
$(OBJDIR_NAME)/pcscd_restart.sh: pcscd_restart.sh.$(OS_ARCH)
cp $< $@
endif
export:
@echo "Nothing to Export"
--- NEW FILE eginstall.c ---
/* ***** BEGIN COPYRIGHT BLOCK *****
* * Copyright (C) 2005 Red Hat, Inc.
* * All rights reserved.
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** License as published by the Free Software Foundation version
** 2.1 of the License.
**
** This library 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
** Lesser General Public License for more details.
**
** You should have received a copy of the GNU Lesser General Public
** License along with this library; if not, write to the Free Software
** Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
** ***** END COPYRIGHT BLOCK *****/
#define LOGFILE "inst.log"
#ifdef WIN32
#define INITGUID 1
#include <windows.h>
#include <stdio.h>
#include <setupapi.h>
#include <direct.h>
#include <time.h>
#include <winver.h>
#define DRIVER_COUNT 4
/* This structure defines that descriptor used for each egate driver.
* the data described in the structure is static.
*/
typedef struct _driverInfo {
char *devClass; /* microsoft device class */
char *infFile; /* original inf file escribing the device */
char *instFile; /* file in the installation */
char *deviceID; /* Typical Device ID */
DWORD createFlags; /* Flags for hand creating device */
BOOL devClassUnique; /* true only if class is unique for egate */
BOOL doInstall; /* this driver should be installed */
BOOL handInstall;
} DriverInfo;
/* dynamically determined driver information */
typedef struct _dyDriverInfo {
char *oemFile; /* new OEM file */
char destPath[MAX_PATH];
} DyDriverInfo;
static const DriverInfo driverInfo[DRIVER_COUNT] = {
/* Egate PCSC device. Maps to a virtual reader. These are managed by
The Egate bus driver. */
{ "SmartCardReader", "egaterdr.inf", "egaterdr.sys",
"EGATEBUS", 0, FALSE, TRUE, FALSE },
/* Driver handling the actual card driver. This one is managed by the
plug and play handler. The first card is supposed to install the
EgateBus handler */
{ "EgateCard", "egate.inf", "egate.sys",
"USB\\VID_0973&PID_0001", 0, TRUE, TRUE, FALSE },
/* Egatebus is the Reader Enumerator. It starts new readers as necessary. */
{ "Egatebus", "egatebus.inf", "egatebus.sys",
"EGATEBUS", DICD_GENERATE_ID, TRUE, TRUE, TRUE },
/* Unknown driver is necessary for uninstall. If an egate device was inserted
before any egate drivers were installed, an Unknown device will have been
created. We need to remove it before we start our install */
{ "Unknown", "none.inf", "none.sys",
"USB\\VID_0973&PID_0001", 0, FALSE, FALSE, FALSE },
};
static DyDriverInfo dyDriverInfo[DRIVER_COUNT] = { 0 };
#define FILE_COUNT 8
static const char *deviceFileList[FILE_COUNT] = {
"drivers\\egate.sys",
"drivers\\egateraw.sys",
"egdrvins1.dll",
"egdrvins.dll",
"slbmqp98.dll",
"slbmgpg.dll",
"drivers\\egatebus.sys",
"drivers\\egaterdr.sys",
};
static char infFilePath[MAX_PATH];
static char logFilePath[MAX_PATH];
BOOL useOS = FALSE;
typedef unsigned long TIME;
void
profile(FILE *logFile, BOOL doProfile, char *message, void *arg, TIME last, TIME *retCurrent)
{
static TIME epoc = 0;
TIME current;
if (!doProfile) {
return;
}
current = GetTickCount();
if (epoc == 0) {
epoc = current;
}
if (retCurrent) {
*retCurrent = current;
}
if (!message) {
return;
}
fprintf(logFile,"@TIME:");
fprintf(logFile, message, arg);
fprintf(logFile," %d ms (%d ms total)\n", current - last, current - epoc);
}
#include <dbt.h>
DEFINE_GUID(IDD_CLASS_EGATECARD,0x555e05a3,0x904c,0x42cf,0xae,0xf4,
0xee,0x40,0x35,0xec,0x63,0x62);
DEFINE_GUID(IDD_CLASS_EGATERDR,0x50dd5230,0xba8a,0x11d1,0xbf,0x5d,
0x00,0x00,0xf8,0x05,0xf5,0x30);
DEFINE_GUID(IDD_CLASS_EGATEBUS,0x9510ee5d,0x9613,0x439a,0xad,0xb9,
0xe4,0xde,0xa5,0xa6,0xb6,0x53);
static void
usage(char *prog)
{
fprintf(stderr,"usage: %s [-F][-q][-9][-u][-c][-p][-O][-l logfile] [egate_path]\n",prog);
fprintf(stderr,"\tu uninstall\tc clean\n");
fprintf(stderr,"\tp profile\tO use slow OS calls\n");
fprintf(stderr,"\tq quiet\n");
fprintf(stderr,"\tF and 9 reserved for future use\n");
return;
}
/* Utility printing functions */
/* capture the window's error string */
static void
winPerror(FILE *outFile, DWORD error, const char *msgString)
{
char buffer[256];
char *cp;
DWORD ret;
fprintf(outFile,"*** %s: ",msgString);
sprintf(buffer,"Format message problem, error = %d (0x%x)\n", error, error);
ret=FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, error, 0, buffer,
sizeof(buffer), NULL);
for (cp=buffer; *cp; cp++) {
if (*cp == '\r') *cp = ' ';
}
fprintf(outFile, buffer);
}
#ifdef DEBUG
/* pretty raw dump a buffer in hex and ascii */
#define MAX_ROWS 16
void
dump(FILE *logFile, void *p, int len)
{
unsigned char *c = (char *)p;
char string[MAX_ROWS+1];
int i,j;
fprintf(logFile,"Dumping buffer %x size=%d\n",p,len);
for (i=0, j=0; i< len ; i++,j++) {
if (j >= MAX_ROWS) {
string[MAX_ROWS] = 0;
fprintf(logFile," %s\n",string);
j=0;
}
fprintf(logFile,"%02x ",c[i]);
string[j] = (char) (c[i] >= ' ' && c[i] <0x7f) ? c[i] : '.' ;
}
if (j && j < MAX_ROWS) {
string[j]= 0;
for (; j < MAX_ROWS; j++) {
fprintf(logFile," ");
}
fprintf(logFile," %s\n",string);
}
}
/* dump an InfInformation buffer */
void
printInf(FILE *logFile, const PSP_INF_INFORMATION sp_inf, DWORD len)
{
char *style = NULL;
switch (sp_inf->InfStyle) {
[...2099 lines suppressed...]
Copy("/etc/reader.conf","/etc/_reader.conf", 0644);
}
} else {
(void)RmFile("/etc/_reader.conf");
}
sprintf(buf,"%s/slbEGate.bundle",path);
install_path = strdup(buf);
if (egate_path) {
unsigned long current_version, install_version;
current_version = GetBundleVersion(egate_path);
install_version = GetBundleVersion(install_path);
if (current_version <= install_version) {
RmFile("/etc/reader.conf");
syslog(LOG_INFO,"Replacing version %d with version %d of %s\n",
current_version, install_version, "slbEGate.bundle");
} else {
syslog(LOG_INFO,
"Newer version of E-Gate already installed"
"(oldversion = %d, newversion = %d)\n",
current_version, install_version);
skip_reader_conf = 1;
}
free(egate_path);
}
if (!skip_reader_conf) {
/*
* we use _reader.conf so that we don't wind up with a partially
* updated file that we can't later recover from.
*/
if(!IsTiger)
{
int readerfd;
readerfd = open("/etc/_reader.conf", O_CREAT|O_APPEND|O_WRONLY, 0644);
if (readerfd < 0) {
syslog(LOG_ERR,
"Couldn't open /etc/_reader.conf for update err=%d (%s)\n",
errno, strerror(errno));
return RDRCNF_ERR(errno);
}
rc = write(readerfd, readerConf, sizeof(readerConf)-1);
if (rc < 0) {
syslog(LOG_ERR,
"Write Failure on /etc/_reader.conf err=%d (%s) fd=%d\n",
errno, strerror(errno), readerfd);
return RDRCNF_ERR(errno);
} else if (rc < sizeof(readerConf)-1) {
syslog(LOG_ERR,"only wrote %d bytes to /etc/_reader.conf\n", rc);
return RDRCNF_ERR(errno);
}
close(readerfd);
}
#ifdef MAC
// Install in same place whether Panther or Tiger
rc = Cpdir(install_path,TigerLibPath);
#else
rc = Cpdir(install_path,"/etc/reader/slbEGate.bundle");
#endif
if (rc < 0) {
syslog(LOG_ERR, "Failed to copy egate driver %s"
" to slbEGate.bundle err=%d (%s)\n", install_path,
errno, strerror(errno));
return RDRCNF_ERR(errno);
}
if(!IsTiger)
{
(void)RmFile("/etc/reader.conf");
rc = rename("/etc/_reader.conf","/etc/reader.conf");
if (rc < 0) {
syslog(LOG_ERR, "Failed to rename /etc/_reader.conf"
" to /etc/reader.conf err=%d\n", errno, strerror(errno));
return RDRCNF_ERR(errno);
}
}
syslog(LOG_INFO, "Installed egate. ");
}
pid = FindProcessByName("pcscd");
/* If nothing to install, don't restart pcscd */
if (skip_reader_conf && pid != -1) {
syslog(LOG_INFO,
"Nothing new to install, pcscd running: skip restarting pcscd\n");
return return_code;
}
if (pid != -1) {
syslog(LOG_INFO,"Killing PCSCD process id %d\n", pid);
kill( pid, SIGTERM );
/* wait 10 seconds for the process to die */
rc = WaitForProcessDeath(pid,10);
if (rc == PROCESS_ALIVE) {
kill(pid, SIGKILL);
rc = WaitForProcessDeath(pid,10);
}
if (rc != PROCESS_DEAD) {
syslog(LOG_ERR,"PCSCD still running!!!");
return RESTART_ERR(errno);
}
}
if (FileExists("/tmp/pcsc")) {
/* clean up old pcsc files */
syslog(LOG_INFO,"Cleaning up Old PCSC Files\n");
rc = RmDir("/tmp/pcsc");
if (rc != 0) {
syslog(LOG_ERR,"Failed to clean up /tmp/pcsc\n");
return_code = CLEANUP_ERR(errno);
}
}
/* now start pcscd */
#ifdef MAC
if(!IsTiger)
{
rc = system("/usr/sbin/pcscd");
}
else
{
rc = 0;
syslog(LOG_INFO,"Tiger 10.4.2 and later, does not start /usr/sbin/pcscd \n");
}
#else
rc = system("/usr/local/sbin/pcscd");
#endif
if (rc < 0) {
syslog(LOG_ERR,"Could't restart PCSCD err=%d (%s)\n",
errno, strerror(errno));
return_code = EXEC_ERR(errno);
}
#ifdef MAC
/* TODO this needs to be done for linux */
/* copy the restart command to /usr/sbin */
sprintf(buf,"%s/pcscd_restart",path);
/* do we need to verify a hash to make sure we are installing
* the correct pcscd_restart program? */
/* copy restart to /usr/sbin. We do this because once we install it,
* it cannot be removed unless the user becomes root. This allows the
* user to move around the photon installation without loosing the
* restart program. */
rc = Copy(buf,"/usr/sbin/pcscd_restart",0755);
if (rc < 0) {
/* not fatal.. */
syslog(LOG_INFO,"Couldn't copy pcscd_restart to /usr/sbin err=%d\n",
errno);
} else {
rc = Setuid("/usr/sbin/pcscd_restart");
if (rc < 0) {
/* not fatal... */
syslog(LOG_INFO,"Couldn't setuid on pcscd_restart err=%d\n", errno);
}
}
/* make sure the restart code works */
if(!isTigerDotTwo)
{
rc = SetupSystemBoot();
if (rc < 0) {
/* not fatal.. */
syslog(LOG_INFO,"Couldn't setup restart on boot err=%d\n",errno);
}
}
else
{
syslog(LOG_INFO,"Tiger 10.4.2 and later, don't do SetupSystemBoot to setup restart on boot.\n");
rc = RemoveSystemBoot();
if( rc < 0)
{
syslog(LOG_INFO,"Couldn't remove restart on boot err=%d\n",errno);
}
}
#endif
syslog(LOG_INFO,"Installation complete. return_code=%d\n",return_code);
return return_code;
}
#endif
--- NEW FILE instlib.c ---
/* ***** BEGIN COPYRIGHT BLOCK *****
** * Copyright (C) 2005 Red Hat, Inc.
** * All rights reserved.
***
*** This library is free software; you can redistribute it and/or
*** modify it under the terms of the GNU Lesser General Public
*** License as published by the Free Software Foundation version
*** 2.1 of the License.
***
*** This library 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
*** Lesser General Public License for more details.
***
*** You should have received a copy of the GNU Lesser General Public
*** License along with this library; if not, write to the Free Software
*** Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*** ***** END COPYRIGHT BLOCK *****/
/* MAC & Linux */
#ifndef WIN32
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <stdlib.h>
#include <stdio.h>
#include <signal.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <syslog.h>
#include <fts.h>
#include <sys/sysctl.h>
#include "instlib.h"
#define LOWER(c) (isalpha(c) ? tolower(c) : c)
int HasString(const char *target,const char *search) {
char c = LOWER(*search);
int len = strlen(search);
for ( ; *target; target++) {
if (LOWER(*target) == c) {
if (strncasecmp(target,search,len) == 0) {
return 1;
}
}
}
return 0;
}
int IsDirectory(const char *dir)
{
struct stat sbuf;
int rc;
rc = stat(dir,&sbuf);
if (rc == 0) {
return ((sbuf.st_mode & S_IFDIR) == S_IFDIR);
}
return 0;
}
int FileExists(const char *file)
{
struct stat sbuf;
int rc;
rc = stat(file,&sbuf);
if (rc == 0) {
return 1;
}
return 0;
}
#define MAX_RECURSE_LEVEL 15
#define DIR_MODE 0755
/*
* Create a directory. Create any missing or broken
* components we need along the way. If we already have a
* directory, return success.
*/
int Makedir(const char *directory, int level, int mode)
{
int rc;
char *buf, *cp;
/* prevent arbitrary stack overflow */
if (level > MAX_RECURSE_LEVEL) {
errno = ENAMETOOLONG;
return -1;
}
umask(0);
/* just try it first */
rc = mkdir(directory,DIR_MODE);
if (rc != 0) {
if (errno == EEXIST) {
if (IsDirectory(directory)) {
/* we have a directory, use it */
return 0;
} else { /* must be a file */
/* remove the file and try again */
rc = RmFile(directory);
if (rc == 0) {
rc = mkdir(directory, mode);
}
return rc;
}
}
/* if we fail because on of the subdirectory entries was a
* file, or one of the subdirectory entries didn't exist,
* move back one component and try the whole thing again
*/
if ((errno != ENOENT) && (errno != ENOTDIR)) {
return rc;
}
buf = (char *)malloc(strlen(directory)+1);
strcpy(buf,directory);
if (cp = strrchr(buf,'/')) {
*cp = 0;
rc = Makedir(buf,level+1, mode);
if (rc == 0) {
rc = mkdir(directory, mode);
}
}
free(buf);
}
return rc;
}
#define INFO_FILE "/Contents/Info.plist"
#define MAX_VERSION_TYPES 3
/* try to find the version number. NOTE: this is not a full xml parser. A full
* xml parser would be a bit better to use */
unsigned long GetBundleVersion(const char *bundle)
{
#ifdef xMAC
CFBundleRef bundle;
CURLRef url;
unsigned long version;
url = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, bundle,
kCFURLPOSIXPathStyle, true );
if (!url) {
return 0;
}
bundle = CFBundleCreate(kCFAllocatorDefault, url);
CFRelease(url);
if (!bundle) {
return 0;
}
version = (unsigned long) CFBundleGetVersionNumber(bundle);
CFRelease(bundle);
return version;
#else
FILE *infoFile;
char *bundleFile;
char *str;
char buf[256];
int versions[MAX_VERSION_TYPES];
int i, currentType;
unsigned long version;
bundleFile = (char *)malloc(strlen(bundle) + strlen(INFO_FILE)+1);
if (bundleFile == NULL) {
return 0;
}
sprintf(bundleFile,"%s"INFO_FILE,bundle);
infoFile = fopen(bundleFile,"r");
free(bundleFile);
if (infoFile == NULL) {
return 0;
}
while ((str=fgets(buf, sizeof(buf),infoFile)) != NULL) {
if (HasString(str,"CFBundleVersion")) {
str=fgets(buf, sizeof(buf),infoFile);
break;
}
}
fclose(infoFile);
if (str == NULL) {
return 0;
}
while (*str && !isdigit(*str)) {
str++;
}
if (*str == 0) {
return 0;
}
for (i=0; i < MAX_VERSION_TYPES; i++) {
versions[i] = 0;
}
currentType = 0;
for (; currentType < MAX_VERSION_TYPES &&
*str && (isdigit(*str) || *str == '.'); str++) {
if (*str == '.') {
currentType++;
if (currentType >= MAX_VERSION_TYPES) {
break;
}
continue;
}
/* only record up to 2 digits for minor versions */
if ((currentType != 0) && (versions[currentType] >= 10)) {
versions[currentType] = 99;
continue;
}
versions[currentType] =
versions[currentType] * 10 + (*str) - '0';
}
/* now assemble the decoded version number */
version = 0;
for (i=0; i < MAX_VERSION_TYPES; i++) {
version = version * 100 + versions[i];
}
return version;
#endif
}
#define BUFSIZE 32*1024
int Copy(const char *src, const char *target, int mode)
{
int fdsrc,fdtarget;
int bytes,wbytes,rc = 0;
char buf[BUFSIZE];
fdsrc = open(src,O_RDONLY);
if (fdsrc < 0) {
return fdsrc;
}
fdtarget = open(target, O_WRONLY|O_CREAT|O_TRUNC, mode);
if (fdtarget < 0) {
close(fdsrc);
return fdtarget;
}
while ((bytes = read(fdsrc,buf,sizeof(buf))) > 0) {
wbytes = write(fdtarget,buf, bytes);
if (wbytes != bytes) {
rc = -1;
break;
}
}
if (bytes < 0) {
rc = bytes;
}
close(fdtarget);
close(fdsrc);
return rc;
}
int Cpdir(const char *source,const char *target)
{
FTS *dir;
FTSENT *entry;
int rc = 0;
char buf[MAXPATHLEN];
char *files[2];
int mode;
int cdir;
files[0]=".";
files[1]= 0;
cdir = open(".",O_RDONLY);
rc = chdir(source);
if (rc != 0) {
close(cdir);
return rc;
}
rc = Makedir(target, 0, DIR_MODE);
if (rc != 0) {
return rc;
}
dir = fts_open(files,FTS_NOCHDIR|FTS_LOGICAL,NULL);
if (dir == NULL) {
return -1;
}
while (entry = fts_read(dir)) {
sprintf(buf,"%s/%s",target,entry->fts_accpath);
mode = DIR_MODE;
if (entry->fts_statp) {
mode = entry->fts_statp->st_mode;
}
switch (entry->fts_info) {
case FTS_D:
/* need more .... */
rc = Makedir(buf, 0, mode);
break;
case FTS_F:
rc = Copy(entry->fts_path, buf, mode);
break;
}
if (rc != 0) break;
}
fchdir(cdir);
close(cdir);
fts_close(dir);
return rc;
}
int RmFile(const char *fileName)
{
int rc = unlink(fileName);
if ((rc < 0) && (errno == EPERM)) {
chmod(fileName,0644);
rc = unlink(fileName);
}
return rc;
}
int RmDir(const char *dirName)
{
int rc = 0;
int count = 0;
FTS *dir;
FTSENT *entry;
char *files[2];
files[0] = (char *) dirName;
files[1] = 0;
if (FileExists(dirName)) {
if (IsDirectory(dirName)) {
dir = fts_open(files,FTS_NOCHDIR|FTS_PHYSICAL,NULL);
if (dir == NULL) {
return -1;
}
while (entry = fts_read(dir)) {
switch (entry->fts_info) {
case FTS_DP:
count++;
rc = rmdir(entry->fts_path);
break;
case FTS_DEFAULT:
case FTS_SL:
case FTS_SLNONE:
case FTS_NS:
case FTS_NSOK:
case FTS_F:
rc = RmFile(entry->fts_path);
break;
}
if (rc != 0) break;
}
fts_close(dir);
if (count == 0) {
rc = rmdir(dirName);
}
return rc;
} else {
return RmFile(dirName);
}
}
return 0;
}
char *
GetFullPath(const char *prog, int includeProg) {
char *instDir, *end;
char *cwd = NULL;
char *new = NULL;
/* get the install directory */
instDir = strdup(prog);
if ((end = strrchr(instDir, '/')) == 0) {
if (includeProg) {
cwd = getcwd(NULL, 0);
new = (char *)malloc(strlen(cwd)+strlen(instDir)+2);
sprintf(new,"%s/%s",cwd,instDir);
} else {
new = getcwd(NULL,0);
}
} else {
if (!includeProg) {
*end = 0;
}
if (*instDir != '/') {
cwd = getcwd(NULL,0);
new = (char *)malloc(strlen(cwd)+strlen(instDir)+2);
char *instPtr = instDir;
/* handle . and .. prefixes */
if (*instDir == '.') {
if ((instDir[1] = 0) || /* . only */
((instDir[1] == '.') && /* .. & ../ */
((instDir[2] == '/') || (instDir[2] == 0))) ||
(instDir[1] == '/') ) { /* ./ */
instPtr++;
if (*instPtr == '.') {
/* back up one element */
if ((end = strrchr(cwd,'/')) == 0) {
*end = 0;
} else {
*cwd = 0;
}
instPtr++;
}
if (*instPtr == '/') {
instPtr ++;
}
}
}
sprintf(new,"%s/%s",cwd,instPtr);
}
}
if (cwd) {
free(cwd);
}
if (new) {
free(instDir);
instDir = new;
}
return instDir;
}
#ifdef MAC
typedef struct kinfo_proc kinfo_proc;
static const int listProc[] = { CTL_KERN, KERN_PROC, KERN_PROC_ALL, 0 };
static const int listProcLen=(sizeof(listProc)/sizeof(int)) -1;
#endif
/*
* find the PCSCD process
*/
#define MAX_RETRIES 100
int FindProcessByName(const char *procName)
{
#ifdef MAC
int ret;
kinfo_proc * pList;
size_t length;
int processCount;
int proc;
int i;
int pid = -1;
/*
* the process table is always changing. we may need to loop several times
* before we actually get the process list. We start with a large static
* buffer hoping that we don't have to actually allocate anything in the
* normal case
*/
pList = NULL;
length = 0;
/* don't hang forever */
for (i=0; i< MAX_RETRIES; i++) {
length = 0;
ret = sysctl( (int *) listProc, listProcLen, NULL, &length, NULL, 0);
if (ret < 0) {
break;
}
pList = malloc(length);
if (pList == NULL) {
break;
}
ret = sysctl( (int *) listProc, listProcLen, pList, &length, NULL, 0);
if (ret < 0) {
if (errno == ENOMEM) {
free(pList);
pList = NULL;
continue;
}
}
break;
}
/* just couldn't get our process list */
if (pList == NULL) {
perror("process list failed:");
return -1;
}
/* now loop through lookin for our process */
processCount = length / sizeof(kinfo_proc);
for (proc=0; proc < processCount; proc++) {
if (strcmp(pList[proc].kp_proc.p_comm,procName) == 0) {
pid = pList[proc].kp_proc.p_pid;
break;
}
}
free(pList);
return pid;
#else
return -1;
#endif
}
int
WaitForProcessDeath(int pid, int retries)
{
int rc;
int i;
/* loop for our retries until we can't send a signal to the process */
for (i=0; i < retries; i++) {
rc = kill(pid, 0);
if ( rc!= 0 ) {
break;
}
sleep(1);
}
if (rc == 0) {
/* process is still around past the retries */
return PROCESS_ALIVE;
}
if (errno == EPERM) {
/* we don't even have permission to kill the process */
return PROCESS_IMPERVIOUS;
}
/* process has been killed */
return PROCESS_DEAD;
}
#ifndef O_EXLOCK
#define O_EXLOCK 0
#endif
int
Setuid(const char *path) {
/* NULL for now */
struct stat statbuf;
int fd;
int rc, mode;
int ret = 0;
fd = open(path, O_NONBLOCK|O_RDONLY|O_EXLOCK, 0);
if (fd < 0) {
return errno;
}
/* Get info about the file */
rc = fstat(fd, &statbuf);
if (rc < 0) {
close(fd);
return errno;
}
/* make sure the file is owned by root */
if (statbuf.st_uid != 0) {
rc = fchown(fd, 0, statbuf.st_gid);
if (rc < 0) {
close(fd);
return errno;
}
}
/* turn off group and other write permission so the
* file can't be replaced */
mode = statbuf.st_mode & ~(S_IWGRP|S_IWOTH);
rc = fchmod(fd, mode | S_ISUID); /* set the uid bit */
if (rc < 0) ret = errno;
close(fd);
return ret;
}
const char smartCardServices[] = {
"#!/bin/sh\n"
"\n"
"##\n"
"# Start PC/SC\n"
"##\n"
"\n"
". /etc/rc.common\n"
"\n"
" ConsoleMessage \"Starting SmartCard Services\"\n"
" /usr/sbin/pcscd\n"
"\n" };
/* SmartcardServices */
/* StartupParameters.plist */
const char startupParametersPList[] = {
"{\n"
" Description = \"PC/SC Daemon\";\n"
" Provides = (\"SmartCardServices\");\n"
" Requires = ();\n"
" OrderPreference = \"None\";\n"
" Messages =\n"
" {\n"
" start = \"Starting SmartCard Services\";\n"
" stop = \"Stopping SmartCard Services\";\n"
" };\n"
"}\n"
"\n" };
#define STARTUP_DIR "/System/Library/StartupItems"
int
RemoveSystemBoot()
{
int rc;
if (IsDirectory(STARTUP_DIR"/SmartCardServices")) {
/*Blow it away **/
rc = RmDir(STARTUP_DIR"/SmartCardServices");
if (rc < 0) {
return -1;
}
}
return rc;
}
int
SetupSystemBoot()
{
int rc,fd;
if (!IsDirectory(STARTUP_DIR"/SmartCardServices")) {
/*check for errors and clean up so we don't have any partial installs*/
rc = Makedir(STARTUP_DIR"/SmartCardServices", 0, DIR_MODE);
if (rc < 0) {
return -1;
}
}
if (!FileExists(STARTUP_DIR"/SmartCardServices/SmartcardServices")) {
fd = open(STARTUP_DIR"/SmartCardServices/_SmartcardServices",
O_CREAT|O_TRUNC|O_WRONLY);
if (fd < 0) {
return -1;
}
rc = write(fd,smartCardServices,sizeof(smartCardServices)-1);
if (rc < 0) {
return -1;
}
if (rc < sizeof(smartCardServices)-1) {
return -1;
errno = ENOSPC;
return -1;
}
close(fd);
rc = rename(STARTUP_DIR"/SmartCardServices/_SmartcardServices",
STARTUP_DIR"/SmartCardServices/SmartcardServices");
if (rc < 0) {
return -1;
}
}
if (!FileExists(STARTUP_DIR"/SmartCardServices/StartupParameters.plist")) {
fd = open(STARTUP_DIR"/SmartCardServices/_StartupParameters.plist",
O_CREAT|O_TRUNC|O_WRONLY);
if (fd < 0) {
return -1;
}
rc = write(fd, startupParametersPList, sizeof(startupParametersPList)-1);
if (rc < 0) {
return -1;
}
if (rc < sizeof(startupParametersPList)-1) {
errno = ENOSPC;
return -1;
}
close(fd);
rc = rename(STARTUP_DIR"/SmartCardServices/_StartupParameters.plist",
STARTUP_DIR"/SmartCardServices/StartupParameters.plist");
if (rc < 0) {
return -1;
}
}
return 0;
}
#endif
--- NEW FILE instlib.h ---
/* ***** BEGIN COPYRIGHT BLOCK *****
*** * Copyright (C) 2005 Red Hat, Inc.
*** * All rights reserved.
***
*** This library is free software; you can redistribute it and/or
*** modify it under the terms of the GNU Lesser General Public
*** License as published by the Free Software Foundation version
*** 2.1 of the License.
***
*** This library 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
*** Lesser General Public License for more details.
***
*** You should have received a copy of the GNU Lesser General Public
*** License along with this library; if not, write to the Free Software
*** Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*** ***** END COPYRIGHT BLOCK *****/
#ifndef _INSTLILB_H_
#define _INSTLILB_H_ 1
/* macros for encoding function return codes to pass to the calling
* process so it can present reasonable UI for when things go wrong */
#define MK_ERR(type,val) (((type)<<16)|((val)&0xffff))
#define _ABS(x) ((x) < 0 ? (x)*-1:(x))
#define _NORMALIZE(x,base,op) ((x) op (base) ? (x -(base)) : (x))
#define ARG_ERR(x) MK_ERR(0, x) /* 1, 2, 3 for x */
#define PID_ERR(x) MK_ERR(1, x) /* returned status */
#define AUTH_ERR(x) MK_ERR(2, _ABS(_NORMALIZE(x,-6000,<))) /* Mac auth */
#define RDRCNF_ERR(x) MK_ERR(3, x) /* errno */
#define EXEC_ERR(x) MK_ERR(4, x) /* errno */
#define RESTART_ERR(x) MK_ERR(5, x) /* errno */
#define CLEANUP_ERR(x) MK_ERR(6, x) /* errno */
#define BUFSIZE 32*1024
/* does the target string exist in search string. Case insensitive compare */
int HasString(const char *target,const char *search);
/* is the given file a directory */
int IsDirectory(const char *dir);
/* does the given file exist */
int FileExists(const char *file);
/* Make a directory path. removes regular files found along the path,
* recursively builds all the directories needed along the path
* (like mkdir -p) */
int Makedir(const char *directory, int level, int mode);
/* find the version number of a bundle */
unsigned long GetBundleVersion(const char *bundle);
/* copy file src to file specified by target */
int Copy(const char *src, const char *target, int mode);
/* copy a directory and all it's contents from source to target.
* symbolic links are followed */
int Cpdir(const char *source,const char *target);
/* Remove a File... force the removal with chown if necessary */
int RmFile(const char *file);
/* Remove a directory and all it's contents */
int RmDir(const char *directory);
/* expand the path name of a program name. if includeProg is true, the
* path includes the program name, otherwise it's just the directory path
* of the program */
char * GetFullPath(const char *prog, int includeProg);
/* find a process id from it's name. if more than on, only the first one is
* returned */
int FindProcessByName(const char *procName);
#define PROCESS_ALIVE 1
#define PROCESS_IMPERVIOUS 2
#define PROCESS_DEAD 3
/* wait for a process to die */
int WaitForProcessDeath(int pid, int retries);
/* set the permissions and UID bits on a file */
int Setuid(const char *path);
/* setup pcscd to restart on system boot */
int SetupSystemBoot(void);
#endif /* !_INSTLIB_H_ */
16 years, 9 months
[Fedora-directory-commits] esc Makefile,1.2,1.3
by Doctor Conrad
Author: jmagne
Update of /cvs/dirsec/esc
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15541
Modified Files:
Makefile
Log Message:
Make sure dist OBJDIR is created.
Index: Makefile
===================================================================
RCS file: /cvs/dirsec/esc/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile 13 Sep 2006 17:43:54 -0000 1.2
+++ Makefile 25 Jul 2007 20:14:17 -0000 1.3
@@ -22,3 +22,8 @@
include $(CORE_DEPTH)/coreconf/rules.mk
+ifeq ($(OS_ARCH), WINNT)
+import::
+ mkdir -p $(SOURCE_XP_DIR)/$(OBJDIR)
+endif
+
16 years, 9 months
[Fedora-directory-commits] esc/win32 build.sh, NONE, 1.1 esc-image-large.bmp, NONE, 1.1 esc-license.txt, NONE, 1.1 info-after.txt, NONE, 1.1 info-before.txt, NONE, 1.1 setup.iss, NONE, 1.1
by Doctor Conrad
Author: jmagne
Update of /cvs/dirsec/esc/win32
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15462
Added Files:
build.sh esc-image-large.bmp esc-license.txt info-after.txt
info-before.txt setup.iss
Log Message:
Initial revision.
--- NEW FILE build.sh ---
#!/bin/bash
# Command line arg values
# BEGIN COPYRIGHT BLOCK
# 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; version 2 of the License.
#
# 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., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA.
#
# Copyright (C) 2005 Red Hat, Inc.
# All rights reserved.
# END COPYRIGHT BLOCK
###### Supported enrivonment variables ############
### MSVC_PATH - Path to the directory containing usual Microsoft dlls
### INNO_PATH - Path name of Inno installer executable
### CSP_PATH - Path to the directory containing the CSP if desired
NUM_ARGS=0
ARG_COMMAND=
# NSS values
# NSS needed just to help coolkey build
NSS_NAME=nss-3.11.4
NSS_ARCHIVE=$NSS_NAME-with-nspr-4.6.4
NSS_SOURCE_URL=https://ftp.mozilla.org/pub/mozilla.org/security/nss/relea...
#Inno installer values
#INNO_PATH="C:/Program Files/Inno Setup 5/ISCC.exe"
#Egate driver values
EGATE_DRIVER_URL=http://www.reflexreaders.com/Support/Downloads
EGATE_DRIVER_NAME=e-gate_W2k_XP_24.zip
#Zlib values
ZLIB_NAME=zlib
ZLIB_DLL=zlib1
ZLIB_ARCHIVE=zlib123-dll
ZLIB_BIN_URL=http://www.zlib.net
#CoolKey values
COOLKEY_NAME=coolkey
COOLKEY_TAG=COOLKEY_1_1_0
#Fedora repo for CoolKey and ESC
FEDORA_CVS_ROOT=:pserver:anonymous@cvs.fedora.redhat.com:/cvs/dirsec
#Xulrunner values
XULRUNNER_ARCHIVE_NAME=xulrunner-1.8.0.4-source.tar.bz2
XULRUNNER_SRC_URL=http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releas...
#Base Dirctory calc
BASE_DIR=${PWD}
#ESC values
ESC_NAME=esc
ESC_VERSION_NO=1.0.1-5
#Cygwin values
ORIG_PATH=${PATH}
CYGWIN_BIN_PATH=/cygdrive/c/cygwin/bin
#Value for the location of Moz Tools needed to compile
MOZ_TOOLS_BIN_PATH=/cygdrive/c/moztools/bin:/cygdrive/d/moztools/bin
export PATH=${MOZ_TOOLS_BIN_PATH}:${ORIG_PATH}
CORE_OBJ_DIR=`uname``uname -r`_OPT.OBJ
export PATH=${ORIG_PATH}
function buildNSS {
echo "BUILDING NSS..."
if [ $NUM_ARGS -ne 0 ] && [ $THE_ARG != -doNSS ];
then
echo "Do not build NSS."
return 0
fi
cd $BASE_DIR
wget --no-check-certificate $NSS_SOURCE_URL
if [ ! -f ./$NSS_ARCHIVE.tar.gz ];
then
echo "Can't download NSS"
return 1
fi
tar -xzvf $NSS_ARCHIVE.tar.gz
if [ $? != 0 ];
then
echo "Can't untar NSS."
return 1
fi
cd $NSS_NAME/mozilla/security/nss
make BUILD_OPT=1 nss_build_all
if [ $? != 0 ];
then
echo "Can't make nss."
return 1
fi
return 0
}
function buildCOOLKEY {
echo "BUILDING COOLKEY..."
cd $BASE_DIR
if [ $NUM_ARGS -ne 0 ] && [ $THE_ARG != -doCoolKey ];
then
echo "Do not build CoolKey"
return 0
fi
export PATH=$CYGWIN_BIN_PATH:${PATH}
if [ -d coolkey ];
then
cvs -d $FEDORA_CVS_ROOT update -r $COOLKEY_TAG coolkey
else
cvs -d $FEDORA_CVS_ROOT co -r $COOLKEY_TAG coolkey
fi
cd $COOLKEY_NAME
autoconf-2.5x
if [ $? != 0 ];
then
echo "Coolkey autoconf failed.."
export PATH=${ORIG_PATH}
return 1
fi
ZLIB_INC_PATH=${BASE_DIR}/zlib/include
ZLIB_LIB_PATH=${BASE_DIR}/zlib/lib
ZLIB_LIB_FLAGS=${BASE_DIR}/zlib/$ZLIB_DLL.dll
ZLIB_INC_PATH=`cygpath -m $ZLIB_INC_PATH`
ZLIB_LIB_PATH=`cygpath -m $ZLIB_LIB_PATH`
ZLIB_LIB_FLAGS=`cygpath -m $ZLIB_LIB_FLAGS`
NSS_CFLAGS_BASE_PATH=${BASE_DIR}/$NSS_NAME/mozilla/dist
NSS_CFLAGS_BASE_PATH=`cygpath -m $NSS_CFLAGS_BASE_PATH`
NSS_CFLAGS="-I$NSS_CFLAGS_BASE_PATH/public/nss -I$NSS_CFLAGS_BASE_PATH/$CORE_OBJ_DIR/include" NSS_LIBS="$NSS_CFLAGS_BASE_PATH/$CORE_OBJ_DIR/lib/softokn3.lib advapi32.lib shell32.lib"
export ZLIB_LIB=$ZLIB_LIB_PATH
export ZLIB_INCLUDE=$ZLIB_INC_PATH
./configure NSS_CFLAGS="$NSS_CFLAGS" NSS_LIBS="$NSS_LIBS" --enable-pk11install
if [ $? != 0 ];
then
echo "Coolkey configure failed...."
export PATH=${ORIG_PATH}
return 1
fi
make LDFLAGS+="version.lib Setupapi.lib"
if [ $? != 0 ];
then
echo "Can't make coolkey."
export PATH=${ORIG_PATH}
return 1
fi
cd $BASE_DIR
# Grab coolkey and zlib
cp -f coolkey/src/coolkey/.libs/libcoolkeypk11.dll BUILD/coolkeypk11.dll
cp -f coolkey/src/libckyapplet/.libs/libckyapplet-1.dll BUILD
cp -f zlib/$ZLIB_DLL.dll BUILD
# Grab pk11install
cp -f coolkey/src/install/pk11install.exe BUILD
export PATH=${ORIG_PATH}
return 0
}
function obtainZLIB {
echo "OBTAINING ZLIB..."
cd $BASE_DIR
if [ -d ./$ZLIB_NAME ];
then
echo "ZLIB already done."
return 0
fi
mkdir -p $ZLIB_NAME
cd $ZLIB_NAME
wget $ZLIB_BIN_URL/$ZLIB_ARCHIVE.zip
if [ $? != 0 ];
then
echo "Can't obtain zlib bundle...."
return 1
fi
unzip $ZLIB_ARCHIVE.zip
if [ $? != 0 ];
then
echo "Can't unzip zlib bundle....."
return 1
fi
cp lib/zdll.lib ./$ZLIB_DLL.lib
return 0
}
function buildESC {
echo "BUILDING ESC"
cd $BASE_DIR
if [ $NUM_ARGS -ne 0 ] && [ $THE_ARG != -doEsc ];
then
echo "Do not build ESC."
return 0
fi
# if [ -d esc ];
# then
# cvs -d $FEDORA_CVS_ROOT update esc
# else
# cvs -d $FEDORA_CVS_ROOT co esc
# fi
if [ $? != 0 ];
then
echo "Can't check out ESC..."
return 1
fi
cd $ESC_NAME
mkdir -p dist/src
#mkdir -p dist/$CORE_OBJ_DIR
cd dist/src
if [ ! -d mozilla ];
then
echo "Obtaining XULRUNNER src..."
wget $XULRUNNER_SRC_URL
tar -xjvf $XULRUNNER_ARCHIVE_NAME
else
echo "Already have XULRUNNER src..."
fi
ZLIB_INC_PATH=${BASE_DIR}/zlib/include
ZLIB_INC_PATH=`cygpath -m $ZLIB_INC_PATH`
CKY_INCLUDE_PATH=${BASE_DIR}/coolkey/src/libckyapplet
CKY_INCLUDE_PATH=`cygpath -m $CKY_INCLUDE_PATH`
cd ../..
make BUILD_OPT=1 import
make BUILD_OPT=1 CKY_INCLUDE="-I$ZLIB_INC_PATH -I$CKY_INCLUDE_PATH" CKY_LIB_LDD=$CKY_INCLUDE_PATH/.libs ESC_VERSION=$ESC_VERSION_NO
if [ $? != 0 ];
then
echo "Can't make ESC."
return 1
fi
#take care of eginstall
cd src/app/eginstall
make BUILD_OPT=1 install
cd ../../..
cp dist/WIN*/coolkey_drivers/egate/eginstall.exe ../BUILD/egate
if [ $? != 0 ];
then
echo "Can't copy egate installer!"
return 1
fi
# hoist the build into the installer staging area
cd ..
cp -rf esc/dist/WIN*/esc_build/ESC BUILD
if [ $? != 0 ];
then
echo "Can't copy ESC to BUILD directory."
return 1
fi
return 0
}
function obtainCAPI {
cd $BASE_DIR
echo "OBTAINING the CAPI driver... CSP_PATH $CSP_PATH"
if [ -z $CSP_PATH ];
then
echo "No CSP path specified."
echo "Set environ var: CSP_PATH if desired . "
return 0
fi
cp $CSP_PATH/* BUILD
return 0
}
function obtainEGATE {
echo "OBTAINING EGINSTALL"
cd $BASE_DIR
if [ -d BUILD/egate ];
then
echo "Egate already obtained!"
return 0
fi
wget $EGATE_DRIVER_URL/$EGATE_DRIVER_NAME
if [ $? != 0 ];
then
echo "Can't obtain egate driver!"
return 1
fi
mkdir -p BUILD/egate
unzip $EGATE_DRIVER_NAME -d BUILD/egate
return 0
}
function initializeBUILD {
cd $BASE_DIR
echo "INITIALIZING BUILD..."
mkdir -p BUILD
if [ $? != 0 ];
then
echo "Can't initilize ESC Build...."
return 1
fi
return 0
}
function cleanupBUILD {
cd $BASE_DIR
echo "CLEANING up BUILD ..."
rm -rf *.gz
#rm -rf *.zip
return 0
}
function createINSTALLER {
echo "CREATING INSTALLER..."
cd $BASE_DIR
if [ $NUM_ARGS -ne 0 ] && [ $THE_ARG != -doInstaller ];
then
echo "Do not build the installer."
return 0
fi
if [ -z $MSVC_PATH ];
then
echo "NO MSVC path specified!"
echo "Set environ var: MSVC_PATH ."
fi
cp $MSVC_PATH/*.dll BUILD
if [ $? != 0 ];
then
echo "Cant copy over MSVC dlls."
fi
if [ -z "$INNO_PATH" ];
then
echo "No Path to the INNO installer specified!"
echo "Set environ var: INNO_PATH ."
return 0
fi
#Move over extra files we don't keep in the open source world
cp esc-image-large.bmp BUILD/ESC/chrome/content/esc
# Build the INNO executable installer
"$INNO_PATH" setup.iss
if [ $? != 0 ];
then
echo "Can't build final ESC installer...."
return 1
fi
return 0
}
function usage {
echo "usage: ./build.sh [ -doEsc || -doCoolKey || -doNSS || -doInstaller ]"
}
function processARGS {
if [ $NUM_ARGS -ne 1 ] ;
then
if [ $NUM_ARGS -ne 0 ];
then
echo "Number of args must be 1 or 0 !"
usage
exit 1
fi
fi
if [ -z $THE_ARG ];
then
return
fi
if [ $THE_ARG != -doEsc ] && [ $THE_ARG != -doCoolKey ] && [ $THE_ARG != -doNSS ] && [ $THE_ARG != -doInstaller ];
then
echo "Incorrect arguments!"
usage
exit 1
fi
}
########### Main program execution
NUM_ARGS=$#
echo "args $NUM_ARGS"
THE_ARG=$1
processARGS
initializeBUILD
if [ $? != 0 ];
then
exit 1
fi
obtainCAPI
if [ $? != 0 ];
then
exit 1
fi
obtainEGATE
if [ $? != 0 ];
then
exit 1
fi
buildNSS
if [ $? != 0 ];
then
echo "Issue building NSS."
fi
obtainZLIB
if [ $? != 0 ];
then
exit 1
fi
buildCOOLKEY
if [ $? != 0 ];
then
exit 1
fi
buildESC
if [ $? != 0 ];
then
exit 1
fi
createINSTALLER
if [ $? != 0 ];
then
exit 1
fi
cleanupBUILD
exit 0
--- NEW FILE esc-image-large.bmp ---
BM`+
Dh����D@
�����
��dD@
D
�����
���&D
���h�
DH����D
D@
D@
D@
F����
D@
D
D@
D@
D
D@
dDDN�
H����
D
D@
���M�
D
D@
�dD����D
D@
D
D@
D@
D@
DJ��D
D@
D@
Dh��
DJ��D
D@
D@
D@
D@
����D
D@
D@
��D
D@
D���D
D@
D@
D@
D@
D@
D@
D@
DF���dD����dD
D@
L�DDn
D@
DL�D
D@
D@
�DDL�
D@
D@
�
D@
D@
D@
D
D@
D@
D
D@
D
D@
D@
D@
D@
D@
D@
D
D@
D@
���D
D@
D@
����d
D@
L�DF�
F����
D@
��DF�
D@
�DDF�
D@
�DDF�
D@
�DDF�
D@
�DDF�
D@
�DDF�
D@
�DDF�
D@
�DDF�
D
D@
Dh���dD
D@
�DDF�
D@
�DDF�
D@
�DDF�
���DJ
D@
���DJ
D@
DN�D
D@
D
D@
D@
D
D@
D@
���LD
DF��"D@
dDDj�
D
Dj����Dj���� D
���DH
��0D@
���DH
��0D@
���DH
���Dh����Dj����D
���DH
Dj����DH����Dj��
��6D@
��Dh�
��>D@
h����
�drD@
��rD@
��
��fD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�tD@
�DHD�dD@
�DHD��D@
�DHD��D@
�DHD��D@
�D
�D
�D
�D
�D
�D
�D
�D
�D
�D
�D
�D
�D
�D
�D
�D
�D
�D
�f
�
�
^W^��
yPp
--- NEW FILE esc-license.txt ---
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
--- NEW FILE info-after.txt ---
Now that Smart Card Manager has been successfully installed, the program is currently running and ready to use. Place a supported smart card into the computer to begin using Smart Card Manager.
--- NEW FILE info-before.txt ---
This installation program will install the following:
1. Smart Card Manager.
2. Drivers for Smart Cards.
3. The PKCS #11 module needed for Smart Cards.
--- NEW FILE setup.iss ---
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
; BEGIN COPYRIGHT BLOCK
; 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; version 2 of the License.
;
; 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., 59 Temple
; Place, Suite 330, Boston, MA 02111-1307 USA.
;
; Copyright (C) 2005 Red Hat, Inc.
; All rights reserved.
; END COPYRIGHT BLOCK
[Setup]
AppName=Smart Card Manager
AppMutex=ESCMutex
AppVerName=Smart Card Manager 1.0.1-6
AppPublisher=Fedora
CreateAppDir=true
Compression=lzma
SolidCompression=true
MinVersion=0,5.0.2195
ShowLanguageDialog=yes
OutputBaseFilename=SmartCardManagerSetup-1.0.1-6.win32.i386
DefaultDirName={pf}\Fedora\ESC
DisableProgramGroupPage=false
DefaultGroupName=Fedora
SetupIconFile=BUILD\ESC\components\esc.ico
UninstallDisplayIcon={app}\components\esc.ico
;WizardImageFile=BUILD\ESC\chrome\content\esc\esc-image-large.bmp
WizardImageFile=esc-image-large.bmp
WizardSmallImageFile=BUILD\ESC\components\esc.bmp
AllowNoIcons=yes
LicenseFile=esc-license.txt
InfoBeforeFile=info-before.txt
InfoAfterFile=info-after.txt
PrivilegesRequired=admin
VersionInfoVersion=1.0.1.4
[Files]
Source: BUILD\egate\slbmgpg.dll; DestDir: {win}\egate2.4; Flags: uninsneveruninstall
Source: BUILD\egate\egate.cat; DestDir: {win}\egate2.4; Flags: uninsneveruninstall
Source: BUILD\egate\egate.inf; DestDir: {win}\egate2.4; Flags: uninsneveruninstall
Source: BUILD\egate\egate.sys; DestDir: {win}\egate2.4; Flags: uninsneveruninstall
Source: BUILD\egate\egate_License.txt; DestDir: {win}\egate2.4; Flags: uninsneveruninstall
Source: BUILD\egate\egatebus.cat; DestDir: {win}\egate2.4; Flags: uninsneveruninstall
Source: BUILD\egate\egatebus.inf; DestDir: {win}\egate2.4; Flags: uninsneveruninstall
Source: BUILD\egate\egatebus.sys; DestDir: {win}\egate2.4; Flags: uninsneveruninstall
Source: BUILD\egate\egaterdr.cat; DestDir: {win}\egate2.4; Flags: uninsneveruninstall
Source: BUILD\egate\egaterdr.inf; DestDir: {win}\egate2.4; Flags: uninsneveruninstall
Source: BUILD\egate\egaterdr.sys; DestDir: {win}\egate2.4; Flags: uninsneveruninstall
Source: BUILD\egate\egdrvins1.dll; DestDir: {win}\egate2.4; Flags: uninsneveruninstall
Source: BUILD\egate\eginstall.exe; DestDir: {win}\egate2.4; Flags: ignoreversion
Source: BUILD\pk11install.exe; DestDir: {app}\PKCS11
;Files related to CSP, comment out if not available
Source: BUILD\clkcsp.dll; DestDir: {sys}; Flags: regserver restartreplace
Source: BUILD\cspres.dll; DestDir: {sys}; Flags: restartreplace
Source: BUILD\clkcsp.sig; DestDir: {sys}
Source: BUILD\atl71.dll; DestDir: {sys}; Flags: uninsneveruninstall onlyifdoesntexist
Source: BUILD\msvcr71.dll; DestDir: {sys}; Flags: uninsneveruninstall onlyifdoesntexist
Source: BUILD\msvcp71.dll; DestDir: {sys}; Flags: uninsneveruninstall onlyifdoesntexist
Source: BUILD\mfc71.dll; DestDir: {sys}; Flags: uninsneveruninstall onlyifdoesntexist
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: BUILD\ESC\components\rhTray.xpt; DestDir: {app}\components
Source: BUILD\ESC\components\rhCoolKey.xpt; DestDir: {app}\components
Source: BUILD\ESC\components\rhICoolKey.xpt; DestDir: {app}\components
Source: BUILD\ESC\components\rhIKeyNotify.xpt; DestDir: {app}\components
Source: BUILD\ESC\components\rhITray.xpt; DestDir: {app}\components
Source: BUILD\ESC\components\rhITrayWindNotify.xpt; DestDir: {app}\components
Source: BUILD\ESC\components\rhTray.dll; DestDir: {app}\components
Source: BUILD\ESC\components\esc.ico; DestDir: {app}\components
Source: BUILD\ESC\components\rhCoolKey.dll; DestDir: {app}\components
Source: BUILD\coolkeypk11.dll; DestDir: {sys}; Flags: restartreplace
Source: BUILD\libckyapplet-1.dll; DestDir: {sys}; Flags: restartreplace
Source: BUILD\zlib1.dll;DestDir: {sys}; Flags: restartreplace
;Source: BUILD\coolkeypk11.dll; DestDir: {app}\PKCS11
Source: BUILD\ESC\esc.exe; DestDir: {app}
;Source: BUILD\ESC\esc.bat; Destdir: {app}
Source: BUILD\ESC\application.ini; DestDir: {app}
Source: BUILD\ESC\chrome\chrome.manifest; DestDir: {app}\chrome
Source: BUILD\ESC\chrome\content\esc\TRAY.js; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\CertInfo.js; DestDir: {app}\chrome\content\esc
;Source: BUILD\ESC\chrome\content\esc\certinfo.xul; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\config.xul; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\contents.rdf; DestDir: {app}\chrome\content\esc
;Source: BUILD\ESC\chrome\content\esc\EnrollPopupInclude.html; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\esc.css; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\ESC.js; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\esc.xul; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\security.xul; DestDir: {app}\chrome\content\esc
;Source: BUILD\ESC\chrome\content\esc\esc_browser.xul; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\GenericAuth.js; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\GenericAuth.xul; DestDir: {app}\chrome\content\esc
;Source: BUILD\ESC\chrome\content\esc\GenericAuthInclude.html; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\logo.gif; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\settings.xul; DestDir: {app}\chrome\content\esc
;Source: BUILD\ESC\chrome\content\esc\style.css; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\bg.jpg; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\xulrunner\chrome\toolkit.manifest; DestDir: {app}\xulrunner\chrome
Source: BUILD\ESC\xulrunner\chrome\classic.jar; DestDir: {app}\xulrunner\chrome
Source: BUILD\ESC\xulrunner\chrome\classic.manifest; DestDir: {app}\xulrunner\chrome
Source: BUILD\ESC\xulrunner\chrome\comm.jar; DestDir: {app}\xulrunner\chrome
Source: BUILD\ESC\xulrunner\chrome\comm.manifest; DestDir: {app}\xulrunner\chrome
Source: BUILD\ESC\xulrunner\chrome\en-US.jar; DestDir: {app}\xulrunner\chrome
Source: BUILD\ESC\xulrunner\chrome\en-US.manifest; DestDir: {app}\xulrunner\chrome
Source: BUILD\ESC\xulrunner\chrome\pippki.jar; DestDir: {app}\xulrunner\chrome
Source: BUILD\ESC\xulrunner\chrome\pippki.manifest; DestDir: {app}\xulrunner\chrome
Source: BUILD\ESC\xulrunner\chrome\toolkit.jar; DestDir: {app}\xulrunner\chrome
Source: BUILD\ESC\xulrunner\chrome\chromelist.txt; DestDir: {app}\xulrunner\chrome
Source: BUILD\ESC\xulrunner\xulrunner-stub.exe; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\dependentlibs.list; DestDir: {app}\xulrunner
;Source: BUILD\ESC\xulrunner\GenerateJavaInterfaces.exe; DestDir: {app}\xulrunner
;Source: BUILD\ESC\xulrunner\javaxpcom.jar; DestDir: {app}\xulrunner
;Source: BUILD\ESC\xulrunner\javaxpcomglue.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\js3250.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\LICENSE; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\mozctl.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\mozctlx.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\nspr4.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\nspr4.dll; DestDir: {app}\PKCS11
Source: BUILD\ESC\xulrunner\nss3.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\nss3.dll; DestDir: {app}\PKCS11
Source: BUILD\ESC\xulrunner\nssckbi.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\plc4.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\plc4.dll; DestDir: {app}\PKCS11
Source: BUILD\ESC\xulrunner\plds4.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\plds4.dll; DestDir: {app}\PKCS11
Source: BUILD\ESC\xulrunner\README.txt; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\smime3.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\softokn3.chk; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\softokn3.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\softokn3.dll; DestDir: {app}\PKCS11
Source: BUILD\ESC\xulrunner\ssl3.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\updater.exe; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\xpcom.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\xpicleanup.exe; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\xul.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\xulrunner.exe; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\AccessibleMarshal.dll; DestDir: {app}\xulrunner
Source: BUILD\ESC\xulrunner\components\xulutil.dll; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\accessibility-msaa.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\alerts.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\appshell.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\appstartup.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\auth.dll; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\autocomplete.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\autoconfig.dll; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\autoconfig.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\caps.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\chardet.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\chrome.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\commandhandler.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\commandlines.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\composer.xpt; DestDir: {app}\xulrunner\components
;Source: BUILD\ESC\xulrunner\components\compreg.dat; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\content_base.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\content_html.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\content_htmldoc.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\content_xmldoc.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\content_xslt.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\content_xtf.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\directory.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\docshell_base.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_base.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_canvas.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_core.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_css.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_events.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_html.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_loadsave.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_range.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_stylesheets.xpt; DestDir: {app}\xulrunner\components
;Source: BUILD\ESC\xulrunner\components\dom_svg.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_traversal.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_views.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_xbl.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_xpath.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\dom_xul.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\downloads.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\editor.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\embed_base.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\extensions.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\exthandler.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\fastfind.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\find.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\gfx.xpt; DestDir: {app}\xulrunner\components
;Source: BUILD\ESC\xulrunner\components\gksvgrenderer.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\history.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\htmlparser.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\imgicon.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\imglib2.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\intl.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\intlcmpt.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\jar.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\jsconsole.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\jsconsole-clhandler.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\jsdservice.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\layout_base.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\layout_printing.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\layout_xul.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\layout_xul_tree.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\locale.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\lwbrk.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\mimetype.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\mozbrwsr.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\mozfind.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko_about.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko_cache.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko_cookie.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko_data.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko_dns.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko_file.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko_ftp.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko_http.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko_res.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko_socket.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko_strconv.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\necko_viewsource.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsCloseAllWindows.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsDefaultCLH.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsDictionary.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsExtensionManager.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsHelperAppDlg.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsInterfaceInfoToIDL.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsKillAll.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsPostUpdateWin.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsProgressDialog.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsProxyAutoConfig.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsResetPref.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsUpdateService.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsXmlRpcClient.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\nsXULAppInstall.js; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\oji.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\passwordmgr.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\pipboot.dll; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\pipboot.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\pipnss.dll; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\pipnss.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\pippki.dll; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\pippki.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\plugin.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\pref.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\prefetch.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\profile.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\progressDlg.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\proxyObject.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\rdf.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\satchel.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\shistory.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\toolkitprofile.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\transformiix.dll; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\txmgr.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\txtsvc.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\uconv.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\unicharutil.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\universalchardet.dll; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\update.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\uriloader.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\webBrowser_core.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\webbrowserpersist.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\webshell_idls.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\websrvcs.dll; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\websrvcs.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\widget.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\windowds.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\windowwatcher.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xmlextras.dll; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xmlextras.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xml-rpc.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xpcom_base.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xpcom_components.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xpcom_ds.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xpcom_io.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xpcom_obsolete.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xpcom_thread.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xpcom_xpti.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xpconnect.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xpinstall.xpt; DestDir: {app}\xulrunner\components
;Source: BUILD\ESC\xulrunner\components\xpti.dat; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xulapp.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xulapp_setup.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xuldoc.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xulrunner.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\xultmpl.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\components\accessibility.xpt; DestDir: {app}\xulrunner\components
Source: BUILD\ESC\xulrunner\defaults\autoconfig\prefcalls.js; DestDir: {app}\xulrunner\defaults\autoconfig
Source: BUILD\ESC\xulrunner\defaults\autoconfig\platform.js; DestDir: {app}\xulrunner\defaults\autoconfig
Source: BUILD\ESC\xulrunner\defaults\pref\xulrunner.js; DestDir: {app}\xulrunner\defaults\pref
Source: BUILD\ESC\xulrunner\defaults\profile\chrome\userContent-example.css; DestDir: {app}\xulrunner\defaults\profile\chrome
Source: BUILD\ESC\xulrunner\defaults\profile\chrome\userChrome-example.css; DestDir: {app}\xulrunner\defaults\profile\chrome
Source: BUILD\ESC\xulrunner\defaults\profile\extensions\installed-extensions.txt; DestDir: {app}\xulrunner\defaults\profile\extensions
Source: BUILD\ESC\xulrunner\defaults\profile\extensions\Extensions.rdf; DestDir: {app}\xulrunner\defaults\profile\extensions
Source: BUILD\ESC\xulrunner\defaults\profile\US\localstore.rdf; DestDir: {app}\xulrunner\defaults\profile\US
Source: BUILD\ESC\xulrunner\defaults\profile\US\chrome\userContent-example.css; DestDir: {app}\xulrunner\defaults\profile\US\chrome
Source: BUILD\ESC\xulrunner\defaults\profile\US\chrome\userChrome-example.css; DestDir: {app}\xulrunner\defaults\profile\US\chrome
Source: BUILD\ESC\xulrunner\greprefs\xpinstall.js; DestDir: {app}\xulrunner\greprefs
Source: BUILD\ESC\xulrunner\greprefs\security-prefs.js; DestDir: {app}\xulrunner\greprefs
Source: BUILD\ESC\xulrunner\greprefs\all.js; DestDir: {app}\xulrunner\greprefs
Source: BUILD\ESC\xulrunner\plugins\npnul32.dll; DestDir: {app}\xulrunner\plugins
Source: BUILD\ESC\xulrunner\res\dtd\xhtml11.dtd; DestDir: {app}\xulrunner\res\dtd
Source: BUILD\ESC\xulrunner\res\dtd\mathml.dtd; DestDir: {app}\xulrunner\res\dtd
Source: BUILD\ESC\xulrunner\res\entityTables\transliterate.properties; DestDir: {app}\xulrunner\res\entityTables
Source: BUILD\ESC\xulrunner\res\entityTables\html40Special.properties; DestDir: {app}\xulrunner\res\entityTables
Source: BUILD\ESC\xulrunner\res\entityTables\html40Symbols.properties; DestDir: {app}\xulrunner\res\entityTables
Source: BUILD\ESC\xulrunner\res\entityTables\htmlEntityVersions.properties; DestDir: {app}\xulrunner\res\entityTables
Source: BUILD\ESC\xulrunner\res\entityTables\mathml20.properties; DestDir: {app}\xulrunner\res\entityTables
Source: BUILD\ESC\xulrunner\res\entityTables\html40Latin1.properties; DestDir: {app}\xulrunner\res\entityTables
Source: BUILD\ESC\xulrunner\res\fonts\mathfontSymbol.properties; DestDir: {app}\xulrunner\res\fonts
Source: BUILD\ESC\xulrunner\res\fonts\fontNameMap.properties; DestDir: {app}\xulrunner\res\fonts
Source: BUILD\ESC\xulrunner\res\fonts\mathfont.properties; DestDir: {app}\xulrunner\res\fonts
Source: BUILD\ESC\xulrunner\res\fonts\mathfontCMEX10.properties; DestDir: {app}\xulrunner\res\fonts
Source: BUILD\ESC\xulrunner\res\fonts\mathfontCMSY10.properties; DestDir: {app}\xulrunner\res\fonts
Source: BUILD\ESC\xulrunner\res\fonts\mathfontMath1.properties; DestDir: {app}\xulrunner\res\fonts
Source: BUILD\ESC\xulrunner\res\fonts\mathfontMath2.properties; DestDir: {app}\xulrunner\res\fonts
Source: BUILD\ESC\xulrunner\res\fonts\mathfontMath4.properties; DestDir: {app}\xulrunner\res\fonts
Source: BUILD\ESC\xulrunner\res\fonts\mathfontMTExtra.properties; DestDir: {app}\xulrunner\res\fonts
Source: BUILD\ESC\xulrunner\res\fonts\mathfontPUA.properties; DestDir: {app}\xulrunner\res\fonts
Source: BUILD\ESC\xulrunner\res\fonts\fontEncoding.properties; DestDir: {app}\xulrunner\res\fonts
Source: BUILD\ESC\xulrunner\res\html\gopher-unknown.gif; DestDir: {app}\xulrunner\res\html
Source: BUILD\ESC\xulrunner\res\html\gopher-binary.gif; DestDir: {app}\xulrunner\res\html
Source: BUILD\ESC\xulrunner\res\html\gopher-find.gif; DestDir: {app}\xulrunner\res\html
Source: BUILD\ESC\xulrunner\res\html\gopher-image.gif; DestDir: {app}\xulrunner\res\html
Source: BUILD\ESC\xulrunner\res\html\gopher-menu.gif; DestDir: {app}\xulrunner\res\html
Source: BUILD\ESC\xulrunner\res\html\gopher-movie.gif; DestDir: {app}\xulrunner\res\html
Source: BUILD\ESC\xulrunner\res\html\gopher-sound.gif; DestDir: {app}\xulrunner\res\html
Source: BUILD\ESC\xulrunner\res\html\gopher-telnet.gif; DestDir: {app}\xulrunner\res\html
Source: BUILD\ESC\xulrunner\res\html\gopher-text.gif; DestDir: {app}\xulrunner\res\html
Source: BUILD\ESC\xulrunner\res\html\gopher-audio.gif; DestDir: {app}\xulrunner\res\html
;Source: BUILD\ESC\xulrunner\sdk\lib\MozillaInterfaces-src.jar; DestDir: {app}\xulrunner\sdk\lib
;Source: BUILD\ESC\xulrunner\sdk\lib\MozillaInterfaces.jar; DestDir: {app}\xulrunner\sdk\lib
Source: BUILD\ESC\defaults\preferences\esc-prefs.js; DestDir: {app}\defaults\preferences
Source: BUILD\ESC\xulrunner\res\wincharset.properties; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\arrowd.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\bloatcycle.html; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\broken-image.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\charsetalias.properties; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\charsetData.properties; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\cmessage.txt; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\EditorOverride.css; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\forms.css; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\grabber.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\hiddenWindow.html; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\html.css; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\langGroups.properties; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\language.properties; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\loading-image.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\mathml.css; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\quirk.css; DestDir: {app}\xulrunner\res
;Source: BUILD\ESC\xulrunner\res\svg.css; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-add-column-after.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-add-column-after-active.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-add-column-after-hover.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-add-column-before.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-add-column-before-active.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-add-column-before-hover.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-add-row-after.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-add-row-after-active.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-add-row-after-hover.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-add-row-before.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-add-row-before-active.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-add-row-before-hover.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-remove-column.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-remove-column-active.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-remove-column-hover.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-remove-row.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-remove-row-active.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\table-remove-row-hover.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\ua.css; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\viewer.properties; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\viewsource.css; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\xulrunner\res\arrow.gif; DestDir: {app}\xulrunner\res
Source: BUILD\ESC\chrome\icons\default\esc-window.ico; DestDir: {app}\chrome\icons\default
Source: BUILD\ESC\chrome\icons\default\settings-window.ico; DestDir: {app}\chrome\icons\default
Source: BUILD\ESC\chrome\locale\en-US\esc.properties; DestDir: {app}\chrome\locale\en-US
Source: BUILD\ESC\chrome\locale\en-US\esc.dtd; DestDir: {app}\chrome\locale\en-US
Source: BUILD\ESC\chrome\content\esc\throbber-anim5.gif; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\2-vweak.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\3-weak.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\4-fair.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\5-good.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\6-strong.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\blank-card.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\enrolled-key.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\initializecard.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\progress.7.gif; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\1-none.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\components\escCLH.js; DestDir: {app}\components
;Source: BUILD\ESC\chrome\content\esc\hiddenWindow.html; DestDir: {app}\chrome\content\esc
;Source: BUILD\ESC\chrome\content\esc\aol.gif; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\AdvancedInfo.js; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\advancedinfo.xul; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\blank-cardx2.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\password.xul; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\enroll.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\enrolled-keyx2.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\enrollx2.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\esc-client-24.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\formatcard.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\formatcardx2.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\hiddenWindow.xul; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\initializecardx2.png; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\MineOverlay.xul; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\password.js; DestDir: {app}\chrome\content\esc
Source: BUILD\ESC\chrome\content\esc\certManager.xul; DestDir: {app}\chrome\content\esc
[Run]
Filename: {win}\egate2.4\eginstall.exe; Parameters: -f -l eginstall.txt; WorkingDir: {win}\egate2.4; Flags: waituntilterminated; StatusMsg: Installing smart card drivers....
Filename: {app}\PKCS11\pk11install.exe; Parameters: "-v ""name='CoolKey Module' library=coolkeypk11.dll NSS=""slotParams={{0x1=[slotFlags=PublicCerts]}"""""; WorkingDir: {sys}; StatusMsg: Configuring System for smart cards...
Filename: {app}\esc.exe; WorkingDir: {app}; StatusMsg: {code:GetEscStatusMsg} Flags: nowait
[UninstallDelete]
Type: filesandordirs; Name: {app}
[_ISTool]
OutputExeFilename=BUILD\coolkey-setup.exe
UseAbsolutePaths=false
LogFile=inst.log
LogFileAppend=false
[Registry]
;The following lines register the CSP. Comment out if not available
Root: HKLM; Subkey: Software\Microsoft\Cryptography\Defaults\Provider\CoolKey PKCS#11 CSP; ValueType: string; ValueName: PKCS11Module; ValueData: coolkeypk11.dll; Flags: uninsdeletekey
Root: HKLM; Subkey: Software\Microsoft\Cryptography\Calais\SmartCards\Axalto Developer; ValueType: binary; ValueName: ATRMask; ValueData: ff ff ff ff ff ff ff ff 00 00; Flags: uninsdeletekey
Root: HKLM; Subkey: Software\Microsoft\Cryptography\Calais\SmartCards\Axalto Developer; ValueType: string; ValueName: Crypto Provider; ValueData: CoolKey PKCS#11 CSP
Root: HKLM; Subkey: Software\Microsoft\Cryptography\Calais\SmartCards\Axalto Developer; ValueType: binary; ValueName: ATR; ValueData: 3b 75 94 00 00 62 02 02 00 00
;End CSP registration
Root: HKLM; Subkey: Software\
; Turn off the "pick a cert" dialog box
Root: HKCU; Subkey: Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3; ValueType: dword; ValueName: 1A04; ValueData: 0
; Enable TLS 1.0
Root: HKCU; Subkey: Software\Microsoft\Windows\CurrentVersion\Internet Settings; ValueType: dword; ValueName: SecureProtocols; ValueData: 168
[Icons]
Name: {userdesktop}\Smart Card Manager; Filename: {app}\esc.exe; WorkingDir: {app}; IconFileName : {app}\components\esc.ico
Name: {group}\ESC\Smart Card Manager; Filename: {app}\esc.exe; WorkingDir: {app}; IconFileName : {app}\components\esc.ico
Name: {commonstartup}\Smart Card Manager; Filename: {app}\esc.exe; WorkingDir: {app}; IconFileName : {app}\components\esc.ico
[Dirs]
Name: {app}\PKCS11
Name: {app}\components; Flags: deleteafterinstall uninsalwaysuninstall
Name: {app}\chrome
Name: {app}\defaults
Name: {app}\xulrunner
Name: {app}\chrome\content
Name: {app}\chrome\icons
Name: {app}\chrome\content\esc
Name: {app}\chrome\locale
Name: {app}\chrome\locale\en-US
Name: {app}\chrome\icons\default
Name: {app}\xulrunner\chrome
Name: {app}\xulrunner\components
Name: {app}\xulrunner\defaults
Name: {app}\xulrunner\greprefs
Name: {app}\xulrunner\plugins
Name: {app}\xulrunner\res
Name: {app}\xulrunner\sdk
Name: {app}\xulrunner\defaults\autoconfig
Name: {app}\xulrunner\defaults\pref
Name: {app}\xulrunner\defaults\profile
Name: {app}\xulrunner\defaults\profile\chrome
Name: {app}\xulrunner\defaults\profile\extensions
Name: {app}\xulrunner\defaults\profile\US
Name: {app}\xulrunner\defaults\profile\US\chrome
Name: {app}\xulrunner\res\dtd
Name: {app}\xulrunner\res\entityTables
Name: {app}\xulrunner\res\fonts
Name: {app}\xulrunner\res\html
Name: {app}\xulrunner\sdk\lib
Name: {app}\xulrunner\estensions
Name: {app}\xulrunner\updates
Name: {app}\xulrunner\updates\0
Name: {app}\defaults\preferences
[Code]
function GetEscStatusMsg(Param: String) :string;
var MyMillis: LongInt;
begin
MyMillis := 5000;
Sleep(MyMillis);
Result := 'Starting Smart Card Manager.....';
end;
16 years, 9 months
[Fedora-directory-commits] console/src/com/netscape/management/client/console SplashScreen.java, 1.1.1.1, 1.2
by Doctor Conrad
Author: nkinder
Update of /cvs/dirsec/console/src/com/netscape/management/client/console
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8255/src/com/netscape/management/client/console
Modified Files:
SplashScreen.java
Log Message:
Resolves: 249484
Summary: Moved login splash screen image into the theme jar file.
Index: SplashScreen.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/console/SplashScreen.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- SplashScreen.java 18 Jul 2005 00:34:15 -0000 1.1.1.1
+++ SplashScreen.java 25 Jul 2007 15:41:16 -0000 1.2
@@ -134,7 +134,7 @@
GridBagConstraints c = new GridBagConstraints();
- JLabel splashLabel = new JLabel(new RemoteImage("com/netscape/management/client/console/images/login.gif"));
+ JLabel splashLabel = new JLabel(new RemoteImage("com/netscape/management/client/theme/images/login.gif"));
c.gridwidth = 1;
c.gridheight = 1;
c.gridx = 0;
16 years, 9 months
[Fedora-directory-commits] ldapserver/ldap/servers/slapd/back-ldbm ldbm_instance_config.c, 1.7, 1.8
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4391/ldapserver/ldap/servers/slapd/back-ldbm
Modified Files:
ldbm_instance_config.c
Log Message:
Resolves: bug 249470
Bug Description: cn equality index missing by default
Reviewed by: nhosoi (Thanks!)
Fix Description: When creating the database instance during dse.ldif processing, we do not create the user defined indexes from the defaults for this backend. This used to work in the old setup code because that code would always add the configuration for the indexes for the new instance. The way it is supposed to work is that a new instance should just copy the default indexes for that backend. This works fine when adding an instance via LDAP but not during startup. I just added a call to have this done during startup. I also removed some obsolete indexes from the default indexes.
Platforms tested: RHEL4
Flag Day: no
Doc impact: no
Index: ldbm_instance_config.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm/ldbm_instance_config.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ldbm_instance_config.c 4 Dec 2006 18:36:57 -0000 1.7
+++ ldbm_instance_config.c 25 Jul 2007 15:20:01 -0000 1.8
@@ -837,6 +837,10 @@
if (pb == NULL) {
/* called during startup -- do the rest now */
rc = ldbm_instance_generate(li, instance_name, NULL);
+ if (!rc) {
+ inst = ldbm_instance_find_by_name(li, instance_name);
+ rc = ldbm_instance_create_default_user_indexes(inst);
+ }
}
/* if called during a normal ADD operation, the postadd callback
* will do the rest.
16 years, 9 months
[Fedora-directory-commits] ldapserver/ldap/ldif template-dse.ldif.in, 1.3, 1.4
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/ldapserver/ldap/ldif
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4391/ldapserver/ldap/ldif
Modified Files:
template-dse.ldif.in
Log Message:
Resolves: bug 249470
Bug Description: cn equality index missing by default
Reviewed by: nhosoi (Thanks!)
Fix Description: When creating the database instance during dse.ldif processing, we do not create the user defined indexes from the defaults for this backend. This used to work in the old setup code because that code would always add the configuration for the indexes for the new instance. The way it is supposed to work is that a new instance should just copy the default indexes for that backend. This works fine when adding an instance via LDAP but not during startup. I just added a call to have this done during startup. I also removed some obsolete indexes from the default indexes.
Platforms tested: RHEL4
Flag Day: no
Doc impact: no
Index: template-dse.ldif.in
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/ldif/template-dse.ldif.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- template-dse.ldif.in 13 Jul 2007 18:35:33 -0000 1.3
+++ template-dse.ldif.in 25 Jul 2007 15:20:01 -0000 1.4
@@ -603,22 +603,6 @@
nssystemindex: false
nsindextype: eq
-dn: cn=nsCalXItemId,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config
-objectclass: top
-objectclass: nsIndex
-cn: nsCalXItemId
-nssystemindex: false
-nsindextype: pres
-nsindextype: eq
-nsindextype: sub
-
-dn: cn=nsLIProfileName,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config
-objectclass: top
-objectclass: nsIndex
-cn: nsLIProfileName
-nssystemindex: false
-nsindextype: eq
-
dn: cn=nsUniqueId,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config
objectclass: top
objectclass: nsIndex
@@ -626,13 +610,6 @@
nssystemindex: true
nsindextype: eq
-dn: cn=nswcalCALID,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config
-objectclass: top
-objectclass: nsIndex
-cn: nswcalCALID
-nssystemindex: false
-nsindextype: eq
-
dn: cn=numsubordinates,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config
objectclass: top
objectclass: nsIndex
@@ -661,20 +638,6 @@
nssystemindex: true
nsindextype: eq
-dn: cn=pipstatus,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config
-objectclass: top
-objectclass: nsIndex
-cn: pipstatus
-nssystemindex: false
-nsindextype: eq
-
-dn: cn=pipuid,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config
-objectclass: top
-objectclass: nsIndex
-cn: pipuid
-nssystemindex: false
-nsindextype: pres
-
dn: cn=seeAlso,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config
objectclass: top
objectclass: nsIndex
16 years, 9 months