diff --git a/LoginCapture/package/Makefile.am b/LoginCapture/package/Makefile.am deleted file mode 100644 index bf6f36f8..00000000 --- a/LoginCapture/package/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -####################################################################### -# -# Copyright (C) 2004 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# Author: Juan Carlos Luciani -# -####################################################################### - -SUBDIRS = $(TARGET_OS) - -DIST_SUBDIRS = linux windows - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/LoginCapture/package/linux/Makefile.am b/LoginCapture/package/linux/Makefile.am deleted file mode 100644 index 2c8440a2..00000000 --- a/LoginCapture/package/linux/Makefile.am +++ /dev/null @@ -1,65 +0,0 @@ -####################################################################### -# -# Copyright (C) 2004 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# Author: Juan Carlos Luciani -# -####################################################################### - -RPM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).$(target_cpu).rpm -SRPM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm - -.PHONY: package package-clean package-install package-uninstall logincapture - -#all: $(RPM_FILE) - -package: $(RPM_FILE) - -all clean: - -$(RPM_FILE): - cd $(top_srcdir); make dist - rm -rf RPM - mkdir RPM - echo %_topdir `pwd`/RPM > $(HOME)/.rpmmacros - mkdir -p RPM/BUILD - mkdir -p RPM/RPMS - mkdir -p RPM/SOURCES - mkdir -p RPM/SPECS - mkdir -p RPM/SRPMS - cp logincapture.spec RPM/SPECS - cp $(top_srcdir)/$(PACKAGE)-$(VERSION).tar.gz RPM/SOURCES - mv $(top_srcdir)/$(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)-$(RELEASE).tar.gz - rpmbuild -ba -v -vv --target=$(target_triplet) RPM/SPECS/logincapture.spec - cp RPM/RPMS/*/*.rpm . - cp RPM/SRPMS/$(SRPM_FILE) . - -package-install: package - su -c "rpm -Uvh $(RPM_FILE)" - -package-uninstall: - su -c "rpm -e $(PACKAGE)" - -package-clean clean-local: - rm -rf *.rpm RPM *.gz - -distclean-local: package-clean - rm -f Makefile logincapture.spec - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/LoginCapture/package/linux/logincapture.spec.in b/LoginCapture/package/linux/logincapture.spec.in deleted file mode 100644 index e9fb47cd..00000000 --- a/LoginCapture/package/linux/logincapture.spec.in +++ /dev/null @@ -1,140 +0,0 @@ -####################################################################### -# -# Copyright (C) 2004 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# Author: Juan Carlos Luciani -# -####################################################################### - -# SuSE Specific autobuild tags -# neededforbuild pkgconfig glib2 glib2-devel libicu26 - -%define prefix /opt/Novell/LoginCapture - -Summary: LoginCapture -Name: @PACKAGE@ -Version: @VERSION@ -Release: @RELEASE@ -Copyright: GPL -Group: Applications/Productivity -Source: %{name}-%{version}.tar.gz -URL: http://forge.novell.com/modules/xfmod/project/?isecure -#Distribution : -Vendor: -Packager: -BuildRoot: %{_tmppath}/%{name}-%{version} - -#Requires: secretstorewallet -Obsoletes: %{name} <= %{version} -#============================================================================= -%Description -LoginCapture provides a way for applications using the SecretStore Wallet -to leverage the password entered by the user to login to the desktop when -authenticating to backend services. The use of this feature in cases where -the username and password used to login to the desktop are synchronized with -the backend username and password database should result in fewer requests to -the user to enter its credentials. - -#============================================================================= -%ChangeLog - - -#============================================================================= -%Prep -%setup -n %{name}-%{version} - - -#============================================================================= -%Build -./configure --prefix=%{prefix} -make - -#============================================================================= -%Install -%{__rm} -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install - -#============================================================================= -%Clean -%{__rm} -rf $RPM_BUILD_ROOT - -#============================================================================= -%Post -# Do not run script if this is an upgrade -if test "$1" != 1; then - #echo "LoginCapture install script does not run during upgrade" - exit 0 -fi - -echo "Running LoginCapture install script..." - -# Create a symbolic link to our library in the /lib/security folder -ln -s "%{prefix}/lib/pam_pwcapture.so" /lib/security/pam_pwcapture.so - -# Determine what Window Manager is in use -if [ -f /etc/sysconfig/desktop ]; then - if [ -n "īgrep GNOME /etc/sysconfig/desktopī" ]; then - windows_mgr=/etc/pam.d/gdm - echo "Windows Mgr = gdm" - elif [ -n "īgrep KDE /etc/sysconfig/desktopī" ]; then - windows_mgr=/etc/pam.d/kdm - echo "Windows Mgr = kdm" - elif [ -n "īgrep AnotherLevel /etc/sysconfig/desktopī" ]; then - windows_mgr=/etc/pam.d/xdm - echo "Windows Mgr = xdm" - else - echo "Unknown windows manager, unable to update windows manager PAM configuration!" - exit 0 - fi - if [ -f $windows_mgr ]; then - /opt/Novell/LoginCapture/bin/modinstall -i $windows_mgr - else - echo "Windows manager PAM config file not found!" - fi -else - echo "Missing desktop file, unable to update windows manager PAM configuration!" - exit 0 -fi - -echo "done running LoginCapture install script!" - -#============================================================================= -%Preun -# Do not run script if this is an upgrade -if test "$1" == 1; then - #echo "LoginCapture un-install script does not run during upgrade" - exit 0 -fi - -echo "Running LoginCapture un-install script..." - -# Uninstall our module from all of the PAM configuration files onto which it -# has been installed by our utility. -for i in `grep -l pam_pwcapture /etc/pam.d/*`;do /opt/Novell/LoginCapture/bin/modinstall -u $i; done - -# Remove symbolic link to our library from the /lib/security folder -rm -f /lib/security/pam_pwcapture.so - -echo "done running LoginCapture un-install script!" - -#============================================================================= -%Files -%defattr(-,root,root) -%{prefix}/* -#%{prefix}/lib/* -#%{prefix}/share/* - diff --git a/LoginCapture/package/windows/Makefile.am b/LoginCapture/package/windows/Makefile.am deleted file mode 100644 index abdf072c..00000000 --- a/LoginCapture/package/windows/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -####################################################################### -# -# Copyright (C) 2004 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# Author: Juan Carlos Luciani -# -####################################################################### - -SUBDIRS = logincapture-msm - -.PHONY: package-clean package-install package-uninstall - -package package-clean package-install package-uninstall: - $(MAKE) -C logincapture-msm $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/LoginCapture/package/windows/logincapture-msm/Makefile.am b/LoginCapture/package/windows/logincapture-msm/Makefile.am deleted file mode 100644 index 3f53ba07..00000000 --- a/LoginCapture/package/windows/logincapture-msm/Makefile.am +++ /dev/null @@ -1,61 +0,0 @@ -####################################################################### -# -# Copyright (C) 2004 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# Author: Juan Carlos Luciani -# -####################################################################### - -MSM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).msm -MSM_LOG_FILE = devenv-logincapture-msm.log - -.PHONY: package package-clean package-install package-uninstall logincapture devenv - -#all clean: - -package: $(MSM_FILE) - -devenv: - @if ! test -x "$(VSINSTALLDIR)/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi - -$(MSM_FILE): devenv - @rm -f $(MSM_LOG_FILE) $@ - @CMD='"$(VSINSTALLDIR)/devenv.exe" ../../../LoginCapture.sln /build $(DEVENV_CONFIGURATION) /project logincapture-msm /out $(MSM_LOG_FILE)'; \ - echo $$CMD; \ - if eval $$CMD; then \ - ls -l $(DEVENV_CONFIGURATION)/logincapture.msm; \ - else \ - grep -a "ERROR:" $(MSM_LOG_FILE); \ - fi - -securesink: - make -C ../.. all - -package-clean clean-local: - rm -rf Release/* Release Debug/* Debug*/Release */Debug *.log *.suo - -clean: - rm -rf Release/* Release Debug/* Debug */Release */Debug *.log *.suo - -distclean-local: package-clean - rm -f Makefile logincapture.spec - -maintainer-clean-local: - rm -f Makefile.in - - - diff --git a/LoginCapture/package/windows/logincapture-msm/logincapture-msm.vdproj b/LoginCapture/package/windows/logincapture-msm/logincapture-msm.vdproj deleted file mode 100644 index 5d53e4f6..00000000 --- a/LoginCapture/package/windows/logincapture-msm/logincapture-msm.vdproj +++ /dev/null @@ -1,284 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:701" -"ProjectType" = "8:{DD7A5B58-C2F9-40FF-B2EF-0773356FB978}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:logincapture-msm" -"LanguageId" = "3:1033" -"CodePage" = "3:1252" -"UILanguageId" = "3:1033" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_1D888F783949406D8AF759805E213BD5" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5024BA67E4D44B2582887A3EE4467610" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\logincapture.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\logincapture.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - } - } - "Deployable" - { - "CustomAction" - { - "{0C9D821E-95BB-411F-BE03-2864360EBF94}:_6D6BB2ACDEFC4CA79BDA5440243CBE5D" - { - "Name" = "8:regsvr32.exe" - "Condition" = "8:" - "Object" = "8:_1D888F783949406D8AF759805E213BD5" - "FileType" = "3:2" - "InstallAction" = "3:4" - "Arguments" = "8:/u /i /s \"\\Program Files\\Novell\\CASA\\bin\\lcredmgr.dll\"" - "EntryPoint" = "8:" - "Sequence" = "3:1" - "Identifier" = "8:_C86BF882_0E19_4471_9251_48E5B7A43128" - "InstallerClass" = "11:FALSE" - "CustomActionData" = "8:" - } - "{0C9D821E-95BB-411F-BE03-2864360EBF94}:_71B82B5A576741B7A39384FBDC5965D1" - { - "Name" = "8:regsvr32.exe" - "Condition" = "8:" - "Object" = "8:_1D888F783949406D8AF759805E213BD5" - "FileType" = "3:2" - "InstallAction" = "3:1" - "Arguments" = "8:/i /n /s \"\\Program Files\\Novell\\CASA\\bin\\lcredmgr.dll\"" - "EntryPoint" = "8:" - "Sequence" = "3:1" - "Identifier" = "8:_C5112ACD_2314_4F87_9D57_4D7313F31D53" - "InstallerClass" = "11:FALSE" - "CustomActionData" = "8:" - } - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "File" - { - "{A582A373-4685-4296-BEFE-614B80A702C3}:_1D888F783949406D8AF759805E213BD5" - { - "SourcePath" = "8:C:\\WINDOWS\\system32\\regsvr32.exe" - "TargetName" = "8:regsvr32.exe" - "Tag" = "8:" - "Folder" = "8:_297B05AEB9BB4998B00A77B38D50F3C2" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - } - "FileType" - { - } - "Folder" - { - "{78BAF5CE-F2E5-45BE-83BC-DB6AF387E941}:_297B05AEB9BB4998B00A77B38D50F3C2" - { - "Name" = "8:#1914" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:SystemFolder" - "Folders" - { - } - } - "{78BAF5CE-F2E5-45BE-83BC-DB6AF387E941}:_4DAE214C2D21459D8E099142A2C41003" - { - "Name" = "8:#1910" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:CommonFilesFolder" - "Folders" - { - } - } - "{78BAF5CE-F2E5-45BE-83BC-DB6AF387E941}:_74BD0329C7A64FCBBA7AA1C9017F7231" - { - "Name" = "8:#1912" - "AlwaysCreate" = "11:TRUE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramFilesFolder" - "Folders" - { - "{F27BD5C5-A65D-4608-96D4-7C5DA1F76302}:_2301CB3437EB4A4D9C07E46824B02F95" - { - "Name" = "8:Novell" - "AlwaysCreate" = "11:TRUE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_74D74862EF3A4184916B7C9EEB362F45" - "Folders" - { - "{F27BD5C5-A65D-4608-96D4-7C5DA1F76302}:_3950800C84A1418EBD9FAB49DED77EE7" - { - "Name" = "8:CASA" - "AlwaysCreate" = "11:TRUE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_5EC83C58CC264998AA2BA9E70CEBE8D2" - "Folders" - { - "{F27BD5C5-A65D-4608-96D4-7C5DA1F76302}:_811C752B8ADB46E7BD2C7DA2E4455D6D" - { - "Name" = "8:bin" - "AlwaysCreate" = "11:TRUE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_BC04516D72544695891BA4E7AE0E46ED" - "Folders" - { - } - } - } - } - } - } - } - } - } - "Sequences" - { - } - "MergeModule" - { - } - "Module" - { - "ModuleSignature" = "8:MergeModule.76F71560363541FD86D3AE2129C38D1A" - "Version" = "8:1.0.0.0" - "Title" = "8:logincapture-msm" - "Subject" = "8:" - "Author" = "8:Novell" - "Keywords" = "8:" - "Comments" = "8:" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - } - "ProjectOutput" - { - "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_5024BA67E4D44B2582887A3EE4467610" - { - "SourcePath" = "8:..\\..\\..\\windows\\bin\\Debug\\lcredmgr.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_811C752B8ADB46E7BD2C7DA2E4455D6D" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:4" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{55E85618-3643-4213-A15F-08DA1F02D9BB}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - } - "Registry" - { - "HKLM" - { - "Keys" - { - } - } - "HKCU" - { - "Keys" - { - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Shortcut" - { - } - } -}