Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
apg
apg-do_not_install_as_root.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apg-do_not_install_as_root.patch of Package apg
--- Makefile.orig 2010-06-15 11:38:24.000000000 +0200 +++ Makefile 2010-06-15 11:51:19.000000000 +0200 @@ -74,8 +74,6 @@ #CS_LIBS = -lsocket # ====== YOU DO NOT NEED TO MODIFY ANYTHING BELOW THIS LINE ====== -# Find group ID for user root -FIND_GROUP = `grep '^root:' /etc/passwd | awk -F: '{ print $$4 }'` PROGNAME = apg CS_PROGNAME = apgd @@ -113,19 +111,19 @@ if test -x ./apg; then \ ./mkinstalldirs ${INSTALL_PREFIX}${APG_BIN_DIR}; \ ./mkinstalldirs ${INSTALL_PREFIX}${APG_MAN_DIR}; \ -./install-sh -c -m 0755 -o root -g ${FIND_GROUP} ./apg ${INSTALL_PREFIX}${APG_BIN_DIR}; \ +./install-sh -c -m 0755 ./apg ${INSTALL_PREFIX}${APG_BIN_DIR}; \ ./install-sh -c -m 0444 ./doc/man/apg.1 ${INSTALL_PREFIX}${APG_MAN_DIR}; \ fi if test -x ./apgd; then \ ./mkinstalldirs ${INSTALL_PREFIX}${APGD_BIN_DIR}; \ ./mkinstalldirs ${INSTALL_PREFIX}${APGD_MAN_DIR}; \ -./install-sh -c -m 0755 -o root -g ${FIND_GROUP} ./apgd ${INSTALL_PREFIX}${APGD_BIN_DIR}; \ +./install-sh -c -m 0755 ./apgd ${INSTALL_PREFIX}${APGD_BIN_DIR}; \ ./install-sh -c -m 0444 ./doc/man/apgd.8 ${INSTALL_PREFIX}${APGD_MAN_DIR}; \ fi if test -x ./apgbfm; then \ ./mkinstalldirs ${INSTALL_PREFIX}${APG_BIN_DIR}; \ ./mkinstalldirs ${INSTALL_PREFIX}${APG_MAN_DIR}; \ -./install-sh -c -m 0755 -o root -g ${FIND_GROUP} ./apgbfm ${INSTALL_PREFIX}${APG_BIN_DIR}; \ +./install-sh -c -m 0755 ./apgbfm ${INSTALL_PREFIX}${APG_BIN_DIR}; \ ./install-sh -c -m 0444 ./doc/man/apgbfm.1 ${INSTALL_PREFIX}${APG_MAN_DIR}; \ fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor