Changeset 10223


Ignore:
Timestamp:
2008-01-18T20:21:07+01:00 (10 years ago)
Author:
pavlov
Message:

add in a couple more of the helper files and link postmaster to postgres, changing the init script to call postmaster instead

Location:
packages/libs/postgresql
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/postgresql/Makefile

    r10220 r10223  
    1111PKG_NAME:=postgresql 
    1212PKG_VERSION:=8.2.6 
    13 PKG_RELEASE:=1 
     13PKG_RELEASE:=2 
    1414 
    1515PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
     
    159159        $(SED) 's@ECPG = ../../preproc/ecpg@ECPG = ../../preproc/ecpg.host@' $(PKG_BUILD_DIR)/src/interfaces/ecpg/test/Makefile.regress 
    160160        $(SED) 's@\./zic -d@./zic.host -d@' $(PKG_BUILD_DIR)/src/timezone/Makefile 
     161        # note: unclear if this is needed yet, commenting out for the moment 
     162        #$(SED) 's@US/Eastern@America/New_York@' $(PKG_BUILD_DIR)/src/timezone/Makefile 
    161163endef 
    162164 
     
    186188                $(PKG_INSTALL_DIR)/usr/bin/postgres \ 
    187189                $(PKG_INSTALL_DIR)/usr/bin/dropdb \ 
     190                $(PKG_INSTALL_DIR)/usr/bin/clusterdb \ 
    188191                $(PKG_INSTALL_DIR)/usr/bin/createdb \ 
     192                $(PKG_INSTALL_DIR)/usr/bin/createlang \ 
    189193                $(PKG_INSTALL_DIR)/usr/bin/createuser \ 
     194                $(PKG_INSTALL_DIR)/usr/bin/dropdb \ 
     195                $(PKG_INSTALL_DIR)/usr/bin/droplang \ 
    190196                $(PKG_INSTALL_DIR)/usr/bin/dropuser \ 
    191197                $(PKG_INSTALL_DIR)/usr/bin/initdb \ 
     198                $(PKG_INSTALL_DIR)/usr/bin/ipcclean \ 
    192199                $(PKG_INSTALL_DIR)/usr/bin/pg_config \ 
    193200                $(PKG_INSTALL_DIR)/usr/bin/pg_controldata \ 
     
    196203                $(PKG_INSTALL_DIR)/usr/bin/pg_dumpall \ 
    197204                $(PKG_INSTALL_DIR)/usr/bin/pg_restore \ 
     205                $(PKG_INSTALL_DIR)/usr/bin/pg_resetxlog \ 
     206                $(PKG_INSTALL_DIR)/usr/bin/reindexdb \ 
    198207                $(PKG_INSTALL_DIR)/usr/bin/vacuumdb \ 
    199208                $(1)/usr/bin 
     209 
     210        $(LN) -s postgres $(1)/usr/bin/postmaster 
    200211 
    201212        $(INSTALL_BIN) ./files/postgresql.init $(1)/etc/init.d/postgresql 
  • packages/libs/postgresql/files/postgresql.init

    r10222 r10223  
    3737        pgopts="-o ${pgopts}" 
    3838    fi 
    39     /bin/su ${pguser} -c "/usr/bin/postgres -D '${pgdata}' &" >> ${pglog} 2>&1 
     39    /bin/su ${pguser} -c "/usr/bin/postmaster -D '${pgdata}' &" >> ${pglog} 2>&1 
    4040 
    4141    while : 
     
    7676        rm ${pgdata}/postmaster.pid 
    7777    fi 
    78     /bin/su ${pguser} -c "/usr/bin/postgres -D '${pgdata}' &" >> ${pglog} 2>&1 
     78    /bin/su ${pguser} -c "/usr/bin/postmaster -D '${pgdata}' &" >> ${pglog} 2>&1 
    7979    echo "ok" 
    8080    return $? 
Note: See TracChangeset for help on using the changeset viewer.