diff options
-rw-r--r-- | irc/ptlink-ircd/Makefile | 7 | ||||
-rw-r--r-- | irc/ptlink-ircd/pkg-install | 28 |
2 files changed, 6 insertions, 29 deletions
diff --git a/irc/ptlink-ircd/Makefile b/irc/ptlink-ircd/Makefile index a294781ebcef..11b4987ddcbd 100644 --- a/irc/ptlink-ircd/Makefile +++ b/irc/ptlink-ircd/Makefile @@ -21,6 +21,12 @@ USE_GMAKE= yes USE_RC_SUBR= ptlink-ircd.sh SUB_FILES= pkg-message +USERS= ${PORTNAME:L} +GROUPS= ${USERS} + +DEPRECATED= No upstream source, no distfile and no maintainer +EXPIRATION_DATE=2011-09-03 + SYSCONFDIR= ${PREFIX}/etc/ptlink-ircd CONFIGURE_ARGS= --sysconfdir=${SYSCONFDIR} --localstatedir=/var \ @@ -35,7 +41,6 @@ CONFIGURE_ARGS+=--with-ssl=openssl .endif post-install: - @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${CHOWN} -R ircd:ircd ${SYSCONFDIR} @${CAT} ${PKGMESSAGE} diff --git a/irc/ptlink-ircd/pkg-install b/irc/ptlink-ircd/pkg-install deleted file mode 100644 index d837e4e6e306..000000000000 --- a/irc/ptlink-ircd/pkg-install +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -case $2 in -POST-INSTALL) - USER=ircd - GROUP=ircd - UID=72 - GID=72 - - if pw groupshow "${GROUP}" > /dev/null 2>&1; then - echo "===> Using existing group ${GROUP}" - else - echo "===> Adding group ${GROUP}" - pw groupadd ${GROUP} -g ${GID} || exit 1 - fi - - if pw usershow "${USER}" > /dev/null 2>&1; then - echo "===> Using existing user ${USER}" - else - echo "===> Adding user ${USER}" - pw adduser ${USER} -u ${UID} -g ${GROUP} -h - -d "/nonexistent" \ - -s "/nonexistent" -c "IRC daemon" || exit 1 - fi - ;; -esac |