packages: mantis/mantis.spec - add setup-banner - add default username/pass...

uzsolt uzsolt at pld-linux.org
Sat Jul 30 12:31:19 CEST 2011


Author: uzsolt                       Date: Sat Jul 30 10:31:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add setup-banner
- add default username/password to setup description (need add in pl)
- rel 2

---- Files affected:
packages/mantis:
   mantis.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: packages/mantis/mantis.spec
diff -u packages/mantis/mantis.spec:1.49 packages/mantis/mantis.spec:1.50
--- packages/mantis/mantis.spec:1.49	Thu Jul 28 15:33:45 2011
+++ packages/mantis/mantis.spec	Sat Jul 30 12:31:14 2011
@@ -1,12 +1,14 @@
 # $Revision$, $Date$
 # TIP:
 # - After upgrade from version <= 0.18.x mysql database requires upgrade!
+# TODO:
+# - update mantis-setup pl doc (default user/password)
 Summary:	The Mantis bug tracker
 Summary(hu.UTF-8):	The Mantis hibakövető
 Summary(pl.UTF-8):	Mantis - system kontroli błędów
 Name:		mantis
 Version:	1.2.6
-Release:	1
+Release:	2
 License:	GPL
 Group:		Development/Tools
 Source0:	http://downloads.sourceforge.net/project/mantisbt/mantis-stable/%{version}/%{name}bt-%{version}.tar.gz
@@ -53,12 +55,14 @@
 %description setup
 Install this package to configure initial Mantis installation. You
 should uninstall this package when you're done, as it considered
-insecure to keep the setup files in place.
+insecure to keep the setup files in place. Default username/password
+after installation: administrator/root
 
 %description setup -l hu.UTF-8
 Ezen csomag telepítése bekonfigurálja a kezdeti Mantis telepítést. A
 csomagot el kell távolítanod, ha kész vagy, mert nem biztonságos
-fájlok maradnak utána.
+fájlok maradnak utána. Alapértelmezett username/password telepítés
+után: administrator/root
 
 %description setup -l pl.UTF-8
 Ten pakiet należy zainstalować w celu wstępnej konfiguracji Mantisa po
@@ -98,6 +102,14 @@
 EOF
 fi
 
+%post setup
+%banner -e %{name}-setup <<EOF
+After first install the correct user/password:
+administrator/root
+You should change or delete this!
+After install you should uninstall %{name}-setup!
+EOF
+
 %triggerin -- apache1 < 1.3.37-3, apache1-base
 %webapp_register apache %{_webapp}
 
@@ -247,6 +259,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2011/07/30 10:31:14  uzsolt
+- add setup-banner
+- add default username/password to setup description (need add in pl)
+- rel 2
+
 Revision 1.49  2011/07/28 13:33:45  uzsolt
 - remove PLD_* doc and setup post-echo (not need manual install, mantis has install.php)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mantis/mantis.spec?r1=1.49&r2=1.50&f=u



More information about the pld-cvs-commit mailing list