Index: head/www/httptunnel/pkg-deinstall =================================================================== --- head/www/httptunnel/pkg-deinstall (revision 520475) +++ head/www/httptunnel/pkg-deinstall (nonexistent) @@ -1,27 +0,0 @@ -#!/bin/sh - -case $2 in -POST-DEINSTALL) - USER=httptunnel - GROUP=${USER} - PW=/usr/sbin/pw - - if ${PW} groupshow "${GROUP}" 2>/dev/null 1>&2; then - if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then - echo "To delete the ${USER} group permanently, use '${PW} groupdel ${GROUP}'." - else - ${PW} groupdel ${USER} - fi - fi - - if ${PW} usershow "${USER}" 2>/dev/null 1>&2; then - if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then - echo "To delete the ${USER} user permanently, use '${PW} userdel ${USER}'." - else - ${PW} userdel ${USER} - fi - fi - - exit 0 - ;; -esac Property changes on: head/www/httptunnel/pkg-deinstall ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/httptunnel/pkg-install =================================================================== --- head/www/httptunnel/pkg-install (revision 520475) +++ head/www/httptunnel/pkg-install (nonexistent) @@ -1,36 +0,0 @@ -#!/bin/sh - -case $2 in -POST-INSTALL) - USER=httptunnel - GROUP=${USER} - UID=361 - GID=${UID} - PW=/usr/sbin/pw - - if ${PW} group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if ${PW} groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if ${PW} user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - if ${PW} useradd ${USER} -u ${UID} -g ${GROUP} -h - \ - -d "/var/empty" -s /sbin/nologin -c "OSPF Daemon" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - exit 0 - ;; -esac Property changes on: head/www/httptunnel/pkg-install ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/httptunnel/Makefile =================================================================== --- head/www/httptunnel/Makefile (revision 520475) +++ head/www/httptunnel/Makefile (revision 520476) @@ -1,26 +1,28 @@ # Created by: Brian Somers # $FreeBSD$ PORTNAME= httptunnel PORTVERSION= 3.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= http://www.Awfulhak.org/httptunnel/ \ ftp://ftp.nocrew.org/pub/nocrew/unix/ \ http://www.nocrew.org/software/httptunnel/ MAINTAINER= ports@FreeBSD.org COMMENT= Tunnel a TCP/IP connection through a HTTP/TCP/IP connection OPTIONS_DEFINE= DEBUG GNU_CONFIGURE= yes CONFIGURE_ARGS= --quiet DEBUG_CONFIGURE_ENABLE= debug USE_RC_SUBR= hts htc +USERS= httptunnel +GROUPS= httptunnel PLIST_FILES= bin/hts bin/htc \ man/man1/hts.1.gz man/man1/htc.1.gz .include