f35d1b
diff -up ./esc/coreconf/Linux3.10.mk.fix18 ./esc/coreconf/Linux3.10.mk
f35d1b
--- ./esc/coreconf/Linux3.10.mk.fix18	2013-07-30 11:32:33.214414126 -0700
f35d1b
+++ ./esc/coreconf/Linux3.10.mk	2013-07-30 11:32:33.214414126 -0700
f35d1b
@@ -0,0 +1,35 @@
f35d1b
+# BEGIN COPYRIGHT BLOCK
f35d1b
+# This Program is free software; you can redistribute it and/or modify it under
f35d1b
+# the terms of the GNU General Public License as published by the Free Software
f35d1b
+# Foundation; version 2 of the License.
f35d1b
+#
f35d1b
+# This Program is distributed in the hope that it will be useful, but WITHOUT
f35d1b
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
f35d1b
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
f35d1b
+#
f35d1b
+# You should have received a copy of the GNU General Public License along with
f35d1b
+# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
f35d1b
+# Place, Suite 330, Boston, MA 02111-1307 USA.
f35d1b
+#
f35d1b
+# Copyright (C) 2005 Red Hat, Inc.
f35d1b
+# All rights reserved.
f35d1b
+# END COPYRIGHT BLOCK
f35d1b
+
f35d1b
+#
f35d1b
+# Config stuff for Linux 3.10 (ELF)
f35d1b
+#
f35d1b
+
f35d1b
+include $(CORE_DEPTH)/coreconf/Linux.mk
f35d1b
+
f35d1b
+OS_REL_CFLAGS   += -DLINUX2_1
f35d1b
+MKSHLIB         = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
f35d1b
+ifdef BUILD_OPT
f35d1b
+            OPTIMIZER       = -O2
f35d1b
+endif
f35d1b
+
f35d1b
+ifdef MAPFILE
f35d1b
+	MKSHLIB += -Wl,--version-script,$(MAPFILE)
f35d1b
+endif
f35d1b
+PROCESS_MAP_FILE = grep -v ';-' $(LIBRARY_NAME).def | \
f35d1b
+        sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
f35d1b
+
f35d1b
diff -up ./esc/rpm/esc.1.fix18 ./esc/rpm/esc.1
f35d1b
--- ./esc/rpm/esc.1.fix18	2013-07-30 11:32:33.215414126 -0700
f35d1b
+++ ./esc/rpm/esc.1	2013-07-30 11:32:33.215414126 -0700
f35d1b
@@ -0,0 +1,47 @@
f35d1b
+.\" First parameter, NAME, should be all caps
f35d1b
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
f35d1b
+.\" other parameters are allowed: see man(7), man(1)
f35d1b
+.TH esc 1 "July 30, 2013" "version 1.0.1" "Smart Card Manager" Jack Magne
f35d1b
+.\" Please adjust this date whenever revising the man page.
f35d1b
+.\"
f35d1b
+.\" Some roff macros, for reference:
f35d1b
+.\" .nh        disable hyphenation
f35d1b
+.\" .hy        enable hyphenation
f35d1b
+.\" .ad l      left justify
f35d1b
+.\" .ad b      justify to both left and right margins
f35d1b
+.\" .nf        disable filling
f35d1b
+.\" .fi        enable filling
f35d1b
+.\" .br        insert line break
f35d1b
+.\" .sp <n>    insert n+1 empty lines
f35d1b
+.\" for man page specific macros, see man(7)
f35d1b
+.SH NAME
f35d1b
+esc \- Minimal Command-Line Interface for Smart Card Manager.
f35d1b
+
f35d1b
+.SH SYNOPSIS
f35d1b
+esc [options] 
f35d1b
+
f35d1b
+.SH DESCRIPTION
f35d1b
+.PP
f35d1b
+\fBesc\fR provides a minimal command-line interface to Smart Card Manager which allows users to manage Smart Cards on the system. The program is most often run automatically when the user logs into the system or when an actual smart card is entered into the computer. This minimal command line interface may be of use in unusual circumstances.
f35d1b
+  
f35d1b
+.SH OPTIONS
f35d1b
+.TP
f35d1b
+NO Options.
f35d1b
+Will start the esc daemon if not running. Will start the esc UI if daemon is running.
f35d1b
+.TP
f35d1b
+.TP
f35d1b
+--version
f35d1b
+Displays the version number of esc.
f35d1b
+.TP
f35d1b
+
f35d1b
+
f35d1b
+
f35d1b
+
f35d1b
+.SH FILES
f35d1b
+.I /usr/bin/esc
f35d1b
+
f35d1b
+.SH AUTHORS
f35d1b
+Jack Magne <jmagne@redhat.com> \fBesc\fP was written with the Dogtag project.
f35d1b
+
f35d1b
+.SH COPYRIGHT
f35d1b
+Copyright (c) 2013 Red Hat, Inc. 
f35d1b
diff -up ./esc/rpm/esc.desktop.fix18 ./esc/rpm/esc.desktop
f35d1b
--- ./esc/rpm/esc.desktop.fix18	2013-07-30 14:20:31.906223946 -0700
f35d1b
+++ ./esc/rpm/esc.desktop	2013-07-30 14:35:42.684255272 -0700
f35d1b
@@ -1,8 +1,7 @@
f35d1b
 [Desktop Entry]
f35d1b
 Type=Application
f35d1b
-Encoding=UTF-8
f35d1b
 Name=Smart Card Manager
f35d1b
 Comment=Enterprise Security Client Smart Card Manager
f35d1b
-Categories=System;Application;SystemSetup;X-Red-Hat-Base;
f35d1b
+Categories=System;Application;X-Red-Hat-Base;
f35d1b
 Exec=esc
f35d1b
-Icon=esc.png
f35d1b
+Icon=esc-png