Bug 202672 - [NEW PORT] www/webstuff: C library for web-development
Summary: [NEW PORT] www/webstuff: C library for web-development
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-26 12:06 UTC by Ilja Kartaschoff
Modified: 2017-09-02 17:25 UTC (History)
3 users (show)

See Also:


Attachments
Port SHAR file (2.91 KB, text/plain)
2015-08-26 12:06 UTC, Ilja Kartaschoff
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilja Kartaschoff 2015-08-26 12:06:37 UTC
Created attachment 160373 [details]
Port SHAR file

WebStuff is Lightweight C Library for web development.

It allows to create web-applications as a standalone binary executables,
that could work as an HTTP backend server.

WebStuff provide easy access to GET and POST vars, fast templating engine,
tools to handle command-line arguments and configuration files.

# portlint -AC
WARN: /root/webstuff/pkg-plist: [22]: If and only if your port is DATADIR-safe (that is, a user can override DATADIR when building this port and the port will still work correctly) consider using DATADIR macro; if you are unsure if this port is DATADIR-safe, then ignore this warning
WARN: /root/webstuff/pkg-plist: [23]: If and only if your port is DATADIR-safe (that is, a user can override DATADIR when building this port and the port will still work correctly) consider using DATADIR macro; if you are unsure if this port is DATADIR-safe, then ignore this warning
0 fatal errors and 2 warnings found.



# make install clean
/!\ webstuff-1.0.2: Makefile warnings, please consider fixing /!\

Not validating first entry in CATEGORIES due to being outside of PORTSDIR. Please ensure this is proper when committing.

===>  License BSD2CLAUSE accepted by the user
===>  Found saved configuration for webstuff-1.0.2
===>   webstuff-1.0.2 depends on file: /usr/local/sbin/pkg - found
=> webstuff-1.0.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://lowenware.com/download/webstuff/webstuff-1.0.2.tar.gz
webstuff-1.0.2.tar.gz                         100% of   49 kB   56 MBps 00m00s
===> Fetching all distfiles required by webstuff-1.0.2 for building
===>  Extracting for webstuff-1.0.2
=> SHA256 Checksum OK for webstuff-1.0.2.tar.gz.
===>  Patching for webstuff-1.0.2
===>  Configuring for webstuff-1.0.2
/root/webstuff/work/webstuff-1.0.2/

  ----------------------------------------------------------------------------
    WebStuff Configuration Summary
  ----------------------------------------------------------------------------

    Prefix          : /usr/local
    Compiler        : cc
    Web-Server Name : webstuff/1.0.2 build 10

    Options
        --with-templight
        --with-opts-parser
        --with-conf-parser

  ----------------------------------------------------------------------------

    /root/webstuff/work/webstuff-1.0.2/Makefile ready. Run make!

===>  Building for webstuff-1.0.2
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/module.o -c /root/webstuff/work/webstuff-1.0.2/src/module.c -DQUEUE -DSTACK -DSERVER -DCLIENT -DMAJOR=1 -DMINOR=0 -DRELEASE=2 -DBUILD=10 -DWS_SERVER_SOFTWARE='"webstuff/1.0.2 build 10"'
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/link.o -c /root/webstuff/work/webstuff-1.0.2/src/link.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/stream.o -c /root/webstuff/work/webstuff-1.0.2/src/stream.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/timestamp.o -c /root/webstuff/work/webstuff-1.0.2/src/timestamp.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/connector.o -c /root/webstuff/work/webstuff-1.0.2/src/connector.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/string.o -c /root/webstuff/work/webstuff-1.0.2/src/string.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/list.o -c /root/webstuff/work/webstuff-1.0.2/src/list.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/pair.o -c /root/webstuff/work/webstuff-1.0.2/src/pair.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/socket.o -c /root/webstuff/work/webstuff-1.0.2/src/socket.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/log.o -c /root/webstuff/work/webstuff-1.0.2/src/log.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/receiver.o -c /root/webstuff/work/webstuff-1.0.2/src/receiver.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/url.o -c /root/webstuff/work/webstuff-1.0.2/src/url.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/http.o -c /root/webstuff/work/webstuff-1.0.2/src/http.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/thread.o -c /root/webstuff/work/webstuff-1.0.2/src/thread.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/worker.o -c /root/webstuff/work/webstuff-1.0.2/src/worker.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/request.o -c /root/webstuff/work/webstuff-1.0.2/src/request.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/status.o -c /root/webstuff/work/webstuff-1.0.2/src/status.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/timer.o -c /root/webstuff/work/webstuff-1.0.2/src/timer.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -O2 -Wall -fPIC -Werror -I/root/webstuff/work/webstuff-1.0.2/include/ -o /root/webstuff/work/webstuff-1.0.2/obj/upload.o -c /root/webstuff/work/webstuff-1.0.2/src/upload.c -DQUEUE -DSTACK -DSERVER -DCLIENT
cc -o /root/webstuff/work/webstuff-1.0.2/bin/libws.so  -shared -lpthread -lm  /root/webstuff/work/webstuff-1.0.2/obj/module.o /root/webstuff/work/webstuff-1.0.2/obj/link.o /root/webstuff/work/webstuff-1.0.2/obj/stream.o /root/webstuff/work/webstuff-1.0.2/obj/timestamp.o /root/webstuff/work/webstuff-1.0.2/obj/connector.o /root/webstuff/work/webstuff-1.0.2/obj/string.o /root/webstuff/work/webstuff-1.0.2/obj/list.o /root/webstuff/work/webstuff-1.0.2/obj/pair.o /root/webstuff/work/webstuff-1.0.2/obj/socket.o /root/webstuff/work/webstuff-1.0.2/obj/log.o /root/webstuff/work/webstuff-1.0.2/obj/receiver.o /root/webstuff/work/webstuff-1.0.2/obj/url.o /root/webstuff/work/webstuff-1.0.2/obj/http.o /root/webstuff/work/webstuff-1.0.2/obj/thread.o /root/webstuff/work/webstuff-1.0.2/obj/worker.o /root/webstuff/work/webstuff-1.0.2/obj/request.o /root/webstuff/work/webstuff-1.0.2/obj/status.o /root/webstuff/work/webstuff-1.0.2/obj/timer.o /root/webstuff/work/webstuff-1.0.2/obj/upload.o
===>  Staging for webstuff-1.0.2
===>   Generating temporary packing list
cc -o /root/webstuff/work/webstuff-1.0.2/bin/libws.so  -shared -lpthread -lm  /root/webstuff/work/webstuff-1.0.2/obj/module.o /root/webstuff/work/webstuff-1.0.2/obj/link.o /root/webstuff/work/webstuff-1.0.2/obj/stream.o /root/webstuff/work/webstuff-1.0.2/obj/timestamp.o /root/webstuff/work/webstuff-1.0.2/obj/connector.o /root/webstuff/work/webstuff-1.0.2/obj/string.o /root/webstuff/work/webstuff-1.0.2/obj/list.o /root/webstuff/work/webstuff-1.0.2/obj/pair.o /root/webstuff/work/webstuff-1.0.2/obj/socket.o /root/webstuff/work/webstuff-1.0.2/obj/log.o /root/webstuff/work/webstuff-1.0.2/obj/receiver.o /root/webstuff/work/webstuff-1.0.2/obj/url.o /root/webstuff/work/webstuff-1.0.2/obj/http.o /root/webstuff/work/webstuff-1.0.2/obj/thread.o /root/webstuff/work/webstuff-1.0.2/obj/worker.o /root/webstuff/work/webstuff-1.0.2/obj/request.o /root/webstuff/work/webstuff-1.0.2/obj/status.o /root/webstuff/work/webstuff-1.0.2/obj/timer.o /root/webstuff/work/webstuff-1.0.2/obj/upload.o
mkdir -p /root/webstuff/work/stage/usr/local/share/webstuff
mkdir -p /root/webstuff/work/stage/usr/local/include/ws/
mkdir -p /root/webstuff/work/stage/usr/local/lib/
cp /root/webstuff/work/webstuff-1.0.2/bin/libws.so /root/webstuff/work/stage/usr/local/lib/
cp -R /root/webstuff/work/webstuff-1.0.2/include /root/webstuff/work/stage/usr/local
cp -R /root/webstuff/work/webstuff-1.0.2/share /root/webstuff/work/stage/usr/local
====> Compressing man pages (compress-man)
====> Running Q/A tests (stage-qa)
Warning: 'lib/libws.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
===>  Installing for webstuff-1.0.2
===>  Checking if webstuff already installed
===>   Registering installation for webstuff-1.0.2
Installing webstuff-1.0.2...
===> SECURITY REPORT: 
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/lib/libws.so

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage: 
http://lowenware.com/
===>  Cleaning for webstuff-1.0.2
Comment 2 Richard Gallamore freebsd_committer freebsd_triage 2017-06-12 19:40:09 UTC
In pkg-list, please add %%DATADIR%% instead of share/webstuff. This will install in the same location.

Multiple CONFIGURE_ARGS+= are not required for each argument.

Another solution to adding CONFIGURE_ARGS+= to a ports options is using the OPT_CONFIGURE_ON= using this variable will clean up the port a bit. This is an example.

TEMPLIGHT_CONFIGURE_ON= --with-templight
Comment 3 Tobias Kortkamp freebsd_committer freebsd_triage 2017-09-02 17:25:10 UTC
I'm closing this bug.  Feedback by pawel@ and ultima@ wasn't addressed and
the distfile is not fetchable anymore.