Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
suseRegister
suseRegister.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suseRegister.spec of Package suseRegister
# # spec file for package suseRegister (Version 1.3) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: suseRegister Version: 1.3 Release: 13 Summary: Registration Tool Group: Productivity/Other License: GPL v2 or later Source: %{name}-%{version}.tar.bz2 Source1: cron_suse_register BuildRoot: %{_tmppath}/%{name}-%{version}-build #Requires: curl Requires: perl = %{perl_version} Requires: perl-XML-Parser Requires: perl-XML-Writer Requires: perl-URI Requires: perl-libwww-perl Requires: perl-Crypt-SSLeay Requires: uuid-runtime Requires: coreutils Requires: util-linux Requires: sysconfig Requires: hwinfo Requires: zypper >= 0.12.6 Requires: cron Requires: distribution-release PreReq: coreutils BuildArch: noarch %description Command line tool for registering Novell and SUSE products. Authors: -------- Michael Calmer <Michael.Calmer@novell.com> %prep %setup -q %build %install mkdir -p $RPM_BUILD_ROOT/var/lib/suseRegister/ mkdir -p $RPM_BUILD_ROOT/usr/lib/suseRegister/bin make DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir} SYSCONFIGDIR=%{_sysconfdir} install install -m 755 %{S:1} $RPM_BUILD_ROOT/usr/lib/suseRegister/bin # touching the ghost mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/ touch $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/novell.com-suse_register %post if [ ! -s /etc/cron.d/novell.com-suse_register ]; then date +"%M %H %d * * /usr/lib/suseRegister/bin/cron_suse_register" > %{_sysconfdir}/cron.d/novell.com-suse_register fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc COPYING COPYRIGHT.english README %config %{_sysconfdir}/*.conf %dir /usr/lib/suseRegister %dir /usr/lib/suseRegister/bin %{perl_vendorlib}/SUSE %{_bindir}/* %dir /var/lib/suseRegister %ghost %{_sysconfdir}/cron.d/novell.com-suse_register /usr/lib/suseRegister/bin/* %changelog * Fri Nov 21 2008 mc@suse.de - fix registration workflow to cope better with temorary states of NCC (bnc#446572) * Tue Nov 18 2008 mc@suse.de - initialize GUID before calling zypper refresh - if zypper refresh failed add a note to the error message about the --no-refresh option. * Tue Nov 11 2008 mc@suse.de - do not remove old deviceid/secret files (bnc#442793) * Tue Nov 04 2008 mc@suse.de - improve generic error messages for network problems (bnc#437358) - document virtual commands in the README * Thu Oct 30 2008 mc@suse.de - change the language enviroment variables only for executing a command. (bnc#438104) - do not call xenstore commands in dom0, if xend isn't running. * Fri Oct 24 2008 mc@suse.de - fix hypervisor detection: output format of lscpu changed * Tue Oct 21 2008 mc@suse.de - use lscpu for hypervisor detection - improve error detection (bnc#437784) * Thu Oct 16 2008 mc@suse.de - fix requires - fix log message - enable autoflush for logfile writing * Wed Oct 15 2008 mc@suse.de - fix reading informations with zypper if another instance of libzypp is running. (bnc#435184) * Mon Oct 13 2008 mc@suse.de - remove trailing / from proxy URLs. Crypt::SSLeay does not work with it. (bnc#433508) * Tue Oct 07 2008 mc@suse.de - %%{sles_version} macro is gone, so we need to install the cronjob also in openSUSE. The cronscript itself try to detect if we run on an enterprise product. If not, exit without registration. * Fri Sep 26 2008 mc@suse.de - implement detecting product release order with productline, register-release and flavor - remove all --no-gpg-checks - call zypper always with --non-interactive except of the refresh call. - use different exec mechanism for refresh if interactive is true. The user should be able to answer questions about accepting keys. * Fri Sep 19 2008 mc@suse.de - call zypper without --non-interactive if --interactive parameter is given - nicer debug output - update installed-desktops command * Thu Sep 18 2008 mc@suse.de - version 1.3 - remove rug/zmd to configue the update sources. - add zypper commands to configure the update sources. (FATE#305047) - remove initscript and use a normal cronjob for regular registrations. - add virtual command to query the installed languages (FATE#301317) * Tue May 13 2008 mc@suse.de - adapt virtual command 'desktops' to new pattern naming and kde4 availability * Wed May 07 2008 mc@suse.de - call query-pool with --registrable - remove temporary fix of (bnc#385868) * Fri May 02 2008 coolo@suse.de - don't query for @system (bnc#385868) * Tue Apr 15 2008 mc@suse.de - Create secret file if zmd is not installed (bnc#379940) * Tue Apr 01 2008 mc@suse.de - Require uuid-runtime - fix running with zypper - write allowFile only if rug and zmd are installed - implement workaround for ostarget-bak if lsb_release is not available * Fri Feb 15 2008 mc@suse.de - set cache-max-size-in-mb to unlimited before calling rug refresh. Reset to old value after refresh is finished [bnc#360254] - remove network test from init script. In case of a local SMT server network test may fail always - remove rug ping test from init script. suse_register does this now internally * Fri Jan 18 2008 mc@suse.de - add virtual command cpu-count[FATE#302969] - improve support for ServicePack migration - use rug ping --if-active to detect full initialized zmd [#339771] - cleanup init script - add option(-r) to restore all repositories, even the once deleted by the user [#309231] - write cache file only when the configuration of the update sources were successful. [#278163] - increase client_version to 1.2.3 * Wed Aug 29 2007 mc@suse.de - drop --terse when calling zypper sl; --terse give wrong format * Tue Aug 28 2007 mc@suse.de - add a "/" to the end of all urls, if not available, to avoid double update repositories * Tue Aug 07 2007 mc@suse.de - make use of new zypper options --non-interactive and --no-gpg-checks [Feature #301998] * Wed Jul 18 2007 mc@suse.de - use --loose-auth and --loose-query in zyppServiceDelete * Tue Jul 17 2007 mc@suse.de - remove zypp_wrap - use zypper to configure update sources [partly fix for #292362] * Thu Jul 12 2007 mc@suse.de - do not subscribe catalogs which were not added before [#271861] - use URL as alias fallback[#271861] * Tue Jun 05 2007 mc@suse.de - ignore missing sysconfig file [#279757] - save cache only on success [#278163] - subscribe yum and zypp catalogs [#271861] * Thu May 03 2007 mc@suse.de - Remove init script trigger only on success [Bug 270870] * Thu Apr 26 2007 mc@suse.de - adding some sleeps to avoid races with zmd during refresh [#267917] * Fri Apr 20 2007 mc@suse.de - search for xentools in /bin when not available in /usr/bin [#249157] * Thu Mar 08 2007 mc@suse.de - wait in init script until zmd has finished initialization [#251634] * Wed Mar 07 2007 mc@suse.de - ignore "not found" errors on catalogDelete [#252204] * Tue Mar 06 2007 mc@suse.de - implement refresh to fix unknown catalogs after registration [#251634] * Fri Mar 02 2007 mc@suse.de - fix fillURL * Fri Mar 02 2007 mc@suse.de - workaround zypper delete problems [#219770] - create a copy of the cache and do a rollback, when configureZMD failed * Fri Feb 23 2007 mc@suse.de - fix alias handling of manualy added URLs [#248230] * Thu Feb 22 2007 mc@suse.de - when zyppServiceAdd is called via addCatalog add credentials to the URL * Wed Feb 14 2007 mc@suse.de - --norug should only avoid adding and subscribing new sources. * Mon Feb 12 2007 mc@suse.de - add client_version to register and listparams request [#243006] * Fri Feb 09 2007 mc@suse.de - remove auth => digest,basic; this should be done by libzypp now [#243006] * Wed Feb 07 2007 mc@suse.de - add basicAuth as fallback for NU catalogs [#242390] * Thu Feb 01 2007 mc@suse.de - fix suseRegister blocks boot for a while [#237712] * Thu Jan 25 2007 mc@suse.de - remove Requires: mailx - add runtime check for "mail" [#238676] * Wed Jan 24 2007 mc@suse.de - move directory for the trigger to /var/lib/suseRegister/ because /usr might be read-only [#238102] - require mailx * Fri Jan 12 2007 mc@suse.de - add NetworkManager dispatcher script [Fate #301822] * Fri Jan 12 2007 mc@suse.de - support new zmd inventory preferences [fix Bug #233704] * Mon Jan 08 2007 mc@suse.de - implement --norug, --nozypper and --batch command [Feature #301745] - fix call of rugPreferences - send mail to root in batchmode when an error happens - add init script to look for new catalogs during boot. [Feature #301745, #301822] - add cronjob to trigger register on boot [Fate #301822] * Thu Dec 07 2006 mc@suse.de - version 1.2 * Feature #301790: modularize suse-register * Mon Nov 20 2006 mc@suse.de - fix parameter List when --no-hw-data is given [#222625] * Mon Nov 13 2006 mc@suse.de - remove Recommends: rug zmd for openSUSE release * Thu Nov 09 2006 mc@suse.de - save check for requested data in evalInteractiveArgs [#219354 Comment#5] * Tue Nov 07 2006 mc@suse.de - fix force registration * Mon Oct 30 2006 mc@suse.de - got texts from proofread * Wed Oct 25 2006 mc@suse.de - fix "Registration insists on hardware profile" [#214722] * Tue Oct 24 2006 mc@suse.de - set default requested mirrors to 1 * Tue Oct 24 2006 mc@suse.de - set temporarily default requested mirrors to 2 * Fri Oct 20 2006 mc@suse.de - add installed-desktops to evaluateCommand[F#301240] - use new zypp-query-pool and try to get dist[product|version] from it [part fix for #205392] - require libzypp not libzypp-zmd-backend * Tue Sep 26 2006 mc@suse.de - fixed fixed languages in output [#199161] - document UUID in the README [#198666] * Fri Sep 22 2006 mc@suse.de - version 1.1 - implement request for more then one mirror (Feature #301267) * Wed Aug 16 2006 mc@suse.de - configure proxy values for zmd (Bug #165891) * Thu Jul 13 2006 mc@suse.de - add extra update sources feature (Feature #300728] - set envVar LANGUAGE to en_US to get english command output * Mon Jul 10 2006 mc@suse.de - use Objects for XML parsing not the tree - detect FACTORY and exit with a special return code * Fri Jul 07 2006 mc@suse.de - use uuidgen to create a guid if zmd is not available. * Mon Jul 03 2006 mc@suse.de - add suseRegister-1.0.dif - add unsupported type rce [#189444, #189781] - fix incorrect sentence of a help text [#189408] - make zmd-ostarget available to the registration server [make fix possible for Bug #186220] * Fri Jun 02 2006 mc@suse.de - partly fix for Bug #180820 suse_register, rug/zmd, key signing problem * Tue May 09 2006 mc@suse.de - set connection timeout to 60 sec - do not print the secret to syslog * Tue May 09 2006 mc@suse.de - add alias=<catalog-name> to URL for yast - do not use rug register, use -k paramter in rug service-add [fix parts of Bug #172336] * Thu May 04 2006 mc@suse.de - add support for type 'nu' [#172336] * Fri Apr 28 2006 mc@suse.de - require rug and zmd in sles; recommend in suse linux - log installed products * Tue Apr 25 2006 mc@suse.de - prepare to use type zypp for update sources [#168739] - delete services with the same name as new update source * Fri Apr 21 2006 mc@suse.de - Add Requires: libzypp-zmd-backend [#168345] * Fri Apr 21 2006 mc@suse.de - add missing Requires: perl-URI * Thu Apr 20 2006 mc@suse.de - switch back to curl to provide correct https proxy support [fix part of #165891] * Fri Apr 07 2006 mc@suse.de - print update urls on success to STDERR * Wed Apr 05 2006 mc@suse.de - add Recommends: rug zmd * Tue Apr 04 2006 mc@suse.de - provide release in products - remove xen magic * Fri Mar 31 2006 mc@suse.de - check location of query-pool [#162302] * Thu Mar 30 2006 mc@suse.de - remove require rug/zmd; is a soft requirement now * Thu Mar 30 2006 mc@suse.de - adapt new output of query-pool * Thu Mar 30 2006 mc@suse.de - remove hack - use query-pool to get the products - remove rugProductArch * Wed Mar 29 2006 mc@suse.de - add hack to make rug products work * Wed Mar 29 2006 mc@suse.de - start zmd as soon as possible * Wed Mar 29 2006 mc@suse.de - set accept=mandatory if auto-args are send back * Tue Mar 28 2006 mc@suse.de - add --ignore-failure to rug sa command [#160069] * Mon Mar 27 2006 mc@suse.de - exit, if no products available to register * Fri Mar 24 2006 mc@suse.de - detect update_inventory outside of <service> * Thu Mar 23 2006 mc@suse.de - add registration URL to text * Wed Mar 22 2006 mc@suse.de - change xml namespace * Wed Mar 22 2006 mc@suse.de - case yum: use catalog name as service name * Tue Mar 21 2006 mc@suse.de - return empty value if lsb_release is not installed - remove Requires: lsb * Mon Mar 20 2006 mc@suse.de - cleanup initial send values - send arch of product * Mon Mar 20 2006 mc@suse.de - remove truncating too long hwinfo data it's the job of the server - first, wait for the deviceid file, then check status * Fri Mar 17 2006 mc@suse.de - fixes for multiple services - ignore errors in yast mode when opening the logfile does not work - wait until deviceid file exists (max 10 sec when starting zmd) - create special dumpfiles for yast * Tue Mar 14 2006 mc@suse.de - submit the architecture - implement listProducts - implement build intersection of products * Tue Mar 14 2006 mc@suse.de - first code drop for products - add product informations to listParams request - add exitcode to logmessage - better handling of rug service-add - fix forceZmdConfiguration * Fri Mar 10 2006 mc@suse.de - strip down the output of evaluateCommand because of database limits - update README * Fri Mar 10 2006 mc@suse.de - set enviroment language to en_US to get english error messages for the logs - fix type handling - be more verbose in syslog when an error occours - remove ifstatus command * Fri Mar 10 2006 mc@suse.de - implement new privacy statement handling - allow only https connections - change the URL and xml namespace - differ between type "yum" and "zenworks" * Thu Mar 09 2006 mc@suse.de - return 0 in listPrarms() - beautify listParams output - add URL to Novell's Privacy Policy * Mon Mar 06 2006 mc@suse.de - case -p: strip out the hwinfo commands if --no-hw-data was given - set $nooptional to 1 after the browser was closed. This prevent for optional parameters become mandatory - beautify commandline output - send empty <param> for not available hardware * Fri Mar 03 2006 mc@suse.de - return 'DISCARDED' in case of requested hwinfo and provided --no-hw-data - if hardware data are not available say it in the response to the server - use open3 for evaluateCommand - do not set nooptional after the first round - yast output cleanup - set CA_PATH also if Crypt-SSLeay is used - fix type on ssl_error - return with success from rugRegister if no regcode is available this is ok in case of type is not zenworks * Thu Mar 02 2006 mc@suse.de - replace curl with native implementation with LWP::UserAgent - start zmd if deviceid file does not exists * Tue Feb 28 2006 mc@suse.de - implement rugPreferences for update_inventory - fix exit code handling from rug commands - update README * Mon Feb 27 2006 mc@suse.de - change syslog calles to older syntax - better error messages if zmd failed to start - update README * Mon Feb 27 2006 mc@suse.de - implement -y for yast - reformat the output - add (mandatory)/(optional) to output - submit timezone information as text, e.g. US/Mountain - fetch LANG from enviroment - change connect URL * Fri Feb 24 2006 mc@suse.de - print URL to stdout and help text on stderr * Fri Feb 24 2006 mc@suse.de - do not use die use explicite exit codes - use syslog for logging - add force-registration - use open3 for rug commands * Wed Feb 22 2006 mc@suse.de - Abort, if last response is equal to current response - add --max-time 20 to curl options - search for default browser if -b default is given * Mon Feb 20 2006 mc@suse.de - fix call of lsb_release command * Fri Feb 17 2006 mc@suse.de - code drop for detecting and handling virtualization (xen) - fix browser handling for http errors from server - remove GUI browser because of blocking problems - submit version via url query option * Thu Feb 16 2006 mc@suse.de - fix redirect - use vars for commands - cleanups - first code drop for virtualization feature * Tue Feb 14 2006 mc@suse.de - initial version [Feature #110192] A tool to register SLES and SLES based products and to do the initial update configuration (zmd) for SUSE LINUX, SUSE LINUX Enterprise Server and products based on the SUSE LINUX Enterprise Server.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor