Bug 125714 - [patch] www/httptunnel: users not added
Summary: [patch] www/httptunnel: users not added
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rong-En Fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 13:10 UTC by G.V. Tjong A Hung
Modified: 2009-01-30 10:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description G.V. Tjong A Hung 2008-07-17 13:10:03 UTC
The user http tunnel on which the script depends is not created.
There are some minor tweaks which I think should be added to the port.

    * The script (/usr/local/etc/rc.d/httptunnel.sh) seems to depend on the user httptunnel which is not created. A note that one must manually add this user or a script that automatically does this would be nice.
    * To make this script more like the other freebsd scripts it would be nice to have a httptunnel_enable flag which enables/disables starting of the script.


feature requests:

    * output some kind of error when the starting of the service failed.
    * adding status (/usr/local/etc/rc.d/httptunnel.sh status)

Fix: 

pw useradd httptunnel
replacement scripts I suggest:
Comment 1 Wesley Shields freebsd_committer freebsd_triage 2008-08-08 17:24:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

I'll take it.
Comment 2 Wesley Shields freebsd_committer freebsd_triage 2008-08-19 01:47:27 UTC
Hello,

The proposed scripts should follow the new way of doing RC scripts.
There is documentation on how to do this at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html

Can you please convert these scripts to the new style?

-- WXS
Comment 3 Wesley Shields freebsd_committer freebsd_triage 2008-08-19 01:49:22 UTC
State Changed
From-To: open->feedback

Ask for submitter fix.
Comment 4 Wesley Shields freebsd_committer freebsd_triage 2008-08-30 20:14:24 UTC
State Changed
From-To: feedback->open

Per request from submitter who doesn't have time to fix up these 
scripts, put this PR back in the pool.
Comment 5 Wesley Shields freebsd_committer freebsd_triage 2008-08-30 20:16:04 UTC
Responsible Changed
From-To: wxs->freebsd-bugs

Give it back to the pool.  It needs some work and submitter doesn't have time to do it.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2008-09-10 00:16:27 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

Canonicalize assignment.
Comment 7 Rong-En Fan freebsd_committer freebsd_triage 2009-01-26 04:35:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

I'll take it.
Comment 8 Rong-En Fan freebsd_committer freebsd_triage 2009-01-26 16:59:48 UTC
Hi,

I intend to get the following patch committed, and I believe this
solved all the issues you mentioned in this PR. Please take a look.

http://people.freebsd.org/~rafan/125714.diff

Thanks,
Rong-En Fan
Comment 9 Rong-En Fan freebsd_committer freebsd_triage 2009-01-30 10:24:16 UTC
State Changed
From-To: open->closed

Committed with my version. Thanks!
Comment 10 dfilter service freebsd_committer freebsd_triage 2009-01-30 10:24:22 UTC
rafan       2009-01-30 10:24:07 UTC

  FreeBSD ports repository

  Modified files:
    .                    UPDATING UIDs GIDs 
    www/httptunnel       Makefile 
  Added files:
    www/httptunnel       pkg-deinstall pkg-install 
    www/httptunnel/files htc.in hts.in 
  Removed files:
    www/httptunnel       pkg-plist 
    www/httptunnel/files httptunnel.sh 
  Log:
  Rework on rc script for www/httptunnel.
  
  - Use fixed uid and gid
  - Rewrite the rc script to use the new rc.d style and split into two scripts:
    hts (for server) and htc (for client)
  - Bump PORTREVISION for this
  
  PR:             ports/125714 (based on)
  Submitted by:   G.V. Tjong A Hung <gvtjongahung at users.sourceforge.net> (based on)
  
  Revision  Changes    Path
  1.68      +2 -1      ports/GIDs
  1.78      +2 -1      ports/UIDs
  1.770     +9 -1      ports/UPDATING
  1.14      +7 -5      ports/www/httptunnel/Makefile
  1.1       +77 -0     ports/www/httptunnel/files/htc.in (new)
  1.1       +51 -0     ports/www/httptunnel/files/hts.in (new)
  1.5       +0 -62     ports/www/httptunnel/files/httptunnel.sh (dead)
  1.1       +27 -0     ports/www/httptunnel/pkg-deinstall (new)
  1.1       +36 -0     ports/www/httptunnel/pkg-install (new)
  1.2       +0 -3      ports/www/httptunnel/pkg-plist (dead)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"