Skip to content

Commit 0bbcd3f

Browse files
author
Daniel Berry
committed
Merge pull request #7 from ROGUE-JCTD/geoint
Geoint
2 parents db9b980 + f1c54b2 commit 0bbcd3f

28 files changed

Lines changed: 1820 additions & 329 deletions

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ __pycache__/
2020
*.war
2121

2222
# RPM TEMP DIRS
23-
rpmbuild/SOURCES/mapstory
2423
rpmbuild/SOURCES/geoserver
2524

2625
# RPMS
@@ -29,3 +28,6 @@ rpmbuild/BUILDROOT
2928
rpmbuild/RPMS
3029
rpmbuild/SRPMS
3130
*.rpm
31+
32+
# vagrant machines
33+
.vagrant

README.md

Lines changed: 43 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,50 @@
11
GeoShape rpmbuild for Enterprise Linux 6
22
----------------------
33

4-
__as a non-root user with sudo access on an EL6 Operating System...__
4+
__Using Vagrant - https://www.vagrantup.com/__
55

66
```bash
7-
cd ~
8-
sudo yum -y update
9-
sudo yum -y install git
10-
git clone git@github.com:ROGUE-JCTD/rpmbuild.git
11-
sudo yum -y install rpmdevtools
12-
sudo yum -y install http://yum.geonode.boundlessps.com/geonode-repo-1.0.0-1.el6.noarch.rpm
13-
sudo yum -y install python27-devel python27-virtualenv gdal-devel=1.11.2 proj-devel postgresql93-devel libxslt-devel pcre-devel gcc gcc-c++ bzip2-devel db4-devel expat-devel gdbm-devel ncurses-devel openssl-devel readline-devel sqlite-devel tk-devel tcl-devel unzip wget
7+
git clone -b geoint git@github.com:ROGUE-JCTD/rpmbuild.git
8+
cd rpmbuild
9+
vagrant up
10+
vagrant ssh
11+
QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild --define '_topdir /vagrant' -bb /vagrant/SPECS/geoshape.spec
12+
QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild --define '_topdir /vagrant' -bb /vagrant/SPECS/geoshape-geoserver.spec
13+
vagrant destroy
1414
```
1515

16-
Build Steps
17-
```bash
18-
cd rpmbuild/SOURCES
19-
./get_sources
20-
QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild -bb ~/rpmbuild/SPECS/geoshape.spec
21-
```
16+
The newly created rpms will be located at /vagrant/RPMS
17+
18+
If using this on a disconnected environment the following links include non "BASE" rpms in zip file format:
19+
20+
__Note:__ devel rpms are needed only from buildign the GeoSHAPE rpms.
21+
22+
[external.zip - 47.3MB](http://yum.geoshape.org/zip/external.zip)
23+
- elasticsearch-1.6.0.noarch.rpm
24+
- erlang-18.1-1.el6.x86_64.rpm
25+
- rabbitmq-server-3.5.6-1.noarch.rpm
26+
27+
[opengeo.zip - 51.2 MB](http://yum.geoshape.org/zip/opengeo.zip)
28+
- gdal-1.11.2-1.el6.x86_64.rpm
29+
- gdal-devel-1.11.2-1.el6.x86_64.rpm
30+
- geos-3.4.2-1.el6.x86_64.rpm
31+
- geos-devel-3.4.2-1.el6.x86_64.rpm
32+
- postgis21-2.1.7-1.x86_64.rpm
33+
- postgis21-postgresql93-2.1.7-1.x86_64.rpm
34+
- postgresql93-9.3.5-og1.el6.x86_64.rpm
35+
- postgresql93-devel-9.3.5-og1.el6.x86_64.rpm
36+
- postgresql93-libs-9.3.5-og1.el6.x86_64.rpm
37+
- postgresql93-server-9.3.5-og1.el6.x86_64.rpm
38+
- proj-4.8.0-3.el6.x86_64.rpm
39+
- proj-devel-4.8.0-3.el6.x86_64.rpm
40+
- tomcat-7.0.33-4.el6.noarch.rpm
41+
- tomcat-el-2.2-api-7.0.33-4.el6.noarch.rpm
42+
- tomcat-jsp-2.2-api-7.0.33-4.el6.noarch.rpm
43+
- tomcat-lib-7.0.33-4.el6.noarch.rpm
44+
- tomcat-servlet-3.0-api-7.0.33-4.el6.noarch.rpm
45+
46+
[python27.zip - 17.8 MB](http://yum.geoshape.org/zip/python27.zip)
47+
- python27-2.7.10-2.el6.x86_64.rpm
48+
- python27-devel-2.7.10-2.el6.x86_64.rpm
49+
- python27-setuptools-18.7.1-1.el6.noarch.rpm
50+
- python27-virtualenv-13.1.0-1.el6.noarch.rpm

SOURCES/GeoSHAPE.repo

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[geoshape]
2+
name=geoshape
3+
baseurl=http://yum.geoshape.org/geoshape/el6/x86_64
4+
enabled=1
5+
gpgcheck=0
6+
7+
[geoshape-external]
8+
name=geoshape-external
9+
baseurl=http://yum.geoshape.org/external/el6/x86_64
10+
enabled=1
11+
gpgcheck=0
12+
13+
[python27]
14+
name=python27
15+
baseurl=http://yum.geoshape.org/python27/el6/x86_64
16+
enabled=1
17+
gpgcheck=0
18+
19+
[opengeo]
20+
name=opengeo
21+
baseurl=http://yum.geoshape.org/opengeo/el6/x86_64
22+
enabled=1
23+
gpgcheck=0

SOURCES/admin.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[
2+
{
3+
"pk": 9999,
4+
"model": "people.Profile",
5+
"fields": {
6+
"username": "admin",
7+
"first_name": "GeoSHAPE",
8+
"last_name": "Administrator",
9+
"is_active": true,
10+
"is_superuser": true,
11+
"is_staff": true,
12+
"last_login": "2011-03-29 23:32:19",
13+
"groups": [],
14+
"user_permissions": [],
15+
"password": "!",
16+
"email": "admin@geoshape.org",
17+
"date_joined": "2011-03-29 23:32:19"
18+
}
19+
}
20+
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ diff -aruN geoserver_orig/WEB-INF/classes/org/geonode/security/geoserver.xml geo
66
+<Context path="/geoserver"
77
+ antiResourceLocking="false" >
88
+ <Parameter name="org.geonode.security.databaseSecurityClient.url"
9-
+ value="jdbc:postgresql://localhost:5432/geonode?user=geoshape&amp;password=geoshape"/>
9+
+ value="jdbc:postgresql://localhost:5432/geoshape?user=geoshape&amp;password=geoshape"/>
1010
+</Context>
1111
\ No newline at end of file

SOURCES/geogig.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[user]
2+
name = GeoSHAPE
3+
email = admin@geoshape.org

0 commit comments

Comments
 (0)