From b417c984195b523c326a82f6f33f671ebba003fa Mon Sep 17 00:00:00 2001 From: aanriot Date: Thu, 31 May 2007 15:51:23 +0000 Subject: [PATCH] also install the main binary and the post-install target becomes a do-install one (the logic is more simple and it gets ride of the bogus element warnings). "go ahead" msf@ --- telephony/siproxd/Makefile | 8 ++++++-- telephony/siproxd/pkg/PLIST | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/telephony/siproxd/Makefile b/telephony/siproxd/Makefile index 74eba06b037..cd586158167 100644 --- a/telephony/siproxd/Makefile +++ b/telephony/siproxd/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2006/11/27 11:16:50 msf Exp $ +# $OpenBSD: Makefile,v 1.3 2007/05/31 15:51:23 aanriot Exp $ COMMENT= "proxy/masquerading daemon for the SIP protocol" DISTNAME= siproxd-0.5.13 +PKGNAME= ${DISTNAME}p0 CATEGORIES= telephony net HOMEPAGE= http://siproxd.sourceforge.net/ @@ -25,10 +26,13 @@ LIB_DEPENDS= osip2,osipparser2::telephony/libosip2 DOCDIR= ${PREFIX}/share/doc/siproxd EXDIR= ${PREFIX}/share/examples/siproxd -post-install: +do-install: + ${INSTALL_PROGRAM} ${WRKDIST}/src/siproxd ${PREFIX}/sbin + ${INSTALL_DATA_DIR} ${DOCDIR} ${INSTALL_DATA} ${WRKDIST}/doc/FAQ ${DOCDIR} ${INSTALL_DATA} ${WRKDIST}/doc/KNOWN_BUGS ${DOCDIR} + ${INSTALL_DATA_DIR} ${EXDIR} ${INSTALL_DATA} ${WRKDIST}/doc/siproxd.conf.example ${EXDIR} ${INSTALL_DATA} ${WRKDIST}/doc/siproxd_passwd.cfg ${EXDIR} diff --git a/telephony/siproxd/pkg/PLIST b/telephony/siproxd/pkg/PLIST index 0bedff18e79..722d79dbb71 100644 --- a/telephony/siproxd/pkg/PLIST +++ b/telephony/siproxd/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.2 2006/11/27 11:16:50 msf Exp $ +@comment $OpenBSD: PLIST,v 1.3 2007/05/31 15:51:23 aanriot Exp $ @newgroup _siproxd:574 @newuser _siproxd:574:574:daemon:SIP proxy:/var/empty:/sbin/nologin sbin/siproxd @@ -10,7 +10,7 @@ share/examples/siproxd/siproxd.conf.example @sample ${SYSCONFDIR}/siproxd.conf share/examples/siproxd/siproxd_passwd.cfg @sample ${SYSCONFDIR}/siproxd_passwd.cfg +@mode 0770 @owner root @group _siproxd -@mode 0770 @sample /var/siproxd/