pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/27018: popa3d ignores POPA3D_USER, and POPA3D_GROUP isn't used by src.
>Number: 27018
>Category: pkg
>Synopsis: popa3d isn't correct
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Wed Sep 22 22:15:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: User Foo
>Release: FreeBSD 6.0-CURRENT
>Organization:
>Environment:
System: FreeBSD porticoluna 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Wed Sep 22
12:06:57 CEST 2004 esn@porticoluna:/usr/obj/usr/src/sys/KERN_PLUNA2 i386
Architecture: i386
Machine: i386
>Description:
popa3d Makefile uses POPA3D_USER and POPA3D_GROUP to define default
user UIDs by the daemon. The actual Makefile doesn't handles that
properly.
My patch works fine, it's working on a production box without problems.
>How-To-Repeat:
>Fix:
Apply this patch
--- Makefile.orig Wed Sep 22 23:58:36 2004
+++ Makefile Thu Sep 23 00:15:19 2004
@@ -24,8 +24,10 @@
RCD_SCRIPTS= popa3d
-FILES_SUBST+= POPA3D_USER=${POPA3D_USER}
-FILES_SUBST+= POPA3D_GROUP=${POPA3D_GROUP}
+SUBST_CLASSES+= user
+SUBST_STAGE.user= pre-build
+SUBST_FILES.user= params.h
+SUBST_SED.user=-e 's,POP_USER,POP_USER "${POPA3D_USER}" //,g'
post-patch:
cd ${WRKSRC} && \
>Release-Note:
>Audit-Trail:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index