mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
- Allow staging as a regular user
- Create the _symon group
This commit is contained in:
parent
d5b16182ec
commit
bc9dafbdca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368522
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= symon
|
||||
PORTVERSION= 2.86
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://wpd.home.xs4all.nl/symon/philes/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
@ -19,6 +19,7 @@ USE_PERL5= build
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
USERS= _symon
|
||||
GROUPS= _symon
|
||||
|
||||
# Synonym for WITHOUT_SYMUX
|
||||
.if defined(WITHOUT_RRD)
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.inc.orig 2008-05-02 09:10:20.000000000 -0400
|
||||
+++ Makefile.inc 2008-05-02 09:10:35.000000000 -0400
|
||||
@@ -28,7 +28,7 @@
|
||||
SYSCONFDIR?=/etc
|
||||
|
||||
INSTALLUSER?=root
|
||||
-INSTALLGROUPDIR?=bin
|
||||
+INSTALLGROUPDIR?=wheel
|
||||
INSTALLGROUPFILE?=wheel
|
||||
|
||||
.SUFFIXES: .c .o .8 .cat8 .pm .cat3p
|
14
sysutils/symon/files/patch-client__Makefile
Normal file
14
sysutils/symon/files/patch-client__Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
--- client/Makefile.orig 2009-06-28 18:40:28 UTC
|
||||
+++ client/Makefile
|
||||
@@ -8,7 +8,7 @@
|
||||
rm -f SymuxClient.cat3p
|
||||
|
||||
install: SymuxClient.pm SymuxClient.cat3p getsymonitem.pl
|
||||
- ${INSTALL} -d -m 555 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${CLIENTDIR}
|
||||
- ${INSTALL} -c -m 555 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} getsymonitem.pl ${PREFIX}/${CLIENTDIR}/
|
||||
- ${INSTALL} -c -m 444 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} SymuxClient.pm ${PREFIX}/${CLIENTDIR}/
|
||||
- ${INSTALL} -c -m 444 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} SymuxClient.cat3p ${PREFIX}/${CLIENTDIR}/SymuxClient.0
|
||||
+ ${INSTALL} -d -m 755 ${PREFIX}/${CLIENTDIR}
|
||||
+ ${INSTALL} -c -m 555 getsymonitem.pl ${PREFIX}/${CLIENTDIR}/
|
||||
+ ${INSTALL} -c -m 444 SymuxClient.pm ${PREFIX}/${CLIENTDIR}/
|
||||
+ ${INSTALL} -c -m 444 SymuxClient.cat3p ${PREFIX}/${CLIENTDIR}/SymuxClient.0
|
@ -1,18 +1,23 @@
|
||||
--- symon/Makefile.orig 2012-05-02 16:30:09.240890321 +0600
|
||||
+++ symon/Makefile 2012-05-02 16:30:29.066896699 +0600
|
||||
@@ -30,13 +30,11 @@
|
||||
--- symon/Makefile.orig 2012-02-21 20:46:14 UTC
|
||||
+++ symon/Makefile
|
||||
@@ -30,14 +30,12 @@
|
||||
rm -f conf.h symon symon.cat8 symon.core ${OBJS}
|
||||
|
||||
install: symon symon.8 symon.conf
|
||||
- ${INSTALL} -d -m 555 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${BINDIR}
|
||||
${INSTALL} -c -m 555 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} symon ${PREFIX}/${BINDIR}/
|
||||
- ${INSTALL} -c -m 555 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} symon ${PREFIX}/${BINDIR}/
|
||||
- ${INSTALL} -d -m 555 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${MANDIR}/man8
|
||||
${INSTALL} -c -m 444 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} symon.8 ${PREFIX}/${MANDIR}/man8/symon.8
|
||||
- ${INSTALL} -c -m 444 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} symon.8 ${PREFIX}/${MANDIR}/man8/symon.8
|
||||
- ${INSTALL} -d -m 555 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${SHRDIR}
|
||||
+ ${INSTALL} -d -m 755 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${SHRDIR}
|
||||
${INSTALL} -c -m 555 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} c_config.sh ${PREFIX}/${SHRDIR}/
|
||||
- ${INSTALL} -c -m 555 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} c_config.sh ${PREFIX}/${SHRDIR}/
|
||||
- ${INSTALL} -d -m 555 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${EXADIR}
|
||||
+ ${INSTALL} -d -m 755 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${EXADIR}
|
||||
${INSTALL} -c -m 444 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} symon.conf ${PREFIX}/${EXADIR}/
|
||||
- ${INSTALL} -c -m 444 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} symon.conf ${PREFIX}/${EXADIR}/
|
||||
+ ${INSTALL} -c -m 555 symon ${PREFIX}/${BINDIR}/
|
||||
+ ${INSTALL} -c -m 444 symon.8 ${PREFIX}/${MANDIR}/man8/symon.8
|
||||
+ ${INSTALL} -d -m 755 ${PREFIX}/${SHRDIR}
|
||||
+ ${INSTALL} -c -m 555 c_config.sh ${PREFIX}/${SHRDIR}/
|
||||
+ ${INSTALL} -d -m 755 ${PREFIX}/${EXADIR}
|
||||
+ ${INSTALL} -c -m 444 symon.conf ${PREFIX}/${EXADIR}/
|
||||
|
||||
conf.h: Makefile ../Makefile.inc
|
||||
@echo Generating $@ on ${OS}
|
||||
|
@ -1,18 +1,23 @@
|
||||
--- symux/Makefile.orig 2012-05-02 16:31:32.062896190 +0600
|
||||
+++ symux/Makefile 2012-05-02 16:32:10.931897139 +0600
|
||||
@@ -19,13 +19,11 @@
|
||||
--- symux/Makefile.orig 2012-02-18 20:23:56 UTC
|
||||
+++ symux/Makefile
|
||||
@@ -19,14 +19,12 @@
|
||||
rm -f conf.h symux symux.cat8 symux.core ${OBJS}
|
||||
|
||||
install: symux symux.8 c_smrrds.sh symux.conf
|
||||
- ${INSTALL} -d -m 555 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${BINDIR}
|
||||
${INSTALL} -c -m 555 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} symux ${PREFIX}/${BINDIR}/
|
||||
- ${INSTALL} -c -m 555 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} symux ${PREFIX}/${BINDIR}/
|
||||
- ${INSTALL} -d -m 555 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${MANDIR}/man8
|
||||
${INSTALL} -c -m 444 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} symux.8 ${PREFIX}/${MANDIR}/man8/symux.8
|
||||
- ${INSTALL} -c -m 444 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} symux.8 ${PREFIX}/${MANDIR}/man8/symux.8
|
||||
- ${INSTALL} -d -m 555 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${SHRDIR}
|
||||
+ ${INSTALL} -d -m 755 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${SHRDIR}
|
||||
${INSTALL} -c -m 544 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} c_smrrds.sh ${PREFIX}/${SHRDIR}/
|
||||
- ${INSTALL} -c -m 544 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} c_smrrds.sh ${PREFIX}/${SHRDIR}/
|
||||
- ${INSTALL} -d -m 555 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${EXADIR}
|
||||
+ ${INSTALL} -d -m 755 -g ${INSTALLGROUPDIR} -o ${INSTALLUSER} ${PREFIX}/${EXADIR}
|
||||
${INSTALL} -c -m 444 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} symux.conf ${PREFIX}/${EXADIR}/
|
||||
- ${INSTALL} -c -m 444 -g ${INSTALLGROUPFILE} -o ${INSTALLUSER} symux.conf ${PREFIX}/${EXADIR}/
|
||||
+ ${INSTALL} -c -m 555 symux ${PREFIX}/${BINDIR}/
|
||||
+ ${INSTALL} -c -m 444 symux.8 ${PREFIX}/${MANDIR}/man8/symux.8
|
||||
+ ${INSTALL} -d -m 755 ${PREFIX}/${SHRDIR}
|
||||
+ ${INSTALL} -c -m 544 c_smrrds.sh ${PREFIX}/${SHRDIR}/
|
||||
+ ${INSTALL} -d -m 755 ${PREFIX}/${EXADIR}
|
||||
+ ${INSTALL} -c -m 444 symux.conf ${PREFIX}/${EXADIR}/
|
||||
|
||||
cleanipc:
|
||||
ipcs | egrep "^m" | awk '{print $$2}' | xargs -n1 ipcrm -m &
|
||||
|
@ -12,4 +12,3 @@
|
||||
@dirrm share/symon/client
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
@unexec echo "Warning: If you will *NOT* use this package anymore, please remove the _symon user manually."
|
||||
|
Loading…
Reference in New Issue
Block a user