diff --git a/Makefile b/Makefile index 40ecd59..2c84c61 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ # server. This might be one of core, main, dev, or # perhaps others. # * BRIEF: Short description, should be 50 chars or less -# * SNAPVER: This is the package version. When a package is +# * SLVER: This is the package version. When a package is # changed, but no changes are made to the source code # this value should be increased. This would include # things like usher being modified, changes to default @@ -34,7 +34,7 @@ # * PATCHDIR: This directory should be ./SRC/patches and is # required, whether or not patches are used. # * VERSION: This should be set automatically based on the -# version string in the source directory and SNAPVER. +# version string in the source directory and SLVER. # The default command here should work in many cases, # but certain packages may need to use a different # method. @@ -63,7 +63,7 @@ export ARCH = x86_64 export DEPENDS = dash,e2fsprogs,glibc,krb5,libcap,libxml2,ncurses,openssl,readline,zlib -export BUILDDEPS = +export BUILDDEPS = krb5-dev,libcap-dev,libxml2-dev,ncurses-dev,openssl-dev,readline-dev,zlib-dev export SRCPKG = $(PACKAGE) export URL = https://www.isc.org/downloads/bind/ REPO = server @@ -71,16 +71,16 @@ BRIEF = DNS server DESC = BIND is open source software that enables you to publish your \ Domain Name System (DNS) information on the Internet, and to resolve \ DNS queries for your users. -SNAPVER = 0 +SLVER = 1 ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//') PATCHDIR := $(PWD)/SRC/patches export VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'| \ - sed 's/^-//')-$(SNAPVER) + sed 's/^-//')-$(SLVER) -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux DEV := $(PWD)/$(PACKAGE)-dev DEVROOT := $(DEV)/ROOT @@ -139,9 +139,9 @@ $(ROOT): $(SRCDIR)/bin/named/.libs/named @cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \ install -v -m 0755 -d $(ROOT)/etc/init.d && \ install -v -m 0700 -d $(ROOT)/var/named && \ - install -v -m 0755 $(SNAPDIR)/named.init $(ROOT)/etc/init.d/named && \ + install -v -m 0755 $(SLDIR)/named.init $(ROOT)/etc/init.d/named && \ mv -v $(ROOT)/etc/bind.keys $(ROOT)/var/named/bind.keys - @install -v -d $(DEV)/SNAP $(DEVROOT) && \ + @install -v -d $(DEV)/SL $(DEVROOT) && \ for file in `find $(ROOT)| \ egrep 'man3\/|\.a$$|\.h$$|\.la$$'`; do \ path=`dirname $$file|sed "s[$(ROOT)[$(DEVROOT)["`; \ @@ -149,18 +149,18 @@ $(ROOT): $(SRCDIR)/bin/named/.libs/named mv $$file $$path; \ done && \ find $(ROOT) -type d -empty -delete && \ - cd $(DEV) && make -f ../Makefile.dev && mv *.snap ../ - @install -v -d $(UTILS)/SNAP $(UTILSROOT) && \ + cd $(DEV) && make -f ../Makefile.dev && mv *.slp ../ + @install -v -d $(UTILS)/SL $(UTILSROOT) && \ install -v -m 0755 -d $(UTILSROOT)/usr/bin && \ install -v -m 0755 -d $(UTILSROOT)/usr/share/man/man1 && \ mv -v $(ROOT)/usr/bin/{{,m}dig,host,nslookup} $(UTILSROOT)/usr/bin && \ mv -v $(ROOT)/usr/share/man/man1/{{,m}dig,host,nslookup}.1 \ $(UTILSROOT)/usr/share/man/man1 && \ - cd $(UTILS) && make -f ../Makefile.utils && mv *.snap ../ - @install -v -d $(DOC)/SNAP $(DOCROOT) && \ + cd $(UTILS) && make -f ../Makefile.utils && mv *.slp ../ + @install -v -d $(DOC)/SL $(DOCROOT) && \ install -v -m 0755 -d $(DOCROOT)/usr/share/doc/bind && \ cp -a $(SRCDIR)/doc/* $(DOCROOT)/usr/share/doc/bind && \ - cd $(DOC) && make -f ../Makefile.doc && mv *.snap ../ + cd $(DOC) && make -f ../Makefile.doc && mv *.slp ../ test: $(ROOT) @cd $(SRCDIR); \ @@ -171,8 +171,9 @@ clean: $(DEV) \ $(DOC) \ $(UTILS) \ - $(SNAPINFO) \ + $(SLINFO) \ $(MANIFEST) \ $(FILES) \ - $(SRCDIR) + $(SRCDIR) \ + $(CONFIG) diff --git a/Makefile.dev b/Makefile.dev index d8c97bd..6b6e961 100644 --- a/Makefile.dev +++ b/Makefile.dev @@ -13,4 +13,4 @@ REPO = dev BRIEF = Development files for bind DESC = Development files for bind -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux diff --git a/Makefile.doc b/Makefile.doc index 8130b98..67fe9de 100644 --- a/Makefile.doc +++ b/Makefile.doc @@ -13,4 +13,4 @@ DEPENDS = BRIEF = Documentation for BIND DNS server and utilities DESC = Documentation for BIND DNS server and utilities -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux diff --git a/Makefile.utils b/Makefile.utils index bba56b7..98cafcc 100644 --- a/Makefile.utils +++ b/Makefile.utils @@ -13,4 +13,4 @@ DEPENDS = BRIEF = Bind DNS utilities DESC = Bind DNS utilities -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux diff --git a/SNAP/README b/SL/README similarity index 100% rename from SNAP/README rename to SL/README diff --git a/SNAP/named.init b/SL/named.init similarity index 100% rename from SNAP/named.init rename to SL/named.init diff --git a/SNAP/usher b/SL/usher similarity index 100% rename from SNAP/usher rename to SL/usher diff --git a/SNAP/config.tar.gz b/SNAP/config.tar.gz deleted file mode 100644 index e192d7d..0000000 Binary files a/SNAP/config.tar.gz and /dev/null differ