- Timestamp:
- 01/17/08 20:39:26 (4 years ago)
- Location:
- devel
- Files:
-
- 5 edited
-
dploy-dhcp/bin/dploy-add2dhcp (modified) (1 diff)
-
dploy-dhcp/install.sh (modified) (1 diff)
-
pbconf/dploy-dhcp/rpm/dploy-dhcp.spec (modified) (3 diffs)
-
pbconf/dploy.pb (modified) (1 diff)
-
pbconf/pbfilter/all.pbf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
devel/dploy-dhcp/bin/dploy-add2dhcp
r31 r32 9 9 use File::Copy; 10 10 11 my $dhcp=" /etc/dhcpd.d/dploy.org.conf";11 my $dhcp="PBCONF/dhcpd.conf"; 12 12 # 13 13 # /etc/dhcpd.conf should include that line: -
devel/dploy-dhcp/install.sh
r31 r32 12 12 13 13 echo "PBPKG PBVER-rPBREV will be installed under $local" 14 mkdir -p $local/bin 14 15 install -m 0755 -g dploy -o dploy bin/dploy-add2dhcp $local/bin -
devel/pbconf/dploy-dhcp/rpm/dploy-dhcp.spec
r30 r32 14 14 Source: PBSRC 15 15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) 16 Requires: PBDEP16 Requires: dhcp-server, sudo, perl, PBDEP 17 17 18 18 %description … … 25 25 %setup -q 26 26 27 %build28 %configure29 make %{?_smp_mflags}30 31 27 %install 32 28 %{__rm} -rf $RPM_BUILD_ROOT 33 make DESTDIR=$RPM_BUILD_ROOT install 29 export DESTDIR=$RPM_BUILD_ROOT 30 export PREFIX=%{_exec_prefix} 31 ./install.sh 34 32 35 33 %clean … … 39 37 %defattr(-,root,root) 40 38 %doc ChangeLog 41 %doc INSTALL COPYING README AUTHORS NEWS 39 #%doc INSTALL COPYING README AUTHORS NEWS 40 %{_bindir}/* 41 42 %pre 43 # Create dploy Account and group if needed 44 grep -qE '^dploy:' /etc/group 45 if [ $? -ne 0 ]; then 46 addgroup dploy 47 fi 48 grep -qE '^dploy:' /etc/passwd 49 if [ $? -ne 0 ]; then 50 adduser dploy dploy 51 fi 52 53 %post 54 # Include our configuration file in std dhcp.conf file 55 grep -qE '^include "PBCONF/dhcpd.conf";' /etc/passwd 56 if [ $? -ne 0 ]; then 57 echo 'include "PBCONF/dhcpd.conf";' >> /etc/dhcpd.conf 58 fi 42 59 43 60 %changelog 44 61 PBLOG 45 -
devel/pbconf/dploy.pb
r30 r32 80 80 81 81 # Hash of valid version names 82 version devel 83 version stable 82 version pb = devel,stable 84 83 85 84 # List of files per pkg on which to apply filters 86 85 # Files are mentioned relatively to pbroot/defpkgdir 87 #filteredfiles dploy-dhcp = Makefile.PL 86 filteredfiles dploy-dhcp = install.sh,bin/dploy-add2dhcp, 88 87 #filteredfiles pkg1-doc = configure.in -
devel/pbconf/pbfilter/all.pbf
r30 r32 33 33 # PBURL contains the URL of the Web site of the project 34 34 filter PBURL = http://www.dploy.org 35 36 # Where are stored conf files 37 filter PBCONF = /etc/dploy.org
Note: See TracChangeset
for help on using the changeset viewer.
