rel-eng/packages/bootstrap-datepicker | 1 spec-tree/bootstrap-datepicker/bootstrap-datepicker.spec | 43 +++++++++++++++ spec-tree/bootstrap-datepicker/tito.props | 3 + web/modules/pxt/PXT/ApacheHandler.pm | 8 ++ 4 files changed, 54 insertions(+), 1 deletion(-)
New commits: commit eaa062ba01b3b919fbebf29c51b0e3e3c18807b4 Author: Michael Mraka michael.mraka@redhat.com Date: Fri Feb 14 16:02:14 2014 +0100
Automatic commit of package [bootstrap-datepicker] minor release [1.3.0-1].
diff --git a/rel-eng/packages/bootstrap-datepicker b/rel-eng/packages/bootstrap-datepicker new file mode 100644 index 0000000..c620ef0 --- /dev/null +++ b/rel-eng/packages/bootstrap-datepicker @@ -0,0 +1 @@ +1.3.0-1 spec-tree/bootstrap-datepicker/ diff --git a/spec-tree/bootstrap-datepicker/bootstrap-datepicker.spec b/spec-tree/bootstrap-datepicker/bootstrap-datepicker.spec index a6a4c92..d4b4a95 100644 --- a/spec-tree/bootstrap-datepicker/bootstrap-datepicker.spec +++ b/spec-tree/bootstrap-datepicker/bootstrap-datepicker.spec @@ -1,6 +1,6 @@ Name: bootstrap-datepicker Version: 1.3.0 -Release: 0%{?dist} +Release: 1%{?dist} Summary: Bootstrap-datepicker provides a flexible datepicker widget in the Twitter bootstrap style.
Group: Applications/Internet @@ -38,3 +38,6 @@ rm -rf %{buildroot}
%changelog +* Fri Feb 14 2014 Michael Mraka michael.mraka@redhat.com 1.3.0-1 +- initial build of bootstrap-datepicker +
commit be87fa6f071cfb4546107dacaf4de74429ffa472 Author: Michael Mraka michael.mraka@redhat.com Date: Fri Feb 14 15:58:05 2014 +0100
bootstrap-datepicker packaging
diff --git a/spec-tree/bootstrap-datepicker/bootstrap-datepicker.spec b/spec-tree/bootstrap-datepicker/bootstrap-datepicker.spec new file mode 100644 index 0000000..a6a4c92 --- /dev/null +++ b/spec-tree/bootstrap-datepicker/bootstrap-datepicker.spec @@ -0,0 +1,40 @@ +Name: bootstrap-datepicker +Version: 1.3.0 +Release: 0%{?dist} +Summary: Bootstrap-datepicker provides a flexible datepicker widget in the Twitter bootstrap style. + +Group: Applications/Internet +License: Apache Software License v2 +URL: https://github.com/eternicode/bootstrap-datepicker/ +Source0: https://github.com/eternicode/bootstrap-datepicker/archive/%%7Bversion%7D.ta... +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +BuildArch: noarch + +%description +Bootstrap-datepicker provides a flexible datepicker widget in the Twitter bootstrap +style. + + +%prep +%setup -q + +%build + +%install +rm -rf %{buildroot} +install -d -m 755 %{buildroot}%{_var}/www/html/javascript +install -m 644 js/bootstrap-datepicker.js %{buildroot}%{_var}/www/html/javascript/ +install -m 644 css/datepicker3.css %{buildroot}%{_var}/www/html/css/bootstrap-datepicker.css + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{_var}/www/html/css/* +%{_var}/www/html/javascript/* + + + +%changelog diff --git a/spec-tree/bootstrap-datepicker/tito.props b/spec-tree/bootstrap-datepicker/tito.props new file mode 100644 index 0000000..8c63ded --- /dev/null +++ b/spec-tree/bootstrap-datepicker/tito.props @@ -0,0 +1,3 @@ +[buildconfig] +tagger = tito.tagger.ReleaseTagger +builder = spacewalkx.builderx.NoTgzBuilder
commit 74e8a81ffd83502f77fe4168850c4762b5ca34a2 Author: Mike Dorman mdorman@godaddy.com Date: Thu Feb 13 11:41:08 2014 -0700
Refeactored cookie parsing code to better handle malformed cookies
diff --git a/web/modules/pxt/PXT/ApacheHandler.pm b/web/modules/pxt/PXT/ApacheHandler.pm index 0f8f892..d4e4a8a 100644 --- a/web/modules/pxt/PXT/ApacheHandler.pm +++ b/web/modules/pxt/PXT/ApacheHandler.pm @@ -26,6 +26,8 @@ use Apache2::ServerUtil (); use Apache2::Log (); use Apache2::RequestIO ();
+use APR::Request::Error; + use BSD::Resource; use Carp; use Compress::Zlib; @@ -313,7 +315,11 @@ sub initialize_pxt { $dbh->enable_profile; }
- my $cookies = Apache2::Cookie->fetch; + #my $cookies = Apache2::Cookie->fetch; + my $req = APR::Request::Apache2->handle($r); + my $jar = eval {$req->jar()} || $@->jar; + my $cookies = $jar->cookie_class('Apache2::Cookie'); + my $request = new PXT::Request $r, undef, $cookies;
my $apr;
spacewalk-commits@lists.fedorahosted.org