Page MenuHomePhabricator (Chris)

No OneTemporary

Authored By
Unknown
Size
5 KB
Referenced Files
None
Subscribers
None
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 00000000..e5364af3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+php-mongodb (1.0.1-1) unstable; urgency=low
+
+ * Initial release (Closes: xxxxx)
+
+ -- Ondřej Surý <ondrej@debian.org> Fri, 11 Dec 2015 10:46:41 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 00000000..ec635144
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 00000000..4f0c326a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: php-mongodb
+Section: php
+Priority: optional
+Maintainer: Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>
+Uploaders: Ondřej Surý <ondrej@debian.org>
+Build-Depends: debhelper (>= 9~),
+ dh-php,
+ libbson-dev,
+ libmongoc-dev,
+ php-all-dev
+Standards-Version: 3.9.6
+Homepage: https://pecl.php.net/package/mongodb
+
+Package: php-mongodb
+Architecture: any
+Depends: ucf,
+ ${misc:Depends},
+ ${php:Depends},
+ ${shlibs:Depends}
+Description: MongoDB driver for PHP
+ The purpose of this driver is to provide exceptionally thin glue
+ between MongoDB and PHP, implementing only fundemental and
+ performance-critical components necessary to build a fully-functional
+ MongoDB driver.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 00000000..8070897e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,51 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mongodb
+Source: http://pecl.php.net/package/mongodb
+
+Files: *
+Copyright: 2013-2015 MongoDB, Inc.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2015 Ondřej Surý <ondrej@debian.org>
+License: Expat
+
+License: Apache-2.0
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the full text of the Apache Software License version 2 can
+ be found in the file `/usr/share/common-licenses/Apache-2.0'.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 00000000..d7d47b21
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,12 @@
+[DEFAULT]
+debian-branch = master-7.0
+debian-tag = debian/%(version)s
+upstream-branch = upstream-7.0
+upstream-tag = upstream/%(version)s
+pristine-tar = True
+
+[dch]
+meta = 1
+
+[import-orig]
+filter = ['.gitignore']
diff --git a/debian/mongodb.ini b/debian/mongodb.ini
new file mode 100644
index 00000000..f27063aa
--- /dev/null
+++ b/debian/mongodb.ini
@@ -0,0 +1 @@
+zend_extension=mongodb.so
diff --git a/debian/php-mongodb.php b/debian/php-mongodb.php
new file mode 100644
index 00000000..f1fd9644
--- /dev/null
+++ b/debian/php-mongodb.php
@@ -0,0 +1 @@
+mod debian/mongodb.ini
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 00000000..95f63f08
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+PECL_NAME := $(shell dpkg-parsechangelog -SSource | sed -e s/php-//)
+SOURCE_DIR := $(shell ls -1d $(PECL_NAME)-*)
+INSTALL_ROOT := $(CURDIR)/debian/php-$(PECL_NAME)
+
+%:
+ dh $@ --with php --sourcedirectory=$(SOURCE_DIR)
+
+override_dh_auto_install:
+ dh_auto_install --sourcedirectory=$(SOURCE_DIR) -- INSTALL_ROOT=$(INSTALL_ROOT)
+
+override_dh_auto_configure:
+ cd $(SOURCE_DIR) && phpize
+ dh_auto_configure --sourcedirectory=$(SOURCE_DIR) -- --enable-$(PECL_NAME)
+
+override_dh_auto_clean:
+ dh_auto_clean --sourcedirectory=$(SOURCE_DIR)
+ cd $(SOURCE_DIR) && phpize --clean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 00000000..163aaf8d
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 00000000..3f7c98a0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://pecl.php.net/package/mongodb \
+ /get/mongodb-([\d\.p?]*).tgz debian uupdate

File Metadata

Mime Type
text/x-diff
Expires
Tue, Jun 16, 12:13 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
71000
Default Alt Text
(5 KB)

Event Timeline