| File inc/log.inc.php changed (mode: 100644) (index b8bdd47..6acb1f6) | 
	| ... | 
	... | 
	function rg_log($str) | 
	| 19 | 
	19 | 
		global $rg_log_sid; | 
		global $rg_log_sid; | 
	| 20 | 
	20 | 
	 | 
	 | 
	| 21 | 
	21 | 
		if ($rg_log_fd === FALSE) { | 
		if ($rg_log_fd === FALSE) { | 
	| 22 | 
	 | 
			$rg_log_fd = @fopen($rg_log_file, "a+"); | 
	 | 
	 | 
	22 | 
	 | 
			$rg_log_fd = @fopen($rg_log_file, "a"); | 
	| 23 | 
	23 | 
			if ($rg_log_fd === FALSE) | 
			if ($rg_log_fd === FALSE) | 
	| 24 | 
	24 | 
				return; | 
				return; | 
	| 25 | 
	 | 
			@chmod($rg_log_file, 0600); | 
	 | 
	| 26 | 
	25 | 
			// write an empty line | 
			// write an empty line | 
	| 27 | 
	26 | 
			fwrite($rg_log_fd, "\n"); | 
			fwrite($rg_log_fd, "\n"); | 
	| 28 | 
	27 | 
		} | 
		} | 
| File inc/user.inc.php changed (mode: 100644) (index 1697b42..b3e7bf7) | 
	| ... | 
	... | 
	function rg_user_login_by_user_pass($db, $user, $pass, &$rg_ui) | 
	| 329 | 
	329 | 
			return FALSE; | 
			return FALSE; | 
	| 330 | 
	330 | 
		} | 
		} | 
	| 331 | 
	331 | 
	 | 
	 | 
	| 332 | 
	 | 
		rg_user_sess($db, $rg_ui['uid'], $rg_ui['session_time']); | 
	 | 
	 | 
	332 | 
	 | 
		rg_user_auto_login($db, $rg_ui['uid'], $rg_ui); | 
	| 333 | 
	333 | 
	 | 
	 | 
	| 334 | 
	334 | 
		rg_user_set_last_seen($db, $rg_ui['uid']); | 
		rg_user_set_last_seen($db, $rg_ui['uid']); | 
	| 335 | 
	335 | 
	 | 
	 | 
| File rocketgit.spec.in changed (mode: 100644) (index b679ef4..df7e6d9) | 
	| ... | 
	... | 
	Source:		http://kernel.embedromix.ro/us/rocketgit/%{name}-%{version}.tar.gz | 
	| 8 | 
	8 | 
	URL:		http://kernel.embedromix.ro/us/ | 
	URL:		http://kernel.embedromix.ro/us/ | 
	| 9 | 
	9 | 
	BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot | 
	BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot | 
	| 10 | 
	10 | 
	BuildArch:	noarch | 
	BuildArch:	noarch | 
	| 11 | 
	 | 
	Requires:	httpd, php, php-process, php-cli, php-pgsql, xinetd, shadow-utils, git, postgresql-server | 
	 | 
	 | 
	11 | 
	 | 
	Requires:	httpd, php, php-process, php-cli, php-pgsql, xinetd | 
	 | 
	12 | 
	 | 
	Requires:	shadow-utils, git, postgresql-server, policycoreutils-python | 
	| 12 | 
	13 | 
	 | 
	 | 
	| 13 | 
	14 | 
	 | 
	 | 
	| 14 | 
	15 | 
	%description | 
	%description | 
|   | 
	| ... | 
	... | 
	Light and fast Git hosting solution, similar with Gitorious/GitHub/etc. | 
	| 17 | 
	18 | 
	%pre | 
	%pre | 
	| 18 | 
	19 | 
	getent group rocketgit || groupadd -r rocketgit | 
	getent group rocketgit || groupadd -r rocketgit | 
	| 19 | 
	20 | 
	getent passwd rocketgit || useradd -r -g rocketgit -s /sbin/nologin -m -d /home/rocketgit -c "RocketGit user" rocketgit | 
	getent passwd rocketgit || useradd -r -g rocketgit -s /sbin/nologin -m -d /home/rocketgit -c "RocketGit user" rocketgit | 
	 | 
	21 | 
	 | 
	semanage fcontext -a -t httpd_log_t "/var/log/rocketgit-web(/.*)?" || : | 
	| 20 | 
	22 | 
	 | 
	 | 
	| 21 | 
	23 | 
	%post | 
	%post | 
	| 22 | 
	24 | 
	if [ $1 -ne 0 ]; then | 
	if [ $1 -ne 0 ]; then |