krakjoe
Posts: 1
Joined: Thu Apr 02, 2015 2:27 pm
Location: UK

Packaging [nginx]

Fri Apr 03, 2015 12:10 pm

Package files for nginx

Code: Select all

name       : nginx
version    : 1.7.11
release    : 1
source     :
    - http://nginx.org/download/nginx-1.7.11.tar.gz : dad9d740210e638bfd480536910083ed13f04c04775eedf877984e1c61a69695
license    : http://nginx.org/LICENSE (2 Clause BSD-Like)
summary    : nginx server
description: |
    The nginx project started with a strong focus on high concurrency, high performance and low memory usage. It is licensed under the 2-clause BSD-like license and it runs on Linux, BSD variants, Mac OS X, Solaris, AIX, HP-UX, as well as on other *nix flavors.
builddeps  : |
    openssl 
    zlib
setup      : |
    ./configure --prefix=/usr --user=nobody --group=nobody --with-poll_module --with-http_ssl_module --with-http_spdy_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_sub_module --with-http_gunzip_module --with-http_stub_status_module --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --sbin-path=/usr/bin/nginx --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx
build      : |
    %make
install    : |
    %make_install
    [ -d /etc/nginx ]     || sudo mkdir /etc/nginx
    [ -d /var/log/nginx ] || sudo mkdir /var/log/nginx
    sudo cp -rf conf/* /etc/nginx

Code: Select all

<PISI>
    <Source>
        <Name>nginx</Name>
        <Packager>
            <Name>Joe Watkins</Name>
            <Email>krakjoe@php.net</Email>
        </Packager>
        <License>http://nginx.org/LICENSE (2 Clause BSD-Like)</License>
        <Summary xml:lang="en">nginx server</Summary>
        <Description xml:lang="en">The nginx project started with a strong focus on high concurrency, high performance and low memory usage. It is licensed under the 2-clause BSD-like license and it runs on Linux, BSD variants, Mac OS X, Solaris, AIX, HP-UX, as well as on other *nix flavors.
</Description>
        <Archive type="binary" sha1sum="083029a13c0c475bf42a4232c68a9caa6dbc763e">https://evolve-os.com/sources/README</Archive>
    </Source>
    <Package>
        <Name>nginx</Name>
        <Summary xml:lang="en">nginx server</Summary>
        <Description xml:lang="en">The nginx project started with a strong focus on high concurrency, high performance and low memory usage. It is licensed under the 2-clause BSD-like license and it runs on Linux, BSD variants, Mac OS X, Solaris, AIX, HP-UX, as well as on other *nix flavors.
</Description>
        <Files>
            <Path fileType="data">/var/run</Path>
            <Path fileType="data">/var/log/nginx</Path>
            <Path fileType="data">/usr/html</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="config">/etc/nginx</Path>
        </Files>
    </Package>
    <History>
        <Update release="1">
            <Date>2015-04-03</Date>
            <Version>1.7.11</Version>
            <Comment>Packaging update</Comment>
            <Name>Joe Watkins</Name>
            <Email>krakjoe@php.net</Email>
        </Update>
    </History>
</PISI>
Note to mod: can the upload maximum size be raised, and allowed attachments setup please :)

Return to “Testing”